File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / expat / configure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:00:54 2012 UTC (12 years, 4 months ago) by misho
Branches: expat, MAIN
CVS tags: v2_0_1p0, v2_0_1, HEAD
expat

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.59 for expat 2.0.1.
    4: #
    5: # Report bugs to <expat-bugs@libexpat.org>.
    6: #
    7: # Copyright (C) 2003 Free Software Foundation, Inc.
    8: # This configure script is free software; the Free Software Foundation
    9: # gives unlimited permission to copy, distribute and modify it.
   10: ## --------------------- ##
   11: ## M4sh Initialization.  ##
   12: ## --------------------- ##
   13: 
   14: # Be Bourne compatible
   15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16:   emulate sh
   17:   NULLCMD=:
   18:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19:   # is contrary to our usage.  Disable this feature.
   20:   alias -g '${1+"$@"}'='"$@"'
   21: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   22:   set -o posix
   23: fi
   24: DUALCASE=1; export DUALCASE # for MKS sh
   25: 
   26: # Support unset when possible.
   27: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   28:   as_unset=unset
   29: else
   30:   as_unset=false
   31: fi
   32: 
   33: 
   34: # Work around bugs in pre-3.0 UWIN ksh.
   35: $as_unset ENV MAIL MAILPATH
   36: PS1='$ '
   37: PS2='> '
   38: PS4='+ '
   39: 
   40: # NLS nuisances.
   41: for as_var in \
   42:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   43:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   44:   LC_TELEPHONE LC_TIME
   45: do
   46:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   47:     eval $as_var=C; export $as_var
   48:   else
   49:     $as_unset $as_var
   50:   fi
   51: done
   52: 
   53: # Required to use basename.
   54: if expr a : '\(a\)' >/dev/null 2>&1; then
   55:   as_expr=expr
   56: else
   57:   as_expr=false
   58: fi
   59: 
   60: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   61:   as_basename=basename
   62: else
   63:   as_basename=false
   64: fi
   65: 
   66: 
   67: # Name of the executable.
   68: as_me=`$as_basename "$0" ||
   69: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   70: 	 X"$0" : 'X\(//\)$' \| \
   71: 	 X"$0" : 'X\(/\)$' \| \
   72: 	 .     : '\(.\)' 2>/dev/null ||
   73: echo X/"$0" |
   74:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   75:   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   76:   	  /^X\/\(\/\).*/{ s//\1/; q; }
   77:   	  s/.*/./; q'`
   78: 
   79: 
   80: # PATH needs CR, and LINENO needs CR and PATH.
   81: # Avoid depending upon Character Ranges.
   82: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   83: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   84: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   85: as_cr_digits='0123456789'
   86: as_cr_alnum=$as_cr_Letters$as_cr_digits
   87: 
   88: # The user is always right.
   89: if test "${PATH_SEPARATOR+set}" != set; then
   90:   echo "#! /bin/sh" >conf$$.sh
   91:   echo  "exit 0"   >>conf$$.sh
   92:   chmod +x conf$$.sh
   93:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   94:     PATH_SEPARATOR=';'
   95:   else
   96:     PATH_SEPARATOR=:
   97:   fi
   98:   rm -f conf$$.sh
   99: fi
  100: 
  101: 
  102:   as_lineno_1=$LINENO
  103:   as_lineno_2=$LINENO
  104:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  105:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  106:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  107:   # Find who we are.  Look in the path if we contain no path at all
  108:   # relative or not.
  109:   case $0 in
  110:     *[\\/]* ) as_myself=$0 ;;
  111:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112: for as_dir in $PATH
  113: do
  114:   IFS=$as_save_IFS
  115:   test -z "$as_dir" && as_dir=.
  116:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  117: done
  118: 
  119:        ;;
  120:   esac
  121:   # We did not find ourselves, most probably we were run as `sh COMMAND'
  122:   # in which case we are not to be found in the path.
  123:   if test "x$as_myself" = x; then
  124:     as_myself=$0
  125:   fi
  126:   if test ! -f "$as_myself"; then
  127:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  128:    { (exit 1); exit 1; }; }
  129:   fi
  130:   case $CONFIG_SHELL in
  131:   '')
  132:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  133: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  134: do
  135:   IFS=$as_save_IFS
  136:   test -z "$as_dir" && as_dir=.
  137:   for as_base in sh bash ksh sh5; do
  138: 	 case $as_dir in
  139: 	 /*)
  140: 	   if ("$as_dir/$as_base" -c '
  141:   as_lineno_1=$LINENO
  142:   as_lineno_2=$LINENO
  143:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  144:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  145:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  146: 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  147: 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  148: 	     CONFIG_SHELL=$as_dir/$as_base
  149: 	     export CONFIG_SHELL
  150: 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  151: 	   fi;;
  152: 	 esac
  153:        done
  154: done
  155: ;;
  156:   esac
  157: 
  158:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  159:   # uniformly replaced by the line number.  The first 'sed' inserts a
  160:   # line-number line before each line; the second 'sed' does the real
  161:   # work.  The second script uses 'N' to pair each line-number line
  162:   # with the numbered line, and appends trailing '-' during
  163:   # substitution so that $LINENO is not a special case at line end.
  164:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  165:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  166:   sed '=' <$as_myself |
  167:     sed '
  168:       N
  169:       s,$,-,
  170:       : loop
  171:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  172:       t loop
  173:       s,-$,,
  174:       s,^['$as_cr_digits']*\n,,
  175:     ' >$as_me.lineno &&
  176:   chmod +x $as_me.lineno ||
  177:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  178:    { (exit 1); exit 1; }; }
  179: 
  180:   # Don't try to exec as it changes $[0], causing all sort of problems
  181:   # (the dirname of $[0] is not the place where we might find the
  182:   # original and so on.  Autoconf is especially sensible to this).
  183:   . ./$as_me.lineno
  184:   # Exit status is that of the last command.
  185:   exit
  186: }
  187: 
  188: 
  189: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  190:   *c*,-n*) ECHO_N= ECHO_C='
  191: ' ECHO_T='	' ;;
  192:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  193:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  194: esac
  195: 
  196: if expr a : '\(a\)' >/dev/null 2>&1; then
  197:   as_expr=expr
  198: else
  199:   as_expr=false
  200: fi
  201: 
  202: rm -f conf$$ conf$$.exe conf$$.file
  203: echo >conf$$.file
  204: if ln -s conf$$.file conf$$ 2>/dev/null; then
  205:   # We could just check for DJGPP; but this test a) works b) is more generic
  206:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  207:   if test -f conf$$.exe; then
  208:     # Don't use ln at all; we don't have any links
  209:     as_ln_s='cp -p'
  210:   else
  211:     as_ln_s='ln -s'
  212:   fi
  213: elif ln conf$$.file conf$$ 2>/dev/null; then
  214:   as_ln_s=ln
  215: else
  216:   as_ln_s='cp -p'
  217: fi
  218: rm -f conf$$ conf$$.exe conf$$.file
  219: 
  220: if mkdir -p . 2>/dev/null; then
  221:   as_mkdir_p=:
  222: else
  223:   test -d ./-p && rmdir ./-p
  224:   as_mkdir_p=false
  225: fi
  226: 
  227: as_executable_p="test -f"
  228: 
  229: # Sed expression to map a string onto a valid CPP name.
  230: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  231: 
  232: # Sed expression to map a string onto a valid variable name.
  233: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  234: 
  235: 
  236: # IFS
  237: # We need space, tab and new line, in precisely that order.
  238: as_nl='
  239: '
  240: IFS=" 	$as_nl"
  241: 
  242: # CDPATH.
  243: $as_unset CDPATH
  244: 
  245: 
  246: 
  247: # Check that we are running under the correct shell.
  248: SHELL=${CONFIG_SHELL-/bin/sh}
  249: 
  250: case X$ECHO in
  251: X*--fallback-echo)
  252:   # Remove one level of quotation (which was required for Make).
  253:   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  254:   ;;
  255: esac
  256: 
  257: echo=${ECHO-echo}
  258: if test "X$1" = X--no-reexec; then
  259:   # Discard the --no-reexec flag, and continue.
  260:   shift
  261: elif test "X$1" = X--fallback-echo; then
  262:   # Avoid inline document here, it may be left over
  263:   :
  264: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  265:   # Yippee, $echo works!
  266:   :
  267: else
  268:   # Restart under the correct shell.
  269:   exec $SHELL "$0" --no-reexec ${1+"$@"}
  270: fi
  271: 
  272: if test "X$1" = X--fallback-echo; then
  273:   # used as fallback echo
  274:   shift
  275:   cat <<EOF
  276: $*
  277: EOF
  278:   exit 0
  279: fi
  280: 
  281: # The HP-UX ksh and POSIX shell print the target directory to stdout
  282: # if CDPATH is set.
  283: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  284: 
  285: if test -z "$ECHO"; then
  286: if test "X${echo_test_string+set}" != Xset; then
  287: # find a string as large as possible, as long as the shell can cope with it
  288:   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  289:     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  290:     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  291:        echo_test_string=`eval $cmd` &&
  292:        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  293:     then
  294:       break
  295:     fi
  296:   done
  297: fi
  298: 
  299: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  300:    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  301:    test "X$echo_testing_string" = "X$echo_test_string"; then
  302:   :
  303: else
  304:   # The Solaris, AIX, and Digital Unix default echo programs unquote
  305:   # backslashes.  This makes it impossible to quote backslashes using
  306:   #   echo "$something" | sed 's/\\/\\\\/g'
  307:   #
  308:   # So, first we look for a working echo in the user's PATH.
  309: 
  310:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  311:   for dir in $PATH /usr/ucb; do
  312:     IFS="$lt_save_ifs"
  313:     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  314:        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  315:        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  316:        test "X$echo_testing_string" = "X$echo_test_string"; then
  317:       echo="$dir/echo"
  318:       break
  319:     fi
  320:   done
  321:   IFS="$lt_save_ifs"
  322: 
  323:   if test "X$echo" = Xecho; then
  324:     # We didn't find a better echo, so look for alternatives.
  325:     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  326:        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  327:        test "X$echo_testing_string" = "X$echo_test_string"; then
  328:       # This shell has a builtin print -r that does the trick.
  329:       echo='print -r'
  330:     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  331: 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
  332:       # If we have ksh, try running configure again with it.
  333:       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  334:       export ORIGINAL_CONFIG_SHELL
  335:       CONFIG_SHELL=/bin/ksh
  336:       export CONFIG_SHELL
  337:       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  338:     else
  339:       # Try using printf.
  340:       echo='printf %s\n'
  341:       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  342: 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  343: 	 test "X$echo_testing_string" = "X$echo_test_string"; then
  344: 	# Cool, printf works
  345: 	:
  346:       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  347: 	   test "X$echo_testing_string" = 'X\t' &&
  348: 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  349: 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  350: 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  351: 	export CONFIG_SHELL
  352: 	SHELL="$CONFIG_SHELL"
  353: 	export SHELL
  354: 	echo="$CONFIG_SHELL $0 --fallback-echo"
  355:       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  356: 	   test "X$echo_testing_string" = 'X\t' &&
  357: 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  358: 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  359: 	echo="$CONFIG_SHELL $0 --fallback-echo"
  360:       else
  361: 	# maybe with a smaller string...
  362: 	prev=:
  363: 
  364: 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  365: 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  366: 	  then
  367: 	    break
  368: 	  fi
  369: 	  prev="$cmd"
  370: 	done
  371: 
  372: 	if test "$prev" != 'sed 50q "$0"'; then
  373: 	  echo_test_string=`eval $prev`
  374: 	  export echo_test_string
  375: 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  376: 	else
  377: 	  # Oops.  We lost completely, so just stick with echo.
  378: 	  echo=echo
  379: 	fi
  380:       fi
  381:     fi
  382:   fi
  383: fi
  384: fi
  385: 
  386: # Copy echo and quote the copy suitably for passing to libtool from
  387: # the Makefile, instead of quoting the original, which is used later.
  388: ECHO=$echo
  389: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  390:    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  391: fi
  392: 
  393: 
  394: 
  395: 
  396: tagnames=${tagnames+${tagnames},}CXX
  397: 
  398: tagnames=${tagnames+${tagnames},}F77
  399: 
  400: # Name of the host.
  401: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  402: # so uname gets run too.
  403: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  404: 
  405: exec 6>&1
  406: 
  407: #
  408: # Initializations.
  409: #
  410: ac_default_prefix=/usr/local
  411: ac_config_libobj_dir=.
  412: cross_compiling=no
  413: subdirs=
  414: MFLAGS=
  415: MAKEFLAGS=
  416: SHELL=${CONFIG_SHELL-/bin/sh}
  417: 
  418: # Maximum number of lines to put in a shell here document.
  419: # This variable seems obsolete.  It should probably be removed, and
  420: # only ac_max_sed_lines should be used.
  421: : ${ac_max_here_lines=38}
  422: 
  423: # Identity of this package.
  424: PACKAGE_NAME='expat'
  425: PACKAGE_TARNAME='expat'
  426: PACKAGE_VERSION='2.0.1'
  427: PACKAGE_STRING='expat 2.0.1'
  428: PACKAGE_BUGREPORT='expat-bugs@libexpat.org'
  429: 
  430: ac_unique_file="Makefile.in"
  431: # Factoring default headers for most tests.
  432: ac_includes_default="\
  433: #include <stdio.h>
  434: #if HAVE_SYS_TYPES_H
  435: # include <sys/types.h>
  436: #endif
  437: #if HAVE_SYS_STAT_H
  438: # include <sys/stat.h>
  439: #endif
  440: #if STDC_HEADERS
  441: # include <stdlib.h>
  442: # include <stddef.h>
  443: #else
  444: # if HAVE_STDLIB_H
  445: #  include <stdlib.h>
  446: # endif
  447: #endif
  448: #if HAVE_STRING_H
  449: # if !STDC_HEADERS && HAVE_MEMORY_H
  450: #  include <memory.h>
  451: # endif
  452: # include <string.h>
  453: #endif
  454: #if HAVE_STRINGS_H
  455: # include <strings.h>
  456: #endif
  457: #if HAVE_INTTYPES_H
  458: # include <inttypes.h>
  459: #else
  460: # if HAVE_STDINT_H
  461: #  include <stdint.h>
  462: # endif
  463: #endif
  464: #if HAVE_UNISTD_H
  465: # include <unistd.h>
  466: #endif"
  467: 
  468: 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBCURRENT LIBREVISION LIBAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA FILEMAP LIBOBJS LTLIBOBJS'
  469: ac_subst_files=''
  470: 
  471: # Initialize some variables set by options.
  472: ac_init_help=
  473: ac_init_version=false
  474: # The variables have the same names as the options, with
  475: # dashes changed to underlines.
  476: cache_file=/dev/null
  477: exec_prefix=NONE
  478: no_create=
  479: no_recursion=
  480: prefix=NONE
  481: program_prefix=NONE
  482: program_suffix=NONE
  483: program_transform_name=s,x,x,
  484: silent=
  485: site=
  486: srcdir=
  487: verbose=
  488: x_includes=NONE
  489: x_libraries=NONE
  490: 
  491: # Installation directory options.
  492: # These are left unexpanded so users can "make install exec_prefix=/foo"
  493: # and all the variables that are supposed to be based on exec_prefix
  494: # by default will actually change.
  495: # Use braces instead of parens because sh, perl, etc. also accept them.
  496: bindir='${exec_prefix}/bin'
  497: sbindir='${exec_prefix}/sbin'
  498: libexecdir='${exec_prefix}/libexec'
  499: datadir='${prefix}/share'
  500: sysconfdir='${prefix}/etc'
  501: sharedstatedir='${prefix}/com'
  502: localstatedir='${prefix}/var'
  503: libdir='${exec_prefix}/lib'
  504: includedir='${prefix}/include'
  505: oldincludedir='/usr/include'
  506: infodir='${prefix}/info'
  507: mandir='${prefix}/man'
  508: 
  509: ac_prev=
  510: for ac_option
  511: do
  512:   # If the previous option needs an argument, assign it.
  513:   if test -n "$ac_prev"; then
  514:     eval "$ac_prev=\$ac_option"
  515:     ac_prev=
  516:     continue
  517:   fi
  518: 
  519:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  520: 
  521:   # Accept the important Cygnus configure options, so we can diagnose typos.
  522: 
  523:   case $ac_option in
  524: 
  525:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  526:     ac_prev=bindir ;;
  527:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  528:     bindir=$ac_optarg ;;
  529: 
  530:   -build | --build | --buil | --bui | --bu)
  531:     ac_prev=build_alias ;;
  532:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  533:     build_alias=$ac_optarg ;;
  534: 
  535:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  536:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  537:     ac_prev=cache_file ;;
  538:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  539:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  540:     cache_file=$ac_optarg ;;
  541: 
  542:   --config-cache | -C)
  543:     cache_file=config.cache ;;
  544: 
  545:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  546:     ac_prev=datadir ;;
  547:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  548:   | --da=*)
  549:     datadir=$ac_optarg ;;
  550: 
  551:   -disable-* | --disable-*)
  552:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  553:     # Reject names that are not valid shell variable names.
  554:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  555:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  556:    { (exit 1); exit 1; }; }
  557:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  558:     eval "enable_$ac_feature=no" ;;
  559: 
  560:   -enable-* | --enable-*)
  561:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  562:     # Reject names that are not valid shell variable names.
  563:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  564:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  565:    { (exit 1); exit 1; }; }
  566:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  567:     case $ac_option in
  568:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  569:       *) ac_optarg=yes ;;
  570:     esac
  571:     eval "enable_$ac_feature='$ac_optarg'" ;;
  572: 
  573:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  574:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  575:   | --exec | --exe | --ex)
  576:     ac_prev=exec_prefix ;;
  577:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  578:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  579:   | --exec=* | --exe=* | --ex=*)
  580:     exec_prefix=$ac_optarg ;;
  581: 
  582:   -gas | --gas | --ga | --g)
  583:     # Obsolete; use --with-gas.
  584:     with_gas=yes ;;
  585: 
  586:   -help | --help | --hel | --he | -h)
  587:     ac_init_help=long ;;
  588:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  589:     ac_init_help=recursive ;;
  590:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  591:     ac_init_help=short ;;
  592: 
  593:   -host | --host | --hos | --ho)
  594:     ac_prev=host_alias ;;
  595:   -host=* | --host=* | --hos=* | --ho=*)
  596:     host_alias=$ac_optarg ;;
  597: 
  598:   -includedir | --includedir | --includedi | --included | --include \
  599:   | --includ | --inclu | --incl | --inc)
  600:     ac_prev=includedir ;;
  601:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  602:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  603:     includedir=$ac_optarg ;;
  604: 
  605:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  606:     ac_prev=infodir ;;
  607:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  608:     infodir=$ac_optarg ;;
  609: 
  610:   -libdir | --libdir | --libdi | --libd)
  611:     ac_prev=libdir ;;
  612:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  613:     libdir=$ac_optarg ;;
  614: 
  615:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  616:   | --libexe | --libex | --libe)
  617:     ac_prev=libexecdir ;;
  618:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  619:   | --libexe=* | --libex=* | --libe=*)
  620:     libexecdir=$ac_optarg ;;
  621: 
  622:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  623:   | --localstate | --localstat | --localsta | --localst \
  624:   | --locals | --local | --loca | --loc | --lo)
  625:     ac_prev=localstatedir ;;
  626:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  627:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  628:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  629:     localstatedir=$ac_optarg ;;
  630: 
  631:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  632:     ac_prev=mandir ;;
  633:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  634:     mandir=$ac_optarg ;;
  635: 
  636:   -nfp | --nfp | --nf)
  637:     # Obsolete; use --without-fp.
  638:     with_fp=no ;;
  639: 
  640:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  641:   | --no-cr | --no-c | -n)
  642:     no_create=yes ;;
  643: 
  644:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  645:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  646:     no_recursion=yes ;;
  647: 
  648:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  649:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  650:   | --oldin | --oldi | --old | --ol | --o)
  651:     ac_prev=oldincludedir ;;
  652:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  653:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  654:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  655:     oldincludedir=$ac_optarg ;;
  656: 
  657:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  658:     ac_prev=prefix ;;
  659:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  660:     prefix=$ac_optarg ;;
  661: 
  662:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  663:   | --program-pre | --program-pr | --program-p)
  664:     ac_prev=program_prefix ;;
  665:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  666:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  667:     program_prefix=$ac_optarg ;;
  668: 
  669:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  670:   | --program-suf | --program-su | --program-s)
  671:     ac_prev=program_suffix ;;
  672:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  673:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  674:     program_suffix=$ac_optarg ;;
  675: 
  676:   -program-transform-name | --program-transform-name \
  677:   | --program-transform-nam | --program-transform-na \
  678:   | --program-transform-n | --program-transform- \
  679:   | --program-transform | --program-transfor \
  680:   | --program-transfo | --program-transf \
  681:   | --program-trans | --program-tran \
  682:   | --progr-tra | --program-tr | --program-t)
  683:     ac_prev=program_transform_name ;;
  684:   -program-transform-name=* | --program-transform-name=* \
  685:   | --program-transform-nam=* | --program-transform-na=* \
  686:   | --program-transform-n=* | --program-transform-=* \
  687:   | --program-transform=* | --program-transfor=* \
  688:   | --program-transfo=* | --program-transf=* \
  689:   | --program-trans=* | --program-tran=* \
  690:   | --progr-tra=* | --program-tr=* | --program-t=*)
  691:     program_transform_name=$ac_optarg ;;
  692: 
  693:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  694:   | -silent | --silent | --silen | --sile | --sil)
  695:     silent=yes ;;
  696: 
  697:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  698:     ac_prev=sbindir ;;
  699:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  700:   | --sbi=* | --sb=*)
  701:     sbindir=$ac_optarg ;;
  702: 
  703:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  704:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  705:   | --sharedst | --shareds | --shared | --share | --shar \
  706:   | --sha | --sh)
  707:     ac_prev=sharedstatedir ;;
  708:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  709:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  710:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  711:   | --sha=* | --sh=*)
  712:     sharedstatedir=$ac_optarg ;;
  713: 
  714:   -site | --site | --sit)
  715:     ac_prev=site ;;
  716:   -site=* | --site=* | --sit=*)
  717:     site=$ac_optarg ;;
  718: 
  719:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  720:     ac_prev=srcdir ;;
  721:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  722:     srcdir=$ac_optarg ;;
  723: 
  724:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  725:   | --syscon | --sysco | --sysc | --sys | --sy)
  726:     ac_prev=sysconfdir ;;
  727:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  728:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  729:     sysconfdir=$ac_optarg ;;
  730: 
  731:   -target | --target | --targe | --targ | --tar | --ta | --t)
  732:     ac_prev=target_alias ;;
  733:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  734:     target_alias=$ac_optarg ;;
  735: 
  736:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  737:     verbose=yes ;;
  738: 
  739:   -version | --version | --versio | --versi | --vers | -V)
  740:     ac_init_version=: ;;
  741: 
  742:   -with-* | --with-*)
  743:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  744:     # Reject names that are not valid shell variable names.
  745:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  746:       { echo "$as_me: error: invalid package name: $ac_package" >&2
  747:    { (exit 1); exit 1; }; }
  748:     ac_package=`echo $ac_package| sed 's/-/_/g'`
  749:     case $ac_option in
  750:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  751:       *) ac_optarg=yes ;;
  752:     esac
  753:     eval "with_$ac_package='$ac_optarg'" ;;
  754: 
  755:   -without-* | --without-*)
  756:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  757:     # Reject names that are not valid shell variable names.
  758:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  759:       { echo "$as_me: error: invalid package name: $ac_package" >&2
  760:    { (exit 1); exit 1; }; }
  761:     ac_package=`echo $ac_package | sed 's/-/_/g'`
  762:     eval "with_$ac_package=no" ;;
  763: 
  764:   --x)
  765:     # Obsolete; use --with-x.
  766:     with_x=yes ;;
  767: 
  768:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  769:   | --x-incl | --x-inc | --x-in | --x-i)
  770:     ac_prev=x_includes ;;
  771:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  772:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  773:     x_includes=$ac_optarg ;;
  774: 
  775:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  776:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  777:     ac_prev=x_libraries ;;
  778:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  779:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  780:     x_libraries=$ac_optarg ;;
  781: 
  782:   -*) { echo "$as_me: error: unrecognized option: $ac_option
  783: Try \`$0 --help' for more information." >&2
  784:    { (exit 1); exit 1; }; }
  785:     ;;
  786: 
  787:   *=*)
  788:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  789:     # Reject names that are not valid shell variable names.
  790:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  791:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  792:    { (exit 1); exit 1; }; }
  793:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  794:     eval "$ac_envvar='$ac_optarg'"
  795:     export $ac_envvar ;;
  796: 
  797:   *)
  798:     # FIXME: should be removed in autoconf 3.0.
  799:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  800:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  801:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  802:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  803:     ;;
  804: 
  805:   esac
  806: done
  807: 
  808: if test -n "$ac_prev"; then
  809:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  810:   { echo "$as_me: error: missing argument to $ac_option" >&2
  811:    { (exit 1); exit 1; }; }
  812: fi
  813: 
  814: # Be sure to have absolute paths.
  815: for ac_var in exec_prefix prefix
  816: do
  817:   eval ac_val=$`echo $ac_var`
  818:   case $ac_val in
  819:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  820:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  821:    { (exit 1); exit 1; }; };;
  822:   esac
  823: done
  824: 
  825: # Be sure to have absolute paths.
  826: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  827: 	      localstatedir libdir includedir oldincludedir infodir mandir
  828: do
  829:   eval ac_val=$`echo $ac_var`
  830:   case $ac_val in
  831:     [\\/$]* | ?:[\\/]* ) ;;
  832:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  833:    { (exit 1); exit 1; }; };;
  834:   esac
  835: done
  836: 
  837: # There might be people who depend on the old broken behavior: `$host'
  838: # used to hold the argument of --host etc.
  839: # FIXME: To remove some day.
  840: build=$build_alias
  841: host=$host_alias
  842: target=$target_alias
  843: 
  844: # FIXME: To remove some day.
  845: if test "x$host_alias" != x; then
  846:   if test "x$build_alias" = x; then
  847:     cross_compiling=maybe
  848:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  849:     If a cross compiler is detected then cross compile mode will be used." >&2
  850:   elif test "x$build_alias" != "x$host_alias"; then
  851:     cross_compiling=yes
  852:   fi
  853: fi
  854: 
  855: ac_tool_prefix=
  856: test -n "$host_alias" && ac_tool_prefix=$host_alias-
  857: 
  858: test "$silent" = yes && exec 6>/dev/null
  859: 
  860: 
  861: # Find the source files, if location was not specified.
  862: if test -z "$srcdir"; then
  863:   ac_srcdir_defaulted=yes
  864:   # Try the directory containing this script, then its parent.
  865:   ac_confdir=`(dirname "$0") 2>/dev/null ||
  866: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  867: 	 X"$0" : 'X\(//\)[^/]' \| \
  868: 	 X"$0" : 'X\(//\)$' \| \
  869: 	 X"$0" : 'X\(/\)' \| \
  870: 	 .     : '\(.\)' 2>/dev/null ||
  871: echo X"$0" |
  872:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  873:   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  874:   	  /^X\(\/\/\)$/{ s//\1/; q; }
  875:   	  /^X\(\/\).*/{ s//\1/; q; }
  876:   	  s/.*/./; q'`
  877:   srcdir=$ac_confdir
  878:   if test ! -r $srcdir/$ac_unique_file; then
  879:     srcdir=..
  880:   fi
  881: else
  882:   ac_srcdir_defaulted=no
  883: fi
  884: if test ! -r $srcdir/$ac_unique_file; then
  885:   if test "$ac_srcdir_defaulted" = yes; then
  886:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  887:    { (exit 1); exit 1; }; }
  888:   else
  889:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  890:    { (exit 1); exit 1; }; }
  891:   fi
  892: fi
  893: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  894:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  895:    { (exit 1); exit 1; }; }
  896: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  897: ac_env_build_alias_set=${build_alias+set}
  898: ac_env_build_alias_value=$build_alias
  899: ac_cv_env_build_alias_set=${build_alias+set}
  900: ac_cv_env_build_alias_value=$build_alias
  901: ac_env_host_alias_set=${host_alias+set}
  902: ac_env_host_alias_value=$host_alias
  903: ac_cv_env_host_alias_set=${host_alias+set}
  904: ac_cv_env_host_alias_value=$host_alias
  905: ac_env_target_alias_set=${target_alias+set}
  906: ac_env_target_alias_value=$target_alias
  907: ac_cv_env_target_alias_set=${target_alias+set}
  908: ac_cv_env_target_alias_value=$target_alias
  909: ac_env_CC_set=${CC+set}
  910: ac_env_CC_value=$CC
  911: ac_cv_env_CC_set=${CC+set}
  912: ac_cv_env_CC_value=$CC
  913: ac_env_CFLAGS_set=${CFLAGS+set}
  914: ac_env_CFLAGS_value=$CFLAGS
  915: ac_cv_env_CFLAGS_set=${CFLAGS+set}
  916: ac_cv_env_CFLAGS_value=$CFLAGS
  917: ac_env_LDFLAGS_set=${LDFLAGS+set}
  918: ac_env_LDFLAGS_value=$LDFLAGS
  919: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  920: ac_cv_env_LDFLAGS_value=$LDFLAGS
  921: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  922: ac_env_CPPFLAGS_value=$CPPFLAGS
  923: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  924: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  925: ac_env_CPP_set=${CPP+set}
  926: ac_env_CPP_value=$CPP
  927: ac_cv_env_CPP_set=${CPP+set}
  928: ac_cv_env_CPP_value=$CPP
  929: ac_env_CXX_set=${CXX+set}
  930: ac_env_CXX_value=$CXX
  931: ac_cv_env_CXX_set=${CXX+set}
  932: ac_cv_env_CXX_value=$CXX
  933: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  934: ac_env_CXXFLAGS_value=$CXXFLAGS
  935: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  936: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  937: ac_env_CXXCPP_set=${CXXCPP+set}
  938: ac_env_CXXCPP_value=$CXXCPP
  939: ac_cv_env_CXXCPP_set=${CXXCPP+set}
  940: ac_cv_env_CXXCPP_value=$CXXCPP
  941: ac_env_F77_set=${F77+set}
  942: ac_env_F77_value=$F77
  943: ac_cv_env_F77_set=${F77+set}
  944: ac_cv_env_F77_value=$F77
  945: ac_env_FFLAGS_set=${FFLAGS+set}
  946: ac_env_FFLAGS_value=$FFLAGS
  947: ac_cv_env_FFLAGS_set=${FFLAGS+set}
  948: ac_cv_env_FFLAGS_value=$FFLAGS
  949: 
  950: #
  951: # Report the --help message.
  952: #
  953: if test "$ac_init_help" = "long"; then
  954:   # Omit some internal or obsolete options to make the list less imposing.
  955:   # This message is too long to be a string in the A/UX 3.1 sh.
  956:   cat <<_ACEOF
  957: \`configure' configures expat 2.0.1 to adapt to many kinds of systems.
  958: 
  959: Usage: $0 [OPTION]... [VAR=VALUE]...
  960: 
  961: To assign environment variables (e.g., CC, CFLAGS...), specify them as
  962: VAR=VALUE.  See below for descriptions of some of the useful variables.
  963: 
  964: Defaults for the options are specified in brackets.
  965: 
  966: Configuration:
  967:   -h, --help              display this help and exit
  968:       --help=short        display options specific to this package
  969:       --help=recursive    display the short help of all the included packages
  970:   -V, --version           display version information and exit
  971:   -q, --quiet, --silent   do not print \`checking...' messages
  972:       --cache-file=FILE   cache test results in FILE [disabled]
  973:   -C, --config-cache      alias for \`--cache-file=config.cache'
  974:   -n, --no-create         do not create output files
  975:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  976: 
  977: _ACEOF
  978: 
  979:   cat <<_ACEOF
  980: Installation directories:
  981:   --prefix=PREFIX         install architecture-independent files in PREFIX
  982: 			  [$ac_default_prefix]
  983:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  984: 			  [PREFIX]
  985: 
  986: By default, \`make install' will install all the files in
  987: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  988: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  989: for instance \`--prefix=\$HOME'.
  990: 
  991: For better control, use the options below.
  992: 
  993: Fine tuning of the installation directories:
  994:   --bindir=DIR           user executables [EPREFIX/bin]
  995:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  996:   --libexecdir=DIR       program executables [EPREFIX/libexec]
  997:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  998:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  999:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1000:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1001:   --libdir=DIR           object code libraries [EPREFIX/lib]
 1002:   --includedir=DIR       C header files [PREFIX/include]
 1003:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1004:   --infodir=DIR          info documentation [PREFIX/info]
 1005:   --mandir=DIR           man documentation [PREFIX/man]
 1006: _ACEOF
 1007: 
 1008:   cat <<\_ACEOF
 1009: 
 1010: System types:
 1011:   --build=BUILD     configure for building on BUILD [guessed]
 1012:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1013: _ACEOF
 1014: fi
 1015: 
 1016: if test -n "$ac_init_help"; then
 1017:   case $ac_init_help in
 1018:      short | recursive ) echo "Configuration of expat 2.0.1:";;
 1019:    esac
 1020:   cat <<\_ACEOF
 1021: 
 1022: Optional Features:
 1023:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1024:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1025:   --enable-shared[=PKGS]
 1026:                           build shared libraries [default=yes]
 1027:   --enable-static[=PKGS]
 1028:                           build static libraries [default=yes]
 1029:   --enable-fast-install[=PKGS]
 1030:                           optimize for fast installation [default=yes]
 1031:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1032: 
 1033: Optional Packages:
 1034:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1035:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1036:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1037:   --with-pic              try to use only PIC/non-PIC objects [default=use
 1038:                           both]
 1039:   --with-tags[=TAGS]
 1040:                           include additional configurations [automatic]
 1041: 
 1042: Some influential environment variables:
 1043:   CC          C compiler command
 1044:   CFLAGS      C compiler flags
 1045:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1046:               nonstandard directory <lib dir>
 1047:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1048:               headers in a nonstandard directory <include dir>
 1049:   CPP         C preprocessor
 1050:   CXX         C++ compiler command
 1051:   CXXFLAGS    C++ compiler flags
 1052:   CXXCPP      C++ preprocessor
 1053:   F77         Fortran 77 compiler command
 1054:   FFLAGS      Fortran 77 compiler flags
 1055: 
 1056: Use these variables to override the choices made by `configure' or to help
 1057: it to find libraries and programs with nonstandard names/locations.
 1058: 
 1059: Report bugs to <expat-bugs@libexpat.org>.
 1060: _ACEOF
 1061: fi
 1062: 
 1063: if test "$ac_init_help" = "recursive"; then
 1064:   # If there are subdirs, report their specific --help.
 1065:   ac_popdir=`pwd`
 1066:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1067:     test -d $ac_dir || continue
 1068:     ac_builddir=.
 1069: 
 1070: if test "$ac_dir" != .; then
 1071:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1072:   # A "../" for each directory in $ac_dir_suffix.
 1073:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1074: else
 1075:   ac_dir_suffix= ac_top_builddir=
 1076: fi
 1077: 
 1078: case $srcdir in
 1079:   .)  # No --srcdir option.  We are building in place.
 1080:     ac_srcdir=.
 1081:     if test -z "$ac_top_builddir"; then
 1082:        ac_top_srcdir=.
 1083:     else
 1084:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1085:     fi ;;
 1086:   [\\/]* | ?:[\\/]* )  # Absolute path.
 1087:     ac_srcdir=$srcdir$ac_dir_suffix;
 1088:     ac_top_srcdir=$srcdir ;;
 1089:   *) # Relative path.
 1090:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1091:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1092: esac
 1093: 
 1094: # Do not use `cd foo && pwd` to compute absolute paths, because
 1095: # the directories may not exist.
 1096: case `pwd` in
 1097: .) ac_abs_builddir="$ac_dir";;
 1098: *)
 1099:   case "$ac_dir" in
 1100:   .) ac_abs_builddir=`pwd`;;
 1101:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1102:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1103:   esac;;
 1104: esac
 1105: case $ac_abs_builddir in
 1106: .) ac_abs_top_builddir=${ac_top_builddir}.;;
 1107: *)
 1108:   case ${ac_top_builddir}. in
 1109:   .) ac_abs_top_builddir=$ac_abs_builddir;;
 1110:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1111:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1112:   esac;;
 1113: esac
 1114: case $ac_abs_builddir in
 1115: .) ac_abs_srcdir=$ac_srcdir;;
 1116: *)
 1117:   case $ac_srcdir in
 1118:   .) ac_abs_srcdir=$ac_abs_builddir;;
 1119:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1120:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1121:   esac;;
 1122: esac
 1123: case $ac_abs_builddir in
 1124: .) ac_abs_top_srcdir=$ac_top_srcdir;;
 1125: *)
 1126:   case $ac_top_srcdir in
 1127:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1128:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1129:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1130:   esac;;
 1131: esac
 1132: 
 1133:     cd $ac_dir
 1134:     # Check for guested configure; otherwise get Cygnus style configure.
 1135:     if test -f $ac_srcdir/configure.gnu; then
 1136:       echo
 1137:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1138:     elif test -f $ac_srcdir/configure; then
 1139:       echo
 1140:       $SHELL $ac_srcdir/configure  --help=recursive
 1141:     elif test -f $ac_srcdir/configure.ac ||
 1142: 	   test -f $ac_srcdir/configure.in; then
 1143:       echo
 1144:       $ac_configure --help
 1145:     else
 1146:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1147:     fi
 1148:     cd $ac_popdir
 1149:   done
 1150: fi
 1151: 
 1152: test -n "$ac_init_help" && exit 0
 1153: if $ac_init_version; then
 1154:   cat <<\_ACEOF
 1155: expat configure 2.0.1
 1156: generated by GNU Autoconf 2.59
 1157: 
 1158: Copyright (C) 2003 Free Software Foundation, Inc.
 1159: This configure script is free software; the Free Software Foundation
 1160: gives unlimited permission to copy, distribute and modify it.
 1161: _ACEOF
 1162:   exit 0
 1163: fi
 1164: exec 5>config.log
 1165: cat >&5 <<_ACEOF
 1166: This file contains any messages produced by compilers while
 1167: running configure, to aid debugging if configure makes a mistake.
 1168: 
 1169: It was created by expat $as_me 2.0.1, which was
 1170: generated by GNU Autoconf 2.59.  Invocation command line was
 1171: 
 1172:   $ $0 $@
 1173: 
 1174: _ACEOF
 1175: {
 1176: cat <<_ASUNAME
 1177: ## --------- ##
 1178: ## Platform. ##
 1179: ## --------- ##
 1180: 
 1181: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1182: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1183: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1184: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1185: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1186: 
 1187: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1188: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1189: 
 1190: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1191: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1192: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1193: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1194: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1195: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1196: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1197: 
 1198: _ASUNAME
 1199: 
 1200: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1201: for as_dir in $PATH
 1202: do
 1203:   IFS=$as_save_IFS
 1204:   test -z "$as_dir" && as_dir=.
 1205:   echo "PATH: $as_dir"
 1206: done
 1207: 
 1208: } >&5
 1209: 
 1210: cat >&5 <<_ACEOF
 1211: 
 1212: 
 1213: ## ----------- ##
 1214: ## Core tests. ##
 1215: ## ----------- ##
 1216: 
 1217: _ACEOF
 1218: 
 1219: 
 1220: # Keep a trace of the command line.
 1221: # Strip out --no-create and --no-recursion so they do not pile up.
 1222: # Strip out --silent because we don't want to record it for future runs.
 1223: # Also quote any args containing shell meta-characters.
 1224: # Make two passes to allow for proper duplicate-argument suppression.
 1225: ac_configure_args=
 1226: ac_configure_args0=
 1227: ac_configure_args1=
 1228: ac_sep=
 1229: ac_must_keep_next=false
 1230: for ac_pass in 1 2
 1231: do
 1232:   for ac_arg
 1233:   do
 1234:     case $ac_arg in
 1235:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1236:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1237:     | -silent | --silent | --silen | --sile | --sil)
 1238:       continue ;;
 1239:     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1240:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1241:     esac
 1242:     case $ac_pass in
 1243:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1244:     2)
 1245:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1246:       if test $ac_must_keep_next = true; then
 1247: 	ac_must_keep_next=false # Got value, back to normal.
 1248:       else
 1249: 	case $ac_arg in
 1250: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1251: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1252: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1253: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1254: 	    case "$ac_configure_args0 " in
 1255: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1256: 	    esac
 1257: 	    ;;
 1258: 	  -* ) ac_must_keep_next=true ;;
 1259: 	esac
 1260:       fi
 1261:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1262:       # Get rid of the leading space.
 1263:       ac_sep=" "
 1264:       ;;
 1265:     esac
 1266:   done
 1267: done
 1268: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1269: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1270: 
 1271: # When interrupted or exit'd, cleanup temporary files, and complete
 1272: # config.log.  We remove comments because anyway the quotes in there
 1273: # would cause problems or look ugly.
 1274: # WARNING: Be sure not to use single quotes in there, as some shells,
 1275: # such as our DU 5.0 friend, will then `close' the trap.
 1276: trap 'exit_status=$?
 1277:   # Save into config.log some information that might help in debugging.
 1278:   {
 1279:     echo
 1280: 
 1281:     cat <<\_ASBOX
 1282: ## ---------------- ##
 1283: ## Cache variables. ##
 1284: ## ---------------- ##
 1285: _ASBOX
 1286:     echo
 1287:     # The following way of writing the cache mishandles newlines in values,
 1288: {
 1289:   (set) 2>&1 |
 1290:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1291:     *ac_space=\ *)
 1292:       sed -n \
 1293: 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1294: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1295:       ;;
 1296:     *)
 1297:       sed -n \
 1298: 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1299:       ;;
 1300:     esac;
 1301: }
 1302:     echo
 1303: 
 1304:     cat <<\_ASBOX
 1305: ## ----------------- ##
 1306: ## Output variables. ##
 1307: ## ----------------- ##
 1308: _ASBOX
 1309:     echo
 1310:     for ac_var in $ac_subst_vars
 1311:     do
 1312:       eval ac_val=$`echo $ac_var`
 1313:       echo "$ac_var='"'"'$ac_val'"'"'"
 1314:     done | sort
 1315:     echo
 1316: 
 1317:     if test -n "$ac_subst_files"; then
 1318:       cat <<\_ASBOX
 1319: ## ------------- ##
 1320: ## Output files. ##
 1321: ## ------------- ##
 1322: _ASBOX
 1323:       echo
 1324:       for ac_var in $ac_subst_files
 1325:       do
 1326: 	eval ac_val=$`echo $ac_var`
 1327: 	echo "$ac_var='"'"'$ac_val'"'"'"
 1328:       done | sort
 1329:       echo
 1330:     fi
 1331: 
 1332:     if test -s confdefs.h; then
 1333:       cat <<\_ASBOX
 1334: ## ----------- ##
 1335: ## confdefs.h. ##
 1336: ## ----------- ##
 1337: _ASBOX
 1338:       echo
 1339:       sed "/^$/d" confdefs.h | sort
 1340:       echo
 1341:     fi
 1342:     test "$ac_signal" != 0 &&
 1343:       echo "$as_me: caught signal $ac_signal"
 1344:     echo "$as_me: exit $exit_status"
 1345:   } >&5
 1346:   rm -f core *.core &&
 1347:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1348:     exit $exit_status
 1349:      ' 0
 1350: for ac_signal in 1 2 13 15; do
 1351:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1352: done
 1353: ac_signal=0
 1354: 
 1355: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1356: rm -rf conftest* confdefs.h
 1357: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1358: echo >confdefs.h
 1359: 
 1360: # Predefined preprocessor variables.
 1361: 
 1362: cat >>confdefs.h <<_ACEOF
 1363: #define PACKAGE_NAME "$PACKAGE_NAME"
 1364: _ACEOF
 1365: 
 1366: 
 1367: cat >>confdefs.h <<_ACEOF
 1368: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1369: _ACEOF
 1370: 
 1371: 
 1372: cat >>confdefs.h <<_ACEOF
 1373: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1374: _ACEOF
 1375: 
 1376: 
 1377: cat >>confdefs.h <<_ACEOF
 1378: #define PACKAGE_STRING "$PACKAGE_STRING"
 1379: _ACEOF
 1380: 
 1381: 
 1382: cat >>confdefs.h <<_ACEOF
 1383: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1384: _ACEOF
 1385: 
 1386: 
 1387: # Let the site file select an alternate cache file if it wants to.
 1388: # Prefer explicitly selected file to automatically selected ones.
 1389: if test -z "$CONFIG_SITE"; then
 1390:   if test "x$prefix" != xNONE; then
 1391:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1392:   else
 1393:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1394:   fi
 1395: fi
 1396: for ac_site_file in $CONFIG_SITE; do
 1397:   if test -r "$ac_site_file"; then
 1398:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1399: echo "$as_me: loading site script $ac_site_file" >&6;}
 1400:     sed 's/^/| /' "$ac_site_file" >&5
 1401:     . "$ac_site_file"
 1402:   fi
 1403: done
 1404: 
 1405: if test -r "$cache_file"; then
 1406:   # Some versions of bash will fail to source /dev/null (special
 1407:   # files actually), so we avoid doing that.
 1408:   if test -f "$cache_file"; then
 1409:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1410: echo "$as_me: loading cache $cache_file" >&6;}
 1411:     case $cache_file in
 1412:       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1413:       *)                      . ./$cache_file;;
 1414:     esac
 1415:   fi
 1416: else
 1417:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1418: echo "$as_me: creating cache $cache_file" >&6;}
 1419:   >$cache_file
 1420: fi
 1421: 
 1422: # Check that the precious variables saved in the cache have kept the same
 1423: # value.
 1424: ac_cache_corrupted=false
 1425: for ac_var in `(set) 2>&1 |
 1426: 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1427:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1428:   eval ac_new_set=\$ac_env_${ac_var}_set
 1429:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1430:   eval ac_new_val="\$ac_env_${ac_var}_value"
 1431:   case $ac_old_set,$ac_new_set in
 1432:     set,)
 1433:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1434: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1435:       ac_cache_corrupted=: ;;
 1436:     ,set)
 1437:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1438: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1439:       ac_cache_corrupted=: ;;
 1440:     ,);;
 1441:     *)
 1442:       if test "x$ac_old_val" != "x$ac_new_val"; then
 1443: 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1444: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1445: 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1446: echo "$as_me:   former value:  $ac_old_val" >&2;}
 1447: 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1448: echo "$as_me:   current value: $ac_new_val" >&2;}
 1449: 	ac_cache_corrupted=:
 1450:       fi;;
 1451:   esac
 1452:   # Pass precious variables to config.status.
 1453:   if test "$ac_new_set" = set; then
 1454:     case $ac_new_val in
 1455:     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1456:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1457:     *) ac_arg=$ac_var=$ac_new_val ;;
 1458:     esac
 1459:     case " $ac_configure_args " in
 1460:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1461:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1462:     esac
 1463:   fi
 1464: done
 1465: if $ac_cache_corrupted; then
 1466:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1467: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1468:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1469: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1470:    { (exit 1); exit 1; }; }
 1471: fi
 1472: 
 1473: ac_ext=c
 1474: ac_cpp='$CPP $CPPFLAGS'
 1475: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1476: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1477: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1478: 
 1479: 
 1480: 
 1481: 
 1482: 
 1483: 
 1484: 
 1485: 
 1486: 
 1487: 
 1488: 
 1489: 
 1490: 
 1491: 
 1492: 
 1493: 
 1494: 
 1495: 
 1496: 
 1497: 
 1498: 
 1499: 
 1500: 
 1501: 
 1502: 
 1503: 
 1504: 
 1505: 
 1506: 
 1507: 
 1508: ac_aux_dir=
 1509: for ac_dir in conftools $srcdir/conftools; do
 1510:   if test -f $ac_dir/install-sh; then
 1511:     ac_aux_dir=$ac_dir
 1512:     ac_install_sh="$ac_aux_dir/install-sh -c"
 1513:     break
 1514:   elif test -f $ac_dir/install.sh; then
 1515:     ac_aux_dir=$ac_dir
 1516:     ac_install_sh="$ac_aux_dir/install.sh -c"
 1517:     break
 1518:   elif test -f $ac_dir/shtool; then
 1519:     ac_aux_dir=$ac_dir
 1520:     ac_install_sh="$ac_aux_dir/shtool install -c"
 1521:     break
 1522:   fi
 1523: done
 1524: if test -z "$ac_aux_dir"; then
 1525:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&5
 1526: echo "$as_me: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&2;}
 1527:    { (exit 1); exit 1; }; }
 1528: fi
 1529: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1530: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1531: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1532: 
 1533: 
 1534: 
 1535: 
 1536: LIBCURRENT=6
 1537: LIBREVISION=2
 1538: LIBAGE=5
 1539: 
 1540:           ac_config_headers="$ac_config_headers expat_config.h"
 1541: 
 1542: 
 1543: # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 1544: ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
 1545: ## Free Software Foundation, Inc.
 1546: ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 1547: ##
 1548: ## This file is free software; the Free Software Foundation gives
 1549: ## unlimited permission to copy and/or distribute it, with or without
 1550: ## modifications, as long as this notice is preserved.
 1551: 
 1552: # serial 48 AC_PROG_LIBTOOL
 1553: 
 1554: 
 1555: # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
 1556: # -----------------------------------------------------------
 1557: # If this macro is not defined by Autoconf, define it here.
 1558: 
 1559: 
 1560: 
 1561: # AC_PROG_LIBTOOL
 1562: # ---------------
 1563: # AC_PROG_LIBTOOL
 1564: 
 1565: 
 1566: # _AC_PROG_LIBTOOL
 1567: # ----------------
 1568: # _AC_PROG_LIBTOOL
 1569: 
 1570: 
 1571: # AC_LIBTOOL_SETUP
 1572: # ----------------
 1573: # AC_LIBTOOL_SETUP
 1574: 
 1575: 
 1576: # _LT_AC_SYS_COMPILER
 1577: # -------------------
 1578: # _LT_AC_SYS_COMPILER
 1579: 
 1580: 
 1581: # _LT_CC_BASENAME(CC)
 1582: # -------------------
 1583: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 1584: 
 1585: 
 1586: 
 1587: # _LT_COMPILER_BOILERPLATE
 1588: # ------------------------
 1589: # Check for compiler boilerplate output or warnings with
 1590: # the simple compiler test code.
 1591: # _LT_COMPILER_BOILERPLATE
 1592: 
 1593: 
 1594: # _LT_LINKER_BOILERPLATE
 1595: # ----------------------
 1596: # Check for linker boilerplate output or warnings with
 1597: # the simple link test code.
 1598: # _LT_LINKER_BOILERPLATE
 1599: 
 1600: 
 1601: # _LT_AC_SYS_LIBPATH_AIX
 1602: # ----------------------
 1603: # Links a minimal program and checks the executable
 1604: # for the system default hardcoded library path. In most cases,
 1605: # this is /usr/lib:/lib, but when the MPI compilers are used
 1606: # the location of the communication and MPI libs are included too.
 1607: # If we don't find anything, use the default library path according
 1608: # to the aix ld manual.
 1609: # _LT_AC_SYS_LIBPATH_AIX
 1610: 
 1611: 
 1612: # _LT_AC_SHELL_INIT(ARG)
 1613: # ----------------------
 1614: # _LT_AC_SHELL_INIT
 1615: 
 1616: 
 1617: # _LT_AC_PROG_ECHO_BACKSLASH
 1618: # --------------------------
 1619: # Add some code to the start of the generated configure script which
 1620: # will find an echo command which doesn't interpret backslashes.
 1621: # _LT_AC_PROG_ECHO_BACKSLASH
 1622: 
 1623: 
 1624: # _LT_AC_LOCK
 1625: # -----------
 1626: # _LT_AC_LOCK
 1627: 
 1628: 
 1629: # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 1630: #		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 1631: # ----------------------------------------------------------------
 1632: # Check whether the given compiler option works
 1633: # AC_LIBTOOL_COMPILER_OPTION
 1634: 
 1635: 
 1636: # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 1637: #                          [ACTION-SUCCESS], [ACTION-FAILURE])
 1638: # ------------------------------------------------------------
 1639: # Check whether the given compiler option works
 1640: # AC_LIBTOOL_LINKER_OPTION
 1641: 
 1642: 
 1643: # AC_LIBTOOL_SYS_MAX_CMD_LEN
 1644: # --------------------------
 1645: # AC_LIBTOOL_SYS_MAX_CMD_LEN
 1646: 
 1647: 
 1648: # _LT_AC_CHECK_DLFCN
 1649: # ------------------
 1650: # _LT_AC_CHECK_DLFCN
 1651: 
 1652: 
 1653: # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 1654: #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 1655: # ---------------------------------------------------------------------
 1656: # _LT_AC_TRY_DLOPEN_SELF
 1657: 
 1658: 
 1659: # AC_LIBTOOL_DLOPEN_SELF
 1660: # ----------------------
 1661: # AC_LIBTOOL_DLOPEN_SELF
 1662: 
 1663: 
 1664: # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
 1665: # ---------------------------------
 1666: # Check to see if options -c and -o are simultaneously supported by compiler
 1667: # AC_LIBTOOL_PROG_CC_C_O
 1668: 
 1669: 
 1670: # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
 1671: # -----------------------------------------
 1672: # Check to see if we can do hard links to lock some files if needed
 1673: # AC_LIBTOOL_SYS_HARD_LINK_LOCKS
 1674: 
 1675: 
 1676: # AC_LIBTOOL_OBJDIR
 1677: # -----------------
 1678: # AC_LIBTOOL_OBJDIR
 1679: 
 1680: 
 1681: # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
 1682: # ----------------------------------------------
 1683: # Check hardcoding attributes.
 1684: # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
 1685: 
 1686: 
 1687: # AC_LIBTOOL_SYS_LIB_STRIP
 1688: # ------------------------
 1689: # AC_LIBTOOL_SYS_LIB_STRIP
 1690: 
 1691: 
 1692: # AC_LIBTOOL_SYS_DYNAMIC_LINKER
 1693: # -----------------------------
 1694: # PORTME Fill in your ld.so characteristics
 1695: # AC_LIBTOOL_SYS_DYNAMIC_LINKER
 1696: 
 1697: 
 1698: # _LT_AC_TAGCONFIG
 1699: # ----------------
 1700: # _LT_AC_TAGCONFIG
 1701: 
 1702: 
 1703: # AC_LIBTOOL_DLOPEN
 1704: # -----------------
 1705: # enable checks for dlopen support
 1706: # AC_LIBTOOL_DLOPEN
 1707: 
 1708: 
 1709: # AC_LIBTOOL_WIN32_DLL
 1710: # --------------------
 1711: # declare package support for building win32 DLLs
 1712: # AC_LIBTOOL_WIN32_DLL
 1713: 
 1714: 
 1715: # AC_ENABLE_SHARED([DEFAULT])
 1716: # ---------------------------
 1717: # implement the --enable-shared flag
 1718: # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1719: # AC_ENABLE_SHARED
 1720: 
 1721: 
 1722: # AC_DISABLE_SHARED
 1723: # -----------------
 1724: # set the default shared flag to --disable-shared
 1725: # AC_DISABLE_SHARED
 1726: 
 1727: 
 1728: # AC_ENABLE_STATIC([DEFAULT])
 1729: # ---------------------------
 1730: # implement the --enable-static flag
 1731: # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1732: # AC_ENABLE_STATIC
 1733: 
 1734: 
 1735: # AC_DISABLE_STATIC
 1736: # -----------------
 1737: # set the default static flag to --disable-static
 1738: # AC_DISABLE_STATIC
 1739: 
 1740: 
 1741: # AC_ENABLE_FAST_INSTALL([DEFAULT])
 1742: # ---------------------------------
 1743: # implement the --enable-fast-install flag
 1744: # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 1745: # AC_ENABLE_FAST_INSTALL
 1746: 
 1747: 
 1748: # AC_DISABLE_FAST_INSTALL
 1749: # -----------------------
 1750: # set the default to --disable-fast-install
 1751: # AC_DISABLE_FAST_INSTALL
 1752: 
 1753: 
 1754: # AC_LIBTOOL_PICMODE([MODE])
 1755: # --------------------------
 1756: # implement the --with-pic flag
 1757: # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 1758: # AC_LIBTOOL_PICMODE
 1759: 
 1760: 
 1761: # AC_PROG_EGREP
 1762: # -------------
 1763: # This is predefined starting with Autoconf 2.54, so this conditional
 1764: # definition can be removed once we require Autoconf 2.54 or later.
 1765: 
 1766: 
 1767: 
 1768: # AC_PATH_TOOL_PREFIX
 1769: # -------------------
 1770: # find a file program which can recognise shared library
 1771: # AC_PATH_TOOL_PREFIX
 1772: 
 1773: 
 1774: # AC_PATH_MAGIC
 1775: # -------------
 1776: # find a file program which can recognise a shared library
 1777: # AC_PATH_MAGIC
 1778: 
 1779: 
 1780: # AC_PROG_LD
 1781: # ----------
 1782: # find the pathname to the GNU or non-GNU linker
 1783: # AC_PROG_LD
 1784: 
 1785: 
 1786: # AC_PROG_LD_GNU
 1787: # --------------
 1788: # AC_PROG_LD_GNU
 1789: 
 1790: 
 1791: # AC_PROG_LD_RELOAD_FLAG
 1792: # ----------------------
 1793: # find reload flag for linker
 1794: #   -- PORTME Some linkers may need a different reload flag.
 1795: # AC_PROG_LD_RELOAD_FLAG
 1796: 
 1797: 
 1798: # AC_DEPLIBS_CHECK_METHOD
 1799: # -----------------------
 1800: # how to check for library dependencies
 1801: #  -- PORTME fill in with the dynamic library characteristics
 1802: # AC_DEPLIBS_CHECK_METHOD
 1803: 
 1804: 
 1805: # AC_PROG_NM
 1806: # ----------
 1807: # find the pathname to a BSD-compatible name lister
 1808: # AC_PROG_NM
 1809: 
 1810: 
 1811: # AC_CHECK_LIBM
 1812: # -------------
 1813: # check for math library
 1814: # AC_CHECK_LIBM
 1815: 
 1816: 
 1817: # AC_LIBLTDL_CONVENIENCE([DIRECTORY])
 1818: # -----------------------------------
 1819: # sets LIBLTDL to the link flags for the libltdl convenience library and
 1820: # LTDLINCL to the include flags for the libltdl header and adds
 1821: # --enable-ltdl-convenience to the configure arguments.  Note that
 1822: # AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 1823: # it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
 1824: # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
 1825: # (note the single quotes!).  If your package is not flat and you're not
 1826: # using automake, define top_builddir and top_srcdir appropriately in
 1827: # the Makefiles.
 1828: # AC_LIBLTDL_CONVENIENCE
 1829: 
 1830: 
 1831: # AC_LIBLTDL_INSTALLABLE([DIRECTORY])
 1832: # -----------------------------------
 1833: # sets LIBLTDL to the link flags for the libltdl installable library and
 1834: # LTDLINCL to the include flags for the libltdl header and adds
 1835: # --enable-ltdl-install to the configure arguments.  Note that
 1836: # AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 1837: # and an installed libltdl is not found, it is assumed to be `libltdl'.
 1838: # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
 1839: # '${top_srcdir}/' (note the single quotes!).  If your package is not
 1840: # flat and you're not using automake, define top_builddir and top_srcdir
 1841: # appropriately in the Makefiles.
 1842: # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
 1843: # AC_LIBLTDL_INSTALLABLE
 1844: 
 1845: 
 1846: # AC_LIBTOOL_CXX
 1847: # --------------
 1848: # enable support for C++ libraries
 1849: # AC_LIBTOOL_CXX
 1850: 
 1851: 
 1852: # _LT_AC_LANG_CXX
 1853: # ---------------
 1854: # _LT_AC_LANG_CXX
 1855: 
 1856: # _LT_AC_PROG_CXXCPP
 1857: # ------------------
 1858: # _LT_AC_PROG_CXXCPP
 1859: 
 1860: # AC_LIBTOOL_F77
 1861: # --------------
 1862: # enable support for Fortran 77 libraries
 1863: # AC_LIBTOOL_F77
 1864: 
 1865: 
 1866: # _LT_AC_LANG_F77
 1867: # ---------------
 1868: # _LT_AC_LANG_F77
 1869: 
 1870: 
 1871: # AC_LIBTOOL_GCJ
 1872: # --------------
 1873: # enable support for GCJ libraries
 1874: # AC_LIBTOOL_GCJ
 1875: 
 1876: 
 1877: # _LT_AC_LANG_GCJ
 1878: # ---------------
 1879: # _LT_AC_LANG_GCJ
 1880: 
 1881: 
 1882: # AC_LIBTOOL_RC
 1883: # -------------
 1884: # enable support for Windows resource files
 1885: # AC_LIBTOOL_RC
 1886: 
 1887: 
 1888: # AC_LIBTOOL_LANG_C_CONFIG
 1889: # ------------------------
 1890: # Ensure that the configuration vars for the C compiler are
 1891: # suitably defined.  Those variables are subsequently used by
 1892: # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1893: 
 1894: # AC_LIBTOOL_LANG_C_CONFIG
 1895: 
 1896: 
 1897: # AC_LIBTOOL_LANG_CXX_CONFIG
 1898: # --------------------------
 1899: # Ensure that the configuration vars for the C compiler are
 1900: # suitably defined.  Those variables are subsequently used by
 1901: # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1902: 
 1903: # AC_LIBTOOL_LANG_CXX_CONFIG
 1904: 
 1905: # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
 1906: # ------------------------------------
 1907: # Figure out "hidden" library dependencies from verbose
 1908: # compiler output when linking a shared library.
 1909: # Parse the compiler output and extract the necessary
 1910: # objects, libraries and library flags.
 1911: # AC_LIBTOOL_POSTDEP_PREDEP
 1912: 
 1913: # AC_LIBTOOL_LANG_F77_CONFIG
 1914: # --------------------------
 1915: # Ensure that the configuration vars for the C compiler are
 1916: # suitably defined.  Those variables are subsequently used by
 1917: # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1918: 
 1919: # AC_LIBTOOL_LANG_F77_CONFIG
 1920: 
 1921: 
 1922: # AC_LIBTOOL_LANG_GCJ_CONFIG
 1923: # --------------------------
 1924: # Ensure that the configuration vars for the C compiler are
 1925: # suitably defined.  Those variables are subsequently used by
 1926: # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1927: 
 1928: # AC_LIBTOOL_LANG_GCJ_CONFIG
 1929: 
 1930: 
 1931: # AC_LIBTOOL_LANG_RC_CONFIG
 1932: # -------------------------
 1933: # Ensure that the configuration vars for the Windows resource compiler are
 1934: # suitably defined.  Those variables are subsequently used by
 1935: # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 1936: 
 1937: # AC_LIBTOOL_LANG_RC_CONFIG
 1938: 
 1939: 
 1940: # AC_LIBTOOL_CONFIG([TAGNAME])
 1941: # ----------------------------
 1942: # If TAGNAME is not passed, then create an initial libtool script
 1943: # with a default configuration from the untagged config vars.  Otherwise
 1944: # add code to config.status for appending the configuration named by
 1945: # TAGNAME from the matching tagged config vars.
 1946: # AC_LIBTOOL_CONFIG
 1947: 
 1948: 
 1949: # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
 1950: # -------------------------------------------
 1951: # AC_LIBTOOL_PROG_COMPILER_NO_RTTI
 1952: 
 1953: 
 1954: # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 1955: # ---------------------------------
 1956:  # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 1957: 
 1958: 
 1959: # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
 1960: # ---------------------------------------
 1961: 
 1962: 
 1963: 
 1964: # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
 1965: # ------------------------------------
 1966: # See if the linker supports building shared libraries.
 1967: # AC_LIBTOOL_PROG_LD_SHLIBS
 1968: 
 1969: 
 1970: # _LT_AC_FILE_LTDLL_C
 1971: # -------------------
 1972: # Be careful that the start marker always follows a newline.
 1973: # _LT_AC_FILE_LTDLL_C
 1974: 
 1975: 
 1976: # _LT_AC_TAGVAR(VARNAME, [TAGNAME])
 1977: # ---------------------------------
 1978: 
 1979: 
 1980: 
 1981: # old names
 1982: 
 1983: 
 1984: 
 1985: 
 1986: 
 1987: 
 1988: 
 1989: 
 1990: # This is just to silence aclocal about the macro not being used
 1991: 
 1992: 
 1993: 
 1994: 
 1995: 
 1996: 
 1997: ############################################################
 1998: # NOTE: This macro has been submitted for inclusion into   #
 1999: #  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 2000: #  a released version of Autoconf we should remove this    #
 2001: #  macro and use it instead.                               #
 2002: ############################################################
 2003: # LT_AC_PROG_SED
 2004: # --------------
 2005: # Check for a fully-functional sed program, that truncates
 2006: # as few characters as possible.  Prefer GNU sed if found.
 2007: 
 2008: 
 2009: 
 2010: 
 2011: 
 2012: 
 2013: 
 2014: # Check whether --enable-shared or --disable-shared was given.
 2015: if test "${enable_shared+set}" = set; then
 2016:   enableval="$enable_shared"
 2017:   p=${PACKAGE-default}
 2018:     case $enableval in
 2019:     yes) enable_shared=yes ;;
 2020:     no) enable_shared=no ;;
 2021:     *)
 2022:       enable_shared=no
 2023:       # Look at the argument we got.  We use all the common list separators.
 2024:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 2025:       for pkg in $enableval; do
 2026: 	IFS="$lt_save_ifs"
 2027: 	if test "X$pkg" = "X$p"; then
 2028: 	  enable_shared=yes
 2029: 	fi
 2030:       done
 2031:       IFS="$lt_save_ifs"
 2032:       ;;
 2033:     esac
 2034: else
 2035:   enable_shared=yes
 2036: fi;
 2037: 
 2038: # Check whether --enable-static or --disable-static was given.
 2039: if test "${enable_static+set}" = set; then
 2040:   enableval="$enable_static"
 2041:   p=${PACKAGE-default}
 2042:     case $enableval in
 2043:     yes) enable_static=yes ;;
 2044:     no) enable_static=no ;;
 2045:     *)
 2046:      enable_static=no
 2047:       # Look at the argument we got.  We use all the common list separators.
 2048:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 2049:       for pkg in $enableval; do
 2050: 	IFS="$lt_save_ifs"
 2051: 	if test "X$pkg" = "X$p"; then
 2052: 	  enable_static=yes
 2053: 	fi
 2054:       done
 2055:       IFS="$lt_save_ifs"
 2056:       ;;
 2057:     esac
 2058: else
 2059:   enable_static=yes
 2060: fi;
 2061: 
 2062: # Check whether --enable-fast-install or --disable-fast-install was given.
 2063: if test "${enable_fast_install+set}" = set; then
 2064:   enableval="$enable_fast_install"
 2065:   p=${PACKAGE-default}
 2066:     case $enableval in
 2067:     yes) enable_fast_install=yes ;;
 2068:     no) enable_fast_install=no ;;
 2069:     *)
 2070:       enable_fast_install=no
 2071:       # Look at the argument we got.  We use all the common list separators.
 2072:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 2073:       for pkg in $enableval; do
 2074: 	IFS="$lt_save_ifs"
 2075: 	if test "X$pkg" = "X$p"; then
 2076: 	  enable_fast_install=yes
 2077: 	fi
 2078:       done
 2079:       IFS="$lt_save_ifs"
 2080:       ;;
 2081:     esac
 2082: else
 2083:   enable_fast_install=yes
 2084: fi;
 2085: 
 2086: # Make sure we can run config.sub.
 2087: $ac_config_sub sun4 >/dev/null 2>&1 ||
 2088:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 2089: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 2090:    { (exit 1); exit 1; }; }
 2091: 
 2092: echo "$as_me:$LINENO: checking build system type" >&5
 2093: echo $ECHO_N "checking build system type... $ECHO_C" >&6
 2094: if test "${ac_cv_build+set}" = set; then
 2095:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2096: else
 2097:   ac_cv_build_alias=$build_alias
 2098: test -z "$ac_cv_build_alias" &&
 2099:   ac_cv_build_alias=`$ac_config_guess`
 2100: test -z "$ac_cv_build_alias" &&
 2101:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2102: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2103:    { (exit 1); exit 1; }; }
 2104: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 2105:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 2106: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 2107:    { (exit 1); exit 1; }; }
 2108: 
 2109: fi
 2110: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2111: echo "${ECHO_T}$ac_cv_build" >&6
 2112: build=$ac_cv_build
 2113: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2114: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2115: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2116: 
 2117: 
 2118: echo "$as_me:$LINENO: checking host system type" >&5
 2119: echo $ECHO_N "checking host system type... $ECHO_C" >&6
 2120: if test "${ac_cv_host+set}" = set; then
 2121:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2122: else
 2123:   ac_cv_host_alias=$host_alias
 2124: test -z "$ac_cv_host_alias" &&
 2125:   ac_cv_host_alias=$ac_cv_build_alias
 2126: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 2127:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 2128: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 2129:    { (exit 1); exit 1; }; }
 2130: 
 2131: fi
 2132: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2133: echo "${ECHO_T}$ac_cv_host" >&6
 2134: host=$ac_cv_host
 2135: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 2136: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 2137: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 2138: 
 2139: 
 2140: ac_ext=c
 2141: ac_cpp='$CPP $CPPFLAGS'
 2142: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2143: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2144: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2145: if test -n "$ac_tool_prefix"; then
 2146:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2147: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2148: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2149: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2150: if test "${ac_cv_prog_CC+set}" = set; then
 2151:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2152: else
 2153:   if test -n "$CC"; then
 2154:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2155: else
 2156: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2157: for as_dir in $PATH
 2158: do
 2159:   IFS=$as_save_IFS
 2160:   test -z "$as_dir" && as_dir=.
 2161:   for ac_exec_ext in '' $ac_executable_extensions; do
 2162:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2163:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2164:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2165:     break 2
 2166:   fi
 2167: done
 2168: done
 2169: 
 2170: fi
 2171: fi
 2172: CC=$ac_cv_prog_CC
 2173: if test -n "$CC"; then
 2174:   echo "$as_me:$LINENO: result: $CC" >&5
 2175: echo "${ECHO_T}$CC" >&6
 2176: else
 2177:   echo "$as_me:$LINENO: result: no" >&5
 2178: echo "${ECHO_T}no" >&6
 2179: fi
 2180: 
 2181: fi
 2182: if test -z "$ac_cv_prog_CC"; then
 2183:   ac_ct_CC=$CC
 2184:   # Extract the first word of "gcc", so it can be a program name with args.
 2185: set dummy gcc; ac_word=$2
 2186: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2187: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2188: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2189:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2190: else
 2191:   if test -n "$ac_ct_CC"; then
 2192:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2193: else
 2194: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2195: for as_dir in $PATH
 2196: do
 2197:   IFS=$as_save_IFS
 2198:   test -z "$as_dir" && as_dir=.
 2199:   for ac_exec_ext in '' $ac_executable_extensions; do
 2200:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2201:     ac_cv_prog_ac_ct_CC="gcc"
 2202:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2203:     break 2
 2204:   fi
 2205: done
 2206: done
 2207: 
 2208: fi
 2209: fi
 2210: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2211: if test -n "$ac_ct_CC"; then
 2212:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2213: echo "${ECHO_T}$ac_ct_CC" >&6
 2214: else
 2215:   echo "$as_me:$LINENO: result: no" >&5
 2216: echo "${ECHO_T}no" >&6
 2217: fi
 2218: 
 2219:   CC=$ac_ct_CC
 2220: else
 2221:   CC="$ac_cv_prog_CC"
 2222: fi
 2223: 
 2224: if test -z "$CC"; then
 2225:   if test -n "$ac_tool_prefix"; then
 2226:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2227: set dummy ${ac_tool_prefix}cc; ac_word=$2
 2228: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2229: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2230: if test "${ac_cv_prog_CC+set}" = set; then
 2231:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2232: else
 2233:   if test -n "$CC"; then
 2234:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2235: else
 2236: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2237: for as_dir in $PATH
 2238: do
 2239:   IFS=$as_save_IFS
 2240:   test -z "$as_dir" && as_dir=.
 2241:   for ac_exec_ext in '' $ac_executable_extensions; do
 2242:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2243:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2244:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2245:     break 2
 2246:   fi
 2247: done
 2248: done
 2249: 
 2250: fi
 2251: fi
 2252: CC=$ac_cv_prog_CC
 2253: if test -n "$CC"; then
 2254:   echo "$as_me:$LINENO: result: $CC" >&5
 2255: echo "${ECHO_T}$CC" >&6
 2256: else
 2257:   echo "$as_me:$LINENO: result: no" >&5
 2258: echo "${ECHO_T}no" >&6
 2259: fi
 2260: 
 2261: fi
 2262: if test -z "$ac_cv_prog_CC"; then
 2263:   ac_ct_CC=$CC
 2264:   # Extract the first word of "cc", so it can be a program name with args.
 2265: set dummy cc; ac_word=$2
 2266: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2267: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2268: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2269:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2270: else
 2271:   if test -n "$ac_ct_CC"; then
 2272:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2273: else
 2274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2275: for as_dir in $PATH
 2276: do
 2277:   IFS=$as_save_IFS
 2278:   test -z "$as_dir" && as_dir=.
 2279:   for ac_exec_ext in '' $ac_executable_extensions; do
 2280:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2281:     ac_cv_prog_ac_ct_CC="cc"
 2282:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2283:     break 2
 2284:   fi
 2285: done
 2286: done
 2287: 
 2288: fi
 2289: fi
 2290: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2291: if test -n "$ac_ct_CC"; then
 2292:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2293: echo "${ECHO_T}$ac_ct_CC" >&6
 2294: else
 2295:   echo "$as_me:$LINENO: result: no" >&5
 2296: echo "${ECHO_T}no" >&6
 2297: fi
 2298: 
 2299:   CC=$ac_ct_CC
 2300: else
 2301:   CC="$ac_cv_prog_CC"
 2302: fi
 2303: 
 2304: fi
 2305: if test -z "$CC"; then
 2306:   # Extract the first word of "cc", so it can be a program name with args.
 2307: set dummy cc; ac_word=$2
 2308: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2309: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2310: if test "${ac_cv_prog_CC+set}" = set; then
 2311:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2312: else
 2313:   if test -n "$CC"; then
 2314:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2315: else
 2316:   ac_prog_rejected=no
 2317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2318: for as_dir in $PATH
 2319: do
 2320:   IFS=$as_save_IFS
 2321:   test -z "$as_dir" && as_dir=.
 2322:   for ac_exec_ext in '' $ac_executable_extensions; do
 2323:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2324:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2325:        ac_prog_rejected=yes
 2326:        continue
 2327:      fi
 2328:     ac_cv_prog_CC="cc"
 2329:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2330:     break 2
 2331:   fi
 2332: done
 2333: done
 2334: 
 2335: if test $ac_prog_rejected = yes; then
 2336:   # We found a bogon in the path, so make sure we never use it.
 2337:   set dummy $ac_cv_prog_CC
 2338:   shift
 2339:   if test $# != 0; then
 2340:     # We chose a different compiler from the bogus one.
 2341:     # However, it has the same basename, so the bogon will be chosen
 2342:     # first if we set CC to just the basename; use the full file name.
 2343:     shift
 2344:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2345:   fi
 2346: fi
 2347: fi
 2348: fi
 2349: CC=$ac_cv_prog_CC
 2350: if test -n "$CC"; then
 2351:   echo "$as_me:$LINENO: result: $CC" >&5
 2352: echo "${ECHO_T}$CC" >&6
 2353: else
 2354:   echo "$as_me:$LINENO: result: no" >&5
 2355: echo "${ECHO_T}no" >&6
 2356: fi
 2357: 
 2358: fi
 2359: if test -z "$CC"; then
 2360:   if test -n "$ac_tool_prefix"; then
 2361:   for ac_prog in cl
 2362:   do
 2363:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2364: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2365: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2366: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2367: if test "${ac_cv_prog_CC+set}" = set; then
 2368:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2369: else
 2370:   if test -n "$CC"; then
 2371:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2372: else
 2373: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2374: for as_dir in $PATH
 2375: do
 2376:   IFS=$as_save_IFS
 2377:   test -z "$as_dir" && as_dir=.
 2378:   for ac_exec_ext in '' $ac_executable_extensions; do
 2379:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2380:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2381:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2382:     break 2
 2383:   fi
 2384: done
 2385: done
 2386: 
 2387: fi
 2388: fi
 2389: CC=$ac_cv_prog_CC
 2390: if test -n "$CC"; then
 2391:   echo "$as_me:$LINENO: result: $CC" >&5
 2392: echo "${ECHO_T}$CC" >&6
 2393: else
 2394:   echo "$as_me:$LINENO: result: no" >&5
 2395: echo "${ECHO_T}no" >&6
 2396: fi
 2397: 
 2398:     test -n "$CC" && break
 2399:   done
 2400: fi
 2401: if test -z "$CC"; then
 2402:   ac_ct_CC=$CC
 2403:   for ac_prog in cl
 2404: do
 2405:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2406: set dummy $ac_prog; ac_word=$2
 2407: echo "$as_me:$LINENO: checking for $ac_word" >&5
 2408: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2409: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2410:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2411: else
 2412:   if test -n "$ac_ct_CC"; then
 2413:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2414: else
 2415: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2416: for as_dir in $PATH
 2417: do
 2418:   IFS=$as_save_IFS
 2419:   test -z "$as_dir" && as_dir=.
 2420:   for ac_exec_ext in '' $ac_executable_extensions; do
 2421:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2422:     ac_cv_prog_ac_ct_CC="$ac_prog"
 2423:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2424:     break 2
 2425:   fi
 2426: done
 2427: done
 2428: 
 2429: fi
 2430: fi
 2431: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2432: if test -n "$ac_ct_CC"; then
 2433:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2434: echo "${ECHO_T}$ac_ct_CC" >&6
 2435: else
 2436:   echo "$as_me:$LINENO: result: no" >&5
 2437: echo "${ECHO_T}no" >&6
 2438: fi
 2439: 
 2440:   test -n "$ac_ct_CC" && break
 2441: done
 2442: 
 2443:   CC=$ac_ct_CC
 2444: fi
 2445: 
 2446: fi
 2447: 
 2448: 
 2449: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2450: See \`config.log' for more details." >&5
 2451: echo "$as_me: error: no acceptable C compiler found in \$PATH
 2452: See \`config.log' for more details." >&2;}
 2453:    { (exit 1); exit 1; }; }
 2454: 
 2455: # Provide some information about the compiler.
 2456: echo "$as_me:$LINENO:" \
 2457:      "checking for C compiler version" >&5
 2458: ac_compiler=`set X $ac_compile; echo $2`
 2459: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2460:   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2461:   ac_status=$?
 2462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2463:   (exit $ac_status); }
 2464: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2465:   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2466:   ac_status=$?
 2467:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2468:   (exit $ac_status); }
 2469: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2470:   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2471:   ac_status=$?
 2472:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2473:   (exit $ac_status); }
 2474: 
 2475: cat >conftest.$ac_ext <<_ACEOF
 2476: /* confdefs.h.  */
 2477: _ACEOF
 2478: cat confdefs.h >>conftest.$ac_ext
 2479: cat >>conftest.$ac_ext <<_ACEOF
 2480: /* end confdefs.h.  */
 2481: 
 2482: int
 2483: main ()
 2484: {
 2485: 
 2486:   ;
 2487:   return 0;
 2488: }
 2489: _ACEOF
 2490: ac_clean_files_save=$ac_clean_files
 2491: ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2492: # Try to create an executable without -o first, disregard a.out.
 2493: # It will help us diagnose broken compilers, and finding out an intuition
 2494: # of exeext.
 2495: echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2496: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 2497: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2498: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2499:   (eval $ac_link_default) 2>&5
 2500:   ac_status=$?
 2501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2502:   (exit $ac_status); }; then
 2503:   # Find the output, starting from the most likely.  This scheme is
 2504: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2505: # resort.
 2506: 
 2507: # Be careful to initialize this variable, since it used to be cached.
 2508: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2509: ac_cv_exeext=
 2510: # b.out is created by i960 compilers.
 2511: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2512: do
 2513:   test -f "$ac_file" || continue
 2514:   case $ac_file in
 2515:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2516: 	;;
 2517:     conftest.$ac_ext )
 2518: 	# This is the source file.
 2519: 	;;
 2520:     [ab].out )
 2521: 	# We found the default executable, but exeext='' is most
 2522: 	# certainly right.
 2523: 	break;;
 2524:     *.* )
 2525: 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2526: 	# FIXME: I believe we export ac_cv_exeext for Libtool,
 2527: 	# but it would be cool to find out if it's true.  Does anybody
 2528: 	# maintain Libtool? --akim.
 2529: 	export ac_cv_exeext
 2530: 	break;;
 2531:     * )
 2532: 	break;;
 2533:   esac
 2534: done
 2535: else
 2536:   echo "$as_me: failed program was:" >&5
 2537: sed 's/^/| /' conftest.$ac_ext >&5
 2538: 
 2539: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2540: See \`config.log' for more details." >&5
 2541: echo "$as_me: error: C compiler cannot create executables
 2542: See \`config.log' for more details." >&2;}
 2543:    { (exit 77); exit 77; }; }
 2544: fi
 2545: 
 2546: ac_exeext=$ac_cv_exeext
 2547: echo "$as_me:$LINENO: result: $ac_file" >&5
 2548: echo "${ECHO_T}$ac_file" >&6
 2549: 
 2550: # Check the compiler produces executables we can run.  If not, either
 2551: # the compiler is broken, or we cross compile.
 2552: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2553: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 2554: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2555: # If not cross compiling, check that we can run a simple program.
 2556: if test "$cross_compiling" != yes; then
 2557:   if { ac_try='./$ac_file'
 2558:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2559:   (eval $ac_try) 2>&5
 2560:   ac_status=$?
 2561:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2562:   (exit $ac_status); }; }; then
 2563:     cross_compiling=no
 2564:   else
 2565:     if test "$cross_compiling" = maybe; then
 2566: 	cross_compiling=yes
 2567:     else
 2568: 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2569: If you meant to cross compile, use \`--host'.
 2570: See \`config.log' for more details." >&5
 2571: echo "$as_me: error: cannot run C compiled programs.
 2572: If you meant to cross compile, use \`--host'.
 2573: See \`config.log' for more details." >&2;}
 2574:    { (exit 1); exit 1; }; }
 2575:     fi
 2576:   fi
 2577: fi
 2578: echo "$as_me:$LINENO: result: yes" >&5
 2579: echo "${ECHO_T}yes" >&6
 2580: 
 2581: rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2582: ac_clean_files=$ac_clean_files_save
 2583: # Check the compiler produces executables we can run.  If not, either
 2584: # the compiler is broken, or we cross compile.
 2585: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2586: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2587: echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2588: echo "${ECHO_T}$cross_compiling" >&6
 2589: 
 2590: echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2591: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2592: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2593:   (eval $ac_link) 2>&5
 2594:   ac_status=$?
 2595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2596:   (exit $ac_status); }; then
 2597:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2598: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2599: # work properly (i.e., refer to `conftest.exe'), while it won't with
 2600: # `rm'.
 2601: for ac_file in conftest.exe conftest conftest.*; do
 2602:   test -f "$ac_file" || continue
 2603:   case $ac_file in
 2604:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2605:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2606: 	  export ac_cv_exeext
 2607: 	  break;;
 2608:     * ) break;;
 2609:   esac
 2610: done
 2611: else
 2612:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2613: See \`config.log' for more details." >&5
 2614: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2615: See \`config.log' for more details." >&2;}
 2616:    { (exit 1); exit 1; }; }
 2617: fi
 2618: 
 2619: rm -f conftest$ac_cv_exeext
 2620: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2621: echo "${ECHO_T}$ac_cv_exeext" >&6
 2622: 
 2623: rm -f conftest.$ac_ext
 2624: EXEEXT=$ac_cv_exeext
 2625: ac_exeext=$EXEEXT
 2626: echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2627: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2628: if test "${ac_cv_objext+set}" = set; then
 2629:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2630: else
 2631:   cat >conftest.$ac_ext <<_ACEOF
 2632: /* confdefs.h.  */
 2633: _ACEOF
 2634: cat confdefs.h >>conftest.$ac_ext
 2635: cat >>conftest.$ac_ext <<_ACEOF
 2636: /* end confdefs.h.  */
 2637: 
 2638: int
 2639: main ()
 2640: {
 2641: 
 2642:   ;
 2643:   return 0;
 2644: }
 2645: _ACEOF
 2646: rm -f conftest.o conftest.obj
 2647: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2648:   (eval $ac_compile) 2>&5
 2649:   ac_status=$?
 2650:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2651:   (exit $ac_status); }; then
 2652:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2653:   case $ac_file in
 2654:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2655:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2656:        break;;
 2657:   esac
 2658: done
 2659: else
 2660:   echo "$as_me: failed program was:" >&5
 2661: sed 's/^/| /' conftest.$ac_ext >&5
 2662: 
 2663: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2664: See \`config.log' for more details." >&5
 2665: echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2666: See \`config.log' for more details." >&2;}
 2667:    { (exit 1); exit 1; }; }
 2668: fi
 2669: 
 2670: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2671: fi
 2672: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2673: echo "${ECHO_T}$ac_cv_objext" >&6
 2674: OBJEXT=$ac_cv_objext
 2675: ac_objext=$OBJEXT
 2676: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2677: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 2678: if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2679:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2680: else
 2681:   cat >conftest.$ac_ext <<_ACEOF
 2682: /* confdefs.h.  */
 2683: _ACEOF
 2684: cat confdefs.h >>conftest.$ac_ext
 2685: cat >>conftest.$ac_ext <<_ACEOF
 2686: /* end confdefs.h.  */
 2687: 
 2688: int
 2689: main ()
 2690: {
 2691: #ifndef __GNUC__
 2692:        choke me
 2693: #endif
 2694: 
 2695:   ;
 2696:   return 0;
 2697: }
 2698: _ACEOF
 2699: rm -f conftest.$ac_objext
 2700: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2701:   (eval $ac_compile) 2>conftest.er1
 2702:   ac_status=$?
 2703:   grep -v '^ *+' conftest.er1 >conftest.err
 2704:   rm -f conftest.er1
 2705:   cat conftest.err >&5
 2706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2707:   (exit $ac_status); } &&
 2708: 	 { ac_try='test -z "$ac_c_werror_flag"
 2709: 			 || test ! -s conftest.err'
 2710:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2711:   (eval $ac_try) 2>&5
 2712:   ac_status=$?
 2713:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2714:   (exit $ac_status); }; } &&
 2715: 	 { ac_try='test -s conftest.$ac_objext'
 2716:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2717:   (eval $ac_try) 2>&5
 2718:   ac_status=$?
 2719:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2720:   (exit $ac_status); }; }; then
 2721:   ac_compiler_gnu=yes
 2722: else
 2723:   echo "$as_me: failed program was:" >&5
 2724: sed 's/^/| /' conftest.$ac_ext >&5
 2725: 
 2726: ac_compiler_gnu=no
 2727: fi
 2728: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2729: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2730: 
 2731: fi
 2732: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2733: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2734: GCC=`test $ac_compiler_gnu = yes && echo yes`
 2735: ac_test_CFLAGS=${CFLAGS+set}
 2736: ac_save_CFLAGS=$CFLAGS
 2737: CFLAGS="-g"
 2738: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2739: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2740: if test "${ac_cv_prog_cc_g+set}" = set; then
 2741:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2742: else
 2743:   cat >conftest.$ac_ext <<_ACEOF
 2744: /* confdefs.h.  */
 2745: _ACEOF
 2746: cat confdefs.h >>conftest.$ac_ext
 2747: cat >>conftest.$ac_ext <<_ACEOF
 2748: /* end confdefs.h.  */
 2749: 
 2750: int
 2751: main ()
 2752: {
 2753: 
 2754:   ;
 2755:   return 0;
 2756: }
 2757: _ACEOF
 2758: rm -f conftest.$ac_objext
 2759: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2760:   (eval $ac_compile) 2>conftest.er1
 2761:   ac_status=$?
 2762:   grep -v '^ *+' conftest.er1 >conftest.err
 2763:   rm -f conftest.er1
 2764:   cat conftest.err >&5
 2765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2766:   (exit $ac_status); } &&
 2767: 	 { ac_try='test -z "$ac_c_werror_flag"
 2768: 			 || test ! -s conftest.err'
 2769:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2770:   (eval $ac_try) 2>&5
 2771:   ac_status=$?
 2772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2773:   (exit $ac_status); }; } &&
 2774: 	 { ac_try='test -s conftest.$ac_objext'
 2775:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2776:   (eval $ac_try) 2>&5
 2777:   ac_status=$?
 2778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2779:   (exit $ac_status); }; }; then
 2780:   ac_cv_prog_cc_g=yes
 2781: else
 2782:   echo "$as_me: failed program was:" >&5
 2783: sed 's/^/| /' conftest.$ac_ext >&5
 2784: 
 2785: ac_cv_prog_cc_g=no
 2786: fi
 2787: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2788: fi
 2789: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2790: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2791: if test "$ac_test_CFLAGS" = set; then
 2792:   CFLAGS=$ac_save_CFLAGS
 2793: elif test $ac_cv_prog_cc_g = yes; then
 2794:   if test "$GCC" = yes; then
 2795:     CFLAGS="-g -O2"
 2796:   else
 2797:     CFLAGS="-g"
 2798:   fi
 2799: else
 2800:   if test "$GCC" = yes; then
 2801:     CFLAGS="-O2"
 2802:   else
 2803:     CFLAGS=
 2804:   fi
 2805: fi
 2806: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2807: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2808: if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2809:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2810: else
 2811:   ac_cv_prog_cc_stdc=no
 2812: ac_save_CC=$CC
 2813: cat >conftest.$ac_ext <<_ACEOF
 2814: /* confdefs.h.  */
 2815: _ACEOF
 2816: cat confdefs.h >>conftest.$ac_ext
 2817: cat >>conftest.$ac_ext <<_ACEOF
 2818: /* end confdefs.h.  */
 2819: #include <stdarg.h>
 2820: #include <stdio.h>
 2821: #include <sys/types.h>
 2822: #include <sys/stat.h>
 2823: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2824: struct buf { int x; };
 2825: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2826: static char *e (p, i)
 2827:      char **p;
 2828:      int i;
 2829: {
 2830:   return p[i];
 2831: }
 2832: static char *f (char * (*g) (char **, int), char **p, ...)
 2833: {
 2834:   char *s;
 2835:   va_list v;
 2836:   va_start (v,p);
 2837:   s = g (p, va_arg (v,int));
 2838:   va_end (v);
 2839:   return s;
 2840: }
 2841: 
 2842: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2843:    function prototypes and stuff, but not '\xHH' hex character constants.
 2844:    These don't provoke an error unfortunately, instead are silently treated
 2845:    as 'x'.  The following induces an error, until -std1 is added to get
 2846:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2847:    array size at least.  It's necessary to write '\x00'==0 to get something
 2848:    that's true only with -std1.  */
 2849: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2850: 
 2851: int test (int i, double x);
 2852: struct s1 {int (*f) (int a);};
 2853: struct s2 {int (*f) (double a);};
 2854: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2855: int argc;
 2856: char **argv;
 2857: int
 2858: main ()
 2859: {
 2860: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2861:   ;
 2862:   return 0;
 2863: }
 2864: _ACEOF
 2865: # Don't try gcc -ansi; that turns off useful extensions and
 2866: # breaks some systems' header files.
 2867: # AIX			-qlanglvl=ansi
 2868: # Ultrix and OSF/1	-std1
 2869: # HP-UX 10.20 and later	-Ae
 2870: # HP-UX older versions	-Aa -D_HPUX_SOURCE
 2871: # SVR4			-Xc -D__EXTENSIONS__
 2872: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2873: do
 2874:   CC="$ac_save_CC $ac_arg"
 2875:   rm -f conftest.$ac_objext
 2876: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2877:   (eval $ac_compile) 2>conftest.er1
 2878:   ac_status=$?
 2879:   grep -v '^ *+' conftest.er1 >conftest.err
 2880:   rm -f conftest.er1
 2881:   cat conftest.err >&5
 2882:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2883:   (exit $ac_status); } &&
 2884: 	 { ac_try='test -z "$ac_c_werror_flag"
 2885: 			 || test ! -s conftest.err'
 2886:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2887:   (eval $ac_try) 2>&5
 2888:   ac_status=$?
 2889:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2890:   (exit $ac_status); }; } &&
 2891: 	 { ac_try='test -s conftest.$ac_objext'
 2892:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2893:   (eval $ac_try) 2>&5
 2894:   ac_status=$?
 2895:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2896:   (exit $ac_status); }; }; then
 2897:   ac_cv_prog_cc_stdc=$ac_arg
 2898: break
 2899: else
 2900:   echo "$as_me: failed program was:" >&5
 2901: sed 's/^/| /' conftest.$ac_ext >&5
 2902: 
 2903: fi
 2904: rm -f conftest.err conftest.$ac_objext
 2905: done
 2906: rm -f conftest.$ac_ext conftest.$ac_objext
 2907: CC=$ac_save_CC
 2908: 
 2909: fi
 2910: 
 2911: case "x$ac_cv_prog_cc_stdc" in
 2912:   x|xno)
 2913:     echo "$as_me:$LINENO: result: none needed" >&5
 2914: echo "${ECHO_T}none needed" >&6 ;;
 2915:   *)
 2916:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2917: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2918:     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2919: esac
 2920: 
 2921: # Some people use a C++ compiler to compile C.  Since we use `exit',
 2922: # in C++ we need to declare it.  In case someone uses the same compiler
 2923: # for both compiling C and C++ we need to have the C++ compiler decide
 2924: # the declaration of exit, since it's the most demanding environment.
 2925: cat >conftest.$ac_ext <<_ACEOF
 2926: #ifndef __cplusplus
 2927:   choke me
 2928: #endif
 2929: _ACEOF
 2930: rm -f conftest.$ac_objext
 2931: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2932:   (eval $ac_compile) 2>conftest.er1
 2933:   ac_status=$?
 2934:   grep -v '^ *+' conftest.er1 >conftest.err
 2935:   rm -f conftest.er1
 2936:   cat conftest.err >&5
 2937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2938:   (exit $ac_status); } &&
 2939: 	 { ac_try='test -z "$ac_c_werror_flag"
 2940: 			 || test ! -s conftest.err'
 2941:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2942:   (eval $ac_try) 2>&5
 2943:   ac_status=$?
 2944:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2945:   (exit $ac_status); }; } &&
 2946: 	 { ac_try='test -s conftest.$ac_objext'
 2947:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2948:   (eval $ac_try) 2>&5
 2949:   ac_status=$?
 2950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2951:   (exit $ac_status); }; }; then
 2952:   for ac_declaration in \
 2953:    '' \
 2954:    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2955:    'extern "C" void std::exit (int); using std::exit;' \
 2956:    'extern "C" void exit (int) throw ();' \
 2957:    'extern "C" void exit (int);' \
 2958:    'void exit (int);'
 2959: do
 2960:   cat >conftest.$ac_ext <<_ACEOF
 2961: /* confdefs.h.  */
 2962: _ACEOF
 2963: cat confdefs.h >>conftest.$ac_ext
 2964: cat >>conftest.$ac_ext <<_ACEOF
 2965: /* end confdefs.h.  */
 2966: $ac_declaration
 2967: #include <stdlib.h>
 2968: int
 2969: main ()
 2970: {
 2971: exit (42);
 2972:   ;
 2973:   return 0;
 2974: }
 2975: _ACEOF
 2976: rm -f conftest.$ac_objext
 2977: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2978:   (eval $ac_compile) 2>conftest.er1
 2979:   ac_status=$?
 2980:   grep -v '^ *+' conftest.er1 >conftest.err
 2981:   rm -f conftest.er1
 2982:   cat conftest.err >&5
 2983:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2984:   (exit $ac_status); } &&
 2985: 	 { ac_try='test -z "$ac_c_werror_flag"
 2986: 			 || test ! -s conftest.err'
 2987:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2988:   (eval $ac_try) 2>&5
 2989:   ac_status=$?
 2990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2991:   (exit $ac_status); }; } &&
 2992: 	 { ac_try='test -s conftest.$ac_objext'
 2993:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2994:   (eval $ac_try) 2>&5
 2995:   ac_status=$?
 2996:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2997:   (exit $ac_status); }; }; then
 2998:   :
 2999: else
 3000:   echo "$as_me: failed program was:" >&5
 3001: sed 's/^/| /' conftest.$ac_ext >&5
 3002: 
 3003: continue
 3004: fi
 3005: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3006:   cat >conftest.$ac_ext <<_ACEOF
 3007: /* confdefs.h.  */
 3008: _ACEOF
 3009: cat confdefs.h >>conftest.$ac_ext
 3010: cat >>conftest.$ac_ext <<_ACEOF
 3011: /* end confdefs.h.  */
 3012: $ac_declaration
 3013: int
 3014: main ()
 3015: {
 3016: exit (42);
 3017:   ;
 3018:   return 0;
 3019: }
 3020: _ACEOF
 3021: rm -f conftest.$ac_objext
 3022: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3023:   (eval $ac_compile) 2>conftest.er1
 3024:   ac_status=$?
 3025:   grep -v '^ *+' conftest.er1 >conftest.err
 3026:   rm -f conftest.er1
 3027:   cat conftest.err >&5
 3028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3029:   (exit $ac_status); } &&
 3030: 	 { ac_try='test -z "$ac_c_werror_flag"
 3031: 			 || test ! -s conftest.err'
 3032:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3033:   (eval $ac_try) 2>&5
 3034:   ac_status=$?
 3035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3036:   (exit $ac_status); }; } &&
 3037: 	 { ac_try='test -s conftest.$ac_objext'
 3038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3039:   (eval $ac_try) 2>&5
 3040:   ac_status=$?
 3041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3042:   (exit $ac_status); }; }; then
 3043:   break
 3044: else
 3045:   echo "$as_me: failed program was:" >&5
 3046: sed 's/^/| /' conftest.$ac_ext >&5
 3047: 
 3048: fi
 3049: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3050: done
 3051: rm -f conftest*
 3052: if test -n "$ac_declaration"; then
 3053:   echo '#ifdef __cplusplus' >>confdefs.h
 3054:   echo $ac_declaration      >>confdefs.h
 3055:   echo '#endif'             >>confdefs.h
 3056: fi
 3057: 
 3058: else
 3059:   echo "$as_me: failed program was:" >&5
 3060: sed 's/^/| /' conftest.$ac_ext >&5
 3061: 
 3062: fi
 3063: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3064: ac_ext=c
 3065: ac_cpp='$CPP $CPPFLAGS'
 3066: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3067: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3068: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3069: 
 3070: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 3071: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 3072: if test "${lt_cv_path_SED+set}" = set; then
 3073:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3074: else
 3075:   # Loop through the user's path and test for sed and gsed.
 3076: # Then use that list of sed's as ones to test for truncation.
 3077: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3078: for as_dir in $PATH
 3079: do
 3080:   IFS=$as_save_IFS
 3081:   test -z "$as_dir" && as_dir=.
 3082:   for lt_ac_prog in sed gsed; do
 3083:     for ac_exec_ext in '' $ac_executable_extensions; do
 3084:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 3085:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 3086:       fi
 3087:     done
 3088:   done
 3089: done
 3090: lt_ac_max=0
 3091: lt_ac_count=0
 3092: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 3093: # along with /bin/sed that truncates output.
 3094: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 3095:   test ! -f $lt_ac_sed && continue
 3096:   cat /dev/null > conftest.in
 3097:   lt_ac_count=0
 3098:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 3099:   # Check for GNU sed and select it if it is found.
 3100:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 3101:     lt_cv_path_SED=$lt_ac_sed
 3102:     break
 3103:   fi
 3104:   while true; do
 3105:     cat conftest.in conftest.in >conftest.tmp
 3106:     mv conftest.tmp conftest.in
 3107:     cp conftest.in conftest.nl
 3108:     echo >>conftest.nl
 3109:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 3110:     cmp -s conftest.out conftest.nl || break
 3111:     # 10000 chars as input seems more than enough
 3112:     test $lt_ac_count -gt 10 && break
 3113:     lt_ac_count=`expr $lt_ac_count + 1`
 3114:     if test $lt_ac_count -gt $lt_ac_max; then
 3115:       lt_ac_max=$lt_ac_count
 3116:       lt_cv_path_SED=$lt_ac_sed
 3117:     fi
 3118:   done
 3119: done
 3120: 
 3121: fi
 3122: 
 3123: SED=$lt_cv_path_SED
 3124: echo "$as_me:$LINENO: result: $SED" >&5
 3125: echo "${ECHO_T}$SED" >&6
 3126: 
 3127: echo "$as_me:$LINENO: checking for egrep" >&5
 3128: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 3129: if test "${ac_cv_prog_egrep+set}" = set; then
 3130:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3131: else
 3132:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 3133:     then ac_cv_prog_egrep='grep -E'
 3134:     else ac_cv_prog_egrep='egrep'
 3135:     fi
 3136: fi
 3137: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 3138: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 3139:  EGREP=$ac_cv_prog_egrep
 3140: 
 3141: 
 3142: 
 3143: # Check whether --with-gnu-ld or --without-gnu-ld was given.
 3144: if test "${with_gnu_ld+set}" = set; then
 3145:   withval="$with_gnu_ld"
 3146:   test "$withval" = no || with_gnu_ld=yes
 3147: else
 3148:   with_gnu_ld=no
 3149: fi;
 3150: ac_prog=ld
 3151: if test "$GCC" = yes; then
 3152:   # Check if gcc -print-prog-name=ld gives a path.
 3153:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 3154: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 3155:   case $host in
 3156:   *-*-mingw*)
 3157:     # gcc leaves a trailing carriage return which upsets mingw
 3158:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 3159:   *)
 3160:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 3161:   esac
 3162:   case $ac_prog in
 3163:     # Accept absolute paths.
 3164:     [\\/]* | ?:[\\/]*)
 3165:       re_direlt='/[^/][^/]*/\.\./'
 3166:       # Canonicalize the pathname of ld
 3167:       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 3168:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 3169: 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 3170:       done
 3171:       test -z "$LD" && LD="$ac_prog"
 3172:       ;;
 3173:   "")
 3174:     # If it fails, then pretend we aren't using GCC.
 3175:     ac_prog=ld
 3176:     ;;
 3177:   *)
 3178:     # If it is relative, then search for the first ld in PATH.
 3179:     with_gnu_ld=unknown
 3180:     ;;
 3181:   esac
 3182: elif test "$with_gnu_ld" = yes; then
 3183:   echo "$as_me:$LINENO: checking for GNU ld" >&5
 3184: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 3185: else
 3186:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 3187: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 3188: fi
 3189: if test "${lt_cv_path_LD+set}" = set; then
 3190:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3191: else
 3192:   if test -z "$LD"; then
 3193:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 3194:   for ac_dir in $PATH; do
 3195:     IFS="$lt_save_ifs"
 3196:     test -z "$ac_dir" && ac_dir=.
 3197:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 3198:       lt_cv_path_LD="$ac_dir/$ac_prog"
 3199:       # Check to see if the program is GNU ld.  I'd rather use --version,
 3200:       # but apparently some variants of GNU ld only accept -v.
 3201:       # Break only if it was the GNU/non-GNU ld that we prefer.
 3202:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 3203:       *GNU* | *'with BFD'*)
 3204: 	test "$with_gnu_ld" != no && break
 3205: 	;;
 3206:       *)
 3207: 	test "$with_gnu_ld" != yes && break
 3208: 	;;
 3209:       esac
 3210:     fi
 3211:   done
 3212:   IFS="$lt_save_ifs"
 3213: else
 3214:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 3215: fi
 3216: fi
 3217: 
 3218: LD="$lt_cv_path_LD"
 3219: if test -n "$LD"; then
 3220:   echo "$as_me:$LINENO: result: $LD" >&5
 3221: echo "${ECHO_T}$LD" >&6
 3222: else
 3223:   echo "$as_me:$LINENO: result: no" >&5
 3224: echo "${ECHO_T}no" >&6
 3225: fi
 3226: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 3227: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 3228:    { (exit 1); exit 1; }; }
 3229: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 3230: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 3231: if test "${lt_cv_prog_gnu_ld+set}" = set; then
 3232:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3233: else
 3234:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 3235: case `$LD -v 2>&1 </dev/null` in
 3236: *GNU* | *'with BFD'*)
 3237:   lt_cv_prog_gnu_ld=yes
 3238:   ;;
 3239: *)
 3240:   lt_cv_prog_gnu_ld=no
 3241:   ;;
 3242: esac
 3243: fi
 3244: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 3245: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 3246: with_gnu_ld=$lt_cv_prog_gnu_ld
 3247: 
 3248: 
 3249: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 3250: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 3251: if test "${lt_cv_ld_reload_flag+set}" = set; then
 3252:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3253: else
 3254:   lt_cv_ld_reload_flag='-r'
 3255: fi
 3256: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 3257: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 3258: reload_flag=$lt_cv_ld_reload_flag
 3259: case $reload_flag in
 3260: "" | " "*) ;;
 3261: *) reload_flag=" $reload_flag" ;;
 3262: esac
 3263: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 3264: case $host_os in
 3265:   darwin*)
 3266:     if test "$GCC" = yes; then
 3267:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 3268:     else
 3269:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 3270:     fi
 3271:     ;;
 3272: esac
 3273: 
 3274: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 3275: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 3276: if test "${lt_cv_path_NM+set}" = set; then
 3277:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3278: else
 3279:   if test -n "$NM"; then
 3280:   # Let the user override the test.
 3281:   lt_cv_path_NM="$NM"
 3282: else
 3283:   lt_nm_to_check="${ac_tool_prefix}nm"
 3284:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 3285:     lt_nm_to_check="$lt_nm_to_check nm"
 3286:   fi
 3287:   for lt_tmp_nm in $lt_nm_to_check; do
 3288:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 3289:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 3290:       IFS="$lt_save_ifs"
 3291:       test -z "$ac_dir" && ac_dir=.
 3292:       tmp_nm="$ac_dir/$lt_tmp_nm"
 3293:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 3294: 	# Check to see if the nm accepts a BSD-compat flag.
 3295: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 3296: 	#   nm: unknown option "B" ignored
 3297: 	# Tru64's nm complains that /dev/null is an invalid object file
 3298: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 3299: 	*/dev/null* | *'Invalid file or object type'*)
 3300: 	  lt_cv_path_NM="$tmp_nm -B"
 3301: 	  break
 3302: 	  ;;
 3303: 	*)
 3304: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 3305: 	  */dev/null*)
 3306: 	    lt_cv_path_NM="$tmp_nm -p"
 3307: 	    break
 3308: 	    ;;
 3309: 	  *)
 3310: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 3311: 	    continue # so that we can try to find one that supports BSD flags
 3312: 	    ;;
 3313: 	  esac
 3314: 	  ;;
 3315: 	esac
 3316:       fi
 3317:     done
 3318:     IFS="$lt_save_ifs"
 3319:   done
 3320:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 3321: fi
 3322: fi
 3323: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 3324: echo "${ECHO_T}$lt_cv_path_NM" >&6
 3325: NM="$lt_cv_path_NM"
 3326: 
 3327: echo "$as_me:$LINENO: checking whether ln -s works" >&5
 3328: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 3329: LN_S=$as_ln_s
 3330: if test "$LN_S" = "ln -s"; then
 3331:   echo "$as_me:$LINENO: result: yes" >&5
 3332: echo "${ECHO_T}yes" >&6
 3333: else
 3334:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 3335: echo "${ECHO_T}no, using $LN_S" >&6
 3336: fi
 3337: 
 3338: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 3339: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 3340: if test "${lt_cv_deplibs_check_method+set}" = set; then
 3341:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3342: else
 3343:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 3344: lt_cv_file_magic_test_file=
 3345: lt_cv_deplibs_check_method='unknown'
 3346: # Need to set the preceding variable on all platforms that support
 3347: # interlibrary dependencies.
 3348: # 'none' -- dependencies not supported.
 3349: # `unknown' -- same as none, but documents that we really don't know.
 3350: # 'pass_all' -- all dependencies passed with no checks.
 3351: # 'test_compile' -- check by making test program.
 3352: # 'file_magic [[regex]]' -- check by looking for files in library path
 3353: # which responds to the $file_magic_cmd with a given extended regex.
 3354: # If you have `file' or equivalent on your system and you're not sure
 3355: # whether `pass_all' will *always* work, you probably want this one.
 3356: 
 3357: case $host_os in
 3358: aix4* | aix5*)
 3359:   lt_cv_deplibs_check_method=pass_all
 3360:   ;;
 3361: 
 3362: beos*)
 3363:   lt_cv_deplibs_check_method=pass_all
 3364:   ;;
 3365: 
 3366: bsdi[45]*)
 3367:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 3368:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 3369:   lt_cv_file_magic_test_file=/shlib/libc.so
 3370:   ;;
 3371: 
 3372: cygwin*)
 3373:   # func_win32_libid is a shell function defined in ltmain.sh
 3374:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 3375:   lt_cv_file_magic_cmd='func_win32_libid'
 3376:   ;;
 3377: 
 3378: mingw* | pw32*)
 3379:   # Base MSYS/MinGW do not provide the 'file' command needed by
 3380:   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 3381:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 3382:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 3383:   ;;
 3384: 
 3385: darwin* | rhapsody*)
 3386:   lt_cv_deplibs_check_method=pass_all
 3387:   ;;
 3388: 
 3389: freebsd* | kfreebsd*-gnu | dragonfly*)
 3390:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 3391:     case $host_cpu in
 3392:     i*86 )
 3393:       # Not sure whether the presence of OpenBSD here was a mistake.
 3394:       # Let's accept both of them until this is cleared up.
 3395:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 3396:       lt_cv_file_magic_cmd=/usr/bin/file
 3397:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 3398:       ;;
 3399:     esac
 3400:   else
 3401:     lt_cv_deplibs_check_method=pass_all
 3402:   fi
 3403:   ;;
 3404: 
 3405: gnu*)
 3406:   lt_cv_deplibs_check_method=pass_all
 3407:   ;;
 3408: 
 3409: hpux10.20* | hpux11*)
 3410:   lt_cv_file_magic_cmd=/usr/bin/file
 3411:   case $host_cpu in
 3412:   ia64*)
 3413:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 3414:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 3415:     ;;
 3416:   hppa*64*)
 3417:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 3418:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 3419:     ;;
 3420:   *)
 3421:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 3422:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 3423:     ;;
 3424:   esac
 3425:   ;;
 3426: 
 3427: interix3*)
 3428:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 3429:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 3430:   ;;
 3431: 
 3432: irix5* | irix6* | nonstopux*)
 3433:   case $LD in
 3434:   *-32|*"-32 ") libmagic=32-bit;;
 3435:   *-n32|*"-n32 ") libmagic=N32;;
 3436:   *-64|*"-64 ") libmagic=64-bit;;
 3437:   *) libmagic=never-match;;
 3438:   esac
 3439:   lt_cv_deplibs_check_method=pass_all
 3440:   ;;
 3441: 
 3442: # This must be Linux ELF.
 3443: linux*)
 3444:   lt_cv_deplibs_check_method=pass_all
 3445:   ;;
 3446: 
 3447: netbsd*)
 3448:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 3449:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 3450:   else
 3451:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 3452:   fi
 3453:   ;;
 3454: 
 3455: newos6*)
 3456:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 3457:   lt_cv_file_magic_cmd=/usr/bin/file
 3458:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 3459:   ;;
 3460: 
 3461: nto-qnx*)
 3462:   lt_cv_deplibs_check_method=unknown
 3463:   ;;
 3464: 
 3465: openbsd*)
 3466:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 3467:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 3468:   else
 3469:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 3470:   fi
 3471:   ;;
 3472: 
 3473: osf3* | osf4* | osf5*)
 3474:   lt_cv_deplibs_check_method=pass_all
 3475:   ;;
 3476: 
 3477: solaris*)
 3478:   lt_cv_deplibs_check_method=pass_all
 3479:   ;;
 3480: 
 3481: sysv4 | sysv4.3*)
 3482:   case $host_vendor in
 3483:   motorola)
 3484:     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]'
 3485:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 3486:     ;;
 3487:   ncr)
 3488:     lt_cv_deplibs_check_method=pass_all
 3489:     ;;
 3490:   sequent)
 3491:     lt_cv_file_magic_cmd='/bin/file'
 3492:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 3493:     ;;
 3494:   sni)
 3495:     lt_cv_file_magic_cmd='/bin/file'
 3496:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 3497:     lt_cv_file_magic_test_file=/lib/libc.so
 3498:     ;;
 3499:   siemens)
 3500:     lt_cv_deplibs_check_method=pass_all
 3501:     ;;
 3502:   pc)
 3503:     lt_cv_deplibs_check_method=pass_all
 3504:     ;;
 3505:   esac
 3506:   ;;
 3507: 
 3508: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 3509:   lt_cv_deplibs_check_method=pass_all
 3510:   ;;
 3511: esac
 3512: 
 3513: fi
 3514: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 3515: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 3516: file_magic_cmd=$lt_cv_file_magic_cmd
 3517: deplibs_check_method=$lt_cv_deplibs_check_method
 3518: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 3519: 
 3520: 
 3521: 
 3522: 
 3523: # If no C compiler was specified, use CC.
 3524: LTCC=${LTCC-"$CC"}
 3525: 
 3526: # If no C compiler flags were specified, use CFLAGS.
 3527: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 3528: 
 3529: # Allow CC to be a program name with arguments.
 3530: compiler=$CC
 3531: 
 3532: 
 3533: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 3534: if test "${enable_libtool_lock+set}" = set; then
 3535:   enableval="$enable_libtool_lock"
 3536: 
 3537: fi;
 3538: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 3539: 
 3540: # Some flags need to be propagated to the compiler or linker for good
 3541: # libtool support.
 3542: case $host in
 3543: ia64-*-hpux*)
 3544:   # Find out which ABI we are using.
 3545:   echo 'int i;' > conftest.$ac_ext
 3546:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3547:   (eval $ac_compile) 2>&5
 3548:   ac_status=$?
 3549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3550:   (exit $ac_status); }; then
 3551:     case `/usr/bin/file conftest.$ac_objext` in
 3552:     *ELF-32*)
 3553:       HPUX_IA64_MODE="32"
 3554:       ;;
 3555:     *ELF-64*)
 3556:       HPUX_IA64_MODE="64"
 3557:       ;;
 3558:     esac
 3559:   fi
 3560:   rm -rf conftest*
 3561:   ;;
 3562: *-*-irix6*)
 3563:   # Find out which ABI we are using.
 3564:   echo '#line 3564 "configure"' > conftest.$ac_ext
 3565:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3566:   (eval $ac_compile) 2>&5
 3567:   ac_status=$?
 3568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3569:   (exit $ac_status); }; then
 3570:    if test "$lt_cv_prog_gnu_ld" = yes; then
 3571:     case `/usr/bin/file conftest.$ac_objext` in
 3572:     *32-bit*)
 3573:       LD="${LD-ld} -melf32bsmip"
 3574:       ;;
 3575:     *N32*)
 3576:       LD="${LD-ld} -melf32bmipn32"
 3577:       ;;
 3578:     *64-bit*)
 3579:       LD="${LD-ld} -melf64bmip"
 3580:       ;;
 3581:     esac
 3582:    else
 3583:     case `/usr/bin/file conftest.$ac_objext` in
 3584:     *32-bit*)
 3585:       LD="${LD-ld} -32"
 3586:       ;;
 3587:     *N32*)
 3588:       LD="${LD-ld} -n32"
 3589:       ;;
 3590:     *64-bit*)
 3591:       LD="${LD-ld} -64"
 3592:       ;;
 3593:     esac
 3594:    fi
 3595:   fi
 3596:   rm -rf conftest*
 3597:   ;;
 3598: 
 3599: x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 3600:   # Find out which ABI we are using.
 3601:   echo 'int i;' > conftest.$ac_ext
 3602:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3603:   (eval $ac_compile) 2>&5
 3604:   ac_status=$?
 3605:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3606:   (exit $ac_status); }; then
 3607:     case `/usr/bin/file conftest.o` in
 3608:     *32-bit*)
 3609:       case $host in
 3610:         x86_64-*linux*)
 3611:           LD="${LD-ld} -m elf_i386"
 3612:           ;;
 3613:         ppc64-*linux*|powerpc64-*linux*)
 3614:           LD="${LD-ld} -m elf32ppclinux"
 3615:           ;;
 3616:         s390x-*linux*)
 3617:           LD="${LD-ld} -m elf_s390"
 3618:           ;;
 3619:         sparc64-*linux*)
 3620:           LD="${LD-ld} -m elf32_sparc"
 3621:           ;;
 3622:       esac
 3623:       ;;
 3624:     *64-bit*)
 3625:       case $host in
 3626:         x86_64-*linux*)
 3627:           LD="${LD-ld} -m elf_x86_64"
 3628:           ;;
 3629:         ppc*-*linux*|powerpc*-*linux*)
 3630:           LD="${LD-ld} -m elf64ppc"
 3631:           ;;
 3632:         s390*-*linux*)
 3633:           LD="${LD-ld} -m elf64_s390"
 3634:           ;;
 3635:         sparc*-*linux*)
 3636:           LD="${LD-ld} -m elf64_sparc"
 3637:           ;;
 3638:       esac
 3639:       ;;
 3640:     esac
 3641:   fi
 3642:   rm -rf conftest*
 3643:   ;;
 3644: 
 3645: *-*-sco3.2v5*)
 3646:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 3647:   SAVE_CFLAGS="$CFLAGS"
 3648:   CFLAGS="$CFLAGS -belf"
 3649:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 3650: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 3651: if test "${lt_cv_cc_needs_belf+set}" = set; then
 3652:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3653: else
 3654:   ac_ext=c
 3655: ac_cpp='$CPP $CPPFLAGS'
 3656: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3657: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3658: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3659: 
 3660:      cat >conftest.$ac_ext <<_ACEOF
 3661: /* confdefs.h.  */
 3662: _ACEOF
 3663: cat confdefs.h >>conftest.$ac_ext
 3664: cat >>conftest.$ac_ext <<_ACEOF
 3665: /* end confdefs.h.  */
 3666: 
 3667: int
 3668: main ()
 3669: {
 3670: 
 3671:   ;
 3672:   return 0;
 3673: }
 3674: _ACEOF
 3675: rm -f conftest.$ac_objext conftest$ac_exeext
 3676: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3677:   (eval $ac_link) 2>conftest.er1
 3678:   ac_status=$?
 3679:   grep -v '^ *+' conftest.er1 >conftest.err
 3680:   rm -f conftest.er1
 3681:   cat conftest.err >&5
 3682:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3683:   (exit $ac_status); } &&
 3684: 	 { ac_try='test -z "$ac_c_werror_flag"
 3685: 			 || test ! -s conftest.err'
 3686:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3687:   (eval $ac_try) 2>&5
 3688:   ac_status=$?
 3689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3690:   (exit $ac_status); }; } &&
 3691: 	 { ac_try='test -s conftest$ac_exeext'
 3692:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3693:   (eval $ac_try) 2>&5
 3694:   ac_status=$?
 3695:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3696:   (exit $ac_status); }; }; then
 3697:   lt_cv_cc_needs_belf=yes
 3698: else
 3699:   echo "$as_me: failed program was:" >&5
 3700: sed 's/^/| /' conftest.$ac_ext >&5
 3701: 
 3702: lt_cv_cc_needs_belf=no
 3703: fi
 3704: rm -f conftest.err conftest.$ac_objext \
 3705:       conftest$ac_exeext conftest.$ac_ext
 3706:      ac_ext=c
 3707: ac_cpp='$CPP $CPPFLAGS'
 3708: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3709: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3710: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3711: 
 3712: fi
 3713: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 3714: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 3715:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 3716:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 3717:     CFLAGS="$SAVE_CFLAGS"
 3718:   fi
 3719:   ;;
 3720: sparc*-*solaris*)
 3721:   # Find out which ABI we are using.
 3722:   echo 'int i;' > conftest.$ac_ext
 3723:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3724:   (eval $ac_compile) 2>&5
 3725:   ac_status=$?
 3726:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3727:   (exit $ac_status); }; then
 3728:     case `/usr/bin/file conftest.o` in
 3729:     *64-bit*)
 3730:       case $lt_cv_prog_gnu_ld in
 3731:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 3732:       *)    LD="${LD-ld} -64" ;;
 3733:       esac
 3734:       ;;
 3735:     esac
 3736:   fi
 3737:   rm -rf conftest*
 3738:   ;;
 3739: 
 3740: *-*-cygwin* | *-*-mingw* | *-*-pw32*)
 3741:   if test -n "$ac_tool_prefix"; then
 3742:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 3743: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 3744: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3745: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3746: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 3747:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3748: else
 3749:   if test -n "$DLLTOOL"; then
 3750:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 3751: else
 3752: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3753: for as_dir in $PATH
 3754: do
 3755:   IFS=$as_save_IFS
 3756:   test -z "$as_dir" && as_dir=.
 3757:   for ac_exec_ext in '' $ac_executable_extensions; do
 3758:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3759:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 3760:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3761:     break 2
 3762:   fi
 3763: done
 3764: done
 3765: 
 3766: fi
 3767: fi
 3768: DLLTOOL=$ac_cv_prog_DLLTOOL
 3769: if test -n "$DLLTOOL"; then
 3770:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 3771: echo "${ECHO_T}$DLLTOOL" >&6
 3772: else
 3773:   echo "$as_me:$LINENO: result: no" >&5
 3774: echo "${ECHO_T}no" >&6
 3775: fi
 3776: 
 3777: fi
 3778: if test -z "$ac_cv_prog_DLLTOOL"; then
 3779:   ac_ct_DLLTOOL=$DLLTOOL
 3780:   # Extract the first word of "dlltool", so it can be a program name with args.
 3781: set dummy dlltool; ac_word=$2
 3782: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3783: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3784: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 3785:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3786: else
 3787:   if test -n "$ac_ct_DLLTOOL"; then
 3788:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 3789: else
 3790: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3791: for as_dir in $PATH
 3792: do
 3793:   IFS=$as_save_IFS
 3794:   test -z "$as_dir" && as_dir=.
 3795:   for ac_exec_ext in '' $ac_executable_extensions; do
 3796:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3797:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 3798:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3799:     break 2
 3800:   fi
 3801: done
 3802: done
 3803: 
 3804:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
 3805: fi
 3806: fi
 3807: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 3808: if test -n "$ac_ct_DLLTOOL"; then
 3809:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 3810: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 3811: else
 3812:   echo "$as_me:$LINENO: result: no" >&5
 3813: echo "${ECHO_T}no" >&6
 3814: fi
 3815: 
 3816:   DLLTOOL=$ac_ct_DLLTOOL
 3817: else
 3818:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 3819: fi
 3820: 
 3821:   if test -n "$ac_tool_prefix"; then
 3822:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 3823: set dummy ${ac_tool_prefix}as; ac_word=$2
 3824: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3825: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3826: if test "${ac_cv_prog_AS+set}" = set; then
 3827:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3828: else
 3829:   if test -n "$AS"; then
 3830:   ac_cv_prog_AS="$AS" # Let the user override the test.
 3831: else
 3832: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3833: for as_dir in $PATH
 3834: do
 3835:   IFS=$as_save_IFS
 3836:   test -z "$as_dir" && as_dir=.
 3837:   for ac_exec_ext in '' $ac_executable_extensions; do
 3838:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3839:     ac_cv_prog_AS="${ac_tool_prefix}as"
 3840:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3841:     break 2
 3842:   fi
 3843: done
 3844: done
 3845: 
 3846: fi
 3847: fi
 3848: AS=$ac_cv_prog_AS
 3849: if test -n "$AS"; then
 3850:   echo "$as_me:$LINENO: result: $AS" >&5
 3851: echo "${ECHO_T}$AS" >&6
 3852: else
 3853:   echo "$as_me:$LINENO: result: no" >&5
 3854: echo "${ECHO_T}no" >&6
 3855: fi
 3856: 
 3857: fi
 3858: if test -z "$ac_cv_prog_AS"; then
 3859:   ac_ct_AS=$AS
 3860:   # Extract the first word of "as", so it can be a program name with args.
 3861: set dummy as; ac_word=$2
 3862: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3863: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3864: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 3865:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3866: else
 3867:   if test -n "$ac_ct_AS"; then
 3868:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 3869: else
 3870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3871: for as_dir in $PATH
 3872: do
 3873:   IFS=$as_save_IFS
 3874:   test -z "$as_dir" && as_dir=.
 3875:   for ac_exec_ext in '' $ac_executable_extensions; do
 3876:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3877:     ac_cv_prog_ac_ct_AS="as"
 3878:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3879:     break 2
 3880:   fi
 3881: done
 3882: done
 3883: 
 3884:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
 3885: fi
 3886: fi
 3887: ac_ct_AS=$ac_cv_prog_ac_ct_AS
 3888: if test -n "$ac_ct_AS"; then
 3889:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 3890: echo "${ECHO_T}$ac_ct_AS" >&6
 3891: else
 3892:   echo "$as_me:$LINENO: result: no" >&5
 3893: echo "${ECHO_T}no" >&6
 3894: fi
 3895: 
 3896:   AS=$ac_ct_AS
 3897: else
 3898:   AS="$ac_cv_prog_AS"
 3899: fi
 3900: 
 3901:   if test -n "$ac_tool_prefix"; then
 3902:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 3903: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 3904: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3905: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3906: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 3907:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3908: else
 3909:   if test -n "$OBJDUMP"; then
 3910:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 3911: else
 3912: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3913: for as_dir in $PATH
 3914: do
 3915:   IFS=$as_save_IFS
 3916:   test -z "$as_dir" && as_dir=.
 3917:   for ac_exec_ext in '' $ac_executable_extensions; do
 3918:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3919:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 3920:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3921:     break 2
 3922:   fi
 3923: done
 3924: done
 3925: 
 3926: fi
 3927: fi
 3928: OBJDUMP=$ac_cv_prog_OBJDUMP
 3929: if test -n "$OBJDUMP"; then
 3930:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 3931: echo "${ECHO_T}$OBJDUMP" >&6
 3932: else
 3933:   echo "$as_me:$LINENO: result: no" >&5
 3934: echo "${ECHO_T}no" >&6
 3935: fi
 3936: 
 3937: fi
 3938: if test -z "$ac_cv_prog_OBJDUMP"; then
 3939:   ac_ct_OBJDUMP=$OBJDUMP
 3940:   # Extract the first word of "objdump", so it can be a program name with args.
 3941: set dummy objdump; ac_word=$2
 3942: echo "$as_me:$LINENO: checking for $ac_word" >&5
 3943: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3944: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 3945:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3946: else
 3947:   if test -n "$ac_ct_OBJDUMP"; then
 3948:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 3949: else
 3950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3951: for as_dir in $PATH
 3952: do
 3953:   IFS=$as_save_IFS
 3954:   test -z "$as_dir" && as_dir=.
 3955:   for ac_exec_ext in '' $ac_executable_extensions; do
 3956:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3957:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 3958:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3959:     break 2
 3960:   fi
 3961: done
 3962: done
 3963: 
 3964:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
 3965: fi
 3966: fi
 3967: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 3968: if test -n "$ac_ct_OBJDUMP"; then
 3969:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 3970: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 3971: else
 3972:   echo "$as_me:$LINENO: result: no" >&5
 3973: echo "${ECHO_T}no" >&6
 3974: fi
 3975: 
 3976:   OBJDUMP=$ac_ct_OBJDUMP
 3977: else
 3978:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 3979: fi
 3980: 
 3981:   ;;
 3982: 
 3983: esac
 3984: 
 3985: need_locks="$enable_libtool_lock"
 3986: 
 3987: 
 3988: ac_ext=c
 3989: ac_cpp='$CPP $CPPFLAGS'
 3990: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3991: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3992: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3993: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3994: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3995: # On Suns, sometimes $CPP names a directory.
 3996: if test -n "$CPP" && test -d "$CPP"; then
 3997:   CPP=
 3998: fi
 3999: if test -z "$CPP"; then
 4000:   if test "${ac_cv_prog_CPP+set}" = set; then
 4001:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4002: else
 4003:       # Double quotes because CPP needs to be expanded
 4004:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4005:     do
 4006:       ac_preproc_ok=false
 4007: for ac_c_preproc_warn_flag in '' yes
 4008: do
 4009:   # Use a header file that comes with gcc, so configuring glibc
 4010:   # with a fresh cross-compiler works.
 4011:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4012:   # <limits.h> exists even on freestanding compilers.
 4013:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4014:   # not just through cpp. "Syntax error" is here to catch this case.
 4015:   cat >conftest.$ac_ext <<_ACEOF
 4016: /* confdefs.h.  */
 4017: _ACEOF
 4018: cat confdefs.h >>conftest.$ac_ext
 4019: cat >>conftest.$ac_ext <<_ACEOF
 4020: /* end confdefs.h.  */
 4021: #ifdef __STDC__
 4022: # include <limits.h>
 4023: #else
 4024: # include <assert.h>
 4025: #endif
 4026: 		     Syntax error
 4027: _ACEOF
 4028: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4029:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4030:   ac_status=$?
 4031:   grep -v '^ *+' conftest.er1 >conftest.err
 4032:   rm -f conftest.er1
 4033:   cat conftest.err >&5
 4034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4035:   (exit $ac_status); } >/dev/null; then
 4036:   if test -s conftest.err; then
 4037:     ac_cpp_err=$ac_c_preproc_warn_flag
 4038:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4039:   else
 4040:     ac_cpp_err=
 4041:   fi
 4042: else
 4043:   ac_cpp_err=yes
 4044: fi
 4045: if test -z "$ac_cpp_err"; then
 4046:   :
 4047: else
 4048:   echo "$as_me: failed program was:" >&5
 4049: sed 's/^/| /' conftest.$ac_ext >&5
 4050: 
 4051:   # Broken: fails on valid input.
 4052: continue
 4053: fi
 4054: rm -f conftest.err conftest.$ac_ext
 4055: 
 4056:   # OK, works on sane cases.  Now check whether non-existent headers
 4057:   # can be detected and how.
 4058:   cat >conftest.$ac_ext <<_ACEOF
 4059: /* confdefs.h.  */
 4060: _ACEOF
 4061: cat confdefs.h >>conftest.$ac_ext
 4062: cat >>conftest.$ac_ext <<_ACEOF
 4063: /* end confdefs.h.  */
 4064: #include <ac_nonexistent.h>
 4065: _ACEOF
 4066: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4067:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4068:   ac_status=$?
 4069:   grep -v '^ *+' conftest.er1 >conftest.err
 4070:   rm -f conftest.er1
 4071:   cat conftest.err >&5
 4072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4073:   (exit $ac_status); } >/dev/null; then
 4074:   if test -s conftest.err; then
 4075:     ac_cpp_err=$ac_c_preproc_warn_flag
 4076:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4077:   else
 4078:     ac_cpp_err=
 4079:   fi
 4080: else
 4081:   ac_cpp_err=yes
 4082: fi
 4083: if test -z "$ac_cpp_err"; then
 4084:   # Broken: success on invalid input.
 4085: continue
 4086: else
 4087:   echo "$as_me: failed program was:" >&5
 4088: sed 's/^/| /' conftest.$ac_ext >&5
 4089: 
 4090:   # Passes both tests.
 4091: ac_preproc_ok=:
 4092: break
 4093: fi
 4094: rm -f conftest.err conftest.$ac_ext
 4095: 
 4096: done
 4097: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4098: rm -f conftest.err conftest.$ac_ext
 4099: if $ac_preproc_ok; then
 4100:   break
 4101: fi
 4102: 
 4103:     done
 4104:     ac_cv_prog_CPP=$CPP
 4105: 
 4106: fi
 4107:   CPP=$ac_cv_prog_CPP
 4108: else
 4109:   ac_cv_prog_CPP=$CPP
 4110: fi
 4111: echo "$as_me:$LINENO: result: $CPP" >&5
 4112: echo "${ECHO_T}$CPP" >&6
 4113: ac_preproc_ok=false
 4114: for ac_c_preproc_warn_flag in '' yes
 4115: do
 4116:   # Use a header file that comes with gcc, so configuring glibc
 4117:   # with a fresh cross-compiler works.
 4118:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4119:   # <limits.h> exists even on freestanding compilers.
 4120:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4121:   # not just through cpp. "Syntax error" is here to catch this case.
 4122:   cat >conftest.$ac_ext <<_ACEOF
 4123: /* confdefs.h.  */
 4124: _ACEOF
 4125: cat confdefs.h >>conftest.$ac_ext
 4126: cat >>conftest.$ac_ext <<_ACEOF
 4127: /* end confdefs.h.  */
 4128: #ifdef __STDC__
 4129: # include <limits.h>
 4130: #else
 4131: # include <assert.h>
 4132: #endif
 4133: 		     Syntax error
 4134: _ACEOF
 4135: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4136:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4137:   ac_status=$?
 4138:   grep -v '^ *+' conftest.er1 >conftest.err
 4139:   rm -f conftest.er1
 4140:   cat conftest.err >&5
 4141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4142:   (exit $ac_status); } >/dev/null; then
 4143:   if test -s conftest.err; then
 4144:     ac_cpp_err=$ac_c_preproc_warn_flag
 4145:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4146:   else
 4147:     ac_cpp_err=
 4148:   fi
 4149: else
 4150:   ac_cpp_err=yes
 4151: fi
 4152: if test -z "$ac_cpp_err"; then
 4153:   :
 4154: else
 4155:   echo "$as_me: failed program was:" >&5
 4156: sed 's/^/| /' conftest.$ac_ext >&5
 4157: 
 4158:   # Broken: fails on valid input.
 4159: continue
 4160: fi
 4161: rm -f conftest.err conftest.$ac_ext
 4162: 
 4163:   # OK, works on sane cases.  Now check whether non-existent headers
 4164:   # can be detected and how.
 4165:   cat >conftest.$ac_ext <<_ACEOF
 4166: /* confdefs.h.  */
 4167: _ACEOF
 4168: cat confdefs.h >>conftest.$ac_ext
 4169: cat >>conftest.$ac_ext <<_ACEOF
 4170: /* end confdefs.h.  */
 4171: #include <ac_nonexistent.h>
 4172: _ACEOF
 4173: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4174:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4175:   ac_status=$?
 4176:   grep -v '^ *+' conftest.er1 >conftest.err
 4177:   rm -f conftest.er1
 4178:   cat conftest.err >&5
 4179:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4180:   (exit $ac_status); } >/dev/null; then
 4181:   if test -s conftest.err; then
 4182:     ac_cpp_err=$ac_c_preproc_warn_flag
 4183:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4184:   else
 4185:     ac_cpp_err=
 4186:   fi
 4187: else
 4188:   ac_cpp_err=yes
 4189: fi
 4190: if test -z "$ac_cpp_err"; then
 4191:   # Broken: success on invalid input.
 4192: continue
 4193: else
 4194:   echo "$as_me: failed program was:" >&5
 4195: sed 's/^/| /' conftest.$ac_ext >&5
 4196: 
 4197:   # Passes both tests.
 4198: ac_preproc_ok=:
 4199: break
 4200: fi
 4201: rm -f conftest.err conftest.$ac_ext
 4202: 
 4203: done
 4204: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4205: rm -f conftest.err conftest.$ac_ext
 4206: if $ac_preproc_ok; then
 4207:   :
 4208: else
 4209:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 4210: See \`config.log' for more details." >&5
 4211: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 4212: See \`config.log' for more details." >&2;}
 4213:    { (exit 1); exit 1; }; }
 4214: fi
 4215: 
 4216: ac_ext=c
 4217: ac_cpp='$CPP $CPPFLAGS'
 4218: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4219: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4220: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4221: 
 4222: 
 4223: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4224: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4225: if test "${ac_cv_header_stdc+set}" = set; then
 4226:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4227: else
 4228:   cat >conftest.$ac_ext <<_ACEOF
 4229: /* confdefs.h.  */
 4230: _ACEOF
 4231: cat confdefs.h >>conftest.$ac_ext
 4232: cat >>conftest.$ac_ext <<_ACEOF
 4233: /* end confdefs.h.  */
 4234: #include <stdlib.h>
 4235: #include <stdarg.h>
 4236: #include <string.h>
 4237: #include <float.h>
 4238: 
 4239: int
 4240: main ()
 4241: {
 4242: 
 4243:   ;
 4244:   return 0;
 4245: }
 4246: _ACEOF
 4247: rm -f conftest.$ac_objext
 4248: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4249:   (eval $ac_compile) 2>conftest.er1
 4250:   ac_status=$?
 4251:   grep -v '^ *+' conftest.er1 >conftest.err
 4252:   rm -f conftest.er1
 4253:   cat conftest.err >&5
 4254:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4255:   (exit $ac_status); } &&
 4256: 	 { ac_try='test -z "$ac_c_werror_flag"
 4257: 			 || test ! -s conftest.err'
 4258:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4259:   (eval $ac_try) 2>&5
 4260:   ac_status=$?
 4261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4262:   (exit $ac_status); }; } &&
 4263: 	 { ac_try='test -s conftest.$ac_objext'
 4264:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4265:   (eval $ac_try) 2>&5
 4266:   ac_status=$?
 4267:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4268:   (exit $ac_status); }; }; then
 4269:   ac_cv_header_stdc=yes
 4270: else
 4271:   echo "$as_me: failed program was:" >&5
 4272: sed 's/^/| /' conftest.$ac_ext >&5
 4273: 
 4274: ac_cv_header_stdc=no
 4275: fi
 4276: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4277: 
 4278: if test $ac_cv_header_stdc = yes; then
 4279:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4280:   cat >conftest.$ac_ext <<_ACEOF
 4281: /* confdefs.h.  */
 4282: _ACEOF
 4283: cat confdefs.h >>conftest.$ac_ext
 4284: cat >>conftest.$ac_ext <<_ACEOF
 4285: /* end confdefs.h.  */
 4286: #include <string.h>
 4287: 
 4288: _ACEOF
 4289: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4290:   $EGREP "memchr" >/dev/null 2>&1; then
 4291:   :
 4292: else
 4293:   ac_cv_header_stdc=no
 4294: fi
 4295: rm -f conftest*
 4296: 
 4297: fi
 4298: 
 4299: if test $ac_cv_header_stdc = yes; then
 4300:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4301:   cat >conftest.$ac_ext <<_ACEOF
 4302: /* confdefs.h.  */
 4303: _ACEOF
 4304: cat confdefs.h >>conftest.$ac_ext
 4305: cat >>conftest.$ac_ext <<_ACEOF
 4306: /* end confdefs.h.  */
 4307: #include <stdlib.h>
 4308: 
 4309: _ACEOF
 4310: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4311:   $EGREP "free" >/dev/null 2>&1; then
 4312:   :
 4313: else
 4314:   ac_cv_header_stdc=no
 4315: fi
 4316: rm -f conftest*
 4317: 
 4318: fi
 4319: 
 4320: if test $ac_cv_header_stdc = yes; then
 4321:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4322:   if test "$cross_compiling" = yes; then
 4323:   :
 4324: else
 4325:   cat >conftest.$ac_ext <<_ACEOF
 4326: /* confdefs.h.  */
 4327: _ACEOF
 4328: cat confdefs.h >>conftest.$ac_ext
 4329: cat >>conftest.$ac_ext <<_ACEOF
 4330: /* end confdefs.h.  */
 4331: #include <ctype.h>
 4332: #if ((' ' & 0x0FF) == 0x020)
 4333: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4334: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4335: #else
 4336: # define ISLOWER(c) \
 4337: 		   (('a' <= (c) && (c) <= 'i') \
 4338: 		     || ('j' <= (c) && (c) <= 'r') \
 4339: 		     || ('s' <= (c) && (c) <= 'z'))
 4340: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4341: #endif
 4342: 
 4343: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4344: int
 4345: main ()
 4346: {
 4347:   int i;
 4348:   for (i = 0; i < 256; i++)
 4349:     if (XOR (islower (i), ISLOWER (i))
 4350: 	|| toupper (i) != TOUPPER (i))
 4351:       exit(2);
 4352:   exit (0);
 4353: }
 4354: _ACEOF
 4355: rm -f conftest$ac_exeext
 4356: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4357:   (eval $ac_link) 2>&5
 4358:   ac_status=$?
 4359:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4360:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4361:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4362:   (eval $ac_try) 2>&5
 4363:   ac_status=$?
 4364:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4365:   (exit $ac_status); }; }; then
 4366:   :
 4367: else
 4368:   echo "$as_me: program exited with status $ac_status" >&5
 4369: echo "$as_me: failed program was:" >&5
 4370: sed 's/^/| /' conftest.$ac_ext >&5
 4371: 
 4372: ( exit $ac_status )
 4373: ac_cv_header_stdc=no
 4374: fi
 4375: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4376: fi
 4377: fi
 4378: fi
 4379: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 4380: echo "${ECHO_T}$ac_cv_header_stdc" >&6
 4381: if test $ac_cv_header_stdc = yes; then
 4382: 
 4383: cat >>confdefs.h <<\_ACEOF
 4384: #define STDC_HEADERS 1
 4385: _ACEOF
 4386: 
 4387: fi
 4388: 
 4389: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 4390: 
 4391: 
 4392: 
 4393: 
 4394: 
 4395: 
 4396: 
 4397: 
 4398: 
 4399: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 4400: 		  inttypes.h stdint.h unistd.h
 4401: do
 4402: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4403: echo "$as_me:$LINENO: checking for $ac_header" >&5
 4404: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4405: if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4406:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4407: else
 4408:   cat >conftest.$ac_ext <<_ACEOF
 4409: /* confdefs.h.  */
 4410: _ACEOF
 4411: cat confdefs.h >>conftest.$ac_ext
 4412: cat >>conftest.$ac_ext <<_ACEOF
 4413: /* end confdefs.h.  */
 4414: $ac_includes_default
 4415: 
 4416: #include <$ac_header>
 4417: _ACEOF
 4418: rm -f conftest.$ac_objext
 4419: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4420:   (eval $ac_compile) 2>conftest.er1
 4421:   ac_status=$?
 4422:   grep -v '^ *+' conftest.er1 >conftest.err
 4423:   rm -f conftest.er1
 4424:   cat conftest.err >&5
 4425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4426:   (exit $ac_status); } &&
 4427: 	 { ac_try='test -z "$ac_c_werror_flag"
 4428: 			 || test ! -s conftest.err'
 4429:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4430:   (eval $ac_try) 2>&5
 4431:   ac_status=$?
 4432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4433:   (exit $ac_status); }; } &&
 4434: 	 { ac_try='test -s conftest.$ac_objext'
 4435:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4436:   (eval $ac_try) 2>&5
 4437:   ac_status=$?
 4438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4439:   (exit $ac_status); }; }; then
 4440:   eval "$as_ac_Header=yes"
 4441: else
 4442:   echo "$as_me: failed program was:" >&5
 4443: sed 's/^/| /' conftest.$ac_ext >&5
 4444: 
 4445: eval "$as_ac_Header=no"
 4446: fi
 4447: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4448: fi
 4449: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4450: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4451: if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4452:   cat >>confdefs.h <<_ACEOF
 4453: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4454: _ACEOF
 4455: 
 4456: fi
 4457: 
 4458: done
 4459: 
 4460: 
 4461: 
 4462: for ac_header in dlfcn.h
 4463: do
 4464: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4465: if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4466:   echo "$as_me:$LINENO: checking for $ac_header" >&5
 4467: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4468: if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4469:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4470: fi
 4471: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4472: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4473: else
 4474:   # Is the header compilable?
 4475: echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4476: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4477: cat >conftest.$ac_ext <<_ACEOF
 4478: /* confdefs.h.  */
 4479: _ACEOF
 4480: cat confdefs.h >>conftest.$ac_ext
 4481: cat >>conftest.$ac_ext <<_ACEOF
 4482: /* end confdefs.h.  */
 4483: $ac_includes_default
 4484: #include <$ac_header>
 4485: _ACEOF
 4486: rm -f conftest.$ac_objext
 4487: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4488:   (eval $ac_compile) 2>conftest.er1
 4489:   ac_status=$?
 4490:   grep -v '^ *+' conftest.er1 >conftest.err
 4491:   rm -f conftest.er1
 4492:   cat conftest.err >&5
 4493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4494:   (exit $ac_status); } &&
 4495: 	 { ac_try='test -z "$ac_c_werror_flag"
 4496: 			 || test ! -s conftest.err'
 4497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4498:   (eval $ac_try) 2>&5
 4499:   ac_status=$?
 4500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4501:   (exit $ac_status); }; } &&
 4502: 	 { ac_try='test -s conftest.$ac_objext'
 4503:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4504:   (eval $ac_try) 2>&5
 4505:   ac_status=$?
 4506:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4507:   (exit $ac_status); }; }; then
 4508:   ac_header_compiler=yes
 4509: else
 4510:   echo "$as_me: failed program was:" >&5
 4511: sed 's/^/| /' conftest.$ac_ext >&5
 4512: 
 4513: ac_header_compiler=no
 4514: fi
 4515: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4516: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4517: echo "${ECHO_T}$ac_header_compiler" >&6
 4518: 
 4519: # Is the header present?
 4520: echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4521: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4522: cat >conftest.$ac_ext <<_ACEOF
 4523: /* confdefs.h.  */
 4524: _ACEOF
 4525: cat confdefs.h >>conftest.$ac_ext
 4526: cat >>conftest.$ac_ext <<_ACEOF
 4527: /* end confdefs.h.  */
 4528: #include <$ac_header>
 4529: _ACEOF
 4530: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4531:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4532:   ac_status=$?
 4533:   grep -v '^ *+' conftest.er1 >conftest.err
 4534:   rm -f conftest.er1
 4535:   cat conftest.err >&5
 4536:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4537:   (exit $ac_status); } >/dev/null; then
 4538:   if test -s conftest.err; then
 4539:     ac_cpp_err=$ac_c_preproc_warn_flag
 4540:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4541:   else
 4542:     ac_cpp_err=
 4543:   fi
 4544: else
 4545:   ac_cpp_err=yes
 4546: fi
 4547: if test -z "$ac_cpp_err"; then
 4548:   ac_header_preproc=yes
 4549: else
 4550:   echo "$as_me: failed program was:" >&5
 4551: sed 's/^/| /' conftest.$ac_ext >&5
 4552: 
 4553:   ac_header_preproc=no
 4554: fi
 4555: rm -f conftest.err conftest.$ac_ext
 4556: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4557: echo "${ECHO_T}$ac_header_preproc" >&6
 4558: 
 4559: # So?  What about this header?
 4560: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4561:   yes:no: )
 4562:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4563: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4564:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4565: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4566:     ac_header_preproc=yes
 4567:     ;;
 4568:   no:yes:* )
 4569:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4570: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4571:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4572: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4573:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4574: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4575:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4576: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4577:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4578: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4579:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4580: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4581:     (
 4582:       cat <<\_ASBOX
 4583: ## -------------------------------------- ##
 4584: ## Report this to expat-bugs@libexpat.org ##
 4585: ## -------------------------------------- ##
 4586: _ASBOX
 4587:     ) |
 4588:       sed "s/^/$as_me: WARNING:     /" >&2
 4589:     ;;
 4590: esac
 4591: echo "$as_me:$LINENO: checking for $ac_header" >&5
 4592: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4593: if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4594:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4595: else
 4596:   eval "$as_ac_Header=\$ac_header_preproc"
 4597: fi
 4598: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4599: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4600: 
 4601: fi
 4602: if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4603:   cat >>confdefs.h <<_ACEOF
 4604: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4605: _ACEOF
 4606: 
 4607: fi
 4608: 
 4609: done
 4610: 
 4611: ac_ext=cc
 4612: ac_cpp='$CXXCPP $CPPFLAGS'
 4613: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4614: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4615: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4616: if test -n "$ac_tool_prefix"; then
 4617:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 4618:   do
 4619:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4620: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4621: echo "$as_me:$LINENO: checking for $ac_word" >&5
 4622: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4623: if test "${ac_cv_prog_CXX+set}" = set; then
 4624:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4625: else
 4626:   if test -n "$CXX"; then
 4627:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4628: else
 4629: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4630: for as_dir in $PATH
 4631: do
 4632:   IFS=$as_save_IFS
 4633:   test -z "$as_dir" && as_dir=.
 4634:   for ac_exec_ext in '' $ac_executable_extensions; do
 4635:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4636:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4637:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4638:     break 2
 4639:   fi
 4640: done
 4641: done
 4642: 
 4643: fi
 4644: fi
 4645: CXX=$ac_cv_prog_CXX
 4646: if test -n "$CXX"; then
 4647:   echo "$as_me:$LINENO: result: $CXX" >&5
 4648: echo "${ECHO_T}$CXX" >&6
 4649: else
 4650:   echo "$as_me:$LINENO: result: no" >&5
 4651: echo "${ECHO_T}no" >&6
 4652: fi
 4653: 
 4654:     test -n "$CXX" && break
 4655:   done
 4656: fi
 4657: if test -z "$CXX"; then
 4658:   ac_ct_CXX=$CXX
 4659:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 4660: do
 4661:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4662: set dummy $ac_prog; ac_word=$2
 4663: echo "$as_me:$LINENO: checking for $ac_word" >&5
 4664: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4665: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 4666:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4667: else
 4668:   if test -n "$ac_ct_CXX"; then
 4669:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4670: else
 4671: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4672: for as_dir in $PATH
 4673: do
 4674:   IFS=$as_save_IFS
 4675:   test -z "$as_dir" && as_dir=.
 4676:   for ac_exec_ext in '' $ac_executable_extensions; do
 4677:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4678:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4679:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4680:     break 2
 4681:   fi
 4682: done
 4683: done
 4684: 
 4685: fi
 4686: fi
 4687: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4688: if test -n "$ac_ct_CXX"; then
 4689:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 4690: echo "${ECHO_T}$ac_ct_CXX" >&6
 4691: else
 4692:   echo "$as_me:$LINENO: result: no" >&5
 4693: echo "${ECHO_T}no" >&6
 4694: fi
 4695: 
 4696:   test -n "$ac_ct_CXX" && break
 4697: done
 4698: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 4699: 
 4700:   CXX=$ac_ct_CXX
 4701: fi
 4702: 
 4703: 
 4704: # Provide some information about the compiler.
 4705: echo "$as_me:$LINENO:" \
 4706:      "checking for C++ compiler version" >&5
 4707: ac_compiler=`set X $ac_compile; echo $2`
 4708: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 4709:   (eval $ac_compiler --version </dev/null >&5) 2>&5
 4710:   ac_status=$?
 4711:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4712:   (exit $ac_status); }
 4713: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 4714:   (eval $ac_compiler -v </dev/null >&5) 2>&5
 4715:   ac_status=$?
 4716:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4717:   (exit $ac_status); }
 4718: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 4719:   (eval $ac_compiler -V </dev/null >&5) 2>&5
 4720:   ac_status=$?
 4721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4722:   (exit $ac_status); }
 4723: 
 4724: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 4725: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 4726: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 4727:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4728: else
 4729:   cat >conftest.$ac_ext <<_ACEOF
 4730: /* confdefs.h.  */
 4731: _ACEOF
 4732: cat confdefs.h >>conftest.$ac_ext
 4733: cat >>conftest.$ac_ext <<_ACEOF
 4734: /* end confdefs.h.  */
 4735: 
 4736: int
 4737: main ()
 4738: {
 4739: #ifndef __GNUC__
 4740:        choke me
 4741: #endif
 4742: 
 4743:   ;
 4744:   return 0;
 4745: }
 4746: _ACEOF
 4747: rm -f conftest.$ac_objext
 4748: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4749:   (eval $ac_compile) 2>conftest.er1
 4750:   ac_status=$?
 4751:   grep -v '^ *+' conftest.er1 >conftest.err
 4752:   rm -f conftest.er1
 4753:   cat conftest.err >&5
 4754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4755:   (exit $ac_status); } &&
 4756: 	 { ac_try='test -z "$ac_cxx_werror_flag"
 4757: 			 || test ! -s conftest.err'
 4758:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4759:   (eval $ac_try) 2>&5
 4760:   ac_status=$?
 4761:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4762:   (exit $ac_status); }; } &&
 4763: 	 { ac_try='test -s conftest.$ac_objext'
 4764:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4765:   (eval $ac_try) 2>&5
 4766:   ac_status=$?
 4767:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4768:   (exit $ac_status); }; }; then
 4769:   ac_compiler_gnu=yes
 4770: else
 4771:   echo "$as_me: failed program was:" >&5
 4772: sed 's/^/| /' conftest.$ac_ext >&5
 4773: 
 4774: ac_compiler_gnu=no
 4775: fi
 4776: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4777: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4778: 
 4779: fi
 4780: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 4781: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 4782: GXX=`test $ac_compiler_gnu = yes && echo yes`
 4783: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4784: ac_save_CXXFLAGS=$CXXFLAGS
 4785: CXXFLAGS="-g"
 4786: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 4787: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 4788: if test "${ac_cv_prog_cxx_g+set}" = set; then
 4789:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4790: else
 4791:   cat >conftest.$ac_ext <<_ACEOF
 4792: /* confdefs.h.  */
 4793: _ACEOF
 4794: cat confdefs.h >>conftest.$ac_ext
 4795: cat >>conftest.$ac_ext <<_ACEOF
 4796: /* end confdefs.h.  */
 4797: 
 4798: int
 4799: main ()
 4800: {
 4801: 
 4802:   ;
 4803:   return 0;
 4804: }
 4805: _ACEOF
 4806: rm -f conftest.$ac_objext
 4807: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4808:   (eval $ac_compile) 2>conftest.er1
 4809:   ac_status=$?
 4810:   grep -v '^ *+' conftest.er1 >conftest.err
 4811:   rm -f conftest.er1
 4812:   cat conftest.err >&5
 4813:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4814:   (exit $ac_status); } &&
 4815: 	 { ac_try='test -z "$ac_cxx_werror_flag"
 4816: 			 || test ! -s conftest.err'
 4817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4818:   (eval $ac_try) 2>&5
 4819:   ac_status=$?
 4820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4821:   (exit $ac_status); }; } &&
 4822: 	 { ac_try='test -s conftest.$ac_objext'
 4823:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4824:   (eval $ac_try) 2>&5
 4825:   ac_status=$?
 4826:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4827:   (exit $ac_status); }; }; then
 4828:   ac_cv_prog_cxx_g=yes
 4829: else
 4830:   echo "$as_me: failed program was:" >&5
 4831: sed 's/^/| /' conftest.$ac_ext >&5
 4832: 
 4833: ac_cv_prog_cxx_g=no
 4834: fi
 4835: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4836: fi
 4837: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 4838: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 4839: if test "$ac_test_CXXFLAGS" = set; then
 4840:   CXXFLAGS=$ac_save_CXXFLAGS
 4841: elif test $ac_cv_prog_cxx_g = yes; then
 4842:   if test "$GXX" = yes; then
 4843:     CXXFLAGS="-g -O2"
 4844:   else
 4845:     CXXFLAGS="-g"
 4846:   fi
 4847: else
 4848:   if test "$GXX" = yes; then
 4849:     CXXFLAGS="-O2"
 4850:   else
 4851:     CXXFLAGS=
 4852:   fi
 4853: fi
 4854: for ac_declaration in \
 4855:    '' \
 4856:    'extern "C" void std::exit (int) throw (); using std::exit;' \
 4857:    'extern "C" void std::exit (int); using std::exit;' \
 4858:    'extern "C" void exit (int) throw ();' \
 4859:    'extern "C" void exit (int);' \
 4860:    'void exit (int);'
 4861: do
 4862:   cat >conftest.$ac_ext <<_ACEOF
 4863: /* confdefs.h.  */
 4864: _ACEOF
 4865: cat confdefs.h >>conftest.$ac_ext
 4866: cat >>conftest.$ac_ext <<_ACEOF
 4867: /* end confdefs.h.  */
 4868: $ac_declaration
 4869: #include <stdlib.h>
 4870: int
 4871: main ()
 4872: {
 4873: exit (42);
 4874:   ;
 4875:   return 0;
 4876: }
 4877: _ACEOF
 4878: rm -f conftest.$ac_objext
 4879: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4880:   (eval $ac_compile) 2>conftest.er1
 4881:   ac_status=$?
 4882:   grep -v '^ *+' conftest.er1 >conftest.err
 4883:   rm -f conftest.er1
 4884:   cat conftest.err >&5
 4885:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4886:   (exit $ac_status); } &&
 4887: 	 { ac_try='test -z "$ac_cxx_werror_flag"
 4888: 			 || test ! -s conftest.err'
 4889:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4890:   (eval $ac_try) 2>&5
 4891:   ac_status=$?
 4892:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4893:   (exit $ac_status); }; } &&
 4894: 	 { ac_try='test -s conftest.$ac_objext'
 4895:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4896:   (eval $ac_try) 2>&5
 4897:   ac_status=$?
 4898:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4899:   (exit $ac_status); }; }; then
 4900:   :
 4901: else
 4902:   echo "$as_me: failed program was:" >&5
 4903: sed 's/^/| /' conftest.$ac_ext >&5
 4904: 
 4905: continue
 4906: fi
 4907: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4908:   cat >conftest.$ac_ext <<_ACEOF
 4909: /* confdefs.h.  */
 4910: _ACEOF
 4911: cat confdefs.h >>conftest.$ac_ext
 4912: cat >>conftest.$ac_ext <<_ACEOF
 4913: /* end confdefs.h.  */
 4914: $ac_declaration
 4915: int
 4916: main ()
 4917: {
 4918: exit (42);
 4919:   ;
 4920:   return 0;
 4921: }
 4922: _ACEOF
 4923: rm -f conftest.$ac_objext
 4924: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4925:   (eval $ac_compile) 2>conftest.er1
 4926:   ac_status=$?
 4927:   grep -v '^ *+' conftest.er1 >conftest.err
 4928:   rm -f conftest.er1
 4929:   cat conftest.err >&5
 4930:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4931:   (exit $ac_status); } &&
 4932: 	 { ac_try='test -z "$ac_cxx_werror_flag"
 4933: 			 || test ! -s conftest.err'
 4934:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4935:   (eval $ac_try) 2>&5
 4936:   ac_status=$?
 4937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4938:   (exit $ac_status); }; } &&
 4939: 	 { ac_try='test -s conftest.$ac_objext'
 4940:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4941:   (eval $ac_try) 2>&5
 4942:   ac_status=$?
 4943:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4944:   (exit $ac_status); }; }; then
 4945:   break
 4946: else
 4947:   echo "$as_me: failed program was:" >&5
 4948: sed 's/^/| /' conftest.$ac_ext >&5
 4949: 
 4950: fi
 4951: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4952: done
 4953: rm -f conftest*
 4954: if test -n "$ac_declaration"; then
 4955:   echo '#ifdef __cplusplus' >>confdefs.h
 4956:   echo $ac_declaration      >>confdefs.h
 4957:   echo '#endif'             >>confdefs.h
 4958: fi
 4959: 
 4960: ac_ext=cc
 4961: ac_cpp='$CXXCPP $CPPFLAGS'
 4962: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4963: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4964: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4965: 
 4966: 
 4967: 
 4968: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 4969:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 4970:     (test "X$CXX" != "Xg++"))) ; then
 4971:   ac_ext=cc
 4972: ac_cpp='$CXXCPP $CPPFLAGS'
 4973: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4974: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4975: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4976: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 4977: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 4978: if test -z "$CXXCPP"; then
 4979:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
 4980:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4981: else
 4982:       # Double quotes because CXXCPP needs to be expanded
 4983:     for CXXCPP in "$CXX -E" "/lib/cpp"
 4984:     do
 4985:       ac_preproc_ok=false
 4986: for ac_cxx_preproc_warn_flag in '' yes
 4987: do
 4988:   # Use a header file that comes with gcc, so configuring glibc
 4989:   # with a fresh cross-compiler works.
 4990:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4991:   # <limits.h> exists even on freestanding compilers.
 4992:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4993:   # not just through cpp. "Syntax error" is here to catch this case.
 4994:   cat >conftest.$ac_ext <<_ACEOF
 4995: /* confdefs.h.  */
 4996: _ACEOF
 4997: cat confdefs.h >>conftest.$ac_ext
 4998: cat >>conftest.$ac_ext <<_ACEOF
 4999: /* end confdefs.h.  */
 5000: #ifdef __STDC__
 5001: # include <limits.h>
 5002: #else
 5003: # include <assert.h>
 5004: #endif
 5005: 		     Syntax error
 5006: _ACEOF
 5007: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5008:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5009:   ac_status=$?
 5010:   grep -v '^ *+' conftest.er1 >conftest.err
 5011:   rm -f conftest.er1
 5012:   cat conftest.err >&5
 5013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5014:   (exit $ac_status); } >/dev/null; then
 5015:   if test -s conftest.err; then
 5016:     ac_cpp_err=$ac_cxx_preproc_warn_flag
 5017:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5018:   else
 5019:     ac_cpp_err=
 5020:   fi
 5021: else
 5022:   ac_cpp_err=yes
 5023: fi
 5024: if test -z "$ac_cpp_err"; then
 5025:   :
 5026: else
 5027:   echo "$as_me: failed program was:" >&5
 5028: sed 's/^/| /' conftest.$ac_ext >&5
 5029: 
 5030:   # Broken: fails on valid input.
 5031: continue
 5032: fi
 5033: rm -f conftest.err conftest.$ac_ext
 5034: 
 5035:   # OK, works on sane cases.  Now check whether non-existent headers
 5036:   # can be detected and how.
 5037:   cat >conftest.$ac_ext <<_ACEOF
 5038: /* confdefs.h.  */
 5039: _ACEOF
 5040: cat confdefs.h >>conftest.$ac_ext
 5041: cat >>conftest.$ac_ext <<_ACEOF
 5042: /* end confdefs.h.  */
 5043: #include <ac_nonexistent.h>
 5044: _ACEOF
 5045: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5046:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5047:   ac_status=$?
 5048:   grep -v '^ *+' conftest.er1 >conftest.err
 5049:   rm -f conftest.er1
 5050:   cat conftest.err >&5
 5051:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5052:   (exit $ac_status); } >/dev/null; then
 5053:   if test -s conftest.err; then
 5054:     ac_cpp_err=$ac_cxx_preproc_warn_flag
 5055:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5056:   else
 5057:     ac_cpp_err=
 5058:   fi
 5059: else
 5060:   ac_cpp_err=yes
 5061: fi
 5062: if test -z "$ac_cpp_err"; then
 5063:   # Broken: success on invalid input.
 5064: continue
 5065: else
 5066:   echo "$as_me: failed program was:" >&5
 5067: sed 's/^/| /' conftest.$ac_ext >&5
 5068: 
 5069:   # Passes both tests.
 5070: ac_preproc_ok=:
 5071: break
 5072: fi
 5073: rm -f conftest.err conftest.$ac_ext
 5074: 
 5075: done
 5076: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5077: rm -f conftest.err conftest.$ac_ext
 5078: if $ac_preproc_ok; then
 5079:   break
 5080: fi
 5081: 
 5082:     done
 5083:     ac_cv_prog_CXXCPP=$CXXCPP
 5084: 
 5085: fi
 5086:   CXXCPP=$ac_cv_prog_CXXCPP
 5087: else
 5088:   ac_cv_prog_CXXCPP=$CXXCPP
 5089: fi
 5090: echo "$as_me:$LINENO: result: $CXXCPP" >&5
 5091: echo "${ECHO_T}$CXXCPP" >&6
 5092: ac_preproc_ok=false
 5093: for ac_cxx_preproc_warn_flag in '' yes
 5094: do
 5095:   # Use a header file that comes with gcc, so configuring glibc
 5096:   # with a fresh cross-compiler works.
 5097:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5098:   # <limits.h> exists even on freestanding compilers.
 5099:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5100:   # not just through cpp. "Syntax error" is here to catch this case.
 5101:   cat >conftest.$ac_ext <<_ACEOF
 5102: /* confdefs.h.  */
 5103: _ACEOF
 5104: cat confdefs.h >>conftest.$ac_ext
 5105: cat >>conftest.$ac_ext <<_ACEOF
 5106: /* end confdefs.h.  */
 5107: #ifdef __STDC__
 5108: # include <limits.h>
 5109: #else
 5110: # include <assert.h>
 5111: #endif
 5112: 		     Syntax error
 5113: _ACEOF
 5114: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5115:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5116:   ac_status=$?
 5117:   grep -v '^ *+' conftest.er1 >conftest.err
 5118:   rm -f conftest.er1
 5119:   cat conftest.err >&5
 5120:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5121:   (exit $ac_status); } >/dev/null; then
 5122:   if test -s conftest.err; then
 5123:     ac_cpp_err=$ac_cxx_preproc_warn_flag
 5124:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5125:   else
 5126:     ac_cpp_err=
 5127:   fi
 5128: else
 5129:   ac_cpp_err=yes
 5130: fi
 5131: if test -z "$ac_cpp_err"; then
 5132:   :
 5133: else
 5134:   echo "$as_me: failed program was:" >&5
 5135: sed 's/^/| /' conftest.$ac_ext >&5
 5136: 
 5137:   # Broken: fails on valid input.
 5138: continue
 5139: fi
 5140: rm -f conftest.err conftest.$ac_ext
 5141: 
 5142:   # OK, works on sane cases.  Now check whether non-existent headers
 5143:   # can be detected and how.
 5144:   cat >conftest.$ac_ext <<_ACEOF
 5145: /* confdefs.h.  */
 5146: _ACEOF
 5147: cat confdefs.h >>conftest.$ac_ext
 5148: cat >>conftest.$ac_ext <<_ACEOF
 5149: /* end confdefs.h.  */
 5150: #include <ac_nonexistent.h>
 5151: _ACEOF
 5152: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5153:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5154:   ac_status=$?
 5155:   grep -v '^ *+' conftest.er1 >conftest.err
 5156:   rm -f conftest.er1
 5157:   cat conftest.err >&5
 5158:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5159:   (exit $ac_status); } >/dev/null; then
 5160:   if test -s conftest.err; then
 5161:     ac_cpp_err=$ac_cxx_preproc_warn_flag
 5162:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5163:   else
 5164:     ac_cpp_err=
 5165:   fi
 5166: else
 5167:   ac_cpp_err=yes
 5168: fi
 5169: if test -z "$ac_cpp_err"; then
 5170:   # Broken: success on invalid input.
 5171: continue
 5172: else
 5173:   echo "$as_me: failed program was:" >&5
 5174: sed 's/^/| /' conftest.$ac_ext >&5
 5175: 
 5176:   # Passes both tests.
 5177: ac_preproc_ok=:
 5178: break
 5179: fi
 5180: rm -f conftest.err conftest.$ac_ext
 5181: 
 5182: done
 5183: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5184: rm -f conftest.err conftest.$ac_ext
 5185: if $ac_preproc_ok; then
 5186:   :
 5187: else
 5188:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 5189: See \`config.log' for more details." >&5
 5190: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 5191: See \`config.log' for more details." >&2;}
 5192:    { (exit 1); exit 1; }; }
 5193: fi
 5194: 
 5195: ac_ext=cc
 5196: ac_cpp='$CXXCPP $CPPFLAGS'
 5197: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5198: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5199: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 5200: 
 5201: fi
 5202: 
 5203: 
 5204: ac_ext=f
 5205: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 5206: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5207: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 5208: if test -n "$ac_tool_prefix"; then
 5209:   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 5210:   do
 5211:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5212: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5213: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5214: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5215: if test "${ac_cv_prog_F77+set}" = set; then
 5216:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5217: else
 5218:   if test -n "$F77"; then
 5219:   ac_cv_prog_F77="$F77" # Let the user override the test.
 5220: else
 5221: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5222: for as_dir in $PATH
 5223: do
 5224:   IFS=$as_save_IFS
 5225:   test -z "$as_dir" && as_dir=.
 5226:   for ac_exec_ext in '' $ac_executable_extensions; do
 5227:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5228:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 5229:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5230:     break 2
 5231:   fi
 5232: done
 5233: done
 5234: 
 5235: fi
 5236: fi
 5237: F77=$ac_cv_prog_F77
 5238: if test -n "$F77"; then
 5239:   echo "$as_me:$LINENO: result: $F77" >&5
 5240: echo "${ECHO_T}$F77" >&6
 5241: else
 5242:   echo "$as_me:$LINENO: result: no" >&5
 5243: echo "${ECHO_T}no" >&6
 5244: fi
 5245: 
 5246:     test -n "$F77" && break
 5247:   done
 5248: fi
 5249: if test -z "$F77"; then
 5250:   ac_ct_F77=$F77
 5251:   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 5252: do
 5253:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5254: set dummy $ac_prog; ac_word=$2
 5255: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5256: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5257: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 5258:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5259: else
 5260:   if test -n "$ac_ct_F77"; then
 5261:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 5262: else
 5263: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5264: for as_dir in $PATH
 5265: do
 5266:   IFS=$as_save_IFS
 5267:   test -z "$as_dir" && as_dir=.
 5268:   for ac_exec_ext in '' $ac_executable_extensions; do
 5269:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5270:     ac_cv_prog_ac_ct_F77="$ac_prog"
 5271:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5272:     break 2
 5273:   fi
 5274: done
 5275: done
 5276: 
 5277: fi
 5278: fi
 5279: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 5280: if test -n "$ac_ct_F77"; then
 5281:   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 5282: echo "${ECHO_T}$ac_ct_F77" >&6
 5283: else
 5284:   echo "$as_me:$LINENO: result: no" >&5
 5285: echo "${ECHO_T}no" >&6
 5286: fi
 5287: 
 5288:   test -n "$ac_ct_F77" && break
 5289: done
 5290: 
 5291:   F77=$ac_ct_F77
 5292: fi
 5293: 
 5294: 
 5295: # Provide some information about the compiler.
 5296: echo "$as_me:5296:" \
 5297:      "checking for Fortran 77 compiler version" >&5
 5298: ac_compiler=`set X $ac_compile; echo $2`
 5299: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 5300:   (eval $ac_compiler --version </dev/null >&5) 2>&5
 5301:   ac_status=$?
 5302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5303:   (exit $ac_status); }
 5304: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 5305:   (eval $ac_compiler -v </dev/null >&5) 2>&5
 5306:   ac_status=$?
 5307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5308:   (exit $ac_status); }
 5309: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 5310:   (eval $ac_compiler -V </dev/null >&5) 2>&5
 5311:   ac_status=$?
 5312:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5313:   (exit $ac_status); }
 5314: rm -f a.out
 5315: 
 5316: # If we don't use `.F' as extension, the preprocessor is not run on the
 5317: # input file.  (Note that this only needs to work for GNU compilers.)
 5318: ac_save_ext=$ac_ext
 5319: ac_ext=F
 5320: echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 5321: echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 5322: if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 5323:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5324: else
 5325:   cat >conftest.$ac_ext <<_ACEOF
 5326:       program main
 5327: #ifndef __GNUC__
 5328:        choke me
 5329: #endif
 5330: 
 5331:       end
 5332: _ACEOF
 5333: rm -f conftest.$ac_objext
 5334: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5335:   (eval $ac_compile) 2>conftest.er1
 5336:   ac_status=$?
 5337:   grep -v '^ *+' conftest.er1 >conftest.err
 5338:   rm -f conftest.er1
 5339:   cat conftest.err >&5
 5340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5341:   (exit $ac_status); } &&
 5342: 	 { ac_try='test -z "$ac_f77_werror_flag"
 5343: 			 || test ! -s conftest.err'
 5344:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5345:   (eval $ac_try) 2>&5
 5346:   ac_status=$?
 5347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5348:   (exit $ac_status); }; } &&
 5349: 	 { ac_try='test -s conftest.$ac_objext'
 5350:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5351:   (eval $ac_try) 2>&5
 5352:   ac_status=$?
 5353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5354:   (exit $ac_status); }; }; then
 5355:   ac_compiler_gnu=yes
 5356: else
 5357:   echo "$as_me: failed program was:" >&5
 5358: sed 's/^/| /' conftest.$ac_ext >&5
 5359: 
 5360: ac_compiler_gnu=no
 5361: fi
 5362: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5363: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 5364: 
 5365: fi
 5366: echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 5367: echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 5368: ac_ext=$ac_save_ext
 5369: ac_test_FFLAGS=${FFLAGS+set}
 5370: ac_save_FFLAGS=$FFLAGS
 5371: FFLAGS=
 5372: echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 5373: echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 5374: if test "${ac_cv_prog_f77_g+set}" = set; then
 5375:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5376: else
 5377:   FFLAGS=-g
 5378: cat >conftest.$ac_ext <<_ACEOF
 5379:       program main
 5380: 
 5381:       end
 5382: _ACEOF
 5383: rm -f conftest.$ac_objext
 5384: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5385:   (eval $ac_compile) 2>conftest.er1
 5386:   ac_status=$?
 5387:   grep -v '^ *+' conftest.er1 >conftest.err
 5388:   rm -f conftest.er1
 5389:   cat conftest.err >&5
 5390:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5391:   (exit $ac_status); } &&
 5392: 	 { ac_try='test -z "$ac_f77_werror_flag"
 5393: 			 || test ! -s conftest.err'
 5394:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5395:   (eval $ac_try) 2>&5
 5396:   ac_status=$?
 5397:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5398:   (exit $ac_status); }; } &&
 5399: 	 { ac_try='test -s conftest.$ac_objext'
 5400:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5401:   (eval $ac_try) 2>&5
 5402:   ac_status=$?
 5403:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5404:   (exit $ac_status); }; }; then
 5405:   ac_cv_prog_f77_g=yes
 5406: else
 5407:   echo "$as_me: failed program was:" >&5
 5408: sed 's/^/| /' conftest.$ac_ext >&5
 5409: 
 5410: ac_cv_prog_f77_g=no
 5411: fi
 5412: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5413: 
 5414: fi
 5415: echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 5416: echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 5417: if test "$ac_test_FFLAGS" = set; then
 5418:   FFLAGS=$ac_save_FFLAGS
 5419: elif test $ac_cv_prog_f77_g = yes; then
 5420:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 5421:     FFLAGS="-g -O2"
 5422:   else
 5423:     FFLAGS="-g"
 5424:   fi
 5425: else
 5426:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 5427:     FFLAGS="-O2"
 5428:   else
 5429:     FFLAGS=
 5430:   fi
 5431: fi
 5432: 
 5433: G77=`test $ac_compiler_gnu = yes && echo yes`
 5434: ac_ext=c
 5435: ac_cpp='$CPP $CPPFLAGS'
 5436: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5437: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5438: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5439: 
 5440: 
 5441: 
 5442: # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 5443: 
 5444: # find the maximum length of command line arguments
 5445: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 5446: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 5447: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 5448:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5449: else
 5450:     i=0
 5451:   teststring="ABCD"
 5452: 
 5453:   case $build_os in
 5454:   msdosdjgpp*)
 5455:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 5456:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 5457:     # during glob expansion).  Even if it were fixed, the result of this
 5458:     # check would be larger than it should be.
 5459:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5460:     ;;
 5461: 
 5462:   gnu*)
 5463:     # Under GNU Hurd, this test is not required because there is
 5464:     # no limit to the length of command line arguments.
 5465:     # Libtool will interpret -1 as no limit whatsoever
 5466:     lt_cv_sys_max_cmd_len=-1;
 5467:     ;;
 5468: 
 5469:   cygwin* | mingw*)
 5470:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 5471:     # about 5 minutes as the teststring grows exponentially.
 5472:     # Worse, since 9x/ME are not pre-emptively multitasking,
 5473:     # you end up with a "frozen" computer, even though with patience
 5474:     # the test eventually succeeds (with a max line length of 256k).
 5475:     # Instead, let's just punt: use the minimum linelength reported by
 5476:     # all of the supported platforms: 8192 (on NT/2K/XP).
 5477:     lt_cv_sys_max_cmd_len=8192;
 5478:     ;;
 5479: 
 5480:   amigaos*)
 5481:     # On AmigaOS with pdksh, this test takes hours, literally.
 5482:     # So we just punt and use a minimum line length of 8192.
 5483:     lt_cv_sys_max_cmd_len=8192;
 5484:     ;;
 5485: 
 5486:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 5487:     # This has been around since 386BSD, at least.  Likely further.
 5488:     if test -x /sbin/sysctl; then
 5489:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5490:     elif test -x /usr/sbin/sysctl; then
 5491:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5492:     else
 5493:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 5494:     fi
 5495:     # And add a safety zone
 5496:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5497:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5498:     ;;
 5499: 
 5500:   interix*)
 5501:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5502:     lt_cv_sys_max_cmd_len=196608
 5503:     ;;
 5504: 
 5505:   osf*)
 5506:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5507:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5508:     # nice to cause kernel panics so lets avoid the loop below.
 5509:     # First set a reasonable default.
 5510:     lt_cv_sys_max_cmd_len=16384
 5511:     #
 5512:     if test -x /sbin/sysconfig; then
 5513:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5514:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5515:       esac
 5516:     fi
 5517:     ;;
 5518:   sco3.2v5*)
 5519:     lt_cv_sys_max_cmd_len=102400
 5520:     ;;
 5521:   sysv5* | sco5v6* | sysv4.2uw2*)
 5522:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5523:     if test -n "$kargmax"; then
 5524:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
 5525:     else
 5526:       lt_cv_sys_max_cmd_len=32768
 5527:     fi
 5528:     ;;
 5529:   *)
 5530:     # If test is not a shell built-in, we'll probably end up computing a
 5531:     # maximum length that is only half of the actual maximum length, but
 5532:     # we can't tell.
 5533:     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5534:     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 5535: 	       = "XX$teststring") >/dev/null 2>&1 &&
 5536: 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
 5537: 	    lt_cv_sys_max_cmd_len=$new_result &&
 5538: 	    test $i != 17 # 1/2 MB should be enough
 5539:     do
 5540:       i=`expr $i + 1`
 5541:       teststring=$teststring$teststring
 5542:     done
 5543:     teststring=
 5544:     # Add a significant safety factor because C++ compilers can tack on massive
 5545:     # amounts of additional arguments before passing them to the linker.
 5546:     # It appears as though 1/2 is a usable value.
 5547:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5548:     ;;
 5549:   esac
 5550: 
 5551: fi
 5552: 
 5553: if test -n $lt_cv_sys_max_cmd_len ; then
 5554:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 5555: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 5556: else
 5557:   echo "$as_me:$LINENO: result: none" >&5
 5558: echo "${ECHO_T}none" >&6
 5559: fi
 5560: 
 5561: 
 5562: 
 5563: 
 5564: # Check for command to grab the raw symbol name followed by C symbol from nm.
 5565: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 5566: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 5567: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 5568:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5569: else
 5570: 
 5571: # These are sane defaults that work on at least a few old systems.
 5572: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 5573: 
 5574: # Character class describing NM global symbol codes.
 5575: symcode='[BCDEGRST]'
 5576: 
 5577: # Regexp to match symbols that can be accessed directly from C.
 5578: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 5579: 
 5580: # Transform an extracted symbol line into a proper C declaration
 5581: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 5582: 
 5583: # Transform an extracted symbol line into symbol name and symbol address
 5584: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 5585: 
 5586: # Define system-specific variables.
 5587: case $host_os in
 5588: aix*)
 5589:   symcode='[BCDT]'
 5590:   ;;
 5591: cygwin* | mingw* | pw32*)
 5592:   symcode='[ABCDGISTW]'
 5593:   ;;
 5594: hpux*) # Its linker distinguishes data from code symbols
 5595:   if test "$host_cpu" = ia64; then
 5596:     symcode='[ABCDEGRST]'
 5597:   fi
 5598:   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 5599:   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 5600:   ;;
 5601: linux*)
 5602:   if test "$host_cpu" = ia64; then
 5603:     symcode='[ABCDGIRSTW]'
 5604:     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 5605:     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 5606:   fi
 5607:   ;;
 5608: irix* | nonstopux*)
 5609:   symcode='[BCDEGRST]'
 5610:   ;;
 5611: osf*)
 5612:   symcode='[BCDEGQRST]'
 5613:   ;;
 5614: solaris*)
 5615:   symcode='[BDRT]'
 5616:   ;;
 5617: sco3.2v5*)
 5618:   symcode='[DT]'
 5619:   ;;
 5620: sysv4.2uw2*)
 5621:   symcode='[DT]'
 5622:   ;;
 5623: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 5624:   symcode='[ABDT]'
 5625:   ;;
 5626: sysv4)
 5627:   symcode='[DFNSTU]'
 5628:   ;;
 5629: esac
 5630: 
 5631: # Handle CRLF in mingw tool chain
 5632: opt_cr=
 5633: case $build_os in
 5634: mingw*)
 5635:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 5636:   ;;
 5637: esac
 5638: 
 5639: # If we're using GNU nm, then use its standard symbol codes.
 5640: case `$NM -V 2>&1` in
 5641: *GNU* | *'with BFD'*)
 5642:   symcode='[ABCDGIRSTW]' ;;
 5643: esac
 5644: 
 5645: # Try without a prefix undercore, then with it.
 5646: for ac_symprfx in "" "_"; do
 5647: 
 5648:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 5649:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 5650: 
 5651:   # Write the raw and C identifiers.
 5652:   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 5653: 
 5654:   # Check to see that the pipe works correctly.
 5655:   pipe_works=no
 5656: 
 5657:   rm -f conftest*
 5658:   cat > conftest.$ac_ext <<EOF
 5659: #ifdef __cplusplus
 5660: extern "C" {
 5661: #endif
 5662: char nm_test_var;
 5663: void nm_test_func(){}
 5664: #ifdef __cplusplus
 5665: }
 5666: #endif
 5667: int main(){nm_test_var='a';nm_test_func();return(0);}
 5668: EOF
 5669: 
 5670:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5671:   (eval $ac_compile) 2>&5
 5672:   ac_status=$?
 5673:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5674:   (exit $ac_status); }; then
 5675:     # Now try to grab the symbols.
 5676:     nlist=conftest.nm
 5677:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 5678:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 5679:   ac_status=$?
 5680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5681:   (exit $ac_status); } && test -s "$nlist"; then
 5682:       # Try sorting and uniquifying the output.
 5683:       if sort "$nlist" | uniq > "$nlist"T; then
 5684: 	mv -f "$nlist"T "$nlist"
 5685:       else
 5686: 	rm -f "$nlist"T
 5687:       fi
 5688: 
 5689:       # Make sure that we snagged all the symbols we need.
 5690:       if grep ' nm_test_var$' "$nlist" >/dev/null; then
 5691: 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
 5692: 	  cat <<EOF > conftest.$ac_ext
 5693: #ifdef __cplusplus
 5694: extern "C" {
 5695: #endif
 5696: 
 5697: EOF
 5698: 	  # Now generate the symbol file.
 5699: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 5700: 
 5701: 	  cat <<EOF >> conftest.$ac_ext
 5702: #if defined (__STDC__) && __STDC__
 5703: # define lt_ptr_t void *
 5704: #else
 5705: # define lt_ptr_t char *
 5706: # define const
 5707: #endif
 5708: 
 5709: /* The mapping between symbol names and symbols. */
 5710: const struct {
 5711:   const char *name;
 5712:   lt_ptr_t address;
 5713: }
 5714: lt_preloaded_symbols[] =
 5715: {
 5716: EOF
 5717: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 5718: 	  cat <<\EOF >> conftest.$ac_ext
 5719:   {0, (lt_ptr_t) 0}
 5720: };
 5721: 
 5722: #ifdef __cplusplus
 5723: }
 5724: #endif
 5725: EOF
 5726: 	  # Now try linking the two files.
 5727: 	  mv conftest.$ac_objext conftstm.$ac_objext
 5728: 	  lt_save_LIBS="$LIBS"
 5729: 	  lt_save_CFLAGS="$CFLAGS"
 5730: 	  LIBS="conftstm.$ac_objext"
 5731: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 5732: 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5733:   (eval $ac_link) 2>&5
 5734:   ac_status=$?
 5735:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5736:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
 5737: 	    pipe_works=yes
 5738: 	  fi
 5739: 	  LIBS="$lt_save_LIBS"
 5740: 	  CFLAGS="$lt_save_CFLAGS"
 5741: 	else
 5742: 	  echo "cannot find nm_test_func in $nlist" >&5
 5743: 	fi
 5744:       else
 5745: 	echo "cannot find nm_test_var in $nlist" >&5
 5746:       fi
 5747:     else
 5748:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 5749:     fi
 5750:   else
 5751:     echo "$progname: failed program was:" >&5
 5752:     cat conftest.$ac_ext >&5
 5753:   fi
 5754:   rm -f conftest* conftst*
 5755: 
 5756:   # Do not use the global_symbol_pipe unless it works.
 5757:   if test "$pipe_works" = yes; then
 5758:     break
 5759:   else
 5760:     lt_cv_sys_global_symbol_pipe=
 5761:   fi
 5762: done
 5763: 
 5764: fi
 5765: 
 5766: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 5767:   lt_cv_sys_global_symbol_to_cdecl=
 5768: fi
 5769: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 5770:   echo "$as_me:$LINENO: result: failed" >&5
 5771: echo "${ECHO_T}failed" >&6
 5772: else
 5773:   echo "$as_me:$LINENO: result: ok" >&5
 5774: echo "${ECHO_T}ok" >&6
 5775: fi
 5776: 
 5777: echo "$as_me:$LINENO: checking for objdir" >&5
 5778: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 5779: if test "${lt_cv_objdir+set}" = set; then
 5780:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5781: else
 5782:   rm -f .libs 2>/dev/null
 5783: mkdir .libs 2>/dev/null
 5784: if test -d .libs; then
 5785:   lt_cv_objdir=.libs
 5786: else
 5787:   # MS-DOS does not allow filenames that begin with a dot.
 5788:   lt_cv_objdir=_libs
 5789: fi
 5790: rmdir .libs 2>/dev/null
 5791: fi
 5792: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 5793: echo "${ECHO_T}$lt_cv_objdir" >&6
 5794: objdir=$lt_cv_objdir
 5795: 
 5796: 
 5797: 
 5798: 
 5799: 
 5800: case $host_os in
 5801: aix3*)
 5802:   # AIX sometimes has problems with the GCC collect2 program.  For some
 5803:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 5804:   # vanish in a puff of smoke.
 5805:   if test "X${COLLECT_NAMES+set}" != Xset; then
 5806:     COLLECT_NAMES=
 5807:     export COLLECT_NAMES
 5808:   fi
 5809:   ;;
 5810: esac
 5811: 
 5812: # Sed substitution that helps us do robust quoting.  It backslashifies
 5813: # metacharacters that are still active within double-quoted strings.
 5814: Xsed='sed -e 1s/^X//'
 5815: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 5816: 
 5817: # Same as above, but do not quote variable references.
 5818: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 5819: 
 5820: # Sed substitution to delay expansion of an escaped shell variable in a
 5821: # double_quote_subst'ed string.
 5822: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 5823: 
 5824: # Sed substitution to avoid accidental globbing in evaled expressions
 5825: no_glob_subst='s/\*/\\\*/g'
 5826: 
 5827: # Constants:
 5828: rm="rm -f"
 5829: 
 5830: # Global variables:
 5831: default_ofile=libtool
 5832: can_build_shared=yes
 5833: 
 5834: # All known linkers require a `.a' archive for static linking (except MSVC,
 5835: # which needs '.lib').
 5836: libext=a
 5837: ltmain="$ac_aux_dir/ltmain.sh"
 5838: ofile="$default_ofile"
 5839: with_gnu_ld="$lt_cv_prog_gnu_ld"
 5840: 
 5841: if test -n "$ac_tool_prefix"; then
 5842:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 5843: set dummy ${ac_tool_prefix}ar; ac_word=$2
 5844: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5845: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5846: if test "${ac_cv_prog_AR+set}" = set; then
 5847:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5848: else
 5849:   if test -n "$AR"; then
 5850:   ac_cv_prog_AR="$AR" # Let the user override the test.
 5851: else
 5852: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5853: for as_dir in $PATH
 5854: do
 5855:   IFS=$as_save_IFS
 5856:   test -z "$as_dir" && as_dir=.
 5857:   for ac_exec_ext in '' $ac_executable_extensions; do
 5858:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5859:     ac_cv_prog_AR="${ac_tool_prefix}ar"
 5860:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5861:     break 2
 5862:   fi
 5863: done
 5864: done
 5865: 
 5866: fi
 5867: fi
 5868: AR=$ac_cv_prog_AR
 5869: if test -n "$AR"; then
 5870:   echo "$as_me:$LINENO: result: $AR" >&5
 5871: echo "${ECHO_T}$AR" >&6
 5872: else
 5873:   echo "$as_me:$LINENO: result: no" >&5
 5874: echo "${ECHO_T}no" >&6
 5875: fi
 5876: 
 5877: fi
 5878: if test -z "$ac_cv_prog_AR"; then
 5879:   ac_ct_AR=$AR
 5880:   # Extract the first word of "ar", so it can be a program name with args.
 5881: set dummy ar; ac_word=$2
 5882: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5883: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5884: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 5885:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5886: else
 5887:   if test -n "$ac_ct_AR"; then
 5888:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5889: else
 5890: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5891: for as_dir in $PATH
 5892: do
 5893:   IFS=$as_save_IFS
 5894:   test -z "$as_dir" && as_dir=.
 5895:   for ac_exec_ext in '' $ac_executable_extensions; do
 5896:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5897:     ac_cv_prog_ac_ct_AR="ar"
 5898:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5899:     break 2
 5900:   fi
 5901: done
 5902: done
 5903: 
 5904:   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
 5905: fi
 5906: fi
 5907: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5908: if test -n "$ac_ct_AR"; then
 5909:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 5910: echo "${ECHO_T}$ac_ct_AR" >&6
 5911: else
 5912:   echo "$as_me:$LINENO: result: no" >&5
 5913: echo "${ECHO_T}no" >&6
 5914: fi
 5915: 
 5916:   AR=$ac_ct_AR
 5917: else
 5918:   AR="$ac_cv_prog_AR"
 5919: fi
 5920: 
 5921: if test -n "$ac_tool_prefix"; then
 5922:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5923: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5924: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5925: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5926: if test "${ac_cv_prog_RANLIB+set}" = set; then
 5927:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5928: else
 5929:   if test -n "$RANLIB"; then
 5930:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5931: else
 5932: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5933: for as_dir in $PATH
 5934: do
 5935:   IFS=$as_save_IFS
 5936:   test -z "$as_dir" && as_dir=.
 5937:   for ac_exec_ext in '' $ac_executable_extensions; do
 5938:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5939:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5940:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5941:     break 2
 5942:   fi
 5943: done
 5944: done
 5945: 
 5946: fi
 5947: fi
 5948: RANLIB=$ac_cv_prog_RANLIB
 5949: if test -n "$RANLIB"; then
 5950:   echo "$as_me:$LINENO: result: $RANLIB" >&5
 5951: echo "${ECHO_T}$RANLIB" >&6
 5952: else
 5953:   echo "$as_me:$LINENO: result: no" >&5
 5954: echo "${ECHO_T}no" >&6
 5955: fi
 5956: 
 5957: fi
 5958: if test -z "$ac_cv_prog_RANLIB"; then
 5959:   ac_ct_RANLIB=$RANLIB
 5960:   # Extract the first word of "ranlib", so it can be a program name with args.
 5961: set dummy ranlib; ac_word=$2
 5962: echo "$as_me:$LINENO: checking for $ac_word" >&5
 5963: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5964: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 5965:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5966: else
 5967:   if test -n "$ac_ct_RANLIB"; then
 5968:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5969: else
 5970: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5971: for as_dir in $PATH
 5972: do
 5973:   IFS=$as_save_IFS
 5974:   test -z "$as_dir" && as_dir=.
 5975:   for ac_exec_ext in '' $ac_executable_extensions; do
 5976:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5977:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 5978:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5979:     break 2
 5980:   fi
 5981: done
 5982: done
 5983: 
 5984:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 5985: fi
 5986: fi
 5987: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5988: if test -n "$ac_ct_RANLIB"; then
 5989:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 5990: echo "${ECHO_T}$ac_ct_RANLIB" >&6
 5991: else
 5992:   echo "$as_me:$LINENO: result: no" >&5
 5993: echo "${ECHO_T}no" >&6
 5994: fi
 5995: 
 5996:   RANLIB=$ac_ct_RANLIB
 5997: else
 5998:   RANLIB="$ac_cv_prog_RANLIB"
 5999: fi
 6000: 
 6001: if test -n "$ac_tool_prefix"; then
 6002:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 6003: set dummy ${ac_tool_prefix}strip; ac_word=$2
 6004: echo "$as_me:$LINENO: checking for $ac_word" >&5
 6005: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 6006: if test "${ac_cv_prog_STRIP+set}" = set; then
 6007:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6008: else
 6009:   if test -n "$STRIP"; then
 6010:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 6011: else
 6012: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6013: for as_dir in $PATH
 6014: do
 6015:   IFS=$as_save_IFS
 6016:   test -z "$as_dir" && as_dir=.
 6017:   for ac_exec_ext in '' $ac_executable_extensions; do
 6018:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6019:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6020:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6021:     break 2
 6022:   fi
 6023: done
 6024: done
 6025: 
 6026: fi
 6027: fi
 6028: STRIP=$ac_cv_prog_STRIP
 6029: if test -n "$STRIP"; then
 6030:   echo "$as_me:$LINENO: result: $STRIP" >&5
 6031: echo "${ECHO_T}$STRIP" >&6
 6032: else
 6033:   echo "$as_me:$LINENO: result: no" >&5
 6034: echo "${ECHO_T}no" >&6
 6035: fi
 6036: 
 6037: fi
 6038: if test -z "$ac_cv_prog_STRIP"; then
 6039:   ac_ct_STRIP=$STRIP
 6040:   # Extract the first word of "strip", so it can be a program name with args.
 6041: set dummy strip; ac_word=$2
 6042: echo "$as_me:$LINENO: checking for $ac_word" >&5
 6043: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 6044: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 6045:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6046: else
 6047:   if test -n "$ac_ct_STRIP"; then
 6048:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 6049: else
 6050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6051: for as_dir in $PATH
 6052: do
 6053:   IFS=$as_save_IFS
 6054:   test -z "$as_dir" && as_dir=.
 6055:   for ac_exec_ext in '' $ac_executable_extensions; do
 6056:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6057:     ac_cv_prog_ac_ct_STRIP="strip"
 6058:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6059:     break 2
 6060:   fi
 6061: done
 6062: done
 6063: 
 6064:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 6065: fi
 6066: fi
 6067: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 6068: if test -n "$ac_ct_STRIP"; then
 6069:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 6070: echo "${ECHO_T}$ac_ct_STRIP" >&6
 6071: else
 6072:   echo "$as_me:$LINENO: result: no" >&5
 6073: echo "${ECHO_T}no" >&6
 6074: fi
 6075: 
 6076:   STRIP=$ac_ct_STRIP
 6077: else
 6078:   STRIP="$ac_cv_prog_STRIP"
 6079: fi
 6080: 
 6081: 
 6082: old_CC="$CC"
 6083: old_CFLAGS="$CFLAGS"
 6084: 
 6085: # Set sane defaults for various variables
 6086: test -z "$AR" && AR=ar
 6087: test -z "$AR_FLAGS" && AR_FLAGS=cru
 6088: test -z "$AS" && AS=as
 6089: test -z "$CC" && CC=cc
 6090: test -z "$LTCC" && LTCC=$CC
 6091: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 6092: test -z "$DLLTOOL" && DLLTOOL=dlltool
 6093: test -z "$LD" && LD=ld
 6094: test -z "$LN_S" && LN_S="ln -s"
 6095: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 6096: test -z "$NM" && NM=nm
 6097: test -z "$SED" && SED=sed
 6098: test -z "$OBJDUMP" && OBJDUMP=objdump
 6099: test -z "$RANLIB" && RANLIB=:
 6100: test -z "$STRIP" && STRIP=:
 6101: test -z "$ac_objext" && ac_objext=o
 6102: 
 6103: # Determine commands to create old-style static archives.
 6104: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 6105: old_postinstall_cmds='chmod 644 $oldlib'
 6106: old_postuninstall_cmds=
 6107: 
 6108: if test -n "$RANLIB"; then
 6109:   case $host_os in
 6110:   openbsd*)
 6111:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 6112:     ;;
 6113:   *)
 6114:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 6115:     ;;
 6116:   esac
 6117:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 6118: fi
 6119: 
 6120: for cc_temp in $compiler""; do
 6121:   case $cc_temp in
 6122:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6123:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6124:     \-*) ;;
 6125:     *) break;;
 6126:   esac
 6127: done
 6128: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 6129: 
 6130: 
 6131: # Only perform the check for file, if the check method requires it
 6132: case $deplibs_check_method in
 6133: file_magic*)
 6134:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 6135:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 6136: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 6137: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6138:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6139: else
 6140:   case $MAGIC_CMD in
 6141: [\\/*] |  ?:[\\/]*)
 6142:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6143:   ;;
 6144: *)
 6145:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 6146:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6147:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6148:   for ac_dir in $ac_dummy; do
 6149:     IFS="$lt_save_ifs"
 6150:     test -z "$ac_dir" && ac_dir=.
 6151:     if test -f $ac_dir/${ac_tool_prefix}file; then
 6152:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 6153:       if test -n "$file_magic_test_file"; then
 6154: 	case $deplibs_check_method in
 6155: 	"file_magic "*)
 6156: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6157: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6158: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6159: 	    $EGREP "$file_magic_regex" > /dev/null; then
 6160: 	    :
 6161: 	  else
 6162: 	    cat <<EOF 1>&2
 6163: 
 6164: *** Warning: the command libtool uses to detect shared libraries,
 6165: *** $file_magic_cmd, produces output that libtool cannot recognize.
 6166: *** The result is that libtool may fail to recognize shared libraries
 6167: *** as such.  This will affect the creation of libtool libraries that
 6168: *** depend on shared libraries, but programs linked with such libtool
 6169: *** libraries will work regardless of this problem.  Nevertheless, you
 6170: *** may want to report the problem to your system manager and/or to
 6171: *** bug-libtool@gnu.org
 6172: 
 6173: EOF
 6174: 	  fi ;;
 6175: 	esac
 6176:       fi
 6177:       break
 6178:     fi
 6179:   done
 6180:   IFS="$lt_save_ifs"
 6181:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 6182:   ;;
 6183: esac
 6184: fi
 6185: 
 6186: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6187: if test -n "$MAGIC_CMD"; then
 6188:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6189: echo "${ECHO_T}$MAGIC_CMD" >&6
 6190: else
 6191:   echo "$as_me:$LINENO: result: no" >&5
 6192: echo "${ECHO_T}no" >&6
 6193: fi
 6194: 
 6195: if test -z "$lt_cv_path_MAGIC_CMD"; then
 6196:   if test -n "$ac_tool_prefix"; then
 6197:     echo "$as_me:$LINENO: checking for file" >&5
 6198: echo $ECHO_N "checking for file... $ECHO_C" >&6
 6199: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6200:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6201: else
 6202:   case $MAGIC_CMD in
 6203: [\\/*] |  ?:[\\/]*)
 6204:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6205:   ;;
 6206: *)
 6207:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 6208:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6209:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6210:   for ac_dir in $ac_dummy; do
 6211:     IFS="$lt_save_ifs"
 6212:     test -z "$ac_dir" && ac_dir=.
 6213:     if test -f $ac_dir/file; then
 6214:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 6215:       if test -n "$file_magic_test_file"; then
 6216: 	case $deplibs_check_method in
 6217: 	"file_magic "*)
 6218: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6219: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6220: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6221: 	    $EGREP "$file_magic_regex" > /dev/null; then
 6222: 	    :
 6223: 	  else
 6224: 	    cat <<EOF 1>&2
 6225: 
 6226: *** Warning: the command libtool uses to detect shared libraries,
 6227: *** $file_magic_cmd, produces output that libtool cannot recognize.
 6228: *** The result is that libtool may fail to recognize shared libraries
 6229: *** as such.  This will affect the creation of libtool libraries that
 6230: *** depend on shared libraries, but programs linked with such libtool
 6231: *** libraries will work regardless of this problem.  Nevertheless, you
 6232: *** may want to report the problem to your system manager and/or to
 6233: *** bug-libtool@gnu.org
 6234: 
 6235: EOF
 6236: 	  fi ;;
 6237: 	esac
 6238:       fi
 6239:       break
 6240:     fi
 6241:   done
 6242:   IFS="$lt_save_ifs"
 6243:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 6244:   ;;
 6245: esac
 6246: fi
 6247: 
 6248: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6249: if test -n "$MAGIC_CMD"; then
 6250:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6251: echo "${ECHO_T}$MAGIC_CMD" >&6
 6252: else
 6253:   echo "$as_me:$LINENO: result: no" >&5
 6254: echo "${ECHO_T}no" >&6
 6255: fi
 6256: 
 6257:   else
 6258:     MAGIC_CMD=:
 6259:   fi
 6260: fi
 6261: 
 6262:   fi
 6263:   ;;
 6264: esac
 6265: 
 6266: enable_dlopen=no
 6267: enable_win32_dll=yes
 6268: 
 6269: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 6270: if test "${enable_libtool_lock+set}" = set; then
 6271:   enableval="$enable_libtool_lock"
 6272: 
 6273: fi;
 6274: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6275: 
 6276: 
 6277: # Check whether --with-pic or --without-pic was given.
 6278: if test "${with_pic+set}" = set; then
 6279:   withval="$with_pic"
 6280:   pic_mode="$withval"
 6281: else
 6282:   pic_mode=default
 6283: fi;
 6284: test -z "$pic_mode" && pic_mode=default
 6285: 
 6286: # Use C for the default configuration in the libtool script
 6287: tagname=
 6288: lt_save_CC="$CC"
 6289: ac_ext=c
 6290: ac_cpp='$CPP $CPPFLAGS'
 6291: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6292: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6293: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6294: 
 6295: 
 6296: # Source file extension for C test sources.
 6297: ac_ext=c
 6298: 
 6299: # Object file extension for compiled C test sources.
 6300: objext=o
 6301: objext=$objext
 6302: 
 6303: # Code to be used in simple compile tests
 6304: lt_simple_compile_test_code="int some_variable = 0;\n"
 6305: 
 6306: # Code to be used in simple link tests
 6307: lt_simple_link_test_code='int main(){return(0);}\n'
 6308: 
 6309: 
 6310: # If no C compiler was specified, use CC.
 6311: LTCC=${LTCC-"$CC"}
 6312: 
 6313: # If no C compiler flags were specified, use CFLAGS.
 6314: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 6315: 
 6316: # Allow CC to be a program name with arguments.
 6317: compiler=$CC
 6318: 
 6319: 
 6320: # save warnings/boilerplate of simple test code
 6321: ac_outfile=conftest.$ac_objext
 6322: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 6323: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6324: _lt_compiler_boilerplate=`cat conftest.err`
 6325: $rm conftest*
 6326: 
 6327: ac_outfile=conftest.$ac_objext
 6328: printf "$lt_simple_link_test_code" >conftest.$ac_ext
 6329: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6330: _lt_linker_boilerplate=`cat conftest.err`
 6331: $rm conftest*
 6332: 
 6333: 
 6334: ## CAVEAT EMPTOR:
 6335: ## There is no encapsulation within the following macros, do not change
 6336: ## the running order or otherwise move them around unless you know exactly
 6337: ## what you are doing...
 6338: 
 6339: lt_prog_compiler_no_builtin_flag=
 6340: 
 6341: if test "$GCC" = yes; then
 6342:   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 6343: 
 6344: 
 6345: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 6346: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 6347: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 6348:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6349: else
 6350:   lt_cv_prog_compiler_rtti_exceptions=no
 6351:   ac_outfile=conftest.$ac_objext
 6352:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6353:    lt_compiler_flag="-fno-rtti -fno-exceptions"
 6354:    # Insert the option either (1) after the last *FLAGS variable, or
 6355:    # (2) before a word containing "conftest.", or (3) at the end.
 6356:    # Note that $ac_compile itself does not contain backslashes and begins
 6357:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 6358:    # The option is referenced via a variable to avoid confusing sed.
 6359:    lt_compile=`echo "$ac_compile" | $SED \
 6360:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6361:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6362:    -e 's:$: $lt_compiler_flag:'`
 6363:    (eval echo "\"\$as_me:6363: $lt_compile\"" >&5)
 6364:    (eval "$lt_compile" 2>conftest.err)
 6365:    ac_status=$?
 6366:    cat conftest.err >&5
 6367:    echo "$as_me:6367: \$? = $ac_status" >&5
 6368:    if (exit $ac_status) && test -s "$ac_outfile"; then
 6369:      # The compiler can only warn and ignore the option if not recognized
 6370:      # So say no if there are warnings other than the usual output.
 6371:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 6372:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6373:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 6374:        lt_cv_prog_compiler_rtti_exceptions=yes
 6375:      fi
 6376:    fi
 6377:    $rm conftest*
 6378: 
 6379: fi
 6380: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 6381: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 6382: 
 6383: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 6384:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 6385: else
 6386:     :
 6387: fi
 6388: 
 6389: fi
 6390: 
 6391: lt_prog_compiler_wl=
 6392: lt_prog_compiler_pic=
 6393: lt_prog_compiler_static=
 6394: 
 6395: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 6396: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 6397: 
 6398:   if test "$GCC" = yes; then
 6399:     lt_prog_compiler_wl='-Wl,'
 6400:     lt_prog_compiler_static='-static'
 6401: 
 6402:     case $host_os in
 6403:       aix*)
 6404:       # All AIX code is PIC.
 6405:       if test "$host_cpu" = ia64; then
 6406: 	# AIX 5 now supports IA64 processor
 6407: 	lt_prog_compiler_static='-Bstatic'
 6408:       fi
 6409:       ;;
 6410: 
 6411:     amigaos*)
 6412:       # FIXME: we need at least 68020 code to build shared libraries, but
 6413:       # adding the `-m68020' flag to GCC prevents building anything better,
 6414:       # like `-m68040'.
 6415:       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 6416:       ;;
 6417: 
 6418:     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 6419:       # PIC is the default for these OSes.
 6420:       ;;
 6421: 
 6422:     mingw* | pw32* | os2*)
 6423:       # This hack is so that the source file can tell whether it is being
 6424:       # built for inclusion in a dll (and should export symbols for example).
 6425:       lt_prog_compiler_pic='-DDLL_EXPORT'
 6426:       ;;
 6427: 
 6428:     darwin* | rhapsody*)
 6429:       # PIC is the default on this platform
 6430:       # Common symbols not allowed in MH_DYLIB files
 6431:       lt_prog_compiler_pic='-fno-common'
 6432:       ;;
 6433: 
 6434:     interix3*)
 6435:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 6436:       # Instead, we relocate shared libraries at runtime.
 6437:       ;;
 6438: 
 6439:     msdosdjgpp*)
 6440:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 6441:       # on systems that don't support them.
 6442:       lt_prog_compiler_can_build_shared=no
 6443:       enable_shared=no
 6444:       ;;
 6445: 
 6446:     sysv4*MP*)
 6447:       if test -d /usr/nec; then
 6448: 	lt_prog_compiler_pic=-Kconform_pic
 6449:       fi
 6450:       ;;
 6451: 
 6452:     hpux*)
 6453:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 6454:       # not for PA HP-UX.
 6455:       case $host_cpu in
 6456:       hppa*64*|ia64*)
 6457: 	# +Z the default
 6458: 	;;
 6459:       *)
 6460: 	lt_prog_compiler_pic='-fPIC'
 6461: 	;;
 6462:       esac
 6463:       ;;
 6464: 
 6465:     *)
 6466:       lt_prog_compiler_pic='-fPIC'
 6467:       ;;
 6468:     esac
 6469:   else
 6470:     # PORTME Check for flag to pass linker flags through the system compiler.
 6471:     case $host_os in
 6472:     aix*)
 6473:       lt_prog_compiler_wl='-Wl,'
 6474:       if test "$host_cpu" = ia64; then
 6475: 	# AIX 5 now supports IA64 processor
 6476: 	lt_prog_compiler_static='-Bstatic'
 6477:       else
 6478: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 6479:       fi
 6480:       ;;
 6481:       darwin*)
 6482:         # PIC is the default on this platform
 6483:         # Common symbols not allowed in MH_DYLIB files
 6484:        case $cc_basename in
 6485:          xlc*)
 6486:          lt_prog_compiler_pic='-qnocommon'
 6487:          lt_prog_compiler_wl='-Wl,'
 6488:          ;;
 6489:        esac
 6490:        ;;
 6491: 
 6492:     mingw* | pw32* | os2*)
 6493:       # This hack is so that the source file can tell whether it is being
 6494:       # built for inclusion in a dll (and should export symbols for example).
 6495:       lt_prog_compiler_pic='-DDLL_EXPORT'
 6496:       ;;
 6497: 
 6498:     hpux9* | hpux10* | hpux11*)
 6499:       lt_prog_compiler_wl='-Wl,'
 6500:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 6501:       # not for PA HP-UX.
 6502:       case $host_cpu in
 6503:       hppa*64*|ia64*)
 6504: 	# +Z the default
 6505: 	;;
 6506:       *)
 6507: 	lt_prog_compiler_pic='+Z'
 6508: 	;;
 6509:       esac
 6510:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 6511:       lt_prog_compiler_static='${wl}-a ${wl}archive'
 6512:       ;;
 6513: 
 6514:     irix5* | irix6* | nonstopux*)
 6515:       lt_prog_compiler_wl='-Wl,'
 6516:       # PIC (with -KPIC) is the default.
 6517:       lt_prog_compiler_static='-non_shared'
 6518:       ;;
 6519: 
 6520:     newsos6)
 6521:       lt_prog_compiler_pic='-KPIC'
 6522:       lt_prog_compiler_static='-Bstatic'
 6523:       ;;
 6524: 
 6525:     linux*)
 6526:       case $cc_basename in
 6527:       icc* | ecc*)
 6528: 	lt_prog_compiler_wl='-Wl,'
 6529: 	lt_prog_compiler_pic='-KPIC'
 6530: 	lt_prog_compiler_static='-static'
 6531:         ;;
 6532:       pgcc* | pgf77* | pgf90* | pgf95*)
 6533:         # Portland Group compilers (*not* the Pentium gcc compiler,
 6534: 	# which looks to be a dead project)
 6535: 	lt_prog_compiler_wl='-Wl,'
 6536: 	lt_prog_compiler_pic='-fpic'
 6537: 	lt_prog_compiler_static='-Bstatic'
 6538:         ;;
 6539:       ccc*)
 6540:         lt_prog_compiler_wl='-Wl,'
 6541:         # All Alpha code is PIC.
 6542:         lt_prog_compiler_static='-non_shared'
 6543:         ;;
 6544:       esac
 6545:       ;;
 6546: 
 6547:     osf3* | osf4* | osf5*)
 6548:       lt_prog_compiler_wl='-Wl,'
 6549:       # All OSF/1 code is PIC.
 6550:       lt_prog_compiler_static='-non_shared'
 6551:       ;;
 6552: 
 6553:     solaris*)
 6554:       lt_prog_compiler_pic='-KPIC'
 6555:       lt_prog_compiler_static='-Bstatic'
 6556:       case $cc_basename in
 6557:       f77* | f90* | f95*)
 6558: 	lt_prog_compiler_wl='-Qoption ld ';;
 6559:       *)
 6560: 	lt_prog_compiler_wl='-Wl,';;
 6561:       esac
 6562:       ;;
 6563: 
 6564:     sunos4*)
 6565:       lt_prog_compiler_wl='-Qoption ld '
 6566:       lt_prog_compiler_pic='-PIC'
 6567:       lt_prog_compiler_static='-Bstatic'
 6568:       ;;
 6569: 
 6570:     sysv4 | sysv4.2uw2* | sysv4.3*)
 6571:       lt_prog_compiler_wl='-Wl,'
 6572:       lt_prog_compiler_pic='-KPIC'
 6573:       lt_prog_compiler_static='-Bstatic'
 6574:       ;;
 6575: 
 6576:     sysv4*MP*)
 6577:       if test -d /usr/nec ;then
 6578: 	lt_prog_compiler_pic='-Kconform_pic'
 6579: 	lt_prog_compiler_static='-Bstatic'
 6580:       fi
 6581:       ;;
 6582: 
 6583:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 6584:       lt_prog_compiler_wl='-Wl,'
 6585:       lt_prog_compiler_pic='-KPIC'
 6586:       lt_prog_compiler_static='-Bstatic'
 6587:       ;;
 6588: 
 6589:     unicos*)
 6590:       lt_prog_compiler_wl='-Wl,'
 6591:       lt_prog_compiler_can_build_shared=no
 6592:       ;;
 6593: 
 6594:     uts4*)
 6595:       lt_prog_compiler_pic='-pic'
 6596:       lt_prog_compiler_static='-Bstatic'
 6597:       ;;
 6598: 
 6599:     *)
 6600:       lt_prog_compiler_can_build_shared=no
 6601:       ;;
 6602:     esac
 6603:   fi
 6604: 
 6605: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 6606: echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 6607: 
 6608: #
 6609: # Check to make sure the PIC flag actually works.
 6610: #
 6611: if test -n "$lt_prog_compiler_pic"; then
 6612: 
 6613: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 6614: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 6615: if test "${lt_prog_compiler_pic_works+set}" = set; then
 6616:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6617: else
 6618:   lt_prog_compiler_pic_works=no
 6619:   ac_outfile=conftest.$ac_objext
 6620:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6621:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 6622:    # Insert the option either (1) after the last *FLAGS variable, or
 6623:    # (2) before a word containing "conftest.", or (3) at the end.
 6624:    # Note that $ac_compile itself does not contain backslashes and begins
 6625:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 6626:    # The option is referenced via a variable to avoid confusing sed.
 6627:    lt_compile=`echo "$ac_compile" | $SED \
 6628:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6629:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6630:    -e 's:$: $lt_compiler_flag:'`
 6631:    (eval echo "\"\$as_me:6631: $lt_compile\"" >&5)
 6632:    (eval "$lt_compile" 2>conftest.err)
 6633:    ac_status=$?
 6634:    cat conftest.err >&5
 6635:    echo "$as_me:6635: \$? = $ac_status" >&5
 6636:    if (exit $ac_status) && test -s "$ac_outfile"; then
 6637:      # The compiler can only warn and ignore the option if not recognized
 6638:      # So say no if there are warnings other than the usual output.
 6639:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 6640:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6641:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 6642:        lt_prog_compiler_pic_works=yes
 6643:      fi
 6644:    fi
 6645:    $rm conftest*
 6646: 
 6647: fi
 6648: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 6649: echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 6650: 
 6651: if test x"$lt_prog_compiler_pic_works" = xyes; then
 6652:     case $lt_prog_compiler_pic in
 6653:      "" | " "*) ;;
 6654:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 6655:      esac
 6656: else
 6657:     lt_prog_compiler_pic=
 6658:      lt_prog_compiler_can_build_shared=no
 6659: fi
 6660: 
 6661: fi
 6662: case $host_os in
 6663:   # For platforms which do not support PIC, -DPIC is meaningless:
 6664:   *djgpp*)
 6665:     lt_prog_compiler_pic=
 6666:     ;;
 6667:   *)
 6668:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 6669:     ;;
 6670: esac
 6671: 
 6672: #
 6673: # Check to make sure the static flag actually works.
 6674: #
 6675: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 6676: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 6677: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 6678: if test "${lt_prog_compiler_static_works+set}" = set; then
 6679:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6680: else
 6681:   lt_prog_compiler_static_works=no
 6682:    save_LDFLAGS="$LDFLAGS"
 6683:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 6684:    printf "$lt_simple_link_test_code" > conftest.$ac_ext
 6685:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 6686:      # The linker can only warn and ignore the option if not recognized
 6687:      # So say no if there are warnings
 6688:      if test -s conftest.err; then
 6689:        # Append any errors to the config.log.
 6690:        cat conftest.err 1>&5
 6691:        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 6692:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6693:        if diff conftest.exp conftest.er2 >/dev/null; then
 6694:          lt_prog_compiler_static_works=yes
 6695:        fi
 6696:      else
 6697:        lt_prog_compiler_static_works=yes
 6698:      fi
 6699:    fi
 6700:    $rm conftest*
 6701:    LDFLAGS="$save_LDFLAGS"
 6702: 
 6703: fi
 6704: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 6705: echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 6706: 
 6707: if test x"$lt_prog_compiler_static_works" = xyes; then
 6708:     :
 6709: else
 6710:     lt_prog_compiler_static=
 6711: fi
 6712: 
 6713: 
 6714: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 6715: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 6716: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 6717:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6718: else
 6719:   lt_cv_prog_compiler_c_o=no
 6720:    $rm -r conftest 2>/dev/null
 6721:    mkdir conftest
 6722:    cd conftest
 6723:    mkdir out
 6724:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6725: 
 6726:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 6727:    # Insert the option either (1) after the last *FLAGS variable, or
 6728:    # (2) before a word containing "conftest.", or (3) at the end.
 6729:    # Note that $ac_compile itself does not contain backslashes and begins
 6730:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 6731:    lt_compile=`echo "$ac_compile" | $SED \
 6732:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6733:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6734:    -e 's:$: $lt_compiler_flag:'`
 6735:    (eval echo "\"\$as_me:6735: $lt_compile\"" >&5)
 6736:    (eval "$lt_compile" 2>out/conftest.err)
 6737:    ac_status=$?
 6738:    cat out/conftest.err >&5
 6739:    echo "$as_me:6739: \$? = $ac_status" >&5
 6740:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 6741:    then
 6742:      # The compiler can only warn and ignore the option if not recognized
 6743:      # So say no if there are warnings
 6744:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 6745:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 6746:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 6747:        lt_cv_prog_compiler_c_o=yes
 6748:      fi
 6749:    fi
 6750:    chmod u+w . 2>&5
 6751:    $rm conftest*
 6752:    # SGI C++ compiler will create directory out/ii_files/ for
 6753:    # template instantiation
 6754:    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 6755:    $rm out/* && rmdir out
 6756:    cd ..
 6757:    rmdir conftest
 6758:    $rm conftest*
 6759: 
 6760: fi
 6761: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 6762: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 6763: 
 6764: 
 6765: hard_links="nottested"
 6766: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 6767:   # do not overwrite the value of need_locks provided by the user
 6768:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 6769: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 6770:   hard_links=yes
 6771:   $rm conftest*
 6772:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 6773:   touch conftest.a
 6774:   ln conftest.a conftest.b 2>&5 || hard_links=no
 6775:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 6776:   echo "$as_me:$LINENO: result: $hard_links" >&5
 6777: echo "${ECHO_T}$hard_links" >&6
 6778:   if test "$hard_links" = no; then
 6779:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 6780: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 6781:     need_locks=warn
 6782:   fi
 6783: else
 6784:   need_locks=no
 6785: fi
 6786: 
 6787: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 6788: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 6789: 
 6790:   runpath_var=
 6791:   allow_undefined_flag=
 6792:   enable_shared_with_static_runtimes=no
 6793:   archive_cmds=
 6794:   archive_expsym_cmds=
 6795:   old_archive_From_new_cmds=
 6796:   old_archive_from_expsyms_cmds=
 6797:   export_dynamic_flag_spec=
 6798:   whole_archive_flag_spec=
 6799:   thread_safe_flag_spec=
 6800:   hardcode_libdir_flag_spec=
 6801:   hardcode_libdir_flag_spec_ld=
 6802:   hardcode_libdir_separator=
 6803:   hardcode_direct=no
 6804:   hardcode_minus_L=no
 6805:   hardcode_shlibpath_var=unsupported
 6806:   link_all_deplibs=unknown
 6807:   hardcode_automatic=no
 6808:   module_cmds=
 6809:   module_expsym_cmds=
 6810:   always_export_symbols=no
 6811:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 6812:   # include_expsyms should be a list of space-separated symbols to be *always*
 6813:   # included in the symbol list
 6814:   include_expsyms=
 6815:   # exclude_expsyms can be an extended regexp of symbols to exclude
 6816:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 6817:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 6818:   # as well as any symbol that contains `d'.
 6819:   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 6820:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 6821:   # platforms (ab)use it in PIC code, but their linkers get confused if
 6822:   # the symbol is explicitly referenced.  Since portable code cannot
 6823:   # rely on this symbol name, it's probably fine to never include it in
 6824:   # preloaded symbol tables.
 6825:   extract_expsyms_cmds=
 6826:   # Just being paranoid about ensuring that cc_basename is set.
 6827:   for cc_temp in $compiler""; do
 6828:   case $cc_temp in
 6829:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6830:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6831:     \-*) ;;
 6832:     *) break;;
 6833:   esac
 6834: done
 6835: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 6836: 
 6837:   case $host_os in
 6838:   cygwin* | mingw* | pw32*)
 6839:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 6840:     # When not using gcc, we currently assume that we are using
 6841:     # Microsoft Visual C++.
 6842:     if test "$GCC" != yes; then
 6843:       with_gnu_ld=no
 6844:     fi
 6845:     ;;
 6846:   interix*)
 6847:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 6848:     with_gnu_ld=yes
 6849:     ;;
 6850:   openbsd*)
 6851:     with_gnu_ld=no
 6852:     ;;
 6853:   esac
 6854: 
 6855:   ld_shlibs=yes
 6856:   if test "$with_gnu_ld" = yes; then
 6857:     # If archive_cmds runs LD, not CC, wlarc should be empty
 6858:     wlarc='${wl}'
 6859: 
 6860:     # Set some defaults for GNU ld with shared library support. These
 6861:     # are reset later if shared libraries are not supported. Putting them
 6862:     # here allows them to be overridden if necessary.
 6863:     runpath_var=LD_RUN_PATH
 6864:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 6865:     export_dynamic_flag_spec='${wl}--export-dynamic'
 6866:     # ancient GNU ld didn't support --whole-archive et. al.
 6867:     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 6868: 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 6869:       else
 6870:   	whole_archive_flag_spec=
 6871:     fi
 6872:     supports_anon_versioning=no
 6873:     case `$LD -v 2>/dev/null` in
 6874:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 6875:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 6876:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 6877:       *\ 2.11.*) ;; # other 2.11 versions
 6878:       *) supports_anon_versioning=yes ;;
 6879:     esac
 6880: 
 6881:     # See if GNU ld supports shared libraries.
 6882:     case $host_os in
 6883:     aix3* | aix4* | aix5*)
 6884:       # On AIX/PPC, the GNU linker is very broken
 6885:       if test "$host_cpu" != ia64; then
 6886: 	ld_shlibs=no
 6887: 	cat <<EOF 1>&2
 6888: 
 6889: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 6890: *** to be unable to reliably create shared libraries on AIX.
 6891: *** Therefore, libtool is disabling shared libraries support.  If you
 6892: *** really care for shared libraries, you may want to modify your PATH
 6893: *** so that a non-GNU linker is found, and then restart.
 6894: 
 6895: EOF
 6896:       fi
 6897:       ;;
 6898: 
 6899:     amigaos*)
 6900:       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)'
 6901:       hardcode_libdir_flag_spec='-L$libdir'
 6902:       hardcode_minus_L=yes
 6903: 
 6904:       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 6905:       # that the semantics of dynamic libraries on AmigaOS, at least up
 6906:       # to version 4, is to share data among multiple programs linked
 6907:       # with the same dynamic library.  Since this doesn't match the
 6908:       # behavior of shared libraries on other platforms, we can't use
 6909:       # them.
 6910:       ld_shlibs=no
 6911:       ;;
 6912: 
 6913:     beos*)
 6914:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 6915: 	allow_undefined_flag=unsupported
 6916: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 6917: 	# support --undefined.  This deserves some investigation.  FIXME
 6918: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 6919:       else
 6920: 	ld_shlibs=no
 6921:       fi
 6922:       ;;
 6923: 
 6924:     cygwin* | mingw* | pw32*)
 6925:       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 6926:       # as there is no search path for DLLs.
 6927:       hardcode_libdir_flag_spec='-L$libdir'
 6928:       allow_undefined_flag=unsupported
 6929:       always_export_symbols=no
 6930:       enable_shared_with_static_runtimes=yes
 6931:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 6932: 
 6933:       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 6934:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 6935: 	# If the export-symbols file already is a .def file (1st line
 6936: 	# is EXPORTS), use it as is; otherwise, prepend...
 6937: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 6938: 	  cp $export_symbols $output_objdir/$soname.def;
 6939: 	else
 6940: 	  echo EXPORTS > $output_objdir/$soname.def;
 6941: 	  cat $export_symbols >> $output_objdir/$soname.def;
 6942: 	fi~
 6943: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 6944:       else
 6945: 	ld_shlibs=no
 6946:       fi
 6947:       ;;
 6948: 
 6949:     interix3*)
 6950:       hardcode_direct=no
 6951:       hardcode_shlibpath_var=no
 6952:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 6953:       export_dynamic_flag_spec='${wl}-E'
 6954:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 6955:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 6956:       # default) and relocated if they conflict, which is a slow very memory
 6957:       # consuming and fragmenting process.  To avoid this, we pick a random,
 6958:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 6959:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 6960:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 6961:       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'
 6962:       ;;
 6963: 
 6964:     linux*)
 6965:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 6966: 	tmp_addflag=
 6967: 	case $cc_basename,$host_cpu in
 6968: 	pgcc*)				# Portland Group C compiler
 6969: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 6970: 	  tmp_addflag=' $pic_flag'
 6971: 	  ;;
 6972: 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 6973: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 6974: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 6975: 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 6976: 	  tmp_addflag=' -i_dynamic' ;;
 6977: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 6978: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 6979: 	ifc* | ifort*)			# Intel Fortran compiler
 6980: 	  tmp_addflag=' -nofor_main' ;;
 6981: 	esac
 6982: 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 6983: 
 6984: 	if test $supports_anon_versioning = yes; then
 6985: 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 6986:   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 6987:   $echo "local: *; };" >> $output_objdir/$libname.ver~
 6988: 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 6989: 	fi
 6990:       else
 6991: 	ld_shlibs=no
 6992:       fi
 6993:       ;;
 6994: 
 6995:     netbsd*)
 6996:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 6997: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 6998: 	wlarc=
 6999:       else
 7000: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7001: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7002:       fi
 7003:       ;;
 7004: 
 7005:     solaris*)
 7006:       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 7007: 	ld_shlibs=no
 7008: 	cat <<EOF 1>&2
 7009: 
 7010: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 7011: *** create shared libraries on Solaris systems.  Therefore, libtool
 7012: *** is disabling shared libraries support.  We urge you to upgrade GNU
 7013: *** binutils to release 2.9.1 or newer.  Another option is to modify
 7014: *** your PATH or compiler configuration so that the native linker is
 7015: *** used, and then restart.
 7016: 
 7017: EOF
 7018:       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 7019: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7020: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7021:       else
 7022: 	ld_shlibs=no
 7023:       fi
 7024:       ;;
 7025: 
 7026:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 7027:       case `$LD -v 2>&1` in
 7028:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 7029: 	ld_shlibs=no
 7030: 	cat <<_LT_EOF 1>&2
 7031: 
 7032: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 7033: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 7034: *** is disabling shared libraries support.  We urge you to upgrade GNU
 7035: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 7036: *** your PATH or compiler configuration so that the native linker is
 7037: *** used, and then restart.
 7038: 
 7039: _LT_EOF
 7040: 	;;
 7041: 	*)
 7042: 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 7043: 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 7044: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 7045: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 7046: 	  else
 7047: 	    ld_shlibs=no
 7048: 	  fi
 7049: 	;;
 7050:       esac
 7051:       ;;
 7052: 
 7053:     sunos4*)
 7054:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 7055:       wlarc=
 7056:       hardcode_direct=yes
 7057:       hardcode_shlibpath_var=no
 7058:       ;;
 7059: 
 7060:     *)
 7061:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 7062: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7063: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7064:       else
 7065: 	ld_shlibs=no
 7066:       fi
 7067:       ;;
 7068:     esac
 7069: 
 7070:     if test "$ld_shlibs" = no; then
 7071:       runpath_var=
 7072:       hardcode_libdir_flag_spec=
 7073:       export_dynamic_flag_spec=
 7074:       whole_archive_flag_spec=
 7075:     fi
 7076:   else
 7077:     # PORTME fill in a description of your system's linker (not GNU ld)
 7078:     case $host_os in
 7079:     aix3*)
 7080:       allow_undefined_flag=unsupported
 7081:       always_export_symbols=yes
 7082:       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'
 7083:       # Note: this linker hardcodes the directories in LIBPATH if there
 7084:       # are no directories specified by -L.
 7085:       hardcode_minus_L=yes
 7086:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 7087: 	# Neither direct hardcoding nor static linking is supported with a
 7088: 	# broken collect2.
 7089: 	hardcode_direct=unsupported
 7090:       fi
 7091:       ;;
 7092: 
 7093:     aix4* | aix5*)
 7094:       if test "$host_cpu" = ia64; then
 7095: 	# On IA64, the linker does run time linking by default, so we don't
 7096: 	# have to do anything special.
 7097: 	aix_use_runtimelinking=no
 7098: 	exp_sym_flag='-Bexport'
 7099: 	no_entry_flag=""
 7100:       else
 7101: 	# If we're using GNU nm, then we don't want the "-C" option.
 7102: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 7103: 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 7104: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 7105: 	else
 7106: 	  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'
 7107: 	fi
 7108: 	aix_use_runtimelinking=no
 7109: 
 7110: 	# Test if we are trying to use run time linking or normal
 7111: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 7112: 	# need to do runtime linking.
 7113: 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 7114: 	  for ld_flag in $LDFLAGS; do
 7115:   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 7116:   	    aix_use_runtimelinking=yes
 7117:   	    break
 7118:   	  fi
 7119: 	  done
 7120: 	  ;;
 7121: 	esac
 7122: 
 7123: 	exp_sym_flag='-bexport'
 7124: 	no_entry_flag='-bnoentry'
 7125:       fi
 7126: 
 7127:       # When large executables or shared objects are built, AIX ld can
 7128:       # have problems creating the table of contents.  If linking a library
 7129:       # or program results in "error TOC overflow" add -mminimal-toc to
 7130:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 7131:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 7132: 
 7133:       archive_cmds=''
 7134:       hardcode_direct=yes
 7135:       hardcode_libdir_separator=':'
 7136:       link_all_deplibs=yes
 7137: 
 7138:       if test "$GCC" = yes; then
 7139: 	case $host_os in aix4.[012]|aix4.[012].*)
 7140: 	# We only want to do this on AIX 4.2 and lower, the check
 7141: 	# below for broken collect2 doesn't work under 4.3+
 7142: 	  collect2name=`${CC} -print-prog-name=collect2`
 7143: 	  if test -f "$collect2name" && \
 7144:   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 7145: 	  then
 7146:   	  # We have reworked collect2
 7147:   	  hardcode_direct=yes
 7148: 	  else
 7149:   	  # We have old collect2
 7150:   	  hardcode_direct=unsupported
 7151:   	  # It fails to find uninstalled libraries when the uninstalled
 7152:   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 7153:   	  # to unsupported forces relinking
 7154:   	  hardcode_minus_L=yes
 7155:   	  hardcode_libdir_flag_spec='-L$libdir'
 7156:   	  hardcode_libdir_separator=
 7157: 	  fi
 7158: 	  ;;
 7159: 	esac
 7160: 	shared_flag='-shared'
 7161: 	if test "$aix_use_runtimelinking" = yes; then
 7162: 	  shared_flag="$shared_flag "'${wl}-G'
 7163: 	fi
 7164:       else
 7165: 	# not using gcc
 7166: 	if test "$host_cpu" = ia64; then
 7167:   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 7168:   	# chokes on -Wl,-G. The following line is correct:
 7169: 	  shared_flag='-G'
 7170: 	else
 7171: 	  if test "$aix_use_runtimelinking" = yes; then
 7172: 	    shared_flag='${wl}-G'
 7173: 	  else
 7174: 	    shared_flag='${wl}-bM:SRE'
 7175: 	  fi
 7176: 	fi
 7177:       fi
 7178: 
 7179:       # It seems that -bexpall does not export symbols beginning with
 7180:       # underscore (_), so it is better to generate a list of symbols to export.
 7181:       always_export_symbols=yes
 7182:       if test "$aix_use_runtimelinking" = yes; then
 7183: 	# Warning - without using the other runtime loading flags (-brtl),
 7184: 	# -berok will link without error, but may produce a broken library.
 7185: 	allow_undefined_flag='-berok'
 7186:        # Determine the default libpath from the value encoded in an empty executable.
 7187:        cat >conftest.$ac_ext <<_ACEOF
 7188: /* confdefs.h.  */
 7189: _ACEOF
 7190: cat confdefs.h >>conftest.$ac_ext
 7191: cat >>conftest.$ac_ext <<_ACEOF
 7192: /* end confdefs.h.  */
 7193: 
 7194: int
 7195: main ()
 7196: {
 7197: 
 7198:   ;
 7199:   return 0;
 7200: }
 7201: _ACEOF
 7202: rm -f conftest.$ac_objext conftest$ac_exeext
 7203: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7204:   (eval $ac_link) 2>conftest.er1
 7205:   ac_status=$?
 7206:   grep -v '^ *+' conftest.er1 >conftest.err
 7207:   rm -f conftest.er1
 7208:   cat conftest.err >&5
 7209:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7210:   (exit $ac_status); } &&
 7211: 	 { ac_try='test -z "$ac_c_werror_flag"
 7212: 			 || test ! -s conftest.err'
 7213:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7214:   (eval $ac_try) 2>&5
 7215:   ac_status=$?
 7216:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7217:   (exit $ac_status); }; } &&
 7218: 	 { ac_try='test -s conftest$ac_exeext'
 7219:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7220:   (eval $ac_try) 2>&5
 7221:   ac_status=$?
 7222:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7223:   (exit $ac_status); }; }; then
 7224: 
 7225: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 7226: }'`
 7227: # Check for a 64-bit object if we didn't find anything.
 7228: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 7229: }'`; fi
 7230: else
 7231:   echo "$as_me: failed program was:" >&5
 7232: sed 's/^/| /' conftest.$ac_ext >&5
 7233: 
 7234: fi
 7235: rm -f conftest.err conftest.$ac_objext \
 7236:       conftest$ac_exeext conftest.$ac_ext
 7237: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 7238: 
 7239:        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 7240: 	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 7241:        else
 7242: 	if test "$host_cpu" = ia64; then
 7243: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 7244: 	  allow_undefined_flag="-z nodefs"
 7245: 	  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"
 7246: 	else
 7247: 	 # Determine the default libpath from the value encoded in an empty executable.
 7248: 	 cat >conftest.$ac_ext <<_ACEOF
 7249: /* confdefs.h.  */
 7250: _ACEOF
 7251: cat confdefs.h >>conftest.$ac_ext
 7252: cat >>conftest.$ac_ext <<_ACEOF
 7253: /* end confdefs.h.  */
 7254: 
 7255: int
 7256: main ()
 7257: {
 7258: 
 7259:   ;
 7260:   return 0;
 7261: }
 7262: _ACEOF
 7263: rm -f conftest.$ac_objext conftest$ac_exeext
 7264: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7265:   (eval $ac_link) 2>conftest.er1
 7266:   ac_status=$?
 7267:   grep -v '^ *+' conftest.er1 >conftest.err
 7268:   rm -f conftest.er1
 7269:   cat conftest.err >&5
 7270:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7271:   (exit $ac_status); } &&
 7272: 	 { ac_try='test -z "$ac_c_werror_flag"
 7273: 			 || test ! -s conftest.err'
 7274:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7275:   (eval $ac_try) 2>&5
 7276:   ac_status=$?
 7277:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7278:   (exit $ac_status); }; } &&
 7279: 	 { ac_try='test -s conftest$ac_exeext'
 7280:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7281:   (eval $ac_try) 2>&5
 7282:   ac_status=$?
 7283:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7284:   (exit $ac_status); }; }; then
 7285: 
 7286: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 7287: }'`
 7288: # Check for a 64-bit object if we didn't find anything.
 7289: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 7290: }'`; fi
 7291: else
 7292:   echo "$as_me: failed program was:" >&5
 7293: sed 's/^/| /' conftest.$ac_ext >&5
 7294: 
 7295: fi
 7296: rm -f conftest.err conftest.$ac_objext \
 7297:       conftest$ac_exeext conftest.$ac_ext
 7298: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 7299: 
 7300: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 7301: 	  # Warning - without using the other run time loading flags,
 7302: 	  # -berok will link without error, but may produce a broken library.
 7303: 	  no_undefined_flag=' ${wl}-bernotok'
 7304: 	  allow_undefined_flag=' ${wl}-berok'
 7305: 	  # Exported symbols can be pulled into shared objects from archives
 7306: 	  whole_archive_flag_spec='$convenience'
 7307: 	  archive_cmds_need_lc=yes
 7308: 	  # This is similar to how AIX traditionally builds its shared libraries.
 7309: 	  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'
 7310: 	fi
 7311:       fi
 7312:       ;;
 7313: 
 7314:     amigaos*)
 7315:       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)'
 7316:       hardcode_libdir_flag_spec='-L$libdir'
 7317:       hardcode_minus_L=yes
 7318:       # see comment about different semantics on the GNU ld section
 7319:       ld_shlibs=no
 7320:       ;;
 7321: 
 7322:     bsdi[45]*)
 7323:       export_dynamic_flag_spec=-rdynamic
 7324:       ;;
 7325: 
 7326:     cygwin* | mingw* | pw32*)
 7327:       # When not using gcc, we currently assume that we are using
 7328:       # Microsoft Visual C++.
 7329:       # hardcode_libdir_flag_spec is actually meaningless, as there is
 7330:       # no search path for DLLs.
 7331:       hardcode_libdir_flag_spec=' '
 7332:       allow_undefined_flag=unsupported
 7333:       # Tell ltmain to make .lib files, not .a files.
 7334:       libext=lib
 7335:       # Tell ltmain to make .dll files, not .so files.
 7336:       shrext_cmds=".dll"
 7337:       # FIXME: Setting linknames here is a bad hack.
 7338:       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 7339:       # The linker will automatically build a .lib file if we build a DLL.
 7340:       old_archive_From_new_cmds='true'
 7341:       # FIXME: Should let the user specify the lib program.
 7342:       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 7343:       fix_srcfile_path='`cygpath -w "$srcfile"`'
 7344:       enable_shared_with_static_runtimes=yes
 7345:       ;;
 7346: 
 7347:     darwin* | rhapsody*)
 7348:       case $host_os in
 7349:         rhapsody* | darwin1.[012])
 7350:          allow_undefined_flag='${wl}-undefined ${wl}suppress'
 7351:          ;;
 7352:        *) # Darwin 1.3 on
 7353:          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 7354:            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 7355:          else
 7356:            case ${MACOSX_DEPLOYMENT_TARGET} in
 7357:              10.[012])
 7358:                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 7359:                ;;
 7360:              10.*)
 7361:                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 7362:                ;;
 7363:            esac
 7364:          fi
 7365:          ;;
 7366:       esac
 7367:       archive_cmds_need_lc=no
 7368:       hardcode_direct=no
 7369:       hardcode_automatic=yes
 7370:       hardcode_shlibpath_var=unsupported
 7371:       whole_archive_flag_spec=''
 7372:       link_all_deplibs=yes
 7373:     if test "$GCC" = yes ; then
 7374:     	output_verbose_link_cmd='echo'
 7375:         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 7376:       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 7377:       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 7378:       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7379:       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7380:     else
 7381:       case $cc_basename in
 7382:         xlc*)
 7383:          output_verbose_link_cmd='echo'
 7384:          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 7385:          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 7386:           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 7387:          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7388:           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7389:           ;;
 7390:        *)
 7391:          ld_shlibs=no
 7392:           ;;
 7393:       esac
 7394:     fi
 7395:       ;;
 7396: 
 7397:     dgux*)
 7398:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7399:       hardcode_libdir_flag_spec='-L$libdir'
 7400:       hardcode_shlibpath_var=no
 7401:       ;;
 7402: 
 7403:     freebsd1*)
 7404:       ld_shlibs=no
 7405:       ;;
 7406: 
 7407:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 7408:     # support.  Future versions do this automatically, but an explicit c++rt0.o
 7409:     # does not break anything, and helps significantly (at the cost of a little
 7410:     # extra space).
 7411:     freebsd2.2*)
 7412:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 7413:       hardcode_libdir_flag_spec='-R$libdir'
 7414:       hardcode_direct=yes
 7415:       hardcode_shlibpath_var=no
 7416:       ;;
 7417: 
 7418:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 7419:     freebsd2*)
 7420:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 7421:       hardcode_direct=yes
 7422:       hardcode_minus_L=yes
 7423:       hardcode_shlibpath_var=no
 7424:       ;;
 7425: 
 7426:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 7427:     freebsd* | kfreebsd*-gnu | dragonfly*)
 7428:       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 7429:       hardcode_libdir_flag_spec='-R$libdir'
 7430:       hardcode_direct=yes
 7431:       hardcode_shlibpath_var=no
 7432:       ;;
 7433: 
 7434:     hpux9*)
 7435:       if test "$GCC" = yes; then
 7436: 	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 7437:       else
 7438: 	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'
 7439:       fi
 7440:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 7441:       hardcode_libdir_separator=:
 7442:       hardcode_direct=yes
 7443: 
 7444:       # hardcode_minus_L: Not really in the search PATH,
 7445:       # but as the default location of the library.
 7446:       hardcode_minus_L=yes
 7447:       export_dynamic_flag_spec='${wl}-E'
 7448:       ;;
 7449: 
 7450:     hpux10*)
 7451:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 7452: 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 7453:       else
 7454: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 7455:       fi
 7456:       if test "$with_gnu_ld" = no; then
 7457: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 7458: 	hardcode_libdir_separator=:
 7459: 
 7460: 	hardcode_direct=yes
 7461: 	export_dynamic_flag_spec='${wl}-E'
 7462: 
 7463: 	# hardcode_minus_L: Not really in the search PATH,
 7464: 	# but as the default location of the library.
 7465: 	hardcode_minus_L=yes
 7466:       fi
 7467:       ;;
 7468: 
 7469:     hpux11*)
 7470:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 7471: 	case $host_cpu in
 7472: 	hppa*64*)
 7473: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7474: 	  ;;
 7475: 	ia64*)
 7476: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 7477: 	  ;;
 7478: 	*)
 7479: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 7480: 	  ;;
 7481: 	esac
 7482:       else
 7483: 	case $host_cpu in
 7484: 	hppa*64*)
 7485: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7486: 	  ;;
 7487: 	ia64*)
 7488: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 7489: 	  ;;
 7490: 	*)
 7491: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 7492: 	  ;;
 7493: 	esac
 7494:       fi
 7495:       if test "$with_gnu_ld" = no; then
 7496: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 7497: 	hardcode_libdir_separator=:
 7498: 
 7499: 	case $host_cpu in
 7500: 	hppa*64*|ia64*)
 7501: 	  hardcode_libdir_flag_spec_ld='+b $libdir'
 7502: 	  hardcode_direct=no
 7503: 	  hardcode_shlibpath_var=no
 7504: 	  ;;
 7505: 	*)
 7506: 	  hardcode_direct=yes
 7507: 	  export_dynamic_flag_spec='${wl}-E'
 7508: 
 7509: 	  # hardcode_minus_L: Not really in the search PATH,
 7510: 	  # but as the default location of the library.
 7511: 	  hardcode_minus_L=yes
 7512: 	  ;;
 7513: 	esac
 7514:       fi
 7515:       ;;
 7516: 
 7517:     irix5* | irix6* | nonstopux*)
 7518:       if test "$GCC" = yes; then
 7519: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 7520:       else
 7521: 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 7522: 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
 7523:       fi
 7524:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7525:       hardcode_libdir_separator=:
 7526:       link_all_deplibs=yes
 7527:       ;;
 7528: 
 7529:     netbsd*)
 7530:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 7531: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 7532:       else
 7533: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 7534:       fi
 7535:       hardcode_libdir_flag_spec='-R$libdir'
 7536:       hardcode_direct=yes
 7537:       hardcode_shlibpath_var=no
 7538:       ;;
 7539: 
 7540:     newsos6)
 7541:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7542:       hardcode_direct=yes
 7543:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7544:       hardcode_libdir_separator=:
 7545:       hardcode_shlibpath_var=no
 7546:       ;;
 7547: 
 7548:     openbsd*)
 7549:       hardcode_direct=yes
 7550:       hardcode_shlibpath_var=no
 7551:       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 7552: 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 7553: 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 7554: 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 7555: 	export_dynamic_flag_spec='${wl}-E'
 7556:       else
 7557:        case $host_os in
 7558: 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 7559: 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 7560: 	   hardcode_libdir_flag_spec='-R$libdir'
 7561: 	   ;;
 7562: 	 *)
 7563: 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 7564: 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 7565: 	   ;;
 7566:        esac
 7567:       fi
 7568:       ;;
 7569: 
 7570:     os2*)
 7571:       hardcode_libdir_flag_spec='-L$libdir'
 7572:       hardcode_minus_L=yes
 7573:       allow_undefined_flag=unsupported
 7574:       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'
 7575:       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 7576:       ;;
 7577: 
 7578:     osf3*)
 7579:       if test "$GCC" = yes; then
 7580: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 7581: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 7582:       else
 7583: 	allow_undefined_flag=' -expect_unresolved \*'
 7584: 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 7585:       fi
 7586:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7587:       hardcode_libdir_separator=:
 7588:       ;;
 7589: 
 7590:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 7591:       if test "$GCC" = yes; then
 7592: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 7593: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 7594: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7595:       else
 7596: 	allow_undefined_flag=' -expect_unresolved \*'
 7597: 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 7598: 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 7599: 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 7600: 
 7601: 	# Both c and cxx compiler support -rpath directly
 7602: 	hardcode_libdir_flag_spec='-rpath $libdir'
 7603:       fi
 7604:       hardcode_libdir_separator=:
 7605:       ;;
 7606: 
 7607:     solaris*)
 7608:       no_undefined_flag=' -z text'
 7609:       if test "$GCC" = yes; then
 7610: 	wlarc='${wl}'
 7611: 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7612: 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 7613: 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 7614:       else
 7615: 	wlarc=''
 7616: 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7617: 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 7618:   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 7619:       fi
 7620:       hardcode_libdir_flag_spec='-R$libdir'
 7621:       hardcode_shlibpath_var=no
 7622:       case $host_os in
 7623:       solaris2.[0-5] | solaris2.[0-5].*) ;;
 7624:       *)
 7625:  	# The compiler driver will combine linker options so we
 7626:  	# cannot just pass the convience library names through
 7627:  	# without $wl, iff we do not link with $LD.
 7628:  	# Luckily, gcc supports the same syntax we need for Sun Studio.
 7629:  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 7630:  	case $wlarc in
 7631:  	'')
 7632:  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 7633:  	*)
 7634:  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 7635:  	esac ;;
 7636:       esac
 7637:       link_all_deplibs=yes
 7638:       ;;
 7639: 
 7640:     sunos4*)
 7641:       if test "x$host_vendor" = xsequent; then
 7642: 	# Use $CC to link under sequent, because it throws in some extra .o
 7643: 	# files that make .init and .fini sections work.
 7644: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 7645:       else
 7646: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 7647:       fi
 7648:       hardcode_libdir_flag_spec='-L$libdir'
 7649:       hardcode_direct=yes
 7650:       hardcode_minus_L=yes
 7651:       hardcode_shlibpath_var=no
 7652:       ;;
 7653: 
 7654:     sysv4)
 7655:       case $host_vendor in
 7656: 	sni)
 7657: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7658: 	  hardcode_direct=yes # is this really true???
 7659: 	;;
 7660: 	siemens)
 7661: 	  ## LD is ld it makes a PLAMLIB
 7662: 	  ## CC just makes a GrossModule.
 7663: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 7664: 	  reload_cmds='$CC -r -o $output$reload_objs'
 7665: 	  hardcode_direct=no
 7666:         ;;
 7667: 	motorola)
 7668: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7669: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 7670: 	;;
 7671:       esac
 7672:       runpath_var='LD_RUN_PATH'
 7673:       hardcode_shlibpath_var=no
 7674:       ;;
 7675: 
 7676:     sysv4.3*)
 7677:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7678:       hardcode_shlibpath_var=no
 7679:       export_dynamic_flag_spec='-Bexport'
 7680:       ;;
 7681: 
 7682:     sysv4*MP*)
 7683:       if test -d /usr/nec; then
 7684: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7685: 	hardcode_shlibpath_var=no
 7686: 	runpath_var=LD_RUN_PATH
 7687: 	hardcode_runpath_var=yes
 7688: 	ld_shlibs=yes
 7689:       fi
 7690:       ;;
 7691: 
 7692:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 7693:       no_undefined_flag='${wl}-z,text'
 7694:       archive_cmds_need_lc=no
 7695:       hardcode_shlibpath_var=no
 7696:       runpath_var='LD_RUN_PATH'
 7697: 
 7698:       if test "$GCC" = yes; then
 7699: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 7700: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 7701:       else
 7702: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 7703: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 7704:       fi
 7705:       ;;
 7706: 
 7707:     sysv5* | sco3.2v5* | sco5v6*)
 7708:       # Note: We can NOT use -z defs as we might desire, because we do not
 7709:       # link with -lc, and that would cause any symbols used from libc to
 7710:       # always be unresolved, which means just about no library would
 7711:       # ever link correctly.  If we're not using GNU ld we use -z text
 7712:       # though, which does catch some bad symbols but isn't as heavy-handed
 7713:       # as -z defs.
 7714:       no_undefined_flag='${wl}-z,text'
 7715:       allow_undefined_flag='${wl}-z,nodefs'
 7716:       archive_cmds_need_lc=no
 7717:       hardcode_shlibpath_var=no
 7718:       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 7719:       hardcode_libdir_separator=':'
 7720:       link_all_deplibs=yes
 7721:       export_dynamic_flag_spec='${wl}-Bexport'
 7722:       runpath_var='LD_RUN_PATH'
 7723: 
 7724:       if test "$GCC" = yes; then
 7725: 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7726: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7727:       else
 7728: 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7729: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 7730:       fi
 7731:       ;;
 7732: 
 7733:     uts4*)
 7734:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 7735:       hardcode_libdir_flag_spec='-L$libdir'
 7736:       hardcode_shlibpath_var=no
 7737:       ;;
 7738: 
 7739:     *)
 7740:       ld_shlibs=no
 7741:       ;;
 7742:     esac
 7743:   fi
 7744: 
 7745: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 7746: echo "${ECHO_T}$ld_shlibs" >&6
 7747: test "$ld_shlibs" = no && can_build_shared=no
 7748: 
 7749: #
 7750: # Do we need to explicitly link libc?
 7751: #
 7752: case "x$archive_cmds_need_lc" in
 7753: x|xyes)
 7754:   # Assume -lc should be added
 7755:   archive_cmds_need_lc=yes
 7756: 
 7757:   if test "$enable_shared" = yes && test "$GCC" = yes; then
 7758:     case $archive_cmds in
 7759:     *'~'*)
 7760:       # FIXME: we may have to deal with multi-command sequences.
 7761:       ;;
 7762:     '$CC '*)
 7763:       # Test whether the compiler implicitly links with -lc since on some
 7764:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 7765:       # to ld, don't add -lc before -lgcc.
 7766:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 7767: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 7768:       $rm conftest*
 7769:       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 7770: 
 7771:       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7772:   (eval $ac_compile) 2>&5
 7773:   ac_status=$?
 7774:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7775:   (exit $ac_status); } 2>conftest.err; then
 7776:         soname=conftest
 7777:         lib=conftest
 7778:         libobjs=conftest.$ac_objext
 7779:         deplibs=
 7780:         wl=$lt_prog_compiler_wl
 7781: 	pic_flag=$lt_prog_compiler_pic
 7782:         compiler_flags=-v
 7783:         linker_flags=-v
 7784:         verstring=
 7785:         output_objdir=.
 7786:         libname=conftest
 7787:         lt_save_allow_undefined_flag=$allow_undefined_flag
 7788:         allow_undefined_flag=
 7789:         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 7790:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 7791:   ac_status=$?
 7792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7793:   (exit $ac_status); }
 7794:         then
 7795: 	  archive_cmds_need_lc=no
 7796:         else
 7797: 	  archive_cmds_need_lc=yes
 7798:         fi
 7799:         allow_undefined_flag=$lt_save_allow_undefined_flag
 7800:       else
 7801:         cat conftest.err 1>&5
 7802:       fi
 7803:       $rm conftest*
 7804:       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 7805: echo "${ECHO_T}$archive_cmds_need_lc" >&6
 7806:       ;;
 7807:     esac
 7808:   fi
 7809:   ;;
 7810: esac
 7811: 
 7812: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 7813: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 7814: library_names_spec=
 7815: libname_spec='lib$name'
 7816: soname_spec=
 7817: shrext_cmds=".so"
 7818: postinstall_cmds=
 7819: postuninstall_cmds=
 7820: finish_cmds=
 7821: finish_eval=
 7822: shlibpath_var=
 7823: shlibpath_overrides_runpath=unknown
 7824: version_type=none
 7825: dynamic_linker="$host_os ld.so"
 7826: sys_lib_dlsearch_path_spec="/lib /usr/lib"
 7827: if test "$GCC" = yes; then
 7828:   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 7829:   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 7830:     # if the path contains ";" then we assume it to be the separator
 7831:     # otherwise default to the standard path separator (i.e. ":") - it is
 7832:     # assumed that no part of a normal pathname contains ";" but that should
 7833:     # okay in the real world where ";" in dirpaths is itself problematic.
 7834:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 7835:   else
 7836:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 7837:   fi
 7838: else
 7839:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 7840: fi
 7841: need_lib_prefix=unknown
 7842: hardcode_into_libs=no
 7843: 
 7844: # when you set need_version to no, make sure it does not cause -set_version
 7845: # flags to be left without arguments
 7846: need_version=unknown
 7847: 
 7848: case $host_os in
 7849: aix3*)
 7850:   version_type=linux
 7851:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 7852:   shlibpath_var=LIBPATH
 7853: 
 7854:   # AIX 3 has no versioning support, so we append a major version to the name.
 7855:   soname_spec='${libname}${release}${shared_ext}$major'
 7856:   ;;
 7857: 
 7858: aix4* | aix5*)
 7859:   version_type=linux
 7860:   need_lib_prefix=no
 7861:   need_version=no
 7862:   hardcode_into_libs=yes
 7863:   if test "$host_cpu" = ia64; then
 7864:     # AIX 5 supports IA64
 7865:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 7866:     shlibpath_var=LD_LIBRARY_PATH
 7867:   else
 7868:     # With GCC up to 2.95.x, collect2 would create an import file
 7869:     # for dependence libraries.  The import file would start with
 7870:     # the line `#! .'.  This would cause the generated library to
 7871:     # depend on `.', always an invalid library.  This was fixed in
 7872:     # development snapshots of GCC prior to 3.0.
 7873:     case $host_os in
 7874:       aix4 | aix4.[01] | aix4.[01].*)
 7875:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 7876: 	   echo ' yes '
 7877: 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 7878: 	:
 7879:       else
 7880: 	can_build_shared=no
 7881:       fi
 7882:       ;;
 7883:     esac
 7884:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 7885:     # soname into executable. Probably we can add versioning support to
 7886:     # collect2, so additional links can be useful in future.
 7887:     if test "$aix_use_runtimelinking" = yes; then
 7888:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 7889:       # instead of lib<name>.a to let people know that these are not
 7890:       # typical AIX shared libraries.
 7891:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 7892:     else
 7893:       # We preserve .a as extension for shared libraries through AIX4.2
 7894:       # and later when we are not doing run time linking.
 7895:       library_names_spec='${libname}${release}.a $libname.a'
 7896:       soname_spec='${libname}${release}${shared_ext}$major'
 7897:     fi
 7898:     shlibpath_var=LIBPATH
 7899:   fi
 7900:   ;;
 7901: 
 7902: amigaos*)
 7903:   library_names_spec='$libname.ixlibrary $libname.a'
 7904:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 7905:   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
 7906:   ;;
 7907: 
 7908: beos*)
 7909:   library_names_spec='${libname}${shared_ext}'
 7910:   dynamic_linker="$host_os ld.so"
 7911:   shlibpath_var=LIBRARY_PATH
 7912:   ;;
 7913: 
 7914: bsdi[45]*)
 7915:   version_type=linux
 7916:   need_version=no
 7917:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 7918:   soname_spec='${libname}${release}${shared_ext}$major'
 7919:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 7920:   shlibpath_var=LD_LIBRARY_PATH
 7921:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 7922:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 7923:   # the default ld.so.conf also contains /usr/contrib/lib and
 7924:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 7925:   # libtool to hard-code these into programs
 7926:   ;;
 7927: 
 7928: cygwin* | mingw* | pw32*)
 7929:   version_type=windows
 7930:   shrext_cmds=".dll"
 7931:   need_version=no
 7932:   need_lib_prefix=no
 7933: 
 7934:   case $GCC,$host_os in
 7935:   yes,cygwin* | yes,mingw* | yes,pw32*)
 7936:     library_names_spec='$libname.dll.a'
 7937:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 7938:     postinstall_cmds='base_file=`basename \${file}`~
 7939:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 7940:       dldir=$destdir/`dirname \$dlpath`~
 7941:       test -d \$dldir || mkdir -p \$dldir~
 7942:       $install_prog $dir/$dlname \$dldir/$dlname~
 7943:       chmod a+x \$dldir/$dlname'
 7944:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 7945:       dlpath=$dir/\$dldll~
 7946:        $rm \$dlpath'
 7947:     shlibpath_overrides_runpath=yes
 7948: 
 7949:     case $host_os in
 7950:     cygwin*)
 7951:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 7952:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 7953:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 7954:       ;;
 7955:     mingw*)
 7956:       # MinGW DLLs use traditional 'lib' prefix
 7957:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 7958:       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 7959:       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 7960:         # It is most probably a Windows format PATH printed by
 7961:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 7962:         # path with ; separators, and with drive letters. We can handle the
 7963:         # drive letters (cygwin fileutils understands them), so leave them,
 7964:         # especially as we might pass files found there to a mingw objdump,
 7965:         # which wouldn't understand a cygwinified path. Ahh.
 7966:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 7967:       else
 7968:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 7969:       fi
 7970:       ;;
 7971:     pw32*)
 7972:       # pw32 DLLs use 'pw' prefix rather than 'lib'
 7973:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 7974:       ;;
 7975:     esac
 7976:     ;;
 7977: 
 7978:   *)
 7979:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 7980:     ;;
 7981:   esac
 7982:   dynamic_linker='Win32 ld.exe'
 7983:   # FIXME: first we should search . and the directory the executable is in
 7984:   shlibpath_var=PATH
 7985:   ;;
 7986: 
 7987: darwin* | rhapsody*)
 7988:   dynamic_linker="$host_os dyld"
 7989:   version_type=darwin
 7990:   need_lib_prefix=no
 7991:   need_version=no
 7992:   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 7993:   soname_spec='${libname}${release}${major}$shared_ext'
 7994:   shlibpath_overrides_runpath=yes
 7995:   shlibpath_var=DYLD_LIBRARY_PATH
 7996:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 7997:   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 7998:   if test "$GCC" = yes; then
 7999:     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 8000:   else
 8001:     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 8002:   fi
 8003:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 8004:   ;;
 8005: 
 8006: dgux*)
 8007:   version_type=linux
 8008:   need_lib_prefix=no
 8009:   need_version=no
 8010:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 8011:   soname_spec='${libname}${release}${shared_ext}$major'
 8012:   shlibpath_var=LD_LIBRARY_PATH
 8013:   ;;
 8014: 
 8015: freebsd1*)
 8016:   dynamic_linker=no
 8017:   ;;
 8018: 
 8019: kfreebsd*-gnu)
 8020:   version_type=linux
 8021:   need_lib_prefix=no
 8022:   need_version=no
 8023:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 8024:   soname_spec='${libname}${release}${shared_ext}$major'
 8025:   shlibpath_var=LD_LIBRARY_PATH
 8026:   shlibpath_overrides_runpath=no
 8027:   hardcode_into_libs=yes
 8028:   dynamic_linker='GNU ld.so'
 8029:   ;;
 8030: 
 8031: freebsd* | dragonfly*)
 8032:   # DragonFly does not have aout.  When/if they implement a new
 8033:   # versioning mechanism, adjust this.
 8034:   if test -x /usr/bin/objformat; then
 8035:     objformat=`/usr/bin/objformat`
 8036:   else
 8037:     case $host_os in
 8038:     freebsd[123]*) objformat=aout ;;
 8039:     *) objformat=elf ;;
 8040:     esac
 8041:   fi
 8042:   version_type=freebsd-$objformat
 8043:   case $version_type in
 8044:     freebsd-elf*)
 8045:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 8046:       need_version=no
 8047:       need_lib_prefix=no
 8048:       ;;
 8049:     freebsd-*)
 8050:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 8051:       need_version=yes
 8052:       ;;
 8053:   esac
 8054:   shlibpath_var=LD_LIBRARY_PATH
 8055:   case $host_os in
 8056:   freebsd2*)
 8057:     shlibpath_overrides_runpath=yes
 8058:     ;;
 8059:   freebsd3.[01]* | freebsdelf3.[01]*)
 8060:     shlibpath_overrides_runpath=yes
 8061:     hardcode_into_libs=yes
 8062:     ;;
 8063:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 8064:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 8065:     shlibpath_overrides_runpath=no
 8066:     hardcode_into_libs=yes
 8067:     ;;
 8068:   freebsd*) # from 4.6 on
 8069:     shlibpath_overrides_runpath=yes
 8070:     hardcode_into_libs=yes
 8071:     ;;
 8072:   esac
 8073:   ;;
 8074: 
 8075: gnu*)
 8076:   version_type=linux
 8077:   need_lib_prefix=no
 8078:   need_version=no
 8079:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 8080:   soname_spec='${libname}${release}${shared_ext}$major'
 8081:   shlibpath_var=LD_LIBRARY_PATH
 8082:   hardcode_into_libs=yes
 8083:   ;;
 8084: 
 8085: hpux9* | hpux10* | hpux11*)
 8086:   # Give a soname corresponding to the major version so that dld.sl refuses to
 8087:   # link against other versions.
 8088:   version_type=sunos
 8089:   need_lib_prefix=no
 8090:   need_version=no
 8091:   case $host_cpu in
 8092:   ia64*)
 8093:     shrext_cmds='.so'
 8094:     hardcode_into_libs=yes
 8095:     dynamic_linker="$host_os dld.so"
 8096:     shlibpath_var=LD_LIBRARY_PATH
 8097:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 8098:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8099:     soname_spec='${libname}${release}${shared_ext}$major'
 8100:     if test "X$HPUX_IA64_MODE" = X32; then
 8101:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 8102:     else
 8103:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 8104:     fi
 8105:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 8106:     ;;
 8107:    hppa*64*)
 8108:      shrext_cmds='.sl'
 8109:      hardcode_into_libs=yes
 8110:      dynamic_linker="$host_os dld.sl"
 8111:      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 8112:      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 8113:      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8114:      soname_spec='${libname}${release}${shared_ext}$major'
 8115:      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 8116:      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 8117:      ;;
 8118:    *)
 8119:     shrext_cmds='.sl'
 8120:     dynamic_linker="$host_os dld.sl"
 8121:     shlibpath_var=SHLIB_PATH
 8122:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 8123:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8124:     soname_spec='${libname}${release}${shared_ext}$major'
 8125:     ;;
 8126:   esac
 8127:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 8128:   postinstall_cmds='chmod 555 $lib'
 8129:   ;;
 8130: 
 8131: interix3*)
 8132:   version_type=linux
 8133:   need_lib_prefix=no
 8134:   need_version=no
 8135:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 8136:   soname_spec='${libname}${release}${shared_ext}$major'
 8137:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 8138:   shlibpath_var=LD_LIBRARY_PATH
 8139:   shlibpath_overrides_runpath=no
 8140:   hardcode_into_libs=yes
 8141:   ;;
 8142: 
 8143: irix5* | irix6* | nonstopux*)
 8144:   case $host_os in
 8145:     nonstopux*) version_type=nonstopux ;;
 8146:     *)
 8147: 	if test "$lt_cv_prog_gnu_ld" = yes; then
 8148: 		version_type=linux
 8149: 	else
 8150: 		version_type=irix
 8151: 	fi ;;
 8152:   esac
 8153:   need_lib_prefix=no
 8154:   need_version=no
 8155:   soname_spec='${libname}${release}${shared_ext}$major'
 8156:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 8157:   case $host_os in
 8158:   irix5* | nonstopux*)
 8159:     libsuff= shlibsuff=
 8160:     ;;
 8161:   *)
 8162:     case $LD in # libtool.m4 will add one of these switches to LD
 8163:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 8164:       libsuff= shlibsuff= libmagic=32-bit;;
 8165:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 8166:       libsuff=32 shlibsuff=N32 libmagic=N32;;
 8167:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 8168:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 8169:     *) libsuff= shlibsuff= libmagic=never-match;;
 8170:     esac
 8171:     ;;
 8172:   esac
 8173:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 8174:   shlibpath_overrides_runpath=no
 8175:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 8176:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 8177:   hardcode_into_libs=yes
 8178:   ;;
 8179: 
 8180: # No shared lib support for Linux oldld, aout, or coff.
 8181: linux*oldld* | linux*aout* | linux*coff*)
 8182:   dynamic_linker=no
 8183:   ;;
 8184: 
 8185: # This must be Linux ELF.
 8186: linux*)
 8187:   version_type=linux
 8188:   need_lib_prefix=no
 8189:   need_version=no
 8190:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8191:   soname_spec='${libname}${release}${shared_ext}$major'
 8192:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 8193:   shlibpath_var=LD_LIBRARY_PATH
 8194:   shlibpath_overrides_runpath=no
 8195:   # This implies no fast_install, which is unacceptable.
 8196:   # Some rework will be needed to allow for fast_install
 8197:   # before this can be enabled.
 8198:   hardcode_into_libs=yes
 8199: 
 8200:   # Append ld.so.conf contents to the search path
 8201:   if test -f /etc/ld.so.conf; then
 8202:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 8203:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 8204:   fi
 8205: 
 8206:   # We used to test for /lib/ld.so.1 and disable shared libraries on
 8207:   # powerpc, because MkLinux only supported shared libraries with the
 8208:   # GNU dynamic linker.  Since this was broken with cross compilers,
 8209:   # most powerpc-linux boxes support dynamic linking these days and
 8210:   # people can always --disable-shared, the test was removed, and we
 8211:   # assume the GNU/Linux dynamic linker is in use.
 8212:   dynamic_linker='GNU/Linux ld.so'
 8213:   ;;
 8214: 
 8215: knetbsd*-gnu)
 8216:   version_type=linux
 8217:   need_lib_prefix=no
 8218:   need_version=no
 8219:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 8220:   soname_spec='${libname}${release}${shared_ext}$major'
 8221:   shlibpath_var=LD_LIBRARY_PATH
 8222:   shlibpath_overrides_runpath=no
 8223:   hardcode_into_libs=yes
 8224:   dynamic_linker='GNU ld.so'
 8225:   ;;
 8226: 
 8227: netbsd*)
 8228:   version_type=sunos
 8229:   need_lib_prefix=no
 8230:   need_version=no
 8231:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 8232:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 8233:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 8234:     dynamic_linker='NetBSD (a.out) ld.so'
 8235:   else
 8236:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 8237:     soname_spec='${libname}${release}${shared_ext}$major'
 8238:     dynamic_linker='NetBSD ld.elf_so'
 8239:   fi
 8240:   shlibpath_var=LD_LIBRARY_PATH
 8241:   shlibpath_overrides_runpath=yes
 8242:   hardcode_into_libs=yes
 8243:   ;;
 8244: 
 8245: newsos6)
 8246:   version_type=linux
 8247:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8248:   shlibpath_var=LD_LIBRARY_PATH
 8249:   shlibpath_overrides_runpath=yes
 8250:   ;;
 8251: 
 8252: nto-qnx*)
 8253:   version_type=linux
 8254:   need_lib_prefix=no
 8255:   need_version=no
 8256:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8257:   soname_spec='${libname}${release}${shared_ext}$major'
 8258:   shlibpath_var=LD_LIBRARY_PATH
 8259:   shlibpath_overrides_runpath=yes
 8260:   ;;
 8261: 
 8262: openbsd*)
 8263:   version_type=sunos
 8264:   sys_lib_dlsearch_path_spec="/usr/lib"
 8265:   need_lib_prefix=no
 8266:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 8267:   case $host_os in
 8268:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 8269:     *)                         need_version=no  ;;
 8270:   esac
 8271:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 8272:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 8273:   shlibpath_var=LD_LIBRARY_PATH
 8274:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 8275:     case $host_os in
 8276:       openbsd2.[89] | openbsd2.[89].*)
 8277: 	shlibpath_overrides_runpath=no
 8278: 	;;
 8279:       *)
 8280: 	shlibpath_overrides_runpath=yes
 8281: 	;;
 8282:       esac
 8283:   else
 8284:     shlibpath_overrides_runpath=yes
 8285:   fi
 8286:   ;;
 8287: 
 8288: os2*)
 8289:   libname_spec='$name'
 8290:   shrext_cmds=".dll"
 8291:   need_lib_prefix=no
 8292:   library_names_spec='$libname${shared_ext} $libname.a'
 8293:   dynamic_linker='OS/2 ld.exe'
 8294:   shlibpath_var=LIBPATH
 8295:   ;;
 8296: 
 8297: osf3* | osf4* | osf5*)
 8298:   version_type=osf
 8299:   need_lib_prefix=no
 8300:   need_version=no
 8301:   soname_spec='${libname}${release}${shared_ext}$major'
 8302:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8303:   shlibpath_var=LD_LIBRARY_PATH
 8304:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 8305:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 8306:   ;;
 8307: 
 8308: solaris*)
 8309:   version_type=linux
 8310:   need_lib_prefix=no
 8311:   need_version=no
 8312:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8313:   soname_spec='${libname}${release}${shared_ext}$major'
 8314:   shlibpath_var=LD_LIBRARY_PATH
 8315:   shlibpath_overrides_runpath=yes
 8316:   hardcode_into_libs=yes
 8317:   # ldd complains unless libraries are executable
 8318:   postinstall_cmds='chmod +x $lib'
 8319:   ;;
 8320: 
 8321: sunos4*)
 8322:   version_type=sunos
 8323:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 8324:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 8325:   shlibpath_var=LD_LIBRARY_PATH
 8326:   shlibpath_overrides_runpath=yes
 8327:   if test "$with_gnu_ld" = yes; then
 8328:     need_lib_prefix=no
 8329:   fi
 8330:   need_version=yes
 8331:   ;;
 8332: 
 8333: sysv4 | sysv4.3*)
 8334:   version_type=linux
 8335:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8336:   soname_spec='${libname}${release}${shared_ext}$major'
 8337:   shlibpath_var=LD_LIBRARY_PATH
 8338:   case $host_vendor in
 8339:     sni)
 8340:       shlibpath_overrides_runpath=no
 8341:       need_lib_prefix=no
 8342:       export_dynamic_flag_spec='${wl}-Blargedynsym'
 8343:       runpath_var=LD_RUN_PATH
 8344:       ;;
 8345:     siemens)
 8346:       need_lib_prefix=no
 8347:       ;;
 8348:     motorola)
 8349:       need_lib_prefix=no
 8350:       need_version=no
 8351:       shlibpath_overrides_runpath=no
 8352:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 8353:       ;;
 8354:   esac
 8355:   ;;
 8356: 
 8357: sysv4*MP*)
 8358:   if test -d /usr/nec ;then
 8359:     version_type=linux
 8360:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 8361:     soname_spec='$libname${shared_ext}.$major'
 8362:     shlibpath_var=LD_LIBRARY_PATH
 8363:   fi
 8364:   ;;
 8365: 
 8366: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 8367:   version_type=freebsd-elf
 8368:   need_lib_prefix=no
 8369:   need_version=no
 8370:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 8371:   soname_spec='${libname}${release}${shared_ext}$major'
 8372:   shlibpath_var=LD_LIBRARY_PATH
 8373:   hardcode_into_libs=yes
 8374:   if test "$with_gnu_ld" = yes; then
 8375:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 8376:     shlibpath_overrides_runpath=no
 8377:   else
 8378:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 8379:     shlibpath_overrides_runpath=yes
 8380:     case $host_os in
 8381:       sco3.2v5*)
 8382:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 8383: 	;;
 8384:     esac
 8385:   fi
 8386:   sys_lib_dlsearch_path_spec='/usr/lib'
 8387:   ;;
 8388: 
 8389: uts4*)
 8390:   version_type=linux
 8391:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8392:   soname_spec='${libname}${release}${shared_ext}$major'
 8393:   shlibpath_var=LD_LIBRARY_PATH
 8394:   ;;
 8395: 
 8396: *)
 8397:   dynamic_linker=no
 8398:   ;;
 8399: esac
 8400: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 8401: echo "${ECHO_T}$dynamic_linker" >&6
 8402: test "$dynamic_linker" = no && can_build_shared=no
 8403: 
 8404: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 8405: if test "$GCC" = yes; then
 8406:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 8407: fi
 8408: 
 8409: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 8410: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 8411: hardcode_action=
 8412: if test -n "$hardcode_libdir_flag_spec" || \
 8413:    test -n "$runpath_var" || \
 8414:    test "X$hardcode_automatic" = "Xyes" ; then
 8415: 
 8416:   # We can hardcode non-existant directories.
 8417:   if test "$hardcode_direct" != no &&
 8418:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 8419:      # have to relink, otherwise we might link with an installed library
 8420:      # when we should be linking with a yet-to-be-installed one
 8421:      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 8422:      test "$hardcode_minus_L" != no; then
 8423:     # Linking always hardcodes the temporary library directory.
 8424:     hardcode_action=relink
 8425:   else
 8426:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 8427:     hardcode_action=immediate
 8428:   fi
 8429: else
 8430:   # We cannot hardcode anything, or else we can only hardcode existing
 8431:   # directories.
 8432:   hardcode_action=unsupported
 8433: fi
 8434: echo "$as_me:$LINENO: result: $hardcode_action" >&5
 8435: echo "${ECHO_T}$hardcode_action" >&6
 8436: 
 8437: if test "$hardcode_action" = relink; then
 8438:   # Fast installation is not supported
 8439:   enable_fast_install=no
 8440: elif test "$shlibpath_overrides_runpath" = yes ||
 8441:      test "$enable_shared" = no; then
 8442:   # Fast installation is not necessary
 8443:   enable_fast_install=needless
 8444: fi
 8445: 
 8446: striplib=
 8447: old_striplib=
 8448: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 8449: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 8450: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 8451:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 8452:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 8453:   echo "$as_me:$LINENO: result: yes" >&5
 8454: echo "${ECHO_T}yes" >&6
 8455: else
 8456: # FIXME - insert some real tests, host_os isn't really good enough
 8457:   case $host_os in
 8458:    darwin*)
 8459:        if test -n "$STRIP" ; then
 8460:          striplib="$STRIP -x"
 8461:          echo "$as_me:$LINENO: result: yes" >&5
 8462: echo "${ECHO_T}yes" >&6
 8463:        else
 8464:   echo "$as_me:$LINENO: result: no" >&5
 8465: echo "${ECHO_T}no" >&6
 8466: fi
 8467:        ;;
 8468:    *)
 8469:   echo "$as_me:$LINENO: result: no" >&5
 8470: echo "${ECHO_T}no" >&6
 8471:     ;;
 8472:   esac
 8473: fi
 8474: 
 8475: if test "x$enable_dlopen" != xyes; then
 8476:   enable_dlopen=unknown
 8477:   enable_dlopen_self=unknown
 8478:   enable_dlopen_self_static=unknown
 8479: else
 8480:   lt_cv_dlopen=no
 8481:   lt_cv_dlopen_libs=
 8482: 
 8483:   case $host_os in
 8484:   beos*)
 8485:     lt_cv_dlopen="load_add_on"
 8486:     lt_cv_dlopen_libs=
 8487:     lt_cv_dlopen_self=yes
 8488:     ;;
 8489: 
 8490:   mingw* | pw32*)
 8491:     lt_cv_dlopen="LoadLibrary"
 8492:     lt_cv_dlopen_libs=
 8493:    ;;
 8494: 
 8495:   cygwin*)
 8496:     lt_cv_dlopen="dlopen"
 8497:     lt_cv_dlopen_libs=
 8498:    ;;
 8499: 
 8500:   darwin*)
 8501:   # if libdl is installed we need to link against it
 8502:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 8503: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 8504: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 8505:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8506: else
 8507:   ac_check_lib_save_LIBS=$LIBS
 8508: LIBS="-ldl  $LIBS"
 8509: cat >conftest.$ac_ext <<_ACEOF
 8510: /* confdefs.h.  */
 8511: _ACEOF
 8512: cat confdefs.h >>conftest.$ac_ext
 8513: cat >>conftest.$ac_ext <<_ACEOF
 8514: /* end confdefs.h.  */
 8515: 
 8516: /* Override any gcc2 internal prototype to avoid an error.  */
 8517: #ifdef __cplusplus
 8518: extern "C"
 8519: #endif
 8520: /* We use char because int might match the return type of a gcc2
 8521:    builtin and then its argument prototype would still apply.  */
 8522: char dlopen ();
 8523: int
 8524: main ()
 8525: {
 8526: dlopen ();
 8527:   ;
 8528:   return 0;
 8529: }
 8530: _ACEOF
 8531: rm -f conftest.$ac_objext conftest$ac_exeext
 8532: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8533:   (eval $ac_link) 2>conftest.er1
 8534:   ac_status=$?
 8535:   grep -v '^ *+' conftest.er1 >conftest.err
 8536:   rm -f conftest.er1
 8537:   cat conftest.err >&5
 8538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8539:   (exit $ac_status); } &&
 8540: 	 { ac_try='test -z "$ac_c_werror_flag"
 8541: 			 || test ! -s conftest.err'
 8542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8543:   (eval $ac_try) 2>&5
 8544:   ac_status=$?
 8545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8546:   (exit $ac_status); }; } &&
 8547: 	 { ac_try='test -s conftest$ac_exeext'
 8548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8549:   (eval $ac_try) 2>&5
 8550:   ac_status=$?
 8551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8552:   (exit $ac_status); }; }; then
 8553:   ac_cv_lib_dl_dlopen=yes
 8554: else
 8555:   echo "$as_me: failed program was:" >&5
 8556: sed 's/^/| /' conftest.$ac_ext >&5
 8557: 
 8558: ac_cv_lib_dl_dlopen=no
 8559: fi
 8560: rm -f conftest.err conftest.$ac_objext \
 8561:       conftest$ac_exeext conftest.$ac_ext
 8562: LIBS=$ac_check_lib_save_LIBS
 8563: fi
 8564: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 8565: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 8566: if test $ac_cv_lib_dl_dlopen = yes; then
 8567:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 8568: else
 8569: 
 8570:     lt_cv_dlopen="dyld"
 8571:     lt_cv_dlopen_libs=
 8572:     lt_cv_dlopen_self=yes
 8573: 
 8574: fi
 8575: 
 8576:    ;;
 8577: 
 8578:   *)
 8579:     echo "$as_me:$LINENO: checking for shl_load" >&5
 8580: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 8581: if test "${ac_cv_func_shl_load+set}" = set; then
 8582:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8583: else
 8584:   cat >conftest.$ac_ext <<_ACEOF
 8585: /* confdefs.h.  */
 8586: _ACEOF
 8587: cat confdefs.h >>conftest.$ac_ext
 8588: cat >>conftest.$ac_ext <<_ACEOF
 8589: /* end confdefs.h.  */
 8590: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 8591:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 8592: #define shl_load innocuous_shl_load
 8593: 
 8594: /* System header to define __stub macros and hopefully few prototypes,
 8595:     which can conflict with char shl_load (); below.
 8596:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 8597:     <limits.h> exists even on freestanding compilers.  */
 8598: 
 8599: #ifdef __STDC__
 8600: # include <limits.h>
 8601: #else
 8602: # include <assert.h>
 8603: #endif
 8604: 
 8605: #undef shl_load
 8606: 
 8607: /* Override any gcc2 internal prototype to avoid an error.  */
 8608: #ifdef __cplusplus
 8609: extern "C"
 8610: {
 8611: #endif
 8612: /* We use char because int might match the return type of a gcc2
 8613:    builtin and then its argument prototype would still apply.  */
 8614: char shl_load ();
 8615: /* The GNU C library defines this for functions which it implements
 8616:     to always fail with ENOSYS.  Some functions are actually named
 8617:     something starting with __ and the normal name is an alias.  */
 8618: #if defined (__stub_shl_load) || defined (__stub___shl_load)
 8619: choke me
 8620: #else
 8621: char (*f) () = shl_load;
 8622: #endif
 8623: #ifdef __cplusplus
 8624: }
 8625: #endif
 8626: 
 8627: int
 8628: main ()
 8629: {
 8630: return f != shl_load;
 8631:   ;
 8632:   return 0;
 8633: }
 8634: _ACEOF
 8635: rm -f conftest.$ac_objext conftest$ac_exeext
 8636: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8637:   (eval $ac_link) 2>conftest.er1
 8638:   ac_status=$?
 8639:   grep -v '^ *+' conftest.er1 >conftest.err
 8640:   rm -f conftest.er1
 8641:   cat conftest.err >&5
 8642:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8643:   (exit $ac_status); } &&
 8644: 	 { ac_try='test -z "$ac_c_werror_flag"
 8645: 			 || test ! -s conftest.err'
 8646:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8647:   (eval $ac_try) 2>&5
 8648:   ac_status=$?
 8649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8650:   (exit $ac_status); }; } &&
 8651: 	 { ac_try='test -s conftest$ac_exeext'
 8652:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8653:   (eval $ac_try) 2>&5
 8654:   ac_status=$?
 8655:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8656:   (exit $ac_status); }; }; then
 8657:   ac_cv_func_shl_load=yes
 8658: else
 8659:   echo "$as_me: failed program was:" >&5
 8660: sed 's/^/| /' conftest.$ac_ext >&5
 8661: 
 8662: ac_cv_func_shl_load=no
 8663: fi
 8664: rm -f conftest.err conftest.$ac_objext \
 8665:       conftest$ac_exeext conftest.$ac_ext
 8666: fi
 8667: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 8668: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 8669: if test $ac_cv_func_shl_load = yes; then
 8670:   lt_cv_dlopen="shl_load"
 8671: else
 8672:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 8673: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 8674: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 8675:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8676: else
 8677:   ac_check_lib_save_LIBS=$LIBS
 8678: LIBS="-ldld  $LIBS"
 8679: cat >conftest.$ac_ext <<_ACEOF
 8680: /* confdefs.h.  */
 8681: _ACEOF
 8682: cat confdefs.h >>conftest.$ac_ext
 8683: cat >>conftest.$ac_ext <<_ACEOF
 8684: /* end confdefs.h.  */
 8685: 
 8686: /* Override any gcc2 internal prototype to avoid an error.  */
 8687: #ifdef __cplusplus
 8688: extern "C"
 8689: #endif
 8690: /* We use char because int might match the return type of a gcc2
 8691:    builtin and then its argument prototype would still apply.  */
 8692: char shl_load ();
 8693: int
 8694: main ()
 8695: {
 8696: shl_load ();
 8697:   ;
 8698:   return 0;
 8699: }
 8700: _ACEOF
 8701: rm -f conftest.$ac_objext conftest$ac_exeext
 8702: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8703:   (eval $ac_link) 2>conftest.er1
 8704:   ac_status=$?
 8705:   grep -v '^ *+' conftest.er1 >conftest.err
 8706:   rm -f conftest.er1
 8707:   cat conftest.err >&5
 8708:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8709:   (exit $ac_status); } &&
 8710: 	 { ac_try='test -z "$ac_c_werror_flag"
 8711: 			 || test ! -s conftest.err'
 8712:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8713:   (eval $ac_try) 2>&5
 8714:   ac_status=$?
 8715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8716:   (exit $ac_status); }; } &&
 8717: 	 { ac_try='test -s conftest$ac_exeext'
 8718:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8719:   (eval $ac_try) 2>&5
 8720:   ac_status=$?
 8721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8722:   (exit $ac_status); }; }; then
 8723:   ac_cv_lib_dld_shl_load=yes
 8724: else
 8725:   echo "$as_me: failed program was:" >&5
 8726: sed 's/^/| /' conftest.$ac_ext >&5
 8727: 
 8728: ac_cv_lib_dld_shl_load=no
 8729: fi
 8730: rm -f conftest.err conftest.$ac_objext \
 8731:       conftest$ac_exeext conftest.$ac_ext
 8732: LIBS=$ac_check_lib_save_LIBS
 8733: fi
 8734: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 8735: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 8736: if test $ac_cv_lib_dld_shl_load = yes; then
 8737:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 8738: else
 8739:   echo "$as_me:$LINENO: checking for dlopen" >&5
 8740: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 8741: if test "${ac_cv_func_dlopen+set}" = set; then
 8742:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8743: else
 8744:   cat >conftest.$ac_ext <<_ACEOF
 8745: /* confdefs.h.  */
 8746: _ACEOF
 8747: cat confdefs.h >>conftest.$ac_ext
 8748: cat >>conftest.$ac_ext <<_ACEOF
 8749: /* end confdefs.h.  */
 8750: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 8751:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 8752: #define dlopen innocuous_dlopen
 8753: 
 8754: /* System header to define __stub macros and hopefully few prototypes,
 8755:     which can conflict with char dlopen (); below.
 8756:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 8757:     <limits.h> exists even on freestanding compilers.  */
 8758: 
 8759: #ifdef __STDC__
 8760: # include <limits.h>
 8761: #else
 8762: # include <assert.h>
 8763: #endif
 8764: 
 8765: #undef dlopen
 8766: 
 8767: /* Override any gcc2 internal prototype to avoid an error.  */
 8768: #ifdef __cplusplus
 8769: extern "C"
 8770: {
 8771: #endif
 8772: /* We use char because int might match the return type of a gcc2
 8773:    builtin and then its argument prototype would still apply.  */
 8774: char dlopen ();
 8775: /* The GNU C library defines this for functions which it implements
 8776:     to always fail with ENOSYS.  Some functions are actually named
 8777:     something starting with __ and the normal name is an alias.  */
 8778: #if defined (__stub_dlopen) || defined (__stub___dlopen)
 8779: choke me
 8780: #else
 8781: char (*f) () = dlopen;
 8782: #endif
 8783: #ifdef __cplusplus
 8784: }
 8785: #endif
 8786: 
 8787: int
 8788: main ()
 8789: {
 8790: return f != dlopen;
 8791:   ;
 8792:   return 0;
 8793: }
 8794: _ACEOF
 8795: rm -f conftest.$ac_objext conftest$ac_exeext
 8796: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8797:   (eval $ac_link) 2>conftest.er1
 8798:   ac_status=$?
 8799:   grep -v '^ *+' conftest.er1 >conftest.err
 8800:   rm -f conftest.er1
 8801:   cat conftest.err >&5
 8802:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8803:   (exit $ac_status); } &&
 8804: 	 { ac_try='test -z "$ac_c_werror_flag"
 8805: 			 || test ! -s conftest.err'
 8806:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8807:   (eval $ac_try) 2>&5
 8808:   ac_status=$?
 8809:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8810:   (exit $ac_status); }; } &&
 8811: 	 { ac_try='test -s conftest$ac_exeext'
 8812:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8813:   (eval $ac_try) 2>&5
 8814:   ac_status=$?
 8815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8816:   (exit $ac_status); }; }; then
 8817:   ac_cv_func_dlopen=yes
 8818: else
 8819:   echo "$as_me: failed program was:" >&5
 8820: sed 's/^/| /' conftest.$ac_ext >&5
 8821: 
 8822: ac_cv_func_dlopen=no
 8823: fi
 8824: rm -f conftest.err conftest.$ac_objext \
 8825:       conftest$ac_exeext conftest.$ac_ext
 8826: fi
 8827: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 8828: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 8829: if test $ac_cv_func_dlopen = yes; then
 8830:   lt_cv_dlopen="dlopen"
 8831: else
 8832:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 8833: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 8834: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 8835:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8836: else
 8837:   ac_check_lib_save_LIBS=$LIBS
 8838: LIBS="-ldl  $LIBS"
 8839: cat >conftest.$ac_ext <<_ACEOF
 8840: /* confdefs.h.  */
 8841: _ACEOF
 8842: cat confdefs.h >>conftest.$ac_ext
 8843: cat >>conftest.$ac_ext <<_ACEOF
 8844: /* end confdefs.h.  */
 8845: 
 8846: /* Override any gcc2 internal prototype to avoid an error.  */
 8847: #ifdef __cplusplus
 8848: extern "C"
 8849: #endif
 8850: /* We use char because int might match the return type of a gcc2
 8851:    builtin and then its argument prototype would still apply.  */
 8852: char dlopen ();
 8853: int
 8854: main ()
 8855: {
 8856: dlopen ();
 8857:   ;
 8858:   return 0;
 8859: }
 8860: _ACEOF
 8861: rm -f conftest.$ac_objext conftest$ac_exeext
 8862: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8863:   (eval $ac_link) 2>conftest.er1
 8864:   ac_status=$?
 8865:   grep -v '^ *+' conftest.er1 >conftest.err
 8866:   rm -f conftest.er1
 8867:   cat conftest.err >&5
 8868:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8869:   (exit $ac_status); } &&
 8870: 	 { ac_try='test -z "$ac_c_werror_flag"
 8871: 			 || test ! -s conftest.err'
 8872:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8873:   (eval $ac_try) 2>&5
 8874:   ac_status=$?
 8875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8876:   (exit $ac_status); }; } &&
 8877: 	 { ac_try='test -s conftest$ac_exeext'
 8878:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8879:   (eval $ac_try) 2>&5
 8880:   ac_status=$?
 8881:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8882:   (exit $ac_status); }; }; then
 8883:   ac_cv_lib_dl_dlopen=yes
 8884: else
 8885:   echo "$as_me: failed program was:" >&5
 8886: sed 's/^/| /' conftest.$ac_ext >&5
 8887: 
 8888: ac_cv_lib_dl_dlopen=no
 8889: fi
 8890: rm -f conftest.err conftest.$ac_objext \
 8891:       conftest$ac_exeext conftest.$ac_ext
 8892: LIBS=$ac_check_lib_save_LIBS
 8893: fi
 8894: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 8895: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 8896: if test $ac_cv_lib_dl_dlopen = yes; then
 8897:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 8898: else
 8899:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 8900: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 8901: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 8902:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8903: else
 8904:   ac_check_lib_save_LIBS=$LIBS
 8905: LIBS="-lsvld  $LIBS"
 8906: cat >conftest.$ac_ext <<_ACEOF
 8907: /* confdefs.h.  */
 8908: _ACEOF
 8909: cat confdefs.h >>conftest.$ac_ext
 8910: cat >>conftest.$ac_ext <<_ACEOF
 8911: /* end confdefs.h.  */
 8912: 
 8913: /* Override any gcc2 internal prototype to avoid an error.  */
 8914: #ifdef __cplusplus
 8915: extern "C"
 8916: #endif
 8917: /* We use char because int might match the return type of a gcc2
 8918:    builtin and then its argument prototype would still apply.  */
 8919: char dlopen ();
 8920: int
 8921: main ()
 8922: {
 8923: dlopen ();
 8924:   ;
 8925:   return 0;
 8926: }
 8927: _ACEOF
 8928: rm -f conftest.$ac_objext conftest$ac_exeext
 8929: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8930:   (eval $ac_link) 2>conftest.er1
 8931:   ac_status=$?
 8932:   grep -v '^ *+' conftest.er1 >conftest.err
 8933:   rm -f conftest.er1
 8934:   cat conftest.err >&5
 8935:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8936:   (exit $ac_status); } &&
 8937: 	 { ac_try='test -z "$ac_c_werror_flag"
 8938: 			 || test ! -s conftest.err'
 8939:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8940:   (eval $ac_try) 2>&5
 8941:   ac_status=$?
 8942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8943:   (exit $ac_status); }; } &&
 8944: 	 { ac_try='test -s conftest$ac_exeext'
 8945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8946:   (eval $ac_try) 2>&5
 8947:   ac_status=$?
 8948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8949:   (exit $ac_status); }; }; then
 8950:   ac_cv_lib_svld_dlopen=yes
 8951: else
 8952:   echo "$as_me: failed program was:" >&5
 8953: sed 's/^/| /' conftest.$ac_ext >&5
 8954: 
 8955: ac_cv_lib_svld_dlopen=no
 8956: fi
 8957: rm -f conftest.err conftest.$ac_objext \
 8958:       conftest$ac_exeext conftest.$ac_ext
 8959: LIBS=$ac_check_lib_save_LIBS
 8960: fi
 8961: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 8962: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 8963: if test $ac_cv_lib_svld_dlopen = yes; then
 8964:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 8965: else
 8966:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 8967: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 8968: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 8969:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8970: else
 8971:   ac_check_lib_save_LIBS=$LIBS
 8972: LIBS="-ldld  $LIBS"
 8973: cat >conftest.$ac_ext <<_ACEOF
 8974: /* confdefs.h.  */
 8975: _ACEOF
 8976: cat confdefs.h >>conftest.$ac_ext
 8977: cat >>conftest.$ac_ext <<_ACEOF
 8978: /* end confdefs.h.  */
 8979: 
 8980: /* Override any gcc2 internal prototype to avoid an error.  */
 8981: #ifdef __cplusplus
 8982: extern "C"
 8983: #endif
 8984: /* We use char because int might match the return type of a gcc2
 8985:    builtin and then its argument prototype would still apply.  */
 8986: char dld_link ();
 8987: int
 8988: main ()
 8989: {
 8990: dld_link ();
 8991:   ;
 8992:   return 0;
 8993: }
 8994: _ACEOF
 8995: rm -f conftest.$ac_objext conftest$ac_exeext
 8996: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8997:   (eval $ac_link) 2>conftest.er1
 8998:   ac_status=$?
 8999:   grep -v '^ *+' conftest.er1 >conftest.err
 9000:   rm -f conftest.er1
 9001:   cat conftest.err >&5
 9002:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9003:   (exit $ac_status); } &&
 9004: 	 { ac_try='test -z "$ac_c_werror_flag"
 9005: 			 || test ! -s conftest.err'
 9006:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9007:   (eval $ac_try) 2>&5
 9008:   ac_status=$?
 9009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9010:   (exit $ac_status); }; } &&
 9011: 	 { ac_try='test -s conftest$ac_exeext'
 9012:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9013:   (eval $ac_try) 2>&5
 9014:   ac_status=$?
 9015:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9016:   (exit $ac_status); }; }; then
 9017:   ac_cv_lib_dld_dld_link=yes
 9018: else
 9019:   echo "$as_me: failed program was:" >&5
 9020: sed 's/^/| /' conftest.$ac_ext >&5
 9021: 
 9022: ac_cv_lib_dld_dld_link=no
 9023: fi
 9024: rm -f conftest.err conftest.$ac_objext \
 9025:       conftest$ac_exeext conftest.$ac_ext
 9026: LIBS=$ac_check_lib_save_LIBS
 9027: fi
 9028: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 9029: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 9030: if test $ac_cv_lib_dld_dld_link = yes; then
 9031:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 9032: fi
 9033: 
 9034: 
 9035: fi
 9036: 
 9037: 
 9038: fi
 9039: 
 9040: 
 9041: fi
 9042: 
 9043: 
 9044: fi
 9045: 
 9046: 
 9047: fi
 9048: 
 9049:     ;;
 9050:   esac
 9051: 
 9052:   if test "x$lt_cv_dlopen" != xno; then
 9053:     enable_dlopen=yes
 9054:   else
 9055:     enable_dlopen=no
 9056:   fi
 9057: 
 9058:   case $lt_cv_dlopen in
 9059:   dlopen)
 9060:     save_CPPFLAGS="$CPPFLAGS"
 9061:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 9062: 
 9063:     save_LDFLAGS="$LDFLAGS"
 9064:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 9065: 
 9066:     save_LIBS="$LIBS"
 9067:     LIBS="$lt_cv_dlopen_libs $LIBS"
 9068: 
 9069:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 9070: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 9071: if test "${lt_cv_dlopen_self+set}" = set; then
 9072:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9073: else
 9074:   	  if test "$cross_compiling" = yes; then :
 9075:   lt_cv_dlopen_self=cross
 9076: else
 9077:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 9078:   lt_status=$lt_dlunknown
 9079:   cat > conftest.$ac_ext <<EOF
 9080: #line 9080 "configure"
 9081: #include "confdefs.h"
 9082: 
 9083: #if HAVE_DLFCN_H
 9084: #include <dlfcn.h>
 9085: #endif
 9086: 
 9087: #include <stdio.h>
 9088: 
 9089: #ifdef RTLD_GLOBAL
 9090: #  define LT_DLGLOBAL		RTLD_GLOBAL
 9091: #else
 9092: #  ifdef DL_GLOBAL
 9093: #    define LT_DLGLOBAL		DL_GLOBAL
 9094: #  else
 9095: #    define LT_DLGLOBAL		0
 9096: #  endif
 9097: #endif
 9098: 
 9099: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 9100:    find out it does not work in some platform. */
 9101: #ifndef LT_DLLAZY_OR_NOW
 9102: #  ifdef RTLD_LAZY
 9103: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 9104: #  else
 9105: #    ifdef DL_LAZY
 9106: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 9107: #    else
 9108: #      ifdef RTLD_NOW
 9109: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 9110: #      else
 9111: #        ifdef DL_NOW
 9112: #          define LT_DLLAZY_OR_NOW	DL_NOW
 9113: #        else
 9114: #          define LT_DLLAZY_OR_NOW	0
 9115: #        endif
 9116: #      endif
 9117: #    endif
 9118: #  endif
 9119: #endif
 9120: 
 9121: #ifdef __cplusplus
 9122: extern "C" void exit (int);
 9123: #endif
 9124: 
 9125: void fnord() { int i=42;}
 9126: int main ()
 9127: {
 9128:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 9129:   int status = $lt_dlunknown;
 9130: 
 9131:   if (self)
 9132:     {
 9133:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 9134:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 9135:       /* dlclose (self); */
 9136:     }
 9137:   else
 9138:     puts (dlerror ());
 9139: 
 9140:     exit (status);
 9141: }
 9142: EOF
 9143:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9144:   (eval $ac_link) 2>&5
 9145:   ac_status=$?
 9146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9147:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 9148:     (./conftest; exit; ) >&5 2>/dev/null
 9149:     lt_status=$?
 9150:     case x$lt_status in
 9151:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 9152:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 9153:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 9154:     esac
 9155:   else :
 9156:     # compilation failed
 9157:     lt_cv_dlopen_self=no
 9158:   fi
 9159: fi
 9160: rm -fr conftest*
 9161: 
 9162: 
 9163: fi
 9164: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 9165: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 9166: 
 9167:     if test "x$lt_cv_dlopen_self" = xyes; then
 9168:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 9169:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 9170: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 9171: if test "${lt_cv_dlopen_self_static+set}" = set; then
 9172:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9173: else
 9174:   	  if test "$cross_compiling" = yes; then :
 9175:   lt_cv_dlopen_self_static=cross
 9176: else
 9177:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 9178:   lt_status=$lt_dlunknown
 9179:   cat > conftest.$ac_ext <<EOF
 9180: #line 9180 "configure"
 9181: #include "confdefs.h"
 9182: 
 9183: #if HAVE_DLFCN_H
 9184: #include <dlfcn.h>
 9185: #endif
 9186: 
 9187: #include <stdio.h>
 9188: 
 9189: #ifdef RTLD_GLOBAL
 9190: #  define LT_DLGLOBAL		RTLD_GLOBAL
 9191: #else
 9192: #  ifdef DL_GLOBAL
 9193: #    define LT_DLGLOBAL		DL_GLOBAL
 9194: #  else
 9195: #    define LT_DLGLOBAL		0
 9196: #  endif
 9197: #endif
 9198: 
 9199: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 9200:    find out it does not work in some platform. */
 9201: #ifndef LT_DLLAZY_OR_NOW
 9202: #  ifdef RTLD_LAZY
 9203: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 9204: #  else
 9205: #    ifdef DL_LAZY
 9206: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 9207: #    else
 9208: #      ifdef RTLD_NOW
 9209: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 9210: #      else
 9211: #        ifdef DL_NOW
 9212: #          define LT_DLLAZY_OR_NOW	DL_NOW
 9213: #        else
 9214: #          define LT_DLLAZY_OR_NOW	0
 9215: #        endif
 9216: #      endif
 9217: #    endif
 9218: #  endif
 9219: #endif
 9220: 
 9221: #ifdef __cplusplus
 9222: extern "C" void exit (int);
 9223: #endif
 9224: 
 9225: void fnord() { int i=42;}
 9226: int main ()
 9227: {
 9228:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 9229:   int status = $lt_dlunknown;
 9230: 
 9231:   if (self)
 9232:     {
 9233:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 9234:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 9235:       /* dlclose (self); */
 9236:     }
 9237:   else
 9238:     puts (dlerror ());
 9239: 
 9240:     exit (status);
 9241: }
 9242: EOF
 9243:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9244:   (eval $ac_link) 2>&5
 9245:   ac_status=$?
 9246:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9247:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 9248:     (./conftest; exit; ) >&5 2>/dev/null
 9249:     lt_status=$?
 9250:     case x$lt_status in
 9251:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 9252:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 9253:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 9254:     esac
 9255:   else :
 9256:     # compilation failed
 9257:     lt_cv_dlopen_self_static=no
 9258:   fi
 9259: fi
 9260: rm -fr conftest*
 9261: 
 9262: 
 9263: fi
 9264: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 9265: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 9266:     fi
 9267: 
 9268:     CPPFLAGS="$save_CPPFLAGS"
 9269:     LDFLAGS="$save_LDFLAGS"
 9270:     LIBS="$save_LIBS"
 9271:     ;;
 9272:   esac
 9273: 
 9274:   case $lt_cv_dlopen_self in
 9275:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 9276:   *) enable_dlopen_self=unknown ;;
 9277:   esac
 9278: 
 9279:   case $lt_cv_dlopen_self_static in
 9280:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 9281:   *) enable_dlopen_self_static=unknown ;;
 9282:   esac
 9283: fi
 9284: 
 9285: 
 9286: # Report which library types will actually be built
 9287: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 9288: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 9289: echo "$as_me:$LINENO: result: $can_build_shared" >&5
 9290: echo "${ECHO_T}$can_build_shared" >&6
 9291: 
 9292: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 9293: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 9294: test "$can_build_shared" = "no" && enable_shared=no
 9295: 
 9296: # On AIX, shared libraries and static libraries use the same namespace, and
 9297: # are all built from PIC.
 9298: case $host_os in
 9299: aix3*)
 9300:   test "$enable_shared" = yes && enable_static=no
 9301:   if test -n "$RANLIB"; then
 9302:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
 9303:     postinstall_cmds='$RANLIB $lib'
 9304:   fi
 9305:   ;;
 9306: 
 9307: aix4* | aix5*)
 9308:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 9309:     test "$enable_shared" = yes && enable_static=no
 9310:   fi
 9311:     ;;
 9312: esac
 9313: echo "$as_me:$LINENO: result: $enable_shared" >&5
 9314: echo "${ECHO_T}$enable_shared" >&6
 9315: 
 9316: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 9317: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 9318: # Make sure either enable_shared or enable_static is yes.
 9319: test "$enable_shared" = yes || enable_static=yes
 9320: echo "$as_me:$LINENO: result: $enable_static" >&5
 9321: echo "${ECHO_T}$enable_static" >&6
 9322: 
 9323: # The else clause should only fire when bootstrapping the
 9324: # libtool distribution, otherwise you forgot to ship ltmain.sh
 9325: # with your package, and you will get complaints that there are
 9326: # no rules to generate ltmain.sh.
 9327: if test -f "$ltmain"; then
 9328:   # See if we are running on zsh, and set the options which allow our commands through
 9329:   # without removal of \ escapes.
 9330:   if test -n "${ZSH_VERSION+set}" ; then
 9331:     setopt NO_GLOB_SUBST
 9332:   fi
 9333:   # Now quote all the things that may contain metacharacters while being
 9334:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 9335:   # variables and quote the copies for generation of the libtool script.
 9336:   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 9337:     SED SHELL STRIP \
 9338:     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 9339:     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 9340:     deplibs_check_method reload_flag reload_cmds need_locks \
 9341:     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 9342:     lt_cv_sys_global_symbol_to_c_name_address \
 9343:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 9344:     old_postinstall_cmds old_postuninstall_cmds \
 9345:     compiler \
 9346:     CC \
 9347:     LD \
 9348:     lt_prog_compiler_wl \
 9349:     lt_prog_compiler_pic \
 9350:     lt_prog_compiler_static \
 9351:     lt_prog_compiler_no_builtin_flag \
 9352:     export_dynamic_flag_spec \
 9353:     thread_safe_flag_spec \
 9354:     whole_archive_flag_spec \
 9355:     enable_shared_with_static_runtimes \
 9356:     old_archive_cmds \
 9357:     old_archive_from_new_cmds \
 9358:     predep_objects \
 9359:     postdep_objects \
 9360:     predeps \
 9361:     postdeps \
 9362:     compiler_lib_search_path \
 9363:     archive_cmds \
 9364:     archive_expsym_cmds \
 9365:     postinstall_cmds \
 9366:     postuninstall_cmds \
 9367:     old_archive_from_expsyms_cmds \
 9368:     allow_undefined_flag \
 9369:     no_undefined_flag \
 9370:     export_symbols_cmds \
 9371:     hardcode_libdir_flag_spec \
 9372:     hardcode_libdir_flag_spec_ld \
 9373:     hardcode_libdir_separator \
 9374:     hardcode_automatic \
 9375:     module_cmds \
 9376:     module_expsym_cmds \
 9377:     lt_cv_prog_compiler_c_o \
 9378:     exclude_expsyms \
 9379:     include_expsyms; do
 9380: 
 9381:     case $var in
 9382:     old_archive_cmds | \
 9383:     old_archive_from_new_cmds | \
 9384:     archive_cmds | \
 9385:     archive_expsym_cmds | \
 9386:     module_cmds | \
 9387:     module_expsym_cmds | \
 9388:     old_archive_from_expsyms_cmds | \
 9389:     export_symbols_cmds | \
 9390:     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 9391:     postinstall_cmds | postuninstall_cmds | \
 9392:     old_postinstall_cmds | old_postuninstall_cmds | \
 9393:     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 9394:       # Double-quote double-evaled strings.
 9395:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 9396:       ;;
 9397:     *)
 9398:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 9399:       ;;
 9400:     esac
 9401:   done
 9402: 
 9403:   case $lt_echo in
 9404:   *'\$0 --fallback-echo"')
 9405:     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 9406:     ;;
 9407:   esac
 9408: 
 9409: cfgfile="${ofile}T"
 9410:   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 9411:   $rm -f "$cfgfile"
 9412:   { echo "$as_me:$LINENO: creating $ofile" >&5
 9413: echo "$as_me: creating $ofile" >&6;}
 9414: 
 9415:   cat <<__EOF__ >> "$cfgfile"
 9416: #! $SHELL
 9417: 
 9418: # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 9419: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 9420: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 9421: #
 9422: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 9423: # Free Software Foundation, Inc.
 9424: #
 9425: # This file is part of GNU Libtool:
 9426: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 9427: #
 9428: # This program is free software; you can redistribute it and/or modify
 9429: # it under the terms of the GNU General Public License as published by
 9430: # the Free Software Foundation; either version 2 of the License, or
 9431: # (at your option) any later version.
 9432: #
 9433: # This program is distributed in the hope that it will be useful, but
 9434: # WITHOUT ANY WARRANTY; without even the implied warranty of
 9435: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 9436: # General Public License for more details.
 9437: #
 9438: # You should have received a copy of the GNU General Public License
 9439: # along with this program; if not, write to the Free Software
 9440: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 9441: #
 9442: # As a special exception to the GNU General Public License, if you
 9443: # distribute this file as part of a program that contains a
 9444: # configuration script generated by Autoconf, you may include it under
 9445: # the same distribution terms that you use for the rest of that program.
 9446: 
 9447: # A sed program that does not truncate output.
 9448: SED=$lt_SED
 9449: 
 9450: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 9451: Xsed="$SED -e 1s/^X//"
 9452: 
 9453: # The HP-UX ksh and POSIX shell print the target directory to stdout
 9454: # if CDPATH is set.
 9455: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9456: 
 9457: # The names of the tagged configurations supported by this script.
 9458: available_tags=
 9459: 
 9460: # ### BEGIN LIBTOOL CONFIG
 9461: 
 9462: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 9463: 
 9464: # Shell to use when invoking shell scripts.
 9465: SHELL=$lt_SHELL
 9466: 
 9467: # Whether or not to build shared libraries.
 9468: build_libtool_libs=$enable_shared
 9469: 
 9470: # Whether or not to build static libraries.
 9471: build_old_libs=$enable_static
 9472: 
 9473: # Whether or not to add -lc for building shared libraries.
 9474: build_libtool_need_lc=$archive_cmds_need_lc
 9475: 
 9476: # Whether or not to disallow shared libs when runtime libs are static
 9477: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 9478: 
 9479: # Whether or not to optimize for fast installation.
 9480: fast_install=$enable_fast_install
 9481: 
 9482: # The host system.
 9483: host_alias=$host_alias
 9484: host=$host
 9485: host_os=$host_os
 9486: 
 9487: # The build system.
 9488: build_alias=$build_alias
 9489: build=$build
 9490: build_os=$build_os
 9491: 
 9492: # An echo program that does not interpret backslashes.
 9493: echo=$lt_echo
 9494: 
 9495: # The archiver.
 9496: AR=$lt_AR
 9497: AR_FLAGS=$lt_AR_FLAGS
 9498: 
 9499: # A C compiler.
 9500: LTCC=$lt_LTCC
 9501: 
 9502: # LTCC compiler flags.
 9503: LTCFLAGS=$lt_LTCFLAGS
 9504: 
 9505: # A language-specific compiler.
 9506: CC=$lt_compiler
 9507: 
 9508: # Is the compiler the GNU C compiler?
 9509: with_gcc=$GCC
 9510: 
 9511: # An ERE matcher.
 9512: EGREP=$lt_EGREP
 9513: 
 9514: # The linker used to build libraries.
 9515: LD=$lt_LD
 9516: 
 9517: # Whether we need hard or soft links.
 9518: LN_S=$lt_LN_S
 9519: 
 9520: # A BSD-compatible nm program.
 9521: NM=$lt_NM
 9522: 
 9523: # A symbol stripping program
 9524: STRIP=$lt_STRIP
 9525: 
 9526: # Used to examine libraries when file_magic_cmd begins "file"
 9527: MAGIC_CMD=$MAGIC_CMD
 9528: 
 9529: # Used on cygwin: DLL creation program.
 9530: DLLTOOL="$DLLTOOL"
 9531: 
 9532: # Used on cygwin: object dumper.
 9533: OBJDUMP="$OBJDUMP"
 9534: 
 9535: # Used on cygwin: assembler.
 9536: AS="$AS"
 9537: 
 9538: # The name of the directory that contains temporary libtool files.
 9539: objdir=$objdir
 9540: 
 9541: # How to create reloadable object files.
 9542: reload_flag=$lt_reload_flag
 9543: reload_cmds=$lt_reload_cmds
 9544: 
 9545: # How to pass a linker flag through the compiler.
 9546: wl=$lt_lt_prog_compiler_wl
 9547: 
 9548: # Object file suffix (normally "o").
 9549: objext="$ac_objext"
 9550: 
 9551: # Old archive suffix (normally "a").
 9552: libext="$libext"
 9553: 
 9554: # Shared library suffix (normally ".so").
 9555: shrext_cmds='$shrext_cmds'
 9556: 
 9557: # Executable file suffix (normally "").
 9558: exeext="$exeext"
 9559: 
 9560: # Additional compiler flags for building library objects.
 9561: pic_flag=$lt_lt_prog_compiler_pic
 9562: pic_mode=$pic_mode
 9563: 
 9564: # What is the maximum length of a command?
 9565: max_cmd_len=$lt_cv_sys_max_cmd_len
 9566: 
 9567: # Does compiler simultaneously support -c and -o options?
 9568: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 9569: 
 9570: # Must we lock files when doing compilation?
 9571: need_locks=$lt_need_locks
 9572: 
 9573: # Do we need the lib prefix for modules?
 9574: need_lib_prefix=$need_lib_prefix
 9575: 
 9576: # Do we need a version for libraries?
 9577: need_version=$need_version
 9578: 
 9579: # Whether dlopen is supported.
 9580: dlopen_support=$enable_dlopen
 9581: 
 9582: # Whether dlopen of programs is supported.
 9583: dlopen_self=$enable_dlopen_self
 9584: 
 9585: # Whether dlopen of statically linked programs is supported.
 9586: dlopen_self_static=$enable_dlopen_self_static
 9587: 
 9588: # Compiler flag to prevent dynamic linking.
 9589: link_static_flag=$lt_lt_prog_compiler_static
 9590: 
 9591: # Compiler flag to turn off builtin functions.
 9592: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 9593: 
 9594: # Compiler flag to allow reflexive dlopens.
 9595: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 9596: 
 9597: # Compiler flag to generate shared objects directly from archives.
 9598: whole_archive_flag_spec=$lt_whole_archive_flag_spec
 9599: 
 9600: # Compiler flag to generate thread-safe objects.
 9601: thread_safe_flag_spec=$lt_thread_safe_flag_spec
 9602: 
 9603: # Library versioning type.
 9604: version_type=$version_type
 9605: 
 9606: # Format of library name prefix.
 9607: libname_spec=$lt_libname_spec
 9608: 
 9609: # List of archive names.  First name is the real one, the rest are links.
 9610: # The last name is the one that the linker finds with -lNAME.
 9611: library_names_spec=$lt_library_names_spec
 9612: 
 9613: # The coded name of the library, if different from the real name.
 9614: soname_spec=$lt_soname_spec
 9615: 
 9616: # Commands used to build and install an old-style archive.
 9617: RANLIB=$lt_RANLIB
 9618: old_archive_cmds=$lt_old_archive_cmds
 9619: old_postinstall_cmds=$lt_old_postinstall_cmds
 9620: old_postuninstall_cmds=$lt_old_postuninstall_cmds
 9621: 
 9622: # Create an old-style archive from a shared archive.
 9623: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 9624: 
 9625: # Create a temporary old-style archive to link instead of a shared archive.
 9626: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 9627: 
 9628: # Commands used to build and install a shared archive.
 9629: archive_cmds=$lt_archive_cmds
 9630: archive_expsym_cmds=$lt_archive_expsym_cmds
 9631: postinstall_cmds=$lt_postinstall_cmds
 9632: postuninstall_cmds=$lt_postuninstall_cmds
 9633: 
 9634: # Commands used to build a loadable module (assumed same as above if empty)
 9635: module_cmds=$lt_module_cmds
 9636: module_expsym_cmds=$lt_module_expsym_cmds
 9637: 
 9638: # Commands to strip libraries.
 9639: old_striplib=$lt_old_striplib
 9640: striplib=$lt_striplib
 9641: 
 9642: # Dependencies to place before the objects being linked to create a
 9643: # shared library.
 9644: predep_objects=$lt_predep_objects
 9645: 
 9646: # Dependencies to place after the objects being linked to create a
 9647: # shared library.
 9648: postdep_objects=$lt_postdep_objects
 9649: 
 9650: # Dependencies to place before the objects being linked to create a
 9651: # shared library.
 9652: predeps=$lt_predeps
 9653: 
 9654: # Dependencies to place after the objects being linked to create a
 9655: # shared library.
 9656: postdeps=$lt_postdeps
 9657: 
 9658: # The library search path used internally by the compiler when linking
 9659: # a shared library.
 9660: compiler_lib_search_path=$lt_compiler_lib_search_path
 9661: 
 9662: # Method to check whether dependent libraries are shared objects.
 9663: deplibs_check_method=$lt_deplibs_check_method
 9664: 
 9665: # Command to use when deplibs_check_method == file_magic.
 9666: file_magic_cmd=$lt_file_magic_cmd
 9667: 
 9668: # Flag that allows shared libraries with undefined symbols to be built.
 9669: allow_undefined_flag=$lt_allow_undefined_flag
 9670: 
 9671: # Flag that forces no undefined symbols.
 9672: no_undefined_flag=$lt_no_undefined_flag
 9673: 
 9674: # Commands used to finish a libtool library installation in a directory.
 9675: finish_cmds=$lt_finish_cmds
 9676: 
 9677: # Same as above, but a single script fragment to be evaled but not shown.
 9678: finish_eval=$lt_finish_eval
 9679: 
 9680: # Take the output of nm and produce a listing of raw symbols and C names.
 9681: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 9682: 
 9683: # Transform the output of nm in a proper C declaration
 9684: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 9685: 
 9686: # Transform the output of nm in a C name address pair
 9687: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 9688: 
 9689: # This is the shared library runtime path variable.
 9690: runpath_var=$runpath_var
 9691: 
 9692: # This is the shared library path variable.
 9693: shlibpath_var=$shlibpath_var
 9694: 
 9695: # Is shlibpath searched before the hard-coded library search path?
 9696: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 9697: 
 9698: # How to hardcode a shared library path into an executable.
 9699: hardcode_action=$hardcode_action
 9700: 
 9701: # Whether we should hardcode library paths into libraries.
 9702: hardcode_into_libs=$hardcode_into_libs
 9703: 
 9704: # Flag to hardcode \$libdir into a binary during linking.
 9705: # This must work even if \$libdir does not exist.
 9706: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 9707: 
 9708: # If ld is used when linking, flag to hardcode \$libdir into
 9709: # a binary during linking. This must work even if \$libdir does
 9710: # not exist.
 9711: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 9712: 
 9713: # Whether we need a single -rpath flag with a separated argument.
 9714: hardcode_libdir_separator=$lt_hardcode_libdir_separator
 9715: 
 9716: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 9717: # resulting binary.
 9718: hardcode_direct=$hardcode_direct
 9719: 
 9720: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 9721: # resulting binary.
 9722: hardcode_minus_L=$hardcode_minus_L
 9723: 
 9724: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 9725: # the resulting binary.
 9726: hardcode_shlibpath_var=$hardcode_shlibpath_var
 9727: 
 9728: # Set to yes if building a shared library automatically hardcodes DIR into the library
 9729: # and all subsequent libraries and executables linked against it.
 9730: hardcode_automatic=$hardcode_automatic
 9731: 
 9732: # Variables whose values should be saved in libtool wrapper scripts and
 9733: # restored at relink time.
 9734: variables_saved_for_relink="$variables_saved_for_relink"
 9735: 
 9736: # Whether libtool must link a program against all its dependency libraries.
 9737: link_all_deplibs=$link_all_deplibs
 9738: 
 9739: # Compile-time system search path for libraries
 9740: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 9741: 
 9742: # Run-time system search path for libraries
 9743: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 9744: 
 9745: # Fix the shell variable \$srcfile for the compiler.
 9746: fix_srcfile_path="$fix_srcfile_path"
 9747: 
 9748: # Set to yes if exported symbols are required.
 9749: always_export_symbols=$always_export_symbols
 9750: 
 9751: # The commands to list exported symbols.
 9752: export_symbols_cmds=$lt_export_symbols_cmds
 9753: 
 9754: # The commands to extract the exported symbol list from a shared archive.
 9755: extract_expsyms_cmds=$lt_extract_expsyms_cmds
 9756: 
 9757: # Symbols that should not be listed in the preloaded symbols.
 9758: exclude_expsyms=$lt_exclude_expsyms
 9759: 
 9760: # Symbols that must always be exported.
 9761: include_expsyms=$lt_include_expsyms
 9762: 
 9763: # ### END LIBTOOL CONFIG
 9764: 
 9765: __EOF__
 9766: 
 9767: 
 9768:   case $host_os in
 9769:   aix3*)
 9770:     cat <<\EOF >> "$cfgfile"
 9771: 
 9772: # AIX sometimes has problems with the GCC collect2 program.  For some
 9773: # reason, if we set the COLLECT_NAMES environment variable, the problems
 9774: # vanish in a puff of smoke.
 9775: if test "X${COLLECT_NAMES+set}" != Xset; then
 9776:   COLLECT_NAMES=
 9777:   export COLLECT_NAMES
 9778: fi
 9779: EOF
 9780:     ;;
 9781:   esac
 9782: 
 9783:   # We use sed instead of cat because bash on DJGPP gets confused if
 9784:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 9785:   # text mode, it properly converts lines to CR/LF.  This bash problem
 9786:   # is reportedly fixed, but why not run on old versions too?
 9787:   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 9788: 
 9789:   mv -f "$cfgfile" "$ofile" || \
 9790:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 9791:   chmod +x "$ofile"
 9792: 
 9793: else
 9794:   # If there is no Makefile yet, we rely on a make rule to execute
 9795:   # `config.status --recheck' to rerun these tests and create the
 9796:   # libtool script then.
 9797:   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 9798:   if test -f "$ltmain_in"; then
 9799:     test -f Makefile && make "$ltmain"
 9800:   fi
 9801: fi
 9802: 
 9803: 
 9804: ac_ext=c
 9805: ac_cpp='$CPP $CPPFLAGS'
 9806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 9809: 
 9810: CC="$lt_save_CC"
 9811: 
 9812: 
 9813: # Check whether --with-tags or --without-tags was given.
 9814: if test "${with_tags+set}" = set; then
 9815:   withval="$with_tags"
 9816:   tagnames="$withval"
 9817: fi;
 9818: 
 9819: if test -f "$ltmain" && test -n "$tagnames"; then
 9820:   if test ! -f "${ofile}"; then
 9821:     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 9822: echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 9823:   fi
 9824: 
 9825:   if test -z "$LTCC"; then
 9826:     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 9827:     if test -z "$LTCC"; then
 9828:       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 9829: echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 9830:     else
 9831:       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 9832: echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 9833:     fi
 9834:   fi
 9835:   if test -z "$LTCFLAGS"; then
 9836:     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 9837:   fi
 9838: 
 9839:   # Extract list of available tagged configurations in $ofile.
 9840:   # Note that this assumes the entire list is on one line.
 9841:   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 9842: 
 9843:   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 9844:   for tagname in $tagnames; do
 9845:     IFS="$lt_save_ifs"
 9846:     # Check whether tagname contains only valid characters
 9847:     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 9848:     "") ;;
 9849:     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 9850: echo "$as_me: error: invalid tag name: $tagname" >&2;}
 9851:    { (exit 1); exit 1; }; }
 9852: 	;;
 9853:     esac
 9854: 
 9855:     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 9856:     then
 9857:       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 9858: echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 9859:    { (exit 1); exit 1; }; }
 9860:     fi
 9861: 
 9862:     # Update the list of available tags.
 9863:     if test -n "$tagname"; then
 9864:       echo appending configuration tag \"$tagname\" to $ofile
 9865: 
 9866:       case $tagname in
 9867:       CXX)
 9868: 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 9869: 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 9870: 	    (test "X$CXX" != "Xg++"))) ; then
 9871: 	  ac_ext=cc
 9872: ac_cpp='$CXXCPP $CPPFLAGS'
 9873: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9874: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9875: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 9876: 
 9877: 
 9878: 
 9879: 
 9880: archive_cmds_need_lc_CXX=no
 9881: allow_undefined_flag_CXX=
 9882: always_export_symbols_CXX=no
 9883: archive_expsym_cmds_CXX=
 9884: export_dynamic_flag_spec_CXX=
 9885: hardcode_direct_CXX=no
 9886: hardcode_libdir_flag_spec_CXX=
 9887: hardcode_libdir_flag_spec_ld_CXX=
 9888: hardcode_libdir_separator_CXX=
 9889: hardcode_minus_L_CXX=no
 9890: hardcode_shlibpath_var_CXX=unsupported
 9891: hardcode_automatic_CXX=no
 9892: module_cmds_CXX=
 9893: module_expsym_cmds_CXX=
 9894: link_all_deplibs_CXX=unknown
 9895: old_archive_cmds_CXX=$old_archive_cmds
 9896: no_undefined_flag_CXX=
 9897: whole_archive_flag_spec_CXX=
 9898: enable_shared_with_static_runtimes_CXX=no
 9899: 
 9900: # Dependencies to place before and after the object being linked:
 9901: predep_objects_CXX=
 9902: postdep_objects_CXX=
 9903: predeps_CXX=
 9904: postdeps_CXX=
 9905: compiler_lib_search_path_CXX=
 9906: 
 9907: # Source file extension for C++ test sources.
 9908: ac_ext=cpp
 9909: 
 9910: # Object file extension for compiled C++ test sources.
 9911: objext=o
 9912: objext_CXX=$objext
 9913: 
 9914: # Code to be used in simple compile tests
 9915: lt_simple_compile_test_code="int some_variable = 0;\n"
 9916: 
 9917: # Code to be used in simple link tests
 9918: lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 9919: 
 9920: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 9921: 
 9922: # If no C compiler was specified, use CC.
 9923: LTCC=${LTCC-"$CC"}
 9924: 
 9925: # If no C compiler flags were specified, use CFLAGS.
 9926: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 9927: 
 9928: # Allow CC to be a program name with arguments.
 9929: compiler=$CC
 9930: 
 9931: 
 9932: # save warnings/boilerplate of simple test code
 9933: ac_outfile=conftest.$ac_objext
 9934: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 9935: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9936: _lt_compiler_boilerplate=`cat conftest.err`
 9937: $rm conftest*
 9938: 
 9939: ac_outfile=conftest.$ac_objext
 9940: printf "$lt_simple_link_test_code" >conftest.$ac_ext
 9941: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9942: _lt_linker_boilerplate=`cat conftest.err`
 9943: $rm conftest*
 9944: 
 9945: 
 9946: # Allow CC to be a program name with arguments.
 9947: lt_save_CC=$CC
 9948: lt_save_LD=$LD
 9949: lt_save_GCC=$GCC
 9950: GCC=$GXX
 9951: lt_save_with_gnu_ld=$with_gnu_ld
 9952: lt_save_path_LD=$lt_cv_path_LD
 9953: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 9954:   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 9955: else
 9956:   $as_unset lt_cv_prog_gnu_ld
 9957: fi
 9958: if test -n "${lt_cv_path_LDCXX+set}"; then
 9959:   lt_cv_path_LD=$lt_cv_path_LDCXX
 9960: else
 9961:   $as_unset lt_cv_path_LD
 9962: fi
 9963: test -z "${LDCXX+set}" || LD=$LDCXX
 9964: CC=${CXX-"c++"}
 9965: compiler=$CC
 9966: compiler_CXX=$CC
 9967: for cc_temp in $compiler""; do
 9968:   case $cc_temp in
 9969:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 9970:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 9971:     \-*) ;;
 9972:     *) break;;
 9973:   esac
 9974: done
 9975: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 9976: 
 9977: 
 9978: # We don't want -fno-exception wen compiling C++ code, so set the
 9979: # no_builtin_flag separately
 9980: if test "$GXX" = yes; then
 9981:   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 9982: else
 9983:   lt_prog_compiler_no_builtin_flag_CXX=
 9984: fi
 9985: 
 9986: if test "$GXX" = yes; then
 9987:   # Set up default GNU C++ configuration
 9988: 
 9989: 
 9990: # Check whether --with-gnu-ld or --without-gnu-ld was given.
 9991: if test "${with_gnu_ld+set}" = set; then
 9992:   withval="$with_gnu_ld"
 9993:   test "$withval" = no || with_gnu_ld=yes
 9994: else
 9995:   with_gnu_ld=no
 9996: fi;
 9997: ac_prog=ld
 9998: if test "$GCC" = yes; then
 9999:   # Check if gcc -print-prog-name=ld gives a path.
10000:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10001: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10002:   case $host in
10003:   *-*-mingw*)
10004:     # gcc leaves a trailing carriage return which upsets mingw
10005:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10006:   *)
10007:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10008:   esac
10009:   case $ac_prog in
10010:     # Accept absolute paths.
10011:     [\\/]* | ?:[\\/]*)
10012:       re_direlt='/[^/][^/]*/\.\./'
10013:       # Canonicalize the pathname of ld
10014:       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10015:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10016: 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10017:       done
10018:       test -z "$LD" && LD="$ac_prog"
10019:       ;;
10020:   "")
10021:     # If it fails, then pretend we aren't using GCC.
10022:     ac_prog=ld
10023:     ;;
10024:   *)
10025:     # If it is relative, then search for the first ld in PATH.
10026:     with_gnu_ld=unknown
10027:     ;;
10028:   esac
10029: elif test "$with_gnu_ld" = yes; then
10030:   echo "$as_me:$LINENO: checking for GNU ld" >&5
10031: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10032: else
10033:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10034: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10035: fi
10036: if test "${lt_cv_path_LD+set}" = set; then
10037:   echo $ECHO_N "(cached) $ECHO_C" >&6
10038: else
10039:   if test -z "$LD"; then
10040:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10041:   for ac_dir in $PATH; do
10042:     IFS="$lt_save_ifs"
10043:     test -z "$ac_dir" && ac_dir=.
10044:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10045:       lt_cv_path_LD="$ac_dir/$ac_prog"
10046:       # Check to see if the program is GNU ld.  I'd rather use --version,
10047:       # but apparently some variants of GNU ld only accept -v.
10048:       # Break only if it was the GNU/non-GNU ld that we prefer.
10049:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10050:       *GNU* | *'with BFD'*)
10051: 	test "$with_gnu_ld" != no && break
10052: 	;;
10053:       *)
10054: 	test "$with_gnu_ld" != yes && break
10055: 	;;
10056:       esac
10057:     fi
10058:   done
10059:   IFS="$lt_save_ifs"
10060: else
10061:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
10062: fi
10063: fi
10064: 
10065: LD="$lt_cv_path_LD"
10066: if test -n "$LD"; then
10067:   echo "$as_me:$LINENO: result: $LD" >&5
10068: echo "${ECHO_T}$LD" >&6
10069: else
10070:   echo "$as_me:$LINENO: result: no" >&5
10071: echo "${ECHO_T}no" >&6
10072: fi
10073: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10074: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10075:    { (exit 1); exit 1; }; }
10076: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10077: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10078: if test "${lt_cv_prog_gnu_ld+set}" = set; then
10079:   echo $ECHO_N "(cached) $ECHO_C" >&6
10080: else
10081:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
10082: case `$LD -v 2>&1 </dev/null` in
10083: *GNU* | *'with BFD'*)
10084:   lt_cv_prog_gnu_ld=yes
10085:   ;;
10086: *)
10087:   lt_cv_prog_gnu_ld=no
10088:   ;;
10089: esac
10090: fi
10091: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10092: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10093: with_gnu_ld=$lt_cv_prog_gnu_ld
10094: 
10095: 
10096: 
10097:   # Check if GNU C++ uses GNU ld as the underlying linker, since the
10098:   # archiving commands below assume that GNU ld is being used.
10099:   if test "$with_gnu_ld" = yes; then
10100:     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101:     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10102: 
10103:     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10104:     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10105: 
10106:     # If archive_cmds runs LD, not CC, wlarc should be empty
10107:     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10108:     #     investigate it a little bit more. (MM)
10109:     wlarc='${wl}'
10110: 
10111:     # ancient GNU ld didn't support --whole-archive et. al.
10112:     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10113: 	grep 'no-whole-archive' > /dev/null; then
10114:       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10115:     else
10116:       whole_archive_flag_spec_CXX=
10117:     fi
10118:   else
10119:     with_gnu_ld=no
10120:     wlarc=
10121: 
10122:     # A generic and very simple default shared library creation
10123:     # command for GNU C++ for the case where it uses the native
10124:     # linker, instead of GNU ld.  If possible, this setting should
10125:     # overridden to take advantage of the native linker features on
10126:     # the platform it is being used on.
10127:     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10128:   fi
10129: 
10130:   # Commands to make compiler produce verbose output that lists
10131:   # what "hidden" libraries, object files and flags are used when
10132:   # linking a shared library.
10133:   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10134: 
10135: else
10136:   GXX=no
10137:   with_gnu_ld=no
10138:   wlarc=
10139: fi
10140: 
10141: # PORTME: fill in a description of your system's C++ link characteristics
10142: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10143: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10144: ld_shlibs_CXX=yes
10145: case $host_os in
10146:   aix3*)
10147:     # FIXME: insert proper C++ library support
10148:     ld_shlibs_CXX=no
10149:     ;;
10150:   aix4* | aix5*)
10151:     if test "$host_cpu" = ia64; then
10152:       # On IA64, the linker does run time linking by default, so we don't
10153:       # have to do anything special.
10154:       aix_use_runtimelinking=no
10155:       exp_sym_flag='-Bexport'
10156:       no_entry_flag=""
10157:     else
10158:       aix_use_runtimelinking=no
10159: 
10160:       # Test if we are trying to use run time linking or normal
10161:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10162:       # need to do runtime linking.
10163:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10164: 	for ld_flag in $LDFLAGS; do
10165: 	  case $ld_flag in
10166: 	  *-brtl*)
10167: 	    aix_use_runtimelinking=yes
10168: 	    break
10169: 	    ;;
10170: 	  esac
10171: 	done
10172: 	;;
10173:       esac
10174: 
10175:       exp_sym_flag='-bexport'
10176:       no_entry_flag='-bnoentry'
10177:     fi
10178: 
10179:     # When large executables or shared objects are built, AIX ld can
10180:     # have problems creating the table of contents.  If linking a library
10181:     # or program results in "error TOC overflow" add -mminimal-toc to
10182:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10183:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10184: 
10185:     archive_cmds_CXX=''
10186:     hardcode_direct_CXX=yes
10187:     hardcode_libdir_separator_CXX=':'
10188:     link_all_deplibs_CXX=yes
10189: 
10190:     if test "$GXX" = yes; then
10191:       case $host_os in aix4.[012]|aix4.[012].*)
10192:       # We only want to do this on AIX 4.2 and lower, the check
10193:       # below for broken collect2 doesn't work under 4.3+
10194: 	collect2name=`${CC} -print-prog-name=collect2`
10195: 	if test -f "$collect2name" && \
10196: 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
10197: 	then
10198: 	  # We have reworked collect2
10199: 	  hardcode_direct_CXX=yes
10200: 	else
10201: 	  # We have old collect2
10202: 	  hardcode_direct_CXX=unsupported
10203: 	  # It fails to find uninstalled libraries when the uninstalled
10204: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
10205: 	  # to unsupported forces relinking
10206: 	  hardcode_minus_L_CXX=yes
10207: 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
10208: 	  hardcode_libdir_separator_CXX=
10209: 	fi
10210: 	;;
10211:       esac
10212:       shared_flag='-shared'
10213:       if test "$aix_use_runtimelinking" = yes; then
10214: 	shared_flag="$shared_flag "'${wl}-G'
10215:       fi
10216:     else
10217:       # not using gcc
10218:       if test "$host_cpu" = ia64; then
10219: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10220: 	# chokes on -Wl,-G. The following line is correct:
10221: 	shared_flag='-G'
10222:       else
10223: 	if test "$aix_use_runtimelinking" = yes; then
10224: 	  shared_flag='${wl}-G'
10225: 	else
10226: 	  shared_flag='${wl}-bM:SRE'
10227: 	fi
10228:       fi
10229:     fi
10230: 
10231:     # It seems that -bexpall does not export symbols beginning with
10232:     # underscore (_), so it is better to generate a list of symbols to export.
10233:     always_export_symbols_CXX=yes
10234:     if test "$aix_use_runtimelinking" = yes; then
10235:       # Warning - without using the other runtime loading flags (-brtl),
10236:       # -berok will link without error, but may produce a broken library.
10237:       allow_undefined_flag_CXX='-berok'
10238:       # Determine the default libpath from the value encoded in an empty executable.
10239:       cat >conftest.$ac_ext <<_ACEOF
10240: /* confdefs.h.  */
10241: _ACEOF
10242: cat confdefs.h >>conftest.$ac_ext
10243: cat >>conftest.$ac_ext <<_ACEOF
10244: /* end confdefs.h.  */
10245: 
10246: int
10247: main ()
10248: {
10249: 
10250:   ;
10251:   return 0;
10252: }
10253: _ACEOF
10254: rm -f conftest.$ac_objext conftest$ac_exeext
10255: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10256:   (eval $ac_link) 2>conftest.er1
10257:   ac_status=$?
10258:   grep -v '^ *+' conftest.er1 >conftest.err
10259:   rm -f conftest.er1
10260:   cat conftest.err >&5
10261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262:   (exit $ac_status); } &&
10263: 	 { ac_try='test -z "$ac_cxx_werror_flag"
10264: 			 || test ! -s conftest.err'
10265:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266:   (eval $ac_try) 2>&5
10267:   ac_status=$?
10268:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269:   (exit $ac_status); }; } &&
10270: 	 { ac_try='test -s conftest$ac_exeext'
10271:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272:   (eval $ac_try) 2>&5
10273:   ac_status=$?
10274:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275:   (exit $ac_status); }; }; then
10276: 
10277: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10278: }'`
10279: # Check for a 64-bit object if we didn't find anything.
10280: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10281: }'`; fi
10282: else
10283:   echo "$as_me: failed program was:" >&5
10284: sed 's/^/| /' conftest.$ac_ext >&5
10285: 
10286: fi
10287: rm -f conftest.err conftest.$ac_objext \
10288:       conftest$ac_exeext conftest.$ac_ext
10289: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10290: 
10291:       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10292: 
10293:       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 echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10294:      else
10295:       if test "$host_cpu" = ia64; then
10296: 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10297: 	allow_undefined_flag_CXX="-z nodefs"
10298: 	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"
10299:       else
10300: 	# Determine the default libpath from the value encoded in an empty executable.
10301: 	cat >conftest.$ac_ext <<_ACEOF
10302: /* confdefs.h.  */
10303: _ACEOF
10304: cat confdefs.h >>conftest.$ac_ext
10305: cat >>conftest.$ac_ext <<_ACEOF
10306: /* end confdefs.h.  */
10307: 
10308: int
10309: main ()
10310: {
10311: 
10312:   ;
10313:   return 0;
10314: }
10315: _ACEOF
10316: rm -f conftest.$ac_objext conftest$ac_exeext
10317: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318:   (eval $ac_link) 2>conftest.er1
10319:   ac_status=$?
10320:   grep -v '^ *+' conftest.er1 >conftest.err
10321:   rm -f conftest.er1
10322:   cat conftest.err >&5
10323:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324:   (exit $ac_status); } &&
10325: 	 { ac_try='test -z "$ac_cxx_werror_flag"
10326: 			 || test ! -s conftest.err'
10327:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328:   (eval $ac_try) 2>&5
10329:   ac_status=$?
10330:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331:   (exit $ac_status); }; } &&
10332: 	 { ac_try='test -s conftest$ac_exeext'
10333:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334:   (eval $ac_try) 2>&5
10335:   ac_status=$?
10336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337:   (exit $ac_status); }; }; then
10338: 
10339: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10340: }'`
10341: # Check for a 64-bit object if we didn't find anything.
10342: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10343: }'`; fi
10344: else
10345:   echo "$as_me: failed program was:" >&5
10346: sed 's/^/| /' conftest.$ac_ext >&5
10347: 
10348: fi
10349: rm -f conftest.err conftest.$ac_objext \
10350:       conftest$ac_exeext conftest.$ac_ext
10351: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10352: 
10353: 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10354: 	# Warning - without using the other run time loading flags,
10355: 	# -berok will link without error, but may produce a broken library.
10356: 	no_undefined_flag_CXX=' ${wl}-bernotok'
10357: 	allow_undefined_flag_CXX=' ${wl}-berok'
10358: 	# Exported symbols can be pulled into shared objects from archives
10359: 	whole_archive_flag_spec_CXX='$convenience'
10360: 	archive_cmds_need_lc_CXX=yes
10361: 	# This is similar to how AIX traditionally builds its shared libraries.
10362: 	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'
10363:       fi
10364:     fi
10365:     ;;
10366: 
10367:   beos*)
10368:     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10369:       allow_undefined_flag_CXX=unsupported
10370:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10371:       # support --undefined.  This deserves some investigation.  FIXME
10372:       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10373:     else
10374:       ld_shlibs_CXX=no
10375:     fi
10376:     ;;
10377: 
10378:   chorus*)
10379:     case $cc_basename in
10380:       *)
10381: 	# FIXME: insert proper C++ library support
10382: 	ld_shlibs_CXX=no
10383: 	;;
10384:     esac
10385:     ;;
10386: 
10387:   cygwin* | mingw* | pw32*)
10388:     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10389:     # as there is no search path for DLLs.
10390:     hardcode_libdir_flag_spec_CXX='-L$libdir'
10391:     allow_undefined_flag_CXX=unsupported
10392:     always_export_symbols_CXX=no
10393:     enable_shared_with_static_runtimes_CXX=yes
10394: 
10395:     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10396:       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'
10397:       # If the export-symbols file already is a .def file (1st line
10398:       # is EXPORTS), use it as is; otherwise, prepend...
10399:       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10400: 	cp $export_symbols $output_objdir/$soname.def;
10401:       else
10402: 	echo EXPORTS > $output_objdir/$soname.def;
10403: 	cat $export_symbols >> $output_objdir/$soname.def;
10404:       fi~
10405:       $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'
10406:     else
10407:       ld_shlibs_CXX=no
10408:     fi
10409:   ;;
10410:       darwin* | rhapsody*)
10411:         case $host_os in
10412:         rhapsody* | darwin1.[012])
10413:          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10414:          ;;
10415:        *) # Darwin 1.3 on
10416:          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10417:            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10418:          else
10419:            case ${MACOSX_DEPLOYMENT_TARGET} in
10420:              10.[012])
10421:                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10422:                ;;
10423:              10.*)
10424:                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10425:                ;;
10426:            esac
10427:          fi
10428:          ;;
10429:         esac
10430:       archive_cmds_need_lc_CXX=no
10431:       hardcode_direct_CXX=no
10432:       hardcode_automatic_CXX=yes
10433:       hardcode_shlibpath_var_CXX=unsupported
10434:       whole_archive_flag_spec_CXX=''
10435:       link_all_deplibs_CXX=yes
10436: 
10437:     if test "$GXX" = yes ; then
10438:       lt_int_apple_cc_single_mod=no
10439:       output_verbose_link_cmd='echo'
10440:       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10441:        lt_int_apple_cc_single_mod=yes
10442:       fi
10443:       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10444:        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10445:       else
10446:           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'
10447:         fi
10448:         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10449:         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10450:           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10451:             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10452:           else
10453:             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10454:           fi
10455:             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10456:       else
10457:       case $cc_basename in
10458:         xlc*)
10459:          output_verbose_link_cmd='echo'
10460:           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10461:           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10462:           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10463:           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10464:           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10465:           ;;
10466:        *)
10467:          ld_shlibs_CXX=no
10468:           ;;
10469:       esac
10470:       fi
10471:         ;;
10472: 
10473:   dgux*)
10474:     case $cc_basename in
10475:       ec++*)
10476: 	# FIXME: insert proper C++ library support
10477: 	ld_shlibs_CXX=no
10478: 	;;
10479:       ghcx*)
10480: 	# Green Hills C++ Compiler
10481: 	# FIXME: insert proper C++ library support
10482: 	ld_shlibs_CXX=no
10483: 	;;
10484:       *)
10485: 	# FIXME: insert proper C++ library support
10486: 	ld_shlibs_CXX=no
10487: 	;;
10488:     esac
10489:     ;;
10490:   freebsd[12]*)
10491:     # C++ shared libraries reported to be fairly broken before switch to ELF
10492:     ld_shlibs_CXX=no
10493:     ;;
10494:   freebsd-elf*)
10495:     archive_cmds_need_lc_CXX=no
10496:     ;;
10497:   freebsd* | kfreebsd*-gnu | dragonfly*)
10498:     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10499:     # conventions
10500:     ld_shlibs_CXX=yes
10501:     ;;
10502:   gnu*)
10503:     ;;
10504:   hpux9*)
10505:     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10506:     hardcode_libdir_separator_CXX=:
10507:     export_dynamic_flag_spec_CXX='${wl}-E'
10508:     hardcode_direct_CXX=yes
10509:     hardcode_minus_L_CXX=yes # Not in the search PATH,
10510: 				# but as the default
10511: 				# location of the library.
10512: 
10513:     case $cc_basename in
10514:     CC*)
10515:       # FIXME: insert proper C++ library support
10516:       ld_shlibs_CXX=no
10517:       ;;
10518:     aCC*)
10519:       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'
10520:       # Commands to make compiler produce verbose output that lists
10521:       # what "hidden" libraries, object files and flags are used when
10522:       # linking a shared library.
10523:       #
10524:       # There doesn't appear to be a way to prevent this compiler from
10525:       # explicitly linking system object files so we need to strip them
10526:       # from the output so that they don't get included in the library
10527:       # dependencies.
10528:       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; echo $list'
10529:       ;;
10530:     *)
10531:       if test "$GXX" = yes; then
10532:         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
10533:       else
10534:         # FIXME: insert proper C++ library support
10535:         ld_shlibs_CXX=no
10536:       fi
10537:       ;;
10538:     esac
10539:     ;;
10540:   hpux10*|hpux11*)
10541:     if test $with_gnu_ld = no; then
10542:       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10543:       hardcode_libdir_separator_CXX=:
10544: 
10545:       case $host_cpu in
10546:       hppa*64*|ia64*)
10547: 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10548:         ;;
10549:       *)
10550: 	export_dynamic_flag_spec_CXX='${wl}-E'
10551:         ;;
10552:       esac
10553:     fi
10554:     case $host_cpu in
10555:     hppa*64*|ia64*)
10556:       hardcode_direct_CXX=no
10557:       hardcode_shlibpath_var_CXX=no
10558:       ;;
10559:     *)
10560:       hardcode_direct_CXX=yes
10561:       hardcode_minus_L_CXX=yes # Not in the search PATH,
10562: 					      # but as the default
10563: 					      # location of the library.
10564:       ;;
10565:     esac
10566: 
10567:     case $cc_basename in
10568:       CC*)
10569: 	# FIXME: insert proper C++ library support
10570: 	ld_shlibs_CXX=no
10571: 	;;
10572:       aCC*)
10573: 	case $host_cpu in
10574: 	hppa*64*)
10575: 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10576: 	  ;;
10577: 	ia64*)
10578: 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10579: 	  ;;
10580: 	*)
10581: 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10582: 	  ;;
10583: 	esac
10584: 	# Commands to make compiler produce verbose output that lists
10585: 	# what "hidden" libraries, object files and flags are used when
10586: 	# linking a shared library.
10587: 	#
10588: 	# There doesn't appear to be a way to prevent this compiler from
10589: 	# explicitly linking system object files so we need to strip them
10590: 	# from the output so that they don't get included in the library
10591: 	# dependencies.
10592: 	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; echo $list'
10593: 	;;
10594:       *)
10595: 	if test "$GXX" = yes; then
10596: 	  if test $with_gnu_ld = no; then
10597: 	    case $host_cpu in
10598: 	    hppa*64*)
10599: 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10600: 	      ;;
10601: 	    ia64*)
10602: 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10603: 	      ;;
10604: 	    *)
10605: 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10606: 	      ;;
10607: 	    esac
10608: 	  fi
10609: 	else
10610: 	  # FIXME: insert proper C++ library support
10611: 	  ld_shlibs_CXX=no
10612: 	fi
10613: 	;;
10614:     esac
10615:     ;;
10616:   interix3*)
10617:     hardcode_direct_CXX=no
10618:     hardcode_shlibpath_var_CXX=no
10619:     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10620:     export_dynamic_flag_spec_CXX='${wl}-E'
10621:     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10622:     # Instead, shared libraries are loaded at an image base (0x10000000 by
10623:     # default) and relocated if they conflict, which is a slow very memory
10624:     # consuming and fragmenting process.  To avoid this, we pick a random,
10625:     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10626:     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10627:     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'
10628:     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'
10629:     ;;
10630:   irix5* | irix6*)
10631:     case $cc_basename in
10632:       CC*)
10633: 	# SGI C++
10634: 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10635: 
10636: 	# Archives containing C++ object files must be created using
10637: 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10638: 	# necessary to make sure instantiated templates are included
10639: 	# in the archive.
10640: 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10641: 	;;
10642:       *)
10643: 	if test "$GXX" = yes; then
10644: 	  if test "$with_gnu_ld" = no; then
10645: 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10646: 	  else
10647: 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10648: 	  fi
10649: 	fi
10650: 	link_all_deplibs_CXX=yes
10651: 	;;
10652:     esac
10653:     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10654:     hardcode_libdir_separator_CXX=:
10655:     ;;
10656:   linux*)
10657:     case $cc_basename in
10658:       KCC*)
10659: 	# Kuck and Associates, Inc. (KAI) C++ Compiler
10660: 
10661: 	# KCC will only create a shared library if the output file
10662: 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
10663: 	# to its proper name (with version) after linking.
10664: 	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'
10665: 	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'
10666: 	# Commands to make compiler produce verbose output that lists
10667: 	# what "hidden" libraries, object files and flags are used when
10668: 	# linking a shared library.
10669: 	#
10670: 	# There doesn't appear to be a way to prevent this compiler from
10671: 	# explicitly linking system object files so we need to strip them
10672: 	# from the output so that they don't get included in the library
10673: 	# dependencies.
10674: 	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; echo $list'
10675: 
10676: 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10677: 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10678: 
10679: 	# Archives containing C++ object files must be created using
10680: 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10681: 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10682: 	;;
10683:       icpc*)
10684: 	# Intel C++
10685: 	with_gnu_ld=yes
10686: 	# version 8.0 and above of icpc choke on multiply defined symbols
10687: 	# if we add $predep_objects and $postdep_objects, however 7.1 and
10688: 	# earlier do not add the objects themselves.
10689: 	case `$CC -V 2>&1` in
10690: 	*"Version 7."*)
10691:   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692:   	  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'
10693: 	  ;;
10694: 	*)  # Version 8.0 or newer
10695: 	  tmp_idyn=
10696: 	  case $host_cpu in
10697: 	    ia64*) tmp_idyn=' -i_dynamic';;
10698: 	  esac
10699:   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10700: 	  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'
10701: 	  ;;
10702: 	esac
10703: 	archive_cmds_need_lc_CXX=no
10704: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10705: 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10706: 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10707: 	;;
10708:       pgCC*)
10709:         # Portland Group C++ compiler
10710: 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10711:   	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'
10712: 
10713: 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10714: 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10715: 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10716:         ;;
10717:       cxx*)
10718: 	# Compaq C++
10719: 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10720: 	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'
10721: 
10722: 	runpath_var=LD_RUN_PATH
10723: 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10724: 	hardcode_libdir_separator_CXX=:
10725: 
10726: 	# Commands to make compiler produce verbose output that lists
10727: 	# what "hidden" libraries, object files and flags are used when
10728: 	# linking a shared library.
10729: 	#
10730: 	# There doesn't appear to be a way to prevent this compiler from
10731: 	# explicitly linking system object files so we need to strip them
10732: 	# from the output so that they don't get included in the library
10733: 	# dependencies.
10734: 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
10735: 	;;
10736:     esac
10737:     ;;
10738:   lynxos*)
10739:     # FIXME: insert proper C++ library support
10740:     ld_shlibs_CXX=no
10741:     ;;
10742:   m88k*)
10743:     # FIXME: insert proper C++ library support
10744:     ld_shlibs_CXX=no
10745:     ;;
10746:   mvs*)
10747:     case $cc_basename in
10748:       cxx*)
10749: 	# FIXME: insert proper C++ library support
10750: 	ld_shlibs_CXX=no
10751: 	;;
10752:       *)
10753: 	# FIXME: insert proper C++ library support
10754: 	ld_shlibs_CXX=no
10755: 	;;
10756:     esac
10757:     ;;
10758:   netbsd*)
10759:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10760:       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10761:       wlarc=
10762:       hardcode_libdir_flag_spec_CXX='-R$libdir'
10763:       hardcode_direct_CXX=yes
10764:       hardcode_shlibpath_var_CXX=no
10765:     fi
10766:     # Workaround some broken pre-1.5 toolchains
10767:     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10768:     ;;
10769:   openbsd2*)
10770:     # C++ shared libraries are fairly broken
10771:     ld_shlibs_CXX=no
10772:     ;;
10773:   openbsd*)
10774:     hardcode_direct_CXX=yes
10775:     hardcode_shlibpath_var_CXX=no
10776:     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10777:     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10778:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10779:       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10780:       export_dynamic_flag_spec_CXX='${wl}-E'
10781:       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10782:     fi
10783:     output_verbose_link_cmd='echo'
10784:     ;;
10785:   osf3*)
10786:     case $cc_basename in
10787:       KCC*)
10788: 	# Kuck and Associates, Inc. (KAI) C++ Compiler
10789: 
10790: 	# KCC will only create a shared library if the output file
10791: 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
10792: 	# to its proper name (with version) after linking.
10793: 	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'
10794: 
10795: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10796: 	hardcode_libdir_separator_CXX=:
10797: 
10798: 	# Archives containing C++ object files must be created using
10799: 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10800: 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10801: 
10802: 	;;
10803:       RCC*)
10804: 	# Rational C++ 2.4.1
10805: 	# FIXME: insert proper C++ library support
10806: 	ld_shlibs_CXX=no
10807: 	;;
10808:       cxx*)
10809: 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10810: 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10811: 
10812: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10813: 	hardcode_libdir_separator_CXX=:
10814: 
10815: 	# Commands to make compiler produce verbose output that lists
10816: 	# what "hidden" libraries, object files and flags are used when
10817: 	# linking a shared library.
10818: 	#
10819: 	# There doesn't appear to be a way to prevent this compiler from
10820: 	# explicitly linking system object files so we need to strip them
10821: 	# from the output so that they don't get included in the library
10822: 	# dependencies.
10823: 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10824: 	;;
10825:       *)
10826: 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10827: 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10828: 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10829: 
10830: 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10831: 	  hardcode_libdir_separator_CXX=:
10832: 
10833: 	  # Commands to make compiler produce verbose output that lists
10834: 	  # what "hidden" libraries, object files and flags are used when
10835: 	  # linking a shared library.
10836: 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10837: 
10838: 	else
10839: 	  # FIXME: insert proper C++ library support
10840: 	  ld_shlibs_CXX=no
10841: 	fi
10842: 	;;
10843:     esac
10844:     ;;
10845:   osf4* | osf5*)
10846:     case $cc_basename in
10847:       KCC*)
10848: 	# Kuck and Associates, Inc. (KAI) C++ Compiler
10849: 
10850: 	# KCC will only create a shared library if the output file
10851: 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
10852: 	# to its proper name (with version) after linking.
10853: 	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'
10854: 
10855: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10856: 	hardcode_libdir_separator_CXX=:
10857: 
10858: 	# Archives containing C++ object files must be created using
10859: 	# the KAI C++ compiler.
10860: 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10861: 	;;
10862:       RCC*)
10863: 	# Rational C++ 2.4.1
10864: 	# FIXME: insert proper C++ library support
10865: 	ld_shlibs_CXX=no
10866: 	;;
10867:       cxx*)
10868: 	allow_undefined_flag_CXX=' -expect_unresolved \*'
10869: 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10870: 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10871: 	  echo "-hidden">> $lib.exp~
10872: 	  $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~
10873: 	  $rm $lib.exp'
10874: 
10875: 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10876: 	hardcode_libdir_separator_CXX=:
10877: 
10878: 	# Commands to make compiler produce verbose output that lists
10879: 	# what "hidden" libraries, object files and flags are used when
10880: 	# linking a shared library.
10881: 	#
10882: 	# There doesn't appear to be a way to prevent this compiler from
10883: 	# explicitly linking system object files so we need to strip them
10884: 	# from the output so that they don't get included in the library
10885: 	# dependencies.
10886: 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10887: 	;;
10888:       *)
10889: 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10890: 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10891: 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10892: 
10893: 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10894: 	  hardcode_libdir_separator_CXX=:
10895: 
10896: 	  # Commands to make compiler produce verbose output that lists
10897: 	  # what "hidden" libraries, object files and flags are used when
10898: 	  # linking a shared library.
10899: 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10900: 
10901: 	else
10902: 	  # FIXME: insert proper C++ library support
10903: 	  ld_shlibs_CXX=no
10904: 	fi
10905: 	;;
10906:     esac
10907:     ;;
10908:   psos*)
10909:     # FIXME: insert proper C++ library support
10910:     ld_shlibs_CXX=no
10911:     ;;
10912:   sunos4*)
10913:     case $cc_basename in
10914:       CC*)
10915: 	# Sun C++ 4.x
10916: 	# FIXME: insert proper C++ library support
10917: 	ld_shlibs_CXX=no
10918: 	;;
10919:       lcc*)
10920: 	# Lucid
10921: 	# FIXME: insert proper C++ library support
10922: 	ld_shlibs_CXX=no
10923: 	;;
10924:       *)
10925: 	# FIXME: insert proper C++ library support
10926: 	ld_shlibs_CXX=no
10927: 	;;
10928:     esac
10929:     ;;
10930:   solaris*)
10931:     case $cc_basename in
10932:       CC*)
10933: 	# Sun C++ 4.2, 5.x and Centerline C++
10934:         archive_cmds_need_lc_CXX=yes
10935: 	no_undefined_flag_CXX=' -zdefs'
10936: 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10937: 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10938: 	$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'
10939: 
10940: 	hardcode_libdir_flag_spec_CXX='-R$libdir'
10941: 	hardcode_shlibpath_var_CXX=no
10942: 	case $host_os in
10943: 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
10944: 	  *)
10945: 	    # The C++ compiler is used as linker so we must use $wl
10946: 	    # flag to pass the commands to the underlying system
10947: 	    # linker. We must also pass each convience library through
10948: 	    # to the system linker between allextract/defaultextract.
10949: 	    # The C++ compiler will combine linker options so we
10950: 	    # cannot just pass the convience library names through
10951: 	    # without $wl.
10952: 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
10953: 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10954: 	    ;;
10955: 	esac
10956: 	link_all_deplibs_CXX=yes
10957: 
10958: 	output_verbose_link_cmd='echo'
10959: 
10960: 	# Archives containing C++ object files must be created using
10961: 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
10962: 	# necessary to make sure instantiated templates are included
10963: 	# in the archive.
10964: 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10965: 	;;
10966:       gcx*)
10967: 	# Green Hills C++ Compiler
10968: 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10969: 
10970: 	# The C++ compiler must be used to create the archive.
10971: 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10972: 	;;
10973:       *)
10974: 	# GNU C++ compiler with Solaris linker
10975: 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10976: 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10977: 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
10978: 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10979: 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10980: 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10981: 
10982: 	    # Commands to make compiler produce verbose output that lists
10983: 	    # what "hidden" libraries, object files and flags are used when
10984: 	    # linking a shared library.
10985: 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10986: 	  else
10987: 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
10988: 	    # platform.
10989: 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10990: 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10991: 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10992: 
10993: 	    # Commands to make compiler produce verbose output that lists
10994: 	    # what "hidden" libraries, object files and flags are used when
10995: 	    # linking a shared library.
10996: 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10997: 	  fi
10998: 
10999: 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11000: 	fi
11001: 	;;
11002:     esac
11003:     ;;
11004:   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11005:     no_undefined_flag_CXX='${wl}-z,text'
11006:     archive_cmds_need_lc_CXX=no
11007:     hardcode_shlibpath_var_CXX=no
11008:     runpath_var='LD_RUN_PATH'
11009: 
11010:     case $cc_basename in
11011:       CC*)
11012: 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11013: 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11014: 	;;
11015:       *)
11016: 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11017: 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11018: 	;;
11019:     esac
11020:     ;;
11021:   sysv5* | sco3.2v5* | sco5v6*)
11022:     # Note: We can NOT use -z defs as we might desire, because we do not
11023:     # link with -lc, and that would cause any symbols used from libc to
11024:     # always be unresolved, which means just about no library would
11025:     # ever link correctly.  If we're not using GNU ld we use -z text
11026:     # though, which does catch some bad symbols but isn't as heavy-handed
11027:     # as -z defs.
11028:     # For security reasons, it is highly recommended that you always
11029:     # use absolute paths for naming shared libraries, and exclude the
11030:     # DT_RUNPATH tag from executables and libraries.  But doing so
11031:     # requires that you compile everything twice, which is a pain.
11032:     # So that behaviour is only enabled if SCOABSPATH is set to a
11033:     # non-empty value in the environment.  Most likely only useful for
11034:     # creating official distributions of packages.
11035:     # This is a hack until libtool officially supports absolute path
11036:     # names for shared libraries.
11037:     no_undefined_flag_CXX='${wl}-z,text'
11038:     allow_undefined_flag_CXX='${wl}-z,nodefs'
11039:     archive_cmds_need_lc_CXX=no
11040:     hardcode_shlibpath_var_CXX=no
11041:     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11042:     hardcode_libdir_separator_CXX=':'
11043:     link_all_deplibs_CXX=yes
11044:     export_dynamic_flag_spec_CXX='${wl}-Bexport'
11045:     runpath_var='LD_RUN_PATH'
11046: 
11047:     case $cc_basename in
11048:       CC*)
11049: 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11050: 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11051: 	;;
11052:       *)
11053: 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11054: 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11055: 	;;
11056:     esac
11057:     ;;
11058:   tandem*)
11059:     case $cc_basename in
11060:       NCC*)
11061: 	# NonStop-UX NCC 3.20
11062: 	# FIXME: insert proper C++ library support
11063: 	ld_shlibs_CXX=no
11064: 	;;
11065:       *)
11066: 	# FIXME: insert proper C++ library support
11067: 	ld_shlibs_CXX=no
11068: 	;;
11069:     esac
11070:     ;;
11071:   vxworks*)
11072:     # FIXME: insert proper C++ library support
11073:     ld_shlibs_CXX=no
11074:     ;;
11075:   *)
11076:     # FIXME: insert proper C++ library support
11077:     ld_shlibs_CXX=no
11078:     ;;
11079: esac
11080: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11081: echo "${ECHO_T}$ld_shlibs_CXX" >&6
11082: test "$ld_shlibs_CXX" = no && can_build_shared=no
11083: 
11084: GCC_CXX="$GXX"
11085: LD_CXX="$LD"
11086: 
11087: ## CAVEAT EMPTOR:
11088: ## There is no encapsulation within the following macros, do not change
11089: ## the running order or otherwise move them around unless you know exactly
11090: ## what you are doing...
11091: 
11092: cat > conftest.$ac_ext <<EOF
11093: class Foo
11094: {
11095: public:
11096:   Foo (void) { a = 0; }
11097: private:
11098:   int a;
11099: };
11100: EOF
11101: 
11102: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103:   (eval $ac_compile) 2>&5
11104:   ac_status=$?
11105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106:   (exit $ac_status); }; then
11107:   # Parse the compiler output and extract the necessary
11108:   # objects, libraries and library flags.
11109: 
11110:   # Sentinel used to keep track of whether or not we are before
11111:   # the conftest object file.
11112:   pre_test_object_deps_done=no
11113: 
11114:   # The `*' in the case matches for architectures that use `case' in
11115:   # $output_verbose_cmd can trigger glob expansion during the loop
11116:   # eval without this substitution.
11117:   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11118: 
11119:   for p in `eval $output_verbose_link_cmd`; do
11120:     case $p in
11121: 
11122:     -L* | -R* | -l*)
11123:        # Some compilers place space between "-{L,R}" and the path.
11124:        # Remove the space.
11125:        if test $p = "-L" \
11126: 	  || test $p = "-R"; then
11127: 	 prev=$p
11128: 	 continue
11129:        else
11130: 	 prev=
11131:        fi
11132: 
11133:        if test "$pre_test_object_deps_done" = no; then
11134: 	 case $p in
11135: 	 -L* | -R*)
11136: 	   # Internal compiler library paths should come after those
11137: 	   # provided the user.  The postdeps already come after the
11138: 	   # user supplied libs so there is no need to process them.
11139: 	   if test -z "$compiler_lib_search_path_CXX"; then
11140: 	     compiler_lib_search_path_CXX="${prev}${p}"
11141: 	   else
11142: 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11143: 	   fi
11144: 	   ;;
11145: 	 # The "-l" case would never come before the object being
11146: 	 # linked, so don't bother handling this case.
11147: 	 esac
11148:        else
11149: 	 if test -z "$postdeps_CXX"; then
11150: 	   postdeps_CXX="${prev}${p}"
11151: 	 else
11152: 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11153: 	 fi
11154:        fi
11155:        ;;
11156: 
11157:     *.$objext)
11158:        # This assumes that the test object file only shows up
11159:        # once in the compiler output.
11160:        if test "$p" = "conftest.$objext"; then
11161: 	 pre_test_object_deps_done=yes
11162: 	 continue
11163:        fi
11164: 
11165:        if test "$pre_test_object_deps_done" = no; then
11166: 	 if test -z "$predep_objects_CXX"; then
11167: 	   predep_objects_CXX="$p"
11168: 	 else
11169: 	   predep_objects_CXX="$predep_objects_CXX $p"
11170: 	 fi
11171:        else
11172: 	 if test -z "$postdep_objects_CXX"; then
11173: 	   postdep_objects_CXX="$p"
11174: 	 else
11175: 	   postdep_objects_CXX="$postdep_objects_CXX $p"
11176: 	 fi
11177:        fi
11178:        ;;
11179: 
11180:     *) ;; # Ignore the rest.
11181: 
11182:     esac
11183:   done
11184: 
11185:   # Clean up.
11186:   rm -f a.out a.exe
11187: else
11188:   echo "libtool.m4: error: problem compiling CXX test program"
11189: fi
11190: 
11191: $rm -f confest.$objext
11192: 
11193: # PORTME: override above test on systems where it is broken
11194: case $host_os in
11195: interix3*)
11196:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
11197:   # hack all around it, let's just trust "g++" to DTRT.
11198:   predep_objects_CXX=
11199:   postdep_objects_CXX=
11200:   postdeps_CXX=
11201:   ;;
11202: 
11203: solaris*)
11204:   case $cc_basename in
11205:   CC*)
11206:     # Adding this requires a known-good setup of shared libraries for
11207:     # Sun compiler versions before 5.6, else PIC objects from an old
11208:     # archive will be linked into the output, leading to subtle bugs.
11209:     postdeps_CXX='-lCstd -lCrun'
11210:     ;;
11211:   esac
11212:   ;;
11213: esac
11214: 
11215: 
11216: case " $postdeps_CXX " in
11217: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
11218: esac
11219: 
11220: lt_prog_compiler_wl_CXX=
11221: lt_prog_compiler_pic_CXX=
11222: lt_prog_compiler_static_CXX=
11223: 
11224: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11225: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11226: 
11227:   # C++ specific cases for pic, static, wl, etc.
11228:   if test "$GXX" = yes; then
11229:     lt_prog_compiler_wl_CXX='-Wl,'
11230:     lt_prog_compiler_static_CXX='-static'
11231: 
11232:     case $host_os in
11233:     aix*)
11234:       # All AIX code is PIC.
11235:       if test "$host_cpu" = ia64; then
11236: 	# AIX 5 now supports IA64 processor
11237: 	lt_prog_compiler_static_CXX='-Bstatic'
11238:       fi
11239:       ;;
11240:     amigaos*)
11241:       # FIXME: we need at least 68020 code to build shared libraries, but
11242:       # adding the `-m68020' flag to GCC prevents building anything better,
11243:       # like `-m68040'.
11244:       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11245:       ;;
11246:     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11247:       # PIC is the default for these OSes.
11248:       ;;
11249:     mingw* | os2* | pw32*)
11250:       # This hack is so that the source file can tell whether it is being
11251:       # built for inclusion in a dll (and should export symbols for example).
11252:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11253:       ;;
11254:     darwin* | rhapsody*)
11255:       # PIC is the default on this platform
11256:       # Common symbols not allowed in MH_DYLIB files
11257:       lt_prog_compiler_pic_CXX='-fno-common'
11258:       ;;
11259:     *djgpp*)
11260:       # DJGPP does not support shared libraries at all
11261:       lt_prog_compiler_pic_CXX=
11262:       ;;
11263:     interix3*)
11264:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11265:       # Instead, we relocate shared libraries at runtime.
11266:       ;;
11267:     sysv4*MP*)
11268:       if test -d /usr/nec; then
11269: 	lt_prog_compiler_pic_CXX=-Kconform_pic
11270:       fi
11271:       ;;
11272:     hpux*)
11273:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11274:       # not for PA HP-UX.
11275:       case $host_cpu in
11276:       hppa*64*|ia64*)
11277: 	;;
11278:       *)
11279: 	lt_prog_compiler_pic_CXX='-fPIC'
11280: 	;;
11281:       esac
11282:       ;;
11283:     *)
11284:       lt_prog_compiler_pic_CXX='-fPIC'
11285:       ;;
11286:     esac
11287:   else
11288:     case $host_os in
11289:       aix4* | aix5*)
11290: 	# All AIX code is PIC.
11291: 	if test "$host_cpu" = ia64; then
11292: 	  # AIX 5 now supports IA64 processor
11293: 	  lt_prog_compiler_static_CXX='-Bstatic'
11294: 	else
11295: 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11296: 	fi
11297: 	;;
11298:       chorus*)
11299: 	case $cc_basename in
11300: 	cxch68*)
11301: 	  # Green Hills C++ Compiler
11302: 	  # _LT_AC_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"
11303: 	  ;;
11304: 	esac
11305: 	;;
11306:        darwin*)
11307:          # PIC is the default on this platform
11308:          # Common symbols not allowed in MH_DYLIB files
11309:          case $cc_basename in
11310:            xlc*)
11311:            lt_prog_compiler_pic_CXX='-qnocommon'
11312:            lt_prog_compiler_wl_CXX='-Wl,'
11313:            ;;
11314:          esac
11315:        ;;
11316:       dgux*)
11317: 	case $cc_basename in
11318: 	  ec++*)
11319: 	    lt_prog_compiler_pic_CXX='-KPIC'
11320: 	    ;;
11321: 	  ghcx*)
11322: 	    # Green Hills C++ Compiler
11323: 	    lt_prog_compiler_pic_CXX='-pic'
11324: 	    ;;
11325: 	  *)
11326: 	    ;;
11327: 	esac
11328: 	;;
11329:       freebsd* | kfreebsd*-gnu | dragonfly*)
11330: 	# FreeBSD uses GNU C++
11331: 	;;
11332:       hpux9* | hpux10* | hpux11*)
11333: 	case $cc_basename in
11334: 	  CC*)
11335: 	    lt_prog_compiler_wl_CXX='-Wl,'
11336: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11337: 	    if test "$host_cpu" != ia64; then
11338: 	      lt_prog_compiler_pic_CXX='+Z'
11339: 	    fi
11340: 	    ;;
11341: 	  aCC*)
11342: 	    lt_prog_compiler_wl_CXX='-Wl,'
11343: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11344: 	    case $host_cpu in
11345: 	    hppa*64*|ia64*)
11346: 	      # +Z the default
11347: 	      ;;
11348: 	    *)
11349: 	      lt_prog_compiler_pic_CXX='+Z'
11350: 	      ;;
11351: 	    esac
11352: 	    ;;
11353: 	  *)
11354: 	    ;;
11355: 	esac
11356: 	;;
11357:       interix*)
11358: 	# This is c89, which is MS Visual C++ (no shared libs)
11359: 	# Anyone wants to do a port?
11360: 	;;
11361:       irix5* | irix6* | nonstopux*)
11362: 	case $cc_basename in
11363: 	  CC*)
11364: 	    lt_prog_compiler_wl_CXX='-Wl,'
11365: 	    lt_prog_compiler_static_CXX='-non_shared'
11366: 	    # CC pic flag -KPIC is the default.
11367: 	    ;;
11368: 	  *)
11369: 	    ;;
11370: 	esac
11371: 	;;
11372:       linux*)
11373: 	case $cc_basename in
11374: 	  KCC*)
11375: 	    # KAI C++ Compiler
11376: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
11377: 	    lt_prog_compiler_pic_CXX='-fPIC'
11378: 	    ;;
11379: 	  icpc* | ecpc*)
11380: 	    # Intel C++
11381: 	    lt_prog_compiler_wl_CXX='-Wl,'
11382: 	    lt_prog_compiler_pic_CXX='-KPIC'
11383: 	    lt_prog_compiler_static_CXX='-static'
11384: 	    ;;
11385: 	  pgCC*)
11386: 	    # Portland Group C++ compiler.
11387: 	    lt_prog_compiler_wl_CXX='-Wl,'
11388: 	    lt_prog_compiler_pic_CXX='-fpic'
11389: 	    lt_prog_compiler_static_CXX='-Bstatic'
11390: 	    ;;
11391: 	  cxx*)
11392: 	    # Compaq C++
11393: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
11394: 	    # Linux and Compaq Tru64 Unix objects are PIC.
11395: 	    lt_prog_compiler_pic_CXX=
11396: 	    lt_prog_compiler_static_CXX='-non_shared'
11397: 	    ;;
11398: 	  *)
11399: 	    ;;
11400: 	esac
11401: 	;;
11402:       lynxos*)
11403: 	;;
11404:       m88k*)
11405: 	;;
11406:       mvs*)
11407: 	case $cc_basename in
11408: 	  cxx*)
11409: 	    lt_prog_compiler_pic_CXX='-W c,exportall'
11410: 	    ;;
11411: 	  *)
11412: 	    ;;
11413: 	esac
11414: 	;;
11415:       netbsd*)
11416: 	;;
11417:       osf3* | osf4* | osf5*)
11418: 	case $cc_basename in
11419: 	  KCC*)
11420: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
11421: 	    ;;
11422: 	  RCC*)
11423: 	    # Rational C++ 2.4.1
11424: 	    lt_prog_compiler_pic_CXX='-pic'
11425: 	    ;;
11426: 	  cxx*)
11427: 	    # Digital/Compaq C++
11428: 	    lt_prog_compiler_wl_CXX='-Wl,'
11429: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
11430: 	    # Linux and Compaq Tru64 Unix objects are PIC.
11431: 	    lt_prog_compiler_pic_CXX=
11432: 	    lt_prog_compiler_static_CXX='-non_shared'
11433: 	    ;;
11434: 	  *)
11435: 	    ;;
11436: 	esac
11437: 	;;
11438:       psos*)
11439: 	;;
11440:       solaris*)
11441: 	case $cc_basename in
11442: 	  CC*)
11443: 	    # Sun C++ 4.2, 5.x and Centerline C++
11444: 	    lt_prog_compiler_pic_CXX='-KPIC'
11445: 	    lt_prog_compiler_static_CXX='-Bstatic'
11446: 	    lt_prog_compiler_wl_CXX='-Qoption ld '
11447: 	    ;;
11448: 	  gcx*)
11449: 	    # Green Hills C++ Compiler
11450: 	    lt_prog_compiler_pic_CXX='-PIC'
11451: 	    ;;
11452: 	  *)
11453: 	    ;;
11454: 	esac
11455: 	;;
11456:       sunos4*)
11457: 	case $cc_basename in
11458: 	  CC*)
11459: 	    # Sun C++ 4.x
11460: 	    lt_prog_compiler_pic_CXX='-pic'
11461: 	    lt_prog_compiler_static_CXX='-Bstatic'
11462: 	    ;;
11463: 	  lcc*)
11464: 	    # Lucid
11465: 	    lt_prog_compiler_pic_CXX='-pic'
11466: 	    ;;
11467: 	  *)
11468: 	    ;;
11469: 	esac
11470: 	;;
11471:       tandem*)
11472: 	case $cc_basename in
11473: 	  NCC*)
11474: 	    # NonStop-UX NCC 3.20
11475: 	    lt_prog_compiler_pic_CXX='-KPIC'
11476: 	    ;;
11477: 	  *)
11478: 	    ;;
11479: 	esac
11480: 	;;
11481:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11482: 	case $cc_basename in
11483: 	  CC*)
11484: 	    lt_prog_compiler_wl_CXX='-Wl,'
11485: 	    lt_prog_compiler_pic_CXX='-KPIC'
11486: 	    lt_prog_compiler_static_CXX='-Bstatic'
11487: 	    ;;
11488: 	esac
11489: 	;;
11490:       vxworks*)
11491: 	;;
11492:       *)
11493: 	lt_prog_compiler_can_build_shared_CXX=no
11494: 	;;
11495:     esac
11496:   fi
11497: 
11498: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11499: echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11500: 
11501: #
11502: # Check to make sure the PIC flag actually works.
11503: #
11504: if test -n "$lt_prog_compiler_pic_CXX"; then
11505: 
11506: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11507: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11508: if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11509:   echo $ECHO_N "(cached) $ECHO_C" >&6
11510: else
11511:   lt_prog_compiler_pic_works_CXX=no
11512:   ac_outfile=conftest.$ac_objext
11513:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11514:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11515:    # Insert the option either (1) after the last *FLAGS variable, or
11516:    # (2) before a word containing "conftest.", or (3) at the end.
11517:    # Note that $ac_compile itself does not contain backslashes and begins
11518:    # with a dollar sign (not a hyphen), so the echo should work correctly.
11519:    # The option is referenced via a variable to avoid confusing sed.
11520:    lt_compile=`echo "$ac_compile" | $SED \
11521:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11522:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11523:    -e 's:$: $lt_compiler_flag:'`
11524:    (eval echo "\"\$as_me:11524: $lt_compile\"" >&5)
11525:    (eval "$lt_compile" 2>conftest.err)
11526:    ac_status=$?
11527:    cat conftest.err >&5
11528:    echo "$as_me:11528: \$? = $ac_status" >&5
11529:    if (exit $ac_status) && test -s "$ac_outfile"; then
11530:      # The compiler can only warn and ignore the option if not recognized
11531:      # So say no if there are warnings other than the usual output.
11532:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11533:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11534:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11535:        lt_prog_compiler_pic_works_CXX=yes
11536:      fi
11537:    fi
11538:    $rm conftest*
11539: 
11540: fi
11541: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11542: echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11543: 
11544: if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11545:     case $lt_prog_compiler_pic_CXX in
11546:      "" | " "*) ;;
11547:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11548:      esac
11549: else
11550:     lt_prog_compiler_pic_CXX=
11551:      lt_prog_compiler_can_build_shared_CXX=no
11552: fi
11553: 
11554: fi
11555: case $host_os in
11556:   # For platforms which do not support PIC, -DPIC is meaningless:
11557:   *djgpp*)
11558:     lt_prog_compiler_pic_CXX=
11559:     ;;
11560:   *)
11561:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11562:     ;;
11563: esac
11564: 
11565: #
11566: # Check to make sure the static flag actually works.
11567: #
11568: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11569: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11570: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11571: if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11572:   echo $ECHO_N "(cached) $ECHO_C" >&6
11573: else
11574:   lt_prog_compiler_static_works_CXX=no
11575:    save_LDFLAGS="$LDFLAGS"
11576:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11577:    printf "$lt_simple_link_test_code" > conftest.$ac_ext
11578:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11579:      # The linker can only warn and ignore the option if not recognized
11580:      # So say no if there are warnings
11581:      if test -s conftest.err; then
11582:        # Append any errors to the config.log.
11583:        cat conftest.err 1>&5
11584:        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11585:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11586:        if diff conftest.exp conftest.er2 >/dev/null; then
11587:          lt_prog_compiler_static_works_CXX=yes
11588:        fi
11589:      else
11590:        lt_prog_compiler_static_works_CXX=yes
11591:      fi
11592:    fi
11593:    $rm conftest*
11594:    LDFLAGS="$save_LDFLAGS"
11595: 
11596: fi
11597: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11598: echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11599: 
11600: if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11601:     :
11602: else
11603:     lt_prog_compiler_static_CXX=
11604: fi
11605: 
11606: 
11607: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11608: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11609: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11610:   echo $ECHO_N "(cached) $ECHO_C" >&6
11611: else
11612:   lt_cv_prog_compiler_c_o_CXX=no
11613:    $rm -r conftest 2>/dev/null
11614:    mkdir conftest
11615:    cd conftest
11616:    mkdir out
11617:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11618: 
11619:    lt_compiler_flag="-o out/conftest2.$ac_objext"
11620:    # Insert the option either (1) after the last *FLAGS variable, or
11621:    # (2) before a word containing "conftest.", or (3) at the end.
11622:    # Note that $ac_compile itself does not contain backslashes and begins
11623:    # with a dollar sign (not a hyphen), so the echo should work correctly.
11624:    lt_compile=`echo "$ac_compile" | $SED \
11625:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11626:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11627:    -e 's:$: $lt_compiler_flag:'`
11628:    (eval echo "\"\$as_me:11628: $lt_compile\"" >&5)
11629:    (eval "$lt_compile" 2>out/conftest.err)
11630:    ac_status=$?
11631:    cat out/conftest.err >&5
11632:    echo "$as_me:11632: \$? = $ac_status" >&5
11633:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11634:    then
11635:      # The compiler can only warn and ignore the option if not recognized
11636:      # So say no if there are warnings
11637:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11638:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11639:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11640:        lt_cv_prog_compiler_c_o_CXX=yes
11641:      fi
11642:    fi
11643:    chmod u+w . 2>&5
11644:    $rm conftest*
11645:    # SGI C++ compiler will create directory out/ii_files/ for
11646:    # template instantiation
11647:    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11648:    $rm out/* && rmdir out
11649:    cd ..
11650:    rmdir conftest
11651:    $rm conftest*
11652: 
11653: fi
11654: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11655: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11656: 
11657: 
11658: hard_links="nottested"
11659: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11660:   # do not overwrite the value of need_locks provided by the user
11661:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11662: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11663:   hard_links=yes
11664:   $rm conftest*
11665:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11666:   touch conftest.a
11667:   ln conftest.a conftest.b 2>&5 || hard_links=no
11668:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11669:   echo "$as_me:$LINENO: result: $hard_links" >&5
11670: echo "${ECHO_T}$hard_links" >&6
11671:   if test "$hard_links" = no; then
11672:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11673: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11674:     need_locks=warn
11675:   fi
11676: else
11677:   need_locks=no
11678: fi
11679: 
11680: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11681: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11682: 
11683:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11684:   case $host_os in
11685:   aix4* | aix5*)
11686:     # If we're using GNU nm, then we don't want the "-C" option.
11687:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
11688:     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11689:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11690:     else
11691:       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'
11692:     fi
11693:     ;;
11694:   pw32*)
11695:     export_symbols_cmds_CXX="$ltdll_cmds"
11696:   ;;
11697:   cygwin* | mingw*)
11698:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11699:   ;;
11700:   *)
11701:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11702:   ;;
11703:   esac
11704: 
11705: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11706: echo "${ECHO_T}$ld_shlibs_CXX" >&6
11707: test "$ld_shlibs_CXX" = no && can_build_shared=no
11708: 
11709: #
11710: # Do we need to explicitly link libc?
11711: #
11712: case "x$archive_cmds_need_lc_CXX" in
11713: x|xyes)
11714:   # Assume -lc should be added
11715:   archive_cmds_need_lc_CXX=yes
11716: 
11717:   if test "$enable_shared" = yes && test "$GCC" = yes; then
11718:     case $archive_cmds_CXX in
11719:     *'~'*)
11720:       # FIXME: we may have to deal with multi-command sequences.
11721:       ;;
11722:     '$CC '*)
11723:       # Test whether the compiler implicitly links with -lc since on some
11724:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11725:       # to ld, don't add -lc before -lgcc.
11726:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11727: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11728:       $rm conftest*
11729:       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11730: 
11731:       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732:   (eval $ac_compile) 2>&5
11733:   ac_status=$?
11734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735:   (exit $ac_status); } 2>conftest.err; then
11736:         soname=conftest
11737:         lib=conftest
11738:         libobjs=conftest.$ac_objext
11739:         deplibs=
11740:         wl=$lt_prog_compiler_wl_CXX
11741: 	pic_flag=$lt_prog_compiler_pic_CXX
11742:         compiler_flags=-v
11743:         linker_flags=-v
11744:         verstring=
11745:         output_objdir=.
11746:         libname=conftest
11747:         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11748:         allow_undefined_flag_CXX=
11749:         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11750:   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11751:   ac_status=$?
11752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753:   (exit $ac_status); }
11754:         then
11755: 	  archive_cmds_need_lc_CXX=no
11756:         else
11757: 	  archive_cmds_need_lc_CXX=yes
11758:         fi
11759:         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11760:       else
11761:         cat conftest.err 1>&5
11762:       fi
11763:       $rm conftest*
11764:       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11765: echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11766:       ;;
11767:     esac
11768:   fi
11769:   ;;
11770: esac
11771: 
11772: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11773: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11774: library_names_spec=
11775: libname_spec='lib$name'
11776: soname_spec=
11777: shrext_cmds=".so"
11778: postinstall_cmds=
11779: postuninstall_cmds=
11780: finish_cmds=
11781: finish_eval=
11782: shlibpath_var=
11783: shlibpath_overrides_runpath=unknown
11784: version_type=none
11785: dynamic_linker="$host_os ld.so"
11786: sys_lib_dlsearch_path_spec="/lib /usr/lib"
11787: if test "$GCC" = yes; then
11788:   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11789:   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11790:     # if the path contains ";" then we assume it to be the separator
11791:     # otherwise default to the standard path separator (i.e. ":") - it is
11792:     # assumed that no part of a normal pathname contains ";" but that should
11793:     # okay in the real world where ";" in dirpaths is itself problematic.
11794:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11795:   else
11796:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11797:   fi
11798: else
11799:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11800: fi
11801: need_lib_prefix=unknown
11802: hardcode_into_libs=no
11803: 
11804: # when you set need_version to no, make sure it does not cause -set_version
11805: # flags to be left without arguments
11806: need_version=unknown
11807: 
11808: case $host_os in
11809: aix3*)
11810:   version_type=linux
11811:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11812:   shlibpath_var=LIBPATH
11813: 
11814:   # AIX 3 has no versioning support, so we append a major version to the name.
11815:   soname_spec='${libname}${release}${shared_ext}$major'
11816:   ;;
11817: 
11818: aix4* | aix5*)
11819:   version_type=linux
11820:   need_lib_prefix=no
11821:   need_version=no
11822:   hardcode_into_libs=yes
11823:   if test "$host_cpu" = ia64; then
11824:     # AIX 5 supports IA64
11825:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11826:     shlibpath_var=LD_LIBRARY_PATH
11827:   else
11828:     # With GCC up to 2.95.x, collect2 would create an import file
11829:     # for dependence libraries.  The import file would start with
11830:     # the line `#! .'.  This would cause the generated library to
11831:     # depend on `.', always an invalid library.  This was fixed in
11832:     # development snapshots of GCC prior to 3.0.
11833:     case $host_os in
11834:       aix4 | aix4.[01] | aix4.[01].*)
11835:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11836: 	   echo ' yes '
11837: 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11838: 	:
11839:       else
11840: 	can_build_shared=no
11841:       fi
11842:       ;;
11843:     esac
11844:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11845:     # soname into executable. Probably we can add versioning support to
11846:     # collect2, so additional links can be useful in future.
11847:     if test "$aix_use_runtimelinking" = yes; then
11848:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11849:       # instead of lib<name>.a to let people know that these are not
11850:       # typical AIX shared libraries.
11851:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852:     else
11853:       # We preserve .a as extension for shared libraries through AIX4.2
11854:       # and later when we are not doing run time linking.
11855:       library_names_spec='${libname}${release}.a $libname.a'
11856:       soname_spec='${libname}${release}${shared_ext}$major'
11857:     fi
11858:     shlibpath_var=LIBPATH
11859:   fi
11860:   ;;
11861: 
11862: amigaos*)
11863:   library_names_spec='$libname.ixlibrary $libname.a'
11864:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
11865:   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
11866:   ;;
11867: 
11868: beos*)
11869:   library_names_spec='${libname}${shared_ext}'
11870:   dynamic_linker="$host_os ld.so"
11871:   shlibpath_var=LIBRARY_PATH
11872:   ;;
11873: 
11874: bsdi[45]*)
11875:   version_type=linux
11876:   need_version=no
11877:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11878:   soname_spec='${libname}${release}${shared_ext}$major'
11879:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11880:   shlibpath_var=LD_LIBRARY_PATH
11881:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11882:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11883:   # the default ld.so.conf also contains /usr/contrib/lib and
11884:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11885:   # libtool to hard-code these into programs
11886:   ;;
11887: 
11888: cygwin* | mingw* | pw32*)
11889:   version_type=windows
11890:   shrext_cmds=".dll"
11891:   need_version=no
11892:   need_lib_prefix=no
11893: 
11894:   case $GCC,$host_os in
11895:   yes,cygwin* | yes,mingw* | yes,pw32*)
11896:     library_names_spec='$libname.dll.a'
11897:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11898:     postinstall_cmds='base_file=`basename \${file}`~
11899:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11900:       dldir=$destdir/`dirname \$dlpath`~
11901:       test -d \$dldir || mkdir -p \$dldir~
11902:       $install_prog $dir/$dlname \$dldir/$dlname~
11903:       chmod a+x \$dldir/$dlname'
11904:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11905:       dlpath=$dir/\$dldll~
11906:        $rm \$dlpath'
11907:     shlibpath_overrides_runpath=yes
11908: 
11909:     case $host_os in
11910:     cygwin*)
11911:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11912:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11914:       ;;
11915:     mingw*)
11916:       # MinGW DLLs use traditional 'lib' prefix
11917:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918:       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11919:       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11920:         # It is most probably a Windows format PATH printed by
11921:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
11922:         # path with ; separators, and with drive letters. We can handle the
11923:         # drive letters (cygwin fileutils understands them), so leave them,
11924:         # especially as we might pass files found there to a mingw objdump,
11925:         # which wouldn't understand a cygwinified path. Ahh.
11926:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11927:       else
11928:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11929:       fi
11930:       ;;
11931:     pw32*)
11932:       # pw32 DLLs use 'pw' prefix rather than 'lib'
11933:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11934:       ;;
11935:     esac
11936:     ;;
11937: 
11938:   *)
11939:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11940:     ;;
11941:   esac
11942:   dynamic_linker='Win32 ld.exe'
11943:   # FIXME: first we should search . and the directory the executable is in
11944:   shlibpath_var=PATH
11945:   ;;
11946: 
11947: darwin* | rhapsody*)
11948:   dynamic_linker="$host_os dyld"
11949:   version_type=darwin
11950:   need_lib_prefix=no
11951:   need_version=no
11952:   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11953:   soname_spec='${libname}${release}${major}$shared_ext'
11954:   shlibpath_overrides_runpath=yes
11955:   shlibpath_var=DYLD_LIBRARY_PATH
11956:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11957:   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11958:   if test "$GCC" = yes; then
11959:     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11960:   else
11961:     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11962:   fi
11963:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11964:   ;;
11965: 
11966: dgux*)
11967:   version_type=linux
11968:   need_lib_prefix=no
11969:   need_version=no
11970:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11971:   soname_spec='${libname}${release}${shared_ext}$major'
11972:   shlibpath_var=LD_LIBRARY_PATH
11973:   ;;
11974: 
11975: freebsd1*)
11976:   dynamic_linker=no
11977:   ;;
11978: 
11979: kfreebsd*-gnu)
11980:   version_type=linux
11981:   need_lib_prefix=no
11982:   need_version=no
11983:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11984:   soname_spec='${libname}${release}${shared_ext}$major'
11985:   shlibpath_var=LD_LIBRARY_PATH
11986:   shlibpath_overrides_runpath=no
11987:   hardcode_into_libs=yes
11988:   dynamic_linker='GNU ld.so'
11989:   ;;
11990: 
11991: freebsd* | dragonfly*)
11992:   # DragonFly does not have aout.  When/if they implement a new
11993:   # versioning mechanism, adjust this.
11994:   if test -x /usr/bin/objformat; then
11995:     objformat=`/usr/bin/objformat`
11996:   else
11997:     case $host_os in
11998:     freebsd[123]*) objformat=aout ;;
11999:     *) objformat=elf ;;
12000:     esac
12001:   fi
12002:   version_type=freebsd-$objformat
12003:   case $version_type in
12004:     freebsd-elf*)
12005:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12006:       need_version=no
12007:       need_lib_prefix=no
12008:       ;;
12009:     freebsd-*)
12010:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12011:       need_version=yes
12012:       ;;
12013:   esac
12014:   shlibpath_var=LD_LIBRARY_PATH
12015:   case $host_os in
12016:   freebsd2*)
12017:     shlibpath_overrides_runpath=yes
12018:     ;;
12019:   freebsd3.[01]* | freebsdelf3.[01]*)
12020:     shlibpath_overrides_runpath=yes
12021:     hardcode_into_libs=yes
12022:     ;;
12023:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12024:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12025:     shlibpath_overrides_runpath=no
12026:     hardcode_into_libs=yes
12027:     ;;
12028:   freebsd*) # from 4.6 on
12029:     shlibpath_overrides_runpath=yes
12030:     hardcode_into_libs=yes
12031:     ;;
12032:   esac
12033:   ;;
12034: 
12035: gnu*)
12036:   version_type=linux
12037:   need_lib_prefix=no
12038:   need_version=no
12039:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12040:   soname_spec='${libname}${release}${shared_ext}$major'
12041:   shlibpath_var=LD_LIBRARY_PATH
12042:   hardcode_into_libs=yes
12043:   ;;
12044: 
12045: hpux9* | hpux10* | hpux11*)
12046:   # Give a soname corresponding to the major version so that dld.sl refuses to
12047:   # link against other versions.
12048:   version_type=sunos
12049:   need_lib_prefix=no
12050:   need_version=no
12051:   case $host_cpu in
12052:   ia64*)
12053:     shrext_cmds='.so'
12054:     hardcode_into_libs=yes
12055:     dynamic_linker="$host_os dld.so"
12056:     shlibpath_var=LD_LIBRARY_PATH
12057:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12058:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12059:     soname_spec='${libname}${release}${shared_ext}$major'
12060:     if test "X$HPUX_IA64_MODE" = X32; then
12061:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12062:     else
12063:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12064:     fi
12065:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12066:     ;;
12067:    hppa*64*)
12068:      shrext_cmds='.sl'
12069:      hardcode_into_libs=yes
12070:      dynamic_linker="$host_os dld.sl"
12071:      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12072:      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12073:      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12074:      soname_spec='${libname}${release}${shared_ext}$major'
12075:      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12076:      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12077:      ;;
12078:    *)
12079:     shrext_cmds='.sl'
12080:     dynamic_linker="$host_os dld.sl"
12081:     shlibpath_var=SHLIB_PATH
12082:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12083:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12084:     soname_spec='${libname}${release}${shared_ext}$major'
12085:     ;;
12086:   esac
12087:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12088:   postinstall_cmds='chmod 555 $lib'
12089:   ;;
12090: 
12091: interix3*)
12092:   version_type=linux
12093:   need_lib_prefix=no
12094:   need_version=no
12095:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12096:   soname_spec='${libname}${release}${shared_ext}$major'
12097:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12098:   shlibpath_var=LD_LIBRARY_PATH
12099:   shlibpath_overrides_runpath=no
12100:   hardcode_into_libs=yes
12101:   ;;
12102: 
12103: irix5* | irix6* | nonstopux*)
12104:   case $host_os in
12105:     nonstopux*) version_type=nonstopux ;;
12106:     *)
12107: 	if test "$lt_cv_prog_gnu_ld" = yes; then
12108: 		version_type=linux
12109: 	else
12110: 		version_type=irix
12111: 	fi ;;
12112:   esac
12113:   need_lib_prefix=no
12114:   need_version=no
12115:   soname_spec='${libname}${release}${shared_ext}$major'
12116:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12117:   case $host_os in
12118:   irix5* | nonstopux*)
12119:     libsuff= shlibsuff=
12120:     ;;
12121:   *)
12122:     case $LD in # libtool.m4 will add one of these switches to LD
12123:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12124:       libsuff= shlibsuff= libmagic=32-bit;;
12125:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12126:       libsuff=32 shlibsuff=N32 libmagic=N32;;
12127:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12128:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12129:     *) libsuff= shlibsuff= libmagic=never-match;;
12130:     esac
12131:     ;;
12132:   esac
12133:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12134:   shlibpath_overrides_runpath=no
12135:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12136:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12137:   hardcode_into_libs=yes
12138:   ;;
12139: 
12140: # No shared lib support for Linux oldld, aout, or coff.
12141: linux*oldld* | linux*aout* | linux*coff*)
12142:   dynamic_linker=no
12143:   ;;
12144: 
12145: # This must be Linux ELF.
12146: linux*)
12147:   version_type=linux
12148:   need_lib_prefix=no
12149:   need_version=no
12150:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151:   soname_spec='${libname}${release}${shared_ext}$major'
12152:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12153:   shlibpath_var=LD_LIBRARY_PATH
12154:   shlibpath_overrides_runpath=no
12155:   # This implies no fast_install, which is unacceptable.
12156:   # Some rework will be needed to allow for fast_install
12157:   # before this can be enabled.
12158:   hardcode_into_libs=yes
12159: 
12160:   # Append ld.so.conf contents to the search path
12161:   if test -f /etc/ld.so.conf; then
12162:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12163:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12164:   fi
12165: 
12166:   # We used to test for /lib/ld.so.1 and disable shared libraries on
12167:   # powerpc, because MkLinux only supported shared libraries with the
12168:   # GNU dynamic linker.  Since this was broken with cross compilers,
12169:   # most powerpc-linux boxes support dynamic linking these days and
12170:   # people can always --disable-shared, the test was removed, and we
12171:   # assume the GNU/Linux dynamic linker is in use.
12172:   dynamic_linker='GNU/Linux ld.so'
12173:   ;;
12174: 
12175: knetbsd*-gnu)
12176:   version_type=linux
12177:   need_lib_prefix=no
12178:   need_version=no
12179:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12180:   soname_spec='${libname}${release}${shared_ext}$major'
12181:   shlibpath_var=LD_LIBRARY_PATH
12182:   shlibpath_overrides_runpath=no
12183:   hardcode_into_libs=yes
12184:   dynamic_linker='GNU ld.so'
12185:   ;;
12186: 
12187: netbsd*)
12188:   version_type=sunos
12189:   need_lib_prefix=no
12190:   need_version=no
12191:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12192:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12193:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12194:     dynamic_linker='NetBSD (a.out) ld.so'
12195:   else
12196:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12197:     soname_spec='${libname}${release}${shared_ext}$major'
12198:     dynamic_linker='NetBSD ld.elf_so'
12199:   fi
12200:   shlibpath_var=LD_LIBRARY_PATH
12201:   shlibpath_overrides_runpath=yes
12202:   hardcode_into_libs=yes
12203:   ;;
12204: 
12205: newsos6)
12206:   version_type=linux
12207:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208:   shlibpath_var=LD_LIBRARY_PATH
12209:   shlibpath_overrides_runpath=yes
12210:   ;;
12211: 
12212: nto-qnx*)
12213:   version_type=linux
12214:   need_lib_prefix=no
12215:   need_version=no
12216:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217:   soname_spec='${libname}${release}${shared_ext}$major'
12218:   shlibpath_var=LD_LIBRARY_PATH
12219:   shlibpath_overrides_runpath=yes
12220:   ;;
12221: 
12222: openbsd*)
12223:   version_type=sunos
12224:   sys_lib_dlsearch_path_spec="/usr/lib"
12225:   need_lib_prefix=no
12226:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12227:   case $host_os in
12228:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12229:     *)                         need_version=no  ;;
12230:   esac
12231:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12232:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12233:   shlibpath_var=LD_LIBRARY_PATH
12234:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12235:     case $host_os in
12236:       openbsd2.[89] | openbsd2.[89].*)
12237: 	shlibpath_overrides_runpath=no
12238: 	;;
12239:       *)
12240: 	shlibpath_overrides_runpath=yes
12241: 	;;
12242:       esac
12243:   else
12244:     shlibpath_overrides_runpath=yes
12245:   fi
12246:   ;;
12247: 
12248: os2*)
12249:   libname_spec='$name'
12250:   shrext_cmds=".dll"
12251:   need_lib_prefix=no
12252:   library_names_spec='$libname${shared_ext} $libname.a'
12253:   dynamic_linker='OS/2 ld.exe'
12254:   shlibpath_var=LIBPATH
12255:   ;;
12256: 
12257: osf3* | osf4* | osf5*)
12258:   version_type=osf
12259:   need_lib_prefix=no
12260:   need_version=no
12261:   soname_spec='${libname}${release}${shared_ext}$major'
12262:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12263:   shlibpath_var=LD_LIBRARY_PATH
12264:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12265:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12266:   ;;
12267: 
12268: solaris*)
12269:   version_type=linux
12270:   need_lib_prefix=no
12271:   need_version=no
12272:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12273:   soname_spec='${libname}${release}${shared_ext}$major'
12274:   shlibpath_var=LD_LIBRARY_PATH
12275:   shlibpath_overrides_runpath=yes
12276:   hardcode_into_libs=yes
12277:   # ldd complains unless libraries are executable
12278:   postinstall_cmds='chmod +x $lib'
12279:   ;;
12280: 
12281: sunos4*)
12282:   version_type=sunos
12283:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12284:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12285:   shlibpath_var=LD_LIBRARY_PATH
12286:   shlibpath_overrides_runpath=yes
12287:   if test "$with_gnu_ld" = yes; then
12288:     need_lib_prefix=no
12289:   fi
12290:   need_version=yes
12291:   ;;
12292: 
12293: sysv4 | sysv4.3*)
12294:   version_type=linux
12295:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12296:   soname_spec='${libname}${release}${shared_ext}$major'
12297:   shlibpath_var=LD_LIBRARY_PATH
12298:   case $host_vendor in
12299:     sni)
12300:       shlibpath_overrides_runpath=no
12301:       need_lib_prefix=no
12302:       export_dynamic_flag_spec='${wl}-Blargedynsym'
12303:       runpath_var=LD_RUN_PATH
12304:       ;;
12305:     siemens)
12306:       need_lib_prefix=no
12307:       ;;
12308:     motorola)
12309:       need_lib_prefix=no
12310:       need_version=no
12311:       shlibpath_overrides_runpath=no
12312:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12313:       ;;
12314:   esac
12315:   ;;
12316: 
12317: sysv4*MP*)
12318:   if test -d /usr/nec ;then
12319:     version_type=linux
12320:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12321:     soname_spec='$libname${shared_ext}.$major'
12322:     shlibpath_var=LD_LIBRARY_PATH
12323:   fi
12324:   ;;
12325: 
12326: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12327:   version_type=freebsd-elf
12328:   need_lib_prefix=no
12329:   need_version=no
12330:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12331:   soname_spec='${libname}${release}${shared_ext}$major'
12332:   shlibpath_var=LD_LIBRARY_PATH
12333:   hardcode_into_libs=yes
12334:   if test "$with_gnu_ld" = yes; then
12335:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12336:     shlibpath_overrides_runpath=no
12337:   else
12338:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12339:     shlibpath_overrides_runpath=yes
12340:     case $host_os in
12341:       sco3.2v5*)
12342:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12343: 	;;
12344:     esac
12345:   fi
12346:   sys_lib_dlsearch_path_spec='/usr/lib'
12347:   ;;
12348: 
12349: uts4*)
12350:   version_type=linux
12351:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352:   soname_spec='${libname}${release}${shared_ext}$major'
12353:   shlibpath_var=LD_LIBRARY_PATH
12354:   ;;
12355: 
12356: *)
12357:   dynamic_linker=no
12358:   ;;
12359: esac
12360: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12361: echo "${ECHO_T}$dynamic_linker" >&6
12362: test "$dynamic_linker" = no && can_build_shared=no
12363: 
12364: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12365: if test "$GCC" = yes; then
12366:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12367: fi
12368: 
12369: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12370: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12371: hardcode_action_CXX=
12372: if test -n "$hardcode_libdir_flag_spec_CXX" || \
12373:    test -n "$runpath_var_CXX" || \
12374:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
12375: 
12376:   # We can hardcode non-existant directories.
12377:   if test "$hardcode_direct_CXX" != no &&
12378:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12379:      # have to relink, otherwise we might link with an installed library
12380:      # when we should be linking with a yet-to-be-installed one
12381:      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12382:      test "$hardcode_minus_L_CXX" != no; then
12383:     # Linking always hardcodes the temporary library directory.
12384:     hardcode_action_CXX=relink
12385:   else
12386:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12387:     hardcode_action_CXX=immediate
12388:   fi
12389: else
12390:   # We cannot hardcode anything, or else we can only hardcode existing
12391:   # directories.
12392:   hardcode_action_CXX=unsupported
12393: fi
12394: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12395: echo "${ECHO_T}$hardcode_action_CXX" >&6
12396: 
12397: if test "$hardcode_action_CXX" = relink; then
12398:   # Fast installation is not supported
12399:   enable_fast_install=no
12400: elif test "$shlibpath_overrides_runpath" = yes ||
12401:      test "$enable_shared" = no; then
12402:   # Fast installation is not necessary
12403:   enable_fast_install=needless
12404: fi
12405: 
12406: 
12407: # The else clause should only fire when bootstrapping the
12408: # libtool distribution, otherwise you forgot to ship ltmain.sh
12409: # with your package, and you will get complaints that there are
12410: # no rules to generate ltmain.sh.
12411: if test -f "$ltmain"; then
12412:   # See if we are running on zsh, and set the options which allow our commands through
12413:   # without removal of \ escapes.
12414:   if test -n "${ZSH_VERSION+set}" ; then
12415:     setopt NO_GLOB_SUBST
12416:   fi
12417:   # Now quote all the things that may contain metacharacters while being
12418:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
12419:   # variables and quote the copies for generation of the libtool script.
12420:   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12421:     SED SHELL STRIP \
12422:     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12423:     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12424:     deplibs_check_method reload_flag reload_cmds need_locks \
12425:     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12426:     lt_cv_sys_global_symbol_to_c_name_address \
12427:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12428:     old_postinstall_cmds old_postuninstall_cmds \
12429:     compiler_CXX \
12430:     CC_CXX \
12431:     LD_CXX \
12432:     lt_prog_compiler_wl_CXX \
12433:     lt_prog_compiler_pic_CXX \
12434:     lt_prog_compiler_static_CXX \
12435:     lt_prog_compiler_no_builtin_flag_CXX \
12436:     export_dynamic_flag_spec_CXX \
12437:     thread_safe_flag_spec_CXX \
12438:     whole_archive_flag_spec_CXX \
12439:     enable_shared_with_static_runtimes_CXX \
12440:     old_archive_cmds_CXX \
12441:     old_archive_from_new_cmds_CXX \
12442:     predep_objects_CXX \
12443:     postdep_objects_CXX \
12444:     predeps_CXX \
12445:     postdeps_CXX \
12446:     compiler_lib_search_path_CXX \
12447:     archive_cmds_CXX \
12448:     archive_expsym_cmds_CXX \
12449:     postinstall_cmds_CXX \
12450:     postuninstall_cmds_CXX \
12451:     old_archive_from_expsyms_cmds_CXX \
12452:     allow_undefined_flag_CXX \
12453:     no_undefined_flag_CXX \
12454:     export_symbols_cmds_CXX \
12455:     hardcode_libdir_flag_spec_CXX \
12456:     hardcode_libdir_flag_spec_ld_CXX \
12457:     hardcode_libdir_separator_CXX \
12458:     hardcode_automatic_CXX \
12459:     module_cmds_CXX \
12460:     module_expsym_cmds_CXX \
12461:     lt_cv_prog_compiler_c_o_CXX \
12462:     exclude_expsyms_CXX \
12463:     include_expsyms_CXX; do
12464: 
12465:     case $var in
12466:     old_archive_cmds_CXX | \
12467:     old_archive_from_new_cmds_CXX | \
12468:     archive_cmds_CXX | \
12469:     archive_expsym_cmds_CXX | \
12470:     module_cmds_CXX | \
12471:     module_expsym_cmds_CXX | \
12472:     old_archive_from_expsyms_cmds_CXX | \
12473:     export_symbols_cmds_CXX | \
12474:     extract_expsyms_cmds | reload_cmds | finish_cmds | \
12475:     postinstall_cmds | postuninstall_cmds | \
12476:     old_postinstall_cmds | old_postuninstall_cmds | \
12477:     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12478:       # Double-quote double-evaled strings.
12479:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12480:       ;;
12481:     *)
12482:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12483:       ;;
12484:     esac
12485:   done
12486: 
12487:   case $lt_echo in
12488:   *'\$0 --fallback-echo"')
12489:     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12490:     ;;
12491:   esac
12492: 
12493: cfgfile="$ofile"
12494: 
12495:   cat <<__EOF__ >> "$cfgfile"
12496: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12497: 
12498: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12499: 
12500: # Shell to use when invoking shell scripts.
12501: SHELL=$lt_SHELL
12502: 
12503: # Whether or not to build shared libraries.
12504: build_libtool_libs=$enable_shared
12505: 
12506: # Whether or not to build static libraries.
12507: build_old_libs=$enable_static
12508: 
12509: # Whether or not to add -lc for building shared libraries.
12510: build_libtool_need_lc=$archive_cmds_need_lc_CXX
12511: 
12512: # Whether or not to disallow shared libs when runtime libs are static
12513: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12514: 
12515: # Whether or not to optimize for fast installation.
12516: fast_install=$enable_fast_install
12517: 
12518: # The host system.
12519: host_alias=$host_alias
12520: host=$host
12521: host_os=$host_os
12522: 
12523: # The build system.
12524: build_alias=$build_alias
12525: build=$build
12526: build_os=$build_os
12527: 
12528: # An echo program that does not interpret backslashes.
12529: echo=$lt_echo
12530: 
12531: # The archiver.
12532: AR=$lt_AR
12533: AR_FLAGS=$lt_AR_FLAGS
12534: 
12535: # A C compiler.
12536: LTCC=$lt_LTCC
12537: 
12538: # LTCC compiler flags.
12539: LTCFLAGS=$lt_LTCFLAGS
12540: 
12541: # A language-specific compiler.
12542: CC=$lt_compiler_CXX
12543: 
12544: # Is the compiler the GNU C compiler?
12545: with_gcc=$GCC_CXX
12546: 
12547: # An ERE matcher.
12548: EGREP=$lt_EGREP
12549: 
12550: # The linker used to build libraries.
12551: LD=$lt_LD_CXX
12552: 
12553: # Whether we need hard or soft links.
12554: LN_S=$lt_LN_S
12555: 
12556: # A BSD-compatible nm program.
12557: NM=$lt_NM
12558: 
12559: # A symbol stripping program
12560: STRIP=$lt_STRIP
12561: 
12562: # Used to examine libraries when file_magic_cmd begins "file"
12563: MAGIC_CMD=$MAGIC_CMD
12564: 
12565: # Used on cygwin: DLL creation program.
12566: DLLTOOL="$DLLTOOL"
12567: 
12568: # Used on cygwin: object dumper.
12569: OBJDUMP="$OBJDUMP"
12570: 
12571: # Used on cygwin: assembler.
12572: AS="$AS"
12573: 
12574: # The name of the directory that contains temporary libtool files.
12575: objdir=$objdir
12576: 
12577: # How to create reloadable object files.
12578: reload_flag=$lt_reload_flag
12579: reload_cmds=$lt_reload_cmds
12580: 
12581: # How to pass a linker flag through the compiler.
12582: wl=$lt_lt_prog_compiler_wl_CXX
12583: 
12584: # Object file suffix (normally "o").
12585: objext="$ac_objext"
12586: 
12587: # Old archive suffix (normally "a").
12588: libext="$libext"
12589: 
12590: # Shared library suffix (normally ".so").
12591: shrext_cmds='$shrext_cmds'
12592: 
12593: # Executable file suffix (normally "").
12594: exeext="$exeext"
12595: 
12596: # Additional compiler flags for building library objects.
12597: pic_flag=$lt_lt_prog_compiler_pic_CXX
12598: pic_mode=$pic_mode
12599: 
12600: # What is the maximum length of a command?
12601: max_cmd_len=$lt_cv_sys_max_cmd_len
12602: 
12603: # Does compiler simultaneously support -c and -o options?
12604: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12605: 
12606: # Must we lock files when doing compilation?
12607: need_locks=$lt_need_locks
12608: 
12609: # Do we need the lib prefix for modules?
12610: need_lib_prefix=$need_lib_prefix
12611: 
12612: # Do we need a version for libraries?
12613: need_version=$need_version
12614: 
12615: # Whether dlopen is supported.
12616: dlopen_support=$enable_dlopen
12617: 
12618: # Whether dlopen of programs is supported.
12619: dlopen_self=$enable_dlopen_self
12620: 
12621: # Whether dlopen of statically linked programs is supported.
12622: dlopen_self_static=$enable_dlopen_self_static
12623: 
12624: # Compiler flag to prevent dynamic linking.
12625: link_static_flag=$lt_lt_prog_compiler_static_CXX
12626: 
12627: # Compiler flag to turn off builtin functions.
12628: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12629: 
12630: # Compiler flag to allow reflexive dlopens.
12631: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12632: 
12633: # Compiler flag to generate shared objects directly from archives.
12634: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12635: 
12636: # Compiler flag to generate thread-safe objects.
12637: thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12638: 
12639: # Library versioning type.
12640: version_type=$version_type
12641: 
12642: # Format of library name prefix.
12643: libname_spec=$lt_libname_spec
12644: 
12645: # List of archive names.  First name is the real one, the rest are links.
12646: # The last name is the one that the linker finds with -lNAME.
12647: library_names_spec=$lt_library_names_spec
12648: 
12649: # The coded name of the library, if different from the real name.
12650: soname_spec=$lt_soname_spec
12651: 
12652: # Commands used to build and install an old-style archive.
12653: RANLIB=$lt_RANLIB
12654: old_archive_cmds=$lt_old_archive_cmds_CXX
12655: old_postinstall_cmds=$lt_old_postinstall_cmds
12656: old_postuninstall_cmds=$lt_old_postuninstall_cmds
12657: 
12658: # Create an old-style archive from a shared archive.
12659: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12660: 
12661: # Create a temporary old-style archive to link instead of a shared archive.
12662: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12663: 
12664: # Commands used to build and install a shared archive.
12665: archive_cmds=$lt_archive_cmds_CXX
12666: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12667: postinstall_cmds=$lt_postinstall_cmds
12668: postuninstall_cmds=$lt_postuninstall_cmds
12669: 
12670: # Commands used to build a loadable module (assumed same as above if empty)
12671: module_cmds=$lt_module_cmds_CXX
12672: module_expsym_cmds=$lt_module_expsym_cmds_CXX
12673: 
12674: # Commands to strip libraries.
12675: old_striplib=$lt_old_striplib
12676: striplib=$lt_striplib
12677: 
12678: # Dependencies to place before the objects being linked to create a
12679: # shared library.
12680: predep_objects=$lt_predep_objects_CXX
12681: 
12682: # Dependencies to place after the objects being linked to create a
12683: # shared library.
12684: postdep_objects=$lt_postdep_objects_CXX
12685: 
12686: # Dependencies to place before the objects being linked to create a
12687: # shared library.
12688: predeps=$lt_predeps_CXX
12689: 
12690: # Dependencies to place after the objects being linked to create a
12691: # shared library.
12692: postdeps=$lt_postdeps_CXX
12693: 
12694: # The library search path used internally by the compiler when linking
12695: # a shared library.
12696: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12697: 
12698: # Method to check whether dependent libraries are shared objects.
12699: deplibs_check_method=$lt_deplibs_check_method
12700: 
12701: # Command to use when deplibs_check_method == file_magic.
12702: file_magic_cmd=$lt_file_magic_cmd
12703: 
12704: # Flag that allows shared libraries with undefined symbols to be built.
12705: allow_undefined_flag=$lt_allow_undefined_flag_CXX
12706: 
12707: # Flag that forces no undefined symbols.
12708: no_undefined_flag=$lt_no_undefined_flag_CXX
12709: 
12710: # Commands used to finish a libtool library installation in a directory.
12711: finish_cmds=$lt_finish_cmds
12712: 
12713: # Same as above, but a single script fragment to be evaled but not shown.
12714: finish_eval=$lt_finish_eval
12715: 
12716: # Take the output of nm and produce a listing of raw symbols and C names.
12717: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12718: 
12719: # Transform the output of nm in a proper C declaration
12720: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12721: 
12722: # Transform the output of nm in a C name address pair
12723: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12724: 
12725: # This is the shared library runtime path variable.
12726: runpath_var=$runpath_var
12727: 
12728: # This is the shared library path variable.
12729: shlibpath_var=$shlibpath_var
12730: 
12731: # Is shlibpath searched before the hard-coded library search path?
12732: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12733: 
12734: # How to hardcode a shared library path into an executable.
12735: hardcode_action=$hardcode_action_CXX
12736: 
12737: # Whether we should hardcode library paths into libraries.
12738: hardcode_into_libs=$hardcode_into_libs
12739: 
12740: # Flag to hardcode \$libdir into a binary during linking.
12741: # This must work even if \$libdir does not exist.
12742: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12743: 
12744: # If ld is used when linking, flag to hardcode \$libdir into
12745: # a binary during linking. This must work even if \$libdir does
12746: # not exist.
12747: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12748: 
12749: # Whether we need a single -rpath flag with a separated argument.
12750: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12751: 
12752: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12753: # resulting binary.
12754: hardcode_direct=$hardcode_direct_CXX
12755: 
12756: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12757: # resulting binary.
12758: hardcode_minus_L=$hardcode_minus_L_CXX
12759: 
12760: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12761: # the resulting binary.
12762: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12763: 
12764: # Set to yes if building a shared library automatically hardcodes DIR into the library
12765: # and all subsequent libraries and executables linked against it.
12766: hardcode_automatic=$hardcode_automatic_CXX
12767: 
12768: # Variables whose values should be saved in libtool wrapper scripts and
12769: # restored at relink time.
12770: variables_saved_for_relink="$variables_saved_for_relink"
12771: 
12772: # Whether libtool must link a program against all its dependency libraries.
12773: link_all_deplibs=$link_all_deplibs_CXX
12774: 
12775: # Compile-time system search path for libraries
12776: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12777: 
12778: # Run-time system search path for libraries
12779: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12780: 
12781: # Fix the shell variable \$srcfile for the compiler.
12782: fix_srcfile_path="$fix_srcfile_path_CXX"
12783: 
12784: # Set to yes if exported symbols are required.
12785: always_export_symbols=$always_export_symbols_CXX
12786: 
12787: # The commands to list exported symbols.
12788: export_symbols_cmds=$lt_export_symbols_cmds_CXX
12789: 
12790: # The commands to extract the exported symbol list from a shared archive.
12791: extract_expsyms_cmds=$lt_extract_expsyms_cmds
12792: 
12793: # Symbols that should not be listed in the preloaded symbols.
12794: exclude_expsyms=$lt_exclude_expsyms_CXX
12795: 
12796: # Symbols that must always be exported.
12797: include_expsyms=$lt_include_expsyms_CXX
12798: 
12799: # ### END LIBTOOL TAG CONFIG: $tagname
12800: 
12801: __EOF__
12802: 
12803: 
12804: else
12805:   # If there is no Makefile yet, we rely on a make rule to execute
12806:   # `config.status --recheck' to rerun these tests and create the
12807:   # libtool script then.
12808:   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12809:   if test -f "$ltmain_in"; then
12810:     test -f Makefile && make "$ltmain"
12811:   fi
12812: fi
12813: 
12814: 
12815: ac_ext=c
12816: ac_cpp='$CPP $CPPFLAGS'
12817: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12818: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12819: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12820: 
12821: CC=$lt_save_CC
12822: LDCXX=$LD
12823: LD=$lt_save_LD
12824: GCC=$lt_save_GCC
12825: with_gnu_ldcxx=$with_gnu_ld
12826: with_gnu_ld=$lt_save_with_gnu_ld
12827: lt_cv_path_LDCXX=$lt_cv_path_LD
12828: lt_cv_path_LD=$lt_save_path_LD
12829: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12830: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12831: 
12832: 	else
12833: 	  tagname=""
12834: 	fi
12835: 	;;
12836: 
12837:       F77)
12838: 	if test -n "$F77" && test "X$F77" != "Xno"; then
12839: 
12840: ac_ext=f
12841: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12842: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12844: 
12845: 
12846: archive_cmds_need_lc_F77=no
12847: allow_undefined_flag_F77=
12848: always_export_symbols_F77=no
12849: archive_expsym_cmds_F77=
12850: export_dynamic_flag_spec_F77=
12851: hardcode_direct_F77=no
12852: hardcode_libdir_flag_spec_F77=
12853: hardcode_libdir_flag_spec_ld_F77=
12854: hardcode_libdir_separator_F77=
12855: hardcode_minus_L_F77=no
12856: hardcode_automatic_F77=no
12857: module_cmds_F77=
12858: module_expsym_cmds_F77=
12859: link_all_deplibs_F77=unknown
12860: old_archive_cmds_F77=$old_archive_cmds
12861: no_undefined_flag_F77=
12862: whole_archive_flag_spec_F77=
12863: enable_shared_with_static_runtimes_F77=no
12864: 
12865: # Source file extension for f77 test sources.
12866: ac_ext=f
12867: 
12868: # Object file extension for compiled f77 test sources.
12869: objext=o
12870: objext_F77=$objext
12871: 
12872: # Code to be used in simple compile tests
12873: lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
12874: 
12875: # Code to be used in simple link tests
12876: lt_simple_link_test_code="      program t\n      end\n"
12877: 
12878: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12879: 
12880: # If no C compiler was specified, use CC.
12881: LTCC=${LTCC-"$CC"}
12882: 
12883: # If no C compiler flags were specified, use CFLAGS.
12884: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12885: 
12886: # Allow CC to be a program name with arguments.
12887: compiler=$CC
12888: 
12889: 
12890: # save warnings/boilerplate of simple test code
12891: ac_outfile=conftest.$ac_objext
12892: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12893: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12894: _lt_compiler_boilerplate=`cat conftest.err`
12895: $rm conftest*
12896: 
12897: ac_outfile=conftest.$ac_objext
12898: printf "$lt_simple_link_test_code" >conftest.$ac_ext
12899: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12900: _lt_linker_boilerplate=`cat conftest.err`
12901: $rm conftest*
12902: 
12903: 
12904: # Allow CC to be a program name with arguments.
12905: lt_save_CC="$CC"
12906: CC=${F77-"f77"}
12907: compiler=$CC
12908: compiler_F77=$CC
12909: for cc_temp in $compiler""; do
12910:   case $cc_temp in
12911:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12912:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12913:     \-*) ;;
12914:     *) break;;
12915:   esac
12916: done
12917: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12918: 
12919: 
12920: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12921: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12922: echo "$as_me:$LINENO: result: $can_build_shared" >&5
12923: echo "${ECHO_T}$can_build_shared" >&6
12924: 
12925: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12926: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12927: test "$can_build_shared" = "no" && enable_shared=no
12928: 
12929: # On AIX, shared libraries and static libraries use the same namespace, and
12930: # are all built from PIC.
12931: case $host_os in
12932: aix3*)
12933:   test "$enable_shared" = yes && enable_static=no
12934:   if test -n "$RANLIB"; then
12935:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
12936:     postinstall_cmds='$RANLIB $lib'
12937:   fi
12938:   ;;
12939: aix4* | aix5*)
12940:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12941:     test "$enable_shared" = yes && enable_static=no
12942:   fi
12943:   ;;
12944: esac
12945: echo "$as_me:$LINENO: result: $enable_shared" >&5
12946: echo "${ECHO_T}$enable_shared" >&6
12947: 
12948: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12949: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12950: # Make sure either enable_shared or enable_static is yes.
12951: test "$enable_shared" = yes || enable_static=yes
12952: echo "$as_me:$LINENO: result: $enable_static" >&5
12953: echo "${ECHO_T}$enable_static" >&6
12954: 
12955: GCC_F77="$G77"
12956: LD_F77="$LD"
12957: 
12958: lt_prog_compiler_wl_F77=
12959: lt_prog_compiler_pic_F77=
12960: lt_prog_compiler_static_F77=
12961: 
12962: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12963: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12964: 
12965:   if test "$GCC" = yes; then
12966:     lt_prog_compiler_wl_F77='-Wl,'
12967:     lt_prog_compiler_static_F77='-static'
12968: 
12969:     case $host_os in
12970:       aix*)
12971:       # All AIX code is PIC.
12972:       if test "$host_cpu" = ia64; then
12973: 	# AIX 5 now supports IA64 processor
12974: 	lt_prog_compiler_static_F77='-Bstatic'
12975:       fi
12976:       ;;
12977: 
12978:     amigaos*)
12979:       # FIXME: we need at least 68020 code to build shared libraries, but
12980:       # adding the `-m68020' flag to GCC prevents building anything better,
12981:       # like `-m68040'.
12982:       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12983:       ;;
12984: 
12985:     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12986:       # PIC is the default for these OSes.
12987:       ;;
12988: 
12989:     mingw* | pw32* | os2*)
12990:       # This hack is so that the source file can tell whether it is being
12991:       # built for inclusion in a dll (and should export symbols for example).
12992:       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12993:       ;;
12994: 
12995:     darwin* | rhapsody*)
12996:       # PIC is the default on this platform
12997:       # Common symbols not allowed in MH_DYLIB files
12998:       lt_prog_compiler_pic_F77='-fno-common'
12999:       ;;
13000: 
13001:     interix3*)
13002:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13003:       # Instead, we relocate shared libraries at runtime.
13004:       ;;
13005: 
13006:     msdosdjgpp*)
13007:       # Just because we use GCC doesn't mean we suddenly get shared libraries
13008:       # on systems that don't support them.
13009:       lt_prog_compiler_can_build_shared_F77=no
13010:       enable_shared=no
13011:       ;;
13012: 
13013:     sysv4*MP*)
13014:       if test -d /usr/nec; then
13015: 	lt_prog_compiler_pic_F77=-Kconform_pic
13016:       fi
13017:       ;;
13018: 
13019:     hpux*)
13020:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13021:       # not for PA HP-UX.
13022:       case $host_cpu in
13023:       hppa*64*|ia64*)
13024: 	# +Z the default
13025: 	;;
13026:       *)
13027: 	lt_prog_compiler_pic_F77='-fPIC'
13028: 	;;
13029:       esac
13030:       ;;
13031: 
13032:     *)
13033:       lt_prog_compiler_pic_F77='-fPIC'
13034:       ;;
13035:     esac
13036:   else
13037:     # PORTME Check for flag to pass linker flags through the system compiler.
13038:     case $host_os in
13039:     aix*)
13040:       lt_prog_compiler_wl_F77='-Wl,'
13041:       if test "$host_cpu" = ia64; then
13042: 	# AIX 5 now supports IA64 processor
13043: 	lt_prog_compiler_static_F77='-Bstatic'
13044:       else
13045: 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13046:       fi
13047:       ;;
13048:       darwin*)
13049:         # PIC is the default on this platform
13050:         # Common symbols not allowed in MH_DYLIB files
13051:        case $cc_basename in
13052:          xlc*)
13053:          lt_prog_compiler_pic_F77='-qnocommon'
13054:          lt_prog_compiler_wl_F77='-Wl,'
13055:          ;;
13056:        esac
13057:        ;;
13058: 
13059:     mingw* | pw32* | os2*)
13060:       # This hack is so that the source file can tell whether it is being
13061:       # built for inclusion in a dll (and should export symbols for example).
13062:       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13063:       ;;
13064: 
13065:     hpux9* | hpux10* | hpux11*)
13066:       lt_prog_compiler_wl_F77='-Wl,'
13067:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13068:       # not for PA HP-UX.
13069:       case $host_cpu in
13070:       hppa*64*|ia64*)
13071: 	# +Z the default
13072: 	;;
13073:       *)
13074: 	lt_prog_compiler_pic_F77='+Z'
13075: 	;;
13076:       esac
13077:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13078:       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13079:       ;;
13080: 
13081:     irix5* | irix6* | nonstopux*)
13082:       lt_prog_compiler_wl_F77='-Wl,'
13083:       # PIC (with -KPIC) is the default.
13084:       lt_prog_compiler_static_F77='-non_shared'
13085:       ;;
13086: 
13087:     newsos6)
13088:       lt_prog_compiler_pic_F77='-KPIC'
13089:       lt_prog_compiler_static_F77='-Bstatic'
13090:       ;;
13091: 
13092:     linux*)
13093:       case $cc_basename in
13094:       icc* | ecc*)
13095: 	lt_prog_compiler_wl_F77='-Wl,'
13096: 	lt_prog_compiler_pic_F77='-KPIC'
13097: 	lt_prog_compiler_static_F77='-static'
13098:         ;;
13099:       pgcc* | pgf77* | pgf90* | pgf95*)
13100:         # Portland Group compilers (*not* the Pentium gcc compiler,
13101: 	# which looks to be a dead project)
13102: 	lt_prog_compiler_wl_F77='-Wl,'
13103: 	lt_prog_compiler_pic_F77='-fpic'
13104: 	lt_prog_compiler_static_F77='-Bstatic'
13105:         ;;
13106:       ccc*)
13107:         lt_prog_compiler_wl_F77='-Wl,'
13108:         # All Alpha code is PIC.
13109:         lt_prog_compiler_static_F77='-non_shared'
13110:         ;;
13111:       esac
13112:       ;;
13113: 
13114:     osf3* | osf4* | osf5*)
13115:       lt_prog_compiler_wl_F77='-Wl,'
13116:       # All OSF/1 code is PIC.
13117:       lt_prog_compiler_static_F77='-non_shared'
13118:       ;;
13119: 
13120:     solaris*)
13121:       lt_prog_compiler_pic_F77='-KPIC'
13122:       lt_prog_compiler_static_F77='-Bstatic'
13123:       case $cc_basename in
13124:       f77* | f90* | f95*)
13125: 	lt_prog_compiler_wl_F77='-Qoption ld ';;
13126:       *)
13127: 	lt_prog_compiler_wl_F77='-Wl,';;
13128:       esac
13129:       ;;
13130: 
13131:     sunos4*)
13132:       lt_prog_compiler_wl_F77='-Qoption ld '
13133:       lt_prog_compiler_pic_F77='-PIC'
13134:       lt_prog_compiler_static_F77='-Bstatic'
13135:       ;;
13136: 
13137:     sysv4 | sysv4.2uw2* | sysv4.3*)
13138:       lt_prog_compiler_wl_F77='-Wl,'
13139:       lt_prog_compiler_pic_F77='-KPIC'
13140:       lt_prog_compiler_static_F77='-Bstatic'
13141:       ;;
13142: 
13143:     sysv4*MP*)
13144:       if test -d /usr/nec ;then
13145: 	lt_prog_compiler_pic_F77='-Kconform_pic'
13146: 	lt_prog_compiler_static_F77='-Bstatic'
13147:       fi
13148:       ;;
13149: 
13150:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13151:       lt_prog_compiler_wl_F77='-Wl,'
13152:       lt_prog_compiler_pic_F77='-KPIC'
13153:       lt_prog_compiler_static_F77='-Bstatic'
13154:       ;;
13155: 
13156:     unicos*)
13157:       lt_prog_compiler_wl_F77='-Wl,'
13158:       lt_prog_compiler_can_build_shared_F77=no
13159:       ;;
13160: 
13161:     uts4*)
13162:       lt_prog_compiler_pic_F77='-pic'
13163:       lt_prog_compiler_static_F77='-Bstatic'
13164:       ;;
13165: 
13166:     *)
13167:       lt_prog_compiler_can_build_shared_F77=no
13168:       ;;
13169:     esac
13170:   fi
13171: 
13172: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13173: echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13174: 
13175: #
13176: # Check to make sure the PIC flag actually works.
13177: #
13178: if test -n "$lt_prog_compiler_pic_F77"; then
13179: 
13180: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13181: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13182: if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13183:   echo $ECHO_N "(cached) $ECHO_C" >&6
13184: else
13185:   lt_prog_compiler_pic_works_F77=no
13186:   ac_outfile=conftest.$ac_objext
13187:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13188:    lt_compiler_flag="$lt_prog_compiler_pic_F77"
13189:    # Insert the option either (1) after the last *FLAGS variable, or
13190:    # (2) before a word containing "conftest.", or (3) at the end.
13191:    # Note that $ac_compile itself does not contain backslashes and begins
13192:    # with a dollar sign (not a hyphen), so the echo should work correctly.
13193:    # The option is referenced via a variable to avoid confusing sed.
13194:    lt_compile=`echo "$ac_compile" | $SED \
13195:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13196:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13197:    -e 's:$: $lt_compiler_flag:'`
13198:    (eval echo "\"\$as_me:13198: $lt_compile\"" >&5)
13199:    (eval "$lt_compile" 2>conftest.err)
13200:    ac_status=$?
13201:    cat conftest.err >&5
13202:    echo "$as_me:13202: \$? = $ac_status" >&5
13203:    if (exit $ac_status) && test -s "$ac_outfile"; then
13204:      # The compiler can only warn and ignore the option if not recognized
13205:      # So say no if there are warnings other than the usual output.
13206:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13207:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13208:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13209:        lt_prog_compiler_pic_works_F77=yes
13210:      fi
13211:    fi
13212:    $rm conftest*
13213: 
13214: fi
13215: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13216: echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13217: 
13218: if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13219:     case $lt_prog_compiler_pic_F77 in
13220:      "" | " "*) ;;
13221:      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13222:      esac
13223: else
13224:     lt_prog_compiler_pic_F77=
13225:      lt_prog_compiler_can_build_shared_F77=no
13226: fi
13227: 
13228: fi
13229: case $host_os in
13230:   # For platforms which do not support PIC, -DPIC is meaningless:
13231:   *djgpp*)
13232:     lt_prog_compiler_pic_F77=
13233:     ;;
13234:   *)
13235:     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13236:     ;;
13237: esac
13238: 
13239: #
13240: # Check to make sure the static flag actually works.
13241: #
13242: wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13243: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13244: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13245: if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13246:   echo $ECHO_N "(cached) $ECHO_C" >&6
13247: else
13248:   lt_prog_compiler_static_works_F77=no
13249:    save_LDFLAGS="$LDFLAGS"
13250:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13251:    printf "$lt_simple_link_test_code" > conftest.$ac_ext
13252:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13253:      # The linker can only warn and ignore the option if not recognized
13254:      # So say no if there are warnings
13255:      if test -s conftest.err; then
13256:        # Append any errors to the config.log.
13257:        cat conftest.err 1>&5
13258:        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13259:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13260:        if diff conftest.exp conftest.er2 >/dev/null; then
13261:          lt_prog_compiler_static_works_F77=yes
13262:        fi
13263:      else
13264:        lt_prog_compiler_static_works_F77=yes
13265:      fi
13266:    fi
13267:    $rm conftest*
13268:    LDFLAGS="$save_LDFLAGS"
13269: 
13270: fi
13271: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13272: echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13273: 
13274: if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13275:     :
13276: else
13277:     lt_prog_compiler_static_F77=
13278: fi
13279: 
13280: 
13281: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13282: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13283: if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13284:   echo $ECHO_N "(cached) $ECHO_C" >&6
13285: else
13286:   lt_cv_prog_compiler_c_o_F77=no
13287:    $rm -r conftest 2>/dev/null
13288:    mkdir conftest
13289:    cd conftest
13290:    mkdir out
13291:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13292: 
13293:    lt_compiler_flag="-o out/conftest2.$ac_objext"
13294:    # Insert the option either (1) after the last *FLAGS variable, or
13295:    # (2) before a word containing "conftest.", or (3) at the end.
13296:    # Note that $ac_compile itself does not contain backslashes and begins
13297:    # with a dollar sign (not a hyphen), so the echo should work correctly.
13298:    lt_compile=`echo "$ac_compile" | $SED \
13299:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13300:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13301:    -e 's:$: $lt_compiler_flag:'`
13302:    (eval echo "\"\$as_me:13302: $lt_compile\"" >&5)
13303:    (eval "$lt_compile" 2>out/conftest.err)
13304:    ac_status=$?
13305:    cat out/conftest.err >&5
13306:    echo "$as_me:13306: \$? = $ac_status" >&5
13307:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13308:    then
13309:      # The compiler can only warn and ignore the option if not recognized
13310:      # So say no if there are warnings
13311:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13312:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13313:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13314:        lt_cv_prog_compiler_c_o_F77=yes
13315:      fi
13316:    fi
13317:    chmod u+w . 2>&5
13318:    $rm conftest*
13319:    # SGI C++ compiler will create directory out/ii_files/ for
13320:    # template instantiation
13321:    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13322:    $rm out/* && rmdir out
13323:    cd ..
13324:    rmdir conftest
13325:    $rm conftest*
13326: 
13327: fi
13328: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13329: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13330: 
13331: 
13332: hard_links="nottested"
13333: if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13334:   # do not overwrite the value of need_locks provided by the user
13335:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13336: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13337:   hard_links=yes
13338:   $rm conftest*
13339:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13340:   touch conftest.a
13341:   ln conftest.a conftest.b 2>&5 || hard_links=no
13342:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13343:   echo "$as_me:$LINENO: result: $hard_links" >&5
13344: echo "${ECHO_T}$hard_links" >&6
13345:   if test "$hard_links" = no; then
13346:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13347: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13348:     need_locks=warn
13349:   fi
13350: else
13351:   need_locks=no
13352: fi
13353: 
13354: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13355: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13356: 
13357:   runpath_var=
13358:   allow_undefined_flag_F77=
13359:   enable_shared_with_static_runtimes_F77=no
13360:   archive_cmds_F77=
13361:   archive_expsym_cmds_F77=
13362:   old_archive_From_new_cmds_F77=
13363:   old_archive_from_expsyms_cmds_F77=
13364:   export_dynamic_flag_spec_F77=
13365:   whole_archive_flag_spec_F77=
13366:   thread_safe_flag_spec_F77=
13367:   hardcode_libdir_flag_spec_F77=
13368:   hardcode_libdir_flag_spec_ld_F77=
13369:   hardcode_libdir_separator_F77=
13370:   hardcode_direct_F77=no
13371:   hardcode_minus_L_F77=no
13372:   hardcode_shlibpath_var_F77=unsupported
13373:   link_all_deplibs_F77=unknown
13374:   hardcode_automatic_F77=no
13375:   module_cmds_F77=
13376:   module_expsym_cmds_F77=
13377:   always_export_symbols_F77=no
13378:   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13379:   # include_expsyms should be a list of space-separated symbols to be *always*
13380:   # included in the symbol list
13381:   include_expsyms_F77=
13382:   # exclude_expsyms can be an extended regexp of symbols to exclude
13383:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
13384:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13385:   # as well as any symbol that contains `d'.
13386:   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13387:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13388:   # platforms (ab)use it in PIC code, but their linkers get confused if
13389:   # the symbol is explicitly referenced.  Since portable code cannot
13390:   # rely on this symbol name, it's probably fine to never include it in
13391:   # preloaded symbol tables.
13392:   extract_expsyms_cmds=
13393:   # Just being paranoid about ensuring that cc_basename is set.
13394:   for cc_temp in $compiler""; do
13395:   case $cc_temp in
13396:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13397:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13398:     \-*) ;;
13399:     *) break;;
13400:   esac
13401: done
13402: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13403: 
13404:   case $host_os in
13405:   cygwin* | mingw* | pw32*)
13406:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
13407:     # When not using gcc, we currently assume that we are using
13408:     # Microsoft Visual C++.
13409:     if test "$GCC" != yes; then
13410:       with_gnu_ld=no
13411:     fi
13412:     ;;
13413:   interix*)
13414:     # we just hope/assume this is gcc and not c89 (= MSVC++)
13415:     with_gnu_ld=yes
13416:     ;;
13417:   openbsd*)
13418:     with_gnu_ld=no
13419:     ;;
13420:   esac
13421: 
13422:   ld_shlibs_F77=yes
13423:   if test "$with_gnu_ld" = yes; then
13424:     # If archive_cmds runs LD, not CC, wlarc should be empty
13425:     wlarc='${wl}'
13426: 
13427:     # Set some defaults for GNU ld with shared library support. These
13428:     # are reset later if shared libraries are not supported. Putting them
13429:     # here allows them to be overridden if necessary.
13430:     runpath_var=LD_RUN_PATH
13431:     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13432:     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13433:     # ancient GNU ld didn't support --whole-archive et. al.
13434:     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13435: 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13436:       else
13437:   	whole_archive_flag_spec_F77=
13438:     fi
13439:     supports_anon_versioning=no
13440:     case `$LD -v 2>/dev/null` in
13441:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13442:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13443:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13444:       *\ 2.11.*) ;; # other 2.11 versions
13445:       *) supports_anon_versioning=yes ;;
13446:     esac
13447: 
13448:     # See if GNU ld supports shared libraries.
13449:     case $host_os in
13450:     aix3* | aix4* | aix5*)
13451:       # On AIX/PPC, the GNU linker is very broken
13452:       if test "$host_cpu" != ia64; then
13453: 	ld_shlibs_F77=no
13454: 	cat <<EOF 1>&2
13455: 
13456: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13457: *** to be unable to reliably create shared libraries on AIX.
13458: *** Therefore, libtool is disabling shared libraries support.  If you
13459: *** really care for shared libraries, you may want to modify your PATH
13460: *** so that a non-GNU linker is found, and then restart.
13461: 
13462: EOF
13463:       fi
13464:       ;;
13465: 
13466:     amigaos*)
13467:       archive_cmds_F77='$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)'
13468:       hardcode_libdir_flag_spec_F77='-L$libdir'
13469:       hardcode_minus_L_F77=yes
13470: 
13471:       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13472:       # that the semantics of dynamic libraries on AmigaOS, at least up
13473:       # to version 4, is to share data among multiple programs linked
13474:       # with the same dynamic library.  Since this doesn't match the
13475:       # behavior of shared libraries on other platforms, we can't use
13476:       # them.
13477:       ld_shlibs_F77=no
13478:       ;;
13479: 
13480:     beos*)
13481:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13482: 	allow_undefined_flag_F77=unsupported
13483: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13484: 	# support --undefined.  This deserves some investigation.  FIXME
13485: 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13486:       else
13487: 	ld_shlibs_F77=no
13488:       fi
13489:       ;;
13490: 
13491:     cygwin* | mingw* | pw32*)
13492:       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13493:       # as there is no search path for DLLs.
13494:       hardcode_libdir_flag_spec_F77='-L$libdir'
13495:       allow_undefined_flag_F77=unsupported
13496:       always_export_symbols_F77=no
13497:       enable_shared_with_static_runtimes_F77=yes
13498:       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13499: 
13500:       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13501:         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13502: 	# If the export-symbols file already is a .def file (1st line
13503: 	# is EXPORTS), use it as is; otherwise, prepend...
13504: 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13505: 	  cp $export_symbols $output_objdir/$soname.def;
13506: 	else
13507: 	  echo EXPORTS > $output_objdir/$soname.def;
13508: 	  cat $export_symbols >> $output_objdir/$soname.def;
13509: 	fi~
13510: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13511:       else
13512: 	ld_shlibs_F77=no
13513:       fi
13514:       ;;
13515: 
13516:     interix3*)
13517:       hardcode_direct_F77=no
13518:       hardcode_shlibpath_var_F77=no
13519:       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13520:       export_dynamic_flag_spec_F77='${wl}-E'
13521:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13522:       # Instead, shared libraries are loaded at an image base (0x10000000 by
13523:       # default) and relocated if they conflict, which is a slow very memory
13524:       # consuming and fragmenting process.  To avoid this, we pick a random,
13525:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13526:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13527:       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13528:       archive_expsym_cmds_F77='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'
13529:       ;;
13530: 
13531:     linux*)
13532:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13533: 	tmp_addflag=
13534: 	case $cc_basename,$host_cpu in
13535: 	pgcc*)				# Portland Group C compiler
13536: 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13537: 	  tmp_addflag=' $pic_flag'
13538: 	  ;;
13539: 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
13540: 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13541: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
13542: 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
13543: 	  tmp_addflag=' -i_dynamic' ;;
13544: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
13545: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
13546: 	ifc* | ifort*)			# Intel Fortran compiler
13547: 	  tmp_addflag=' -nofor_main' ;;
13548: 	esac
13549: 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13550: 
13551: 	if test $supports_anon_versioning = yes; then
13552: 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13553:   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13554:   $echo "local: *; };" >> $output_objdir/$libname.ver~
13555: 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13556: 	fi
13557:       else
13558: 	ld_shlibs_F77=no
13559:       fi
13560:       ;;
13561: 
13562:     netbsd*)
13563:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13564: 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13565: 	wlarc=
13566:       else
13567: 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13568: 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13569:       fi
13570:       ;;
13571: 
13572:     solaris*)
13573:       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13574: 	ld_shlibs_F77=no
13575: 	cat <<EOF 1>&2
13576: 
13577: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13578: *** create shared libraries on Solaris systems.  Therefore, libtool
13579: *** is disabling shared libraries support.  We urge you to upgrade GNU
13580: *** binutils to release 2.9.1 or newer.  Another option is to modify
13581: *** your PATH or compiler configuration so that the native linker is
13582: *** used, and then restart.
13583: 
13584: EOF
13585:       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13586: 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13587: 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13588:       else
13589: 	ld_shlibs_F77=no
13590:       fi
13591:       ;;
13592: 
13593:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13594:       case `$LD -v 2>&1` in
13595:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13596: 	ld_shlibs_F77=no
13597: 	cat <<_LT_EOF 1>&2
13598: 
13599: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13600: *** reliably create shared libraries on SCO systems.  Therefore, libtool
13601: *** is disabling shared libraries support.  We urge you to upgrade GNU
13602: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13603: *** your PATH or compiler configuration so that the native linker is
13604: *** used, and then restart.
13605: 
13606: _LT_EOF
13607: 	;;
13608: 	*)
13609: 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13610: 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13611: 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13612: 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13613: 	  else
13614: 	    ld_shlibs_F77=no
13615: 	  fi
13616: 	;;
13617:       esac
13618:       ;;
13619: 
13620:     sunos4*)
13621:       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13622:       wlarc=
13623:       hardcode_direct_F77=yes
13624:       hardcode_shlibpath_var_F77=no
13625:       ;;
13626: 
13627:     *)
13628:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13629: 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13630: 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13631:       else
13632: 	ld_shlibs_F77=no
13633:       fi
13634:       ;;
13635:     esac
13636: 
13637:     if test "$ld_shlibs_F77" = no; then
13638:       runpath_var=
13639:       hardcode_libdir_flag_spec_F77=
13640:       export_dynamic_flag_spec_F77=
13641:       whole_archive_flag_spec_F77=
13642:     fi
13643:   else
13644:     # PORTME fill in a description of your system's linker (not GNU ld)
13645:     case $host_os in
13646:     aix3*)
13647:       allow_undefined_flag_F77=unsupported
13648:       always_export_symbols_F77=yes
13649:       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13650:       # Note: this linker hardcodes the directories in LIBPATH if there
13651:       # are no directories specified by -L.
13652:       hardcode_minus_L_F77=yes
13653:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13654: 	# Neither direct hardcoding nor static linking is supported with a
13655: 	# broken collect2.
13656: 	hardcode_direct_F77=unsupported
13657:       fi
13658:       ;;
13659: 
13660:     aix4* | aix5*)
13661:       if test "$host_cpu" = ia64; then
13662: 	# On IA64, the linker does run time linking by default, so we don't
13663: 	# have to do anything special.
13664: 	aix_use_runtimelinking=no
13665: 	exp_sym_flag='-Bexport'
13666: 	no_entry_flag=""
13667:       else
13668: 	# If we're using GNU nm, then we don't want the "-C" option.
13669: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
13670: 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13671: 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13672: 	else
13673: 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13674: 	fi
13675: 	aix_use_runtimelinking=no
13676: 
13677: 	# Test if we are trying to use run time linking or normal
13678: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13679: 	# need to do runtime linking.
13680: 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13681: 	  for ld_flag in $LDFLAGS; do
13682:   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13683:   	    aix_use_runtimelinking=yes
13684:   	    break
13685:   	  fi
13686: 	  done
13687: 	  ;;
13688: 	esac
13689: 
13690: 	exp_sym_flag='-bexport'
13691: 	no_entry_flag='-bnoentry'
13692:       fi
13693: 
13694:       # When large executables or shared objects are built, AIX ld can
13695:       # have problems creating the table of contents.  If linking a library
13696:       # or program results in "error TOC overflow" add -mminimal-toc to
13697:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13698:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13699: 
13700:       archive_cmds_F77=''
13701:       hardcode_direct_F77=yes
13702:       hardcode_libdir_separator_F77=':'
13703:       link_all_deplibs_F77=yes
13704: 
13705:       if test "$GCC" = yes; then
13706: 	case $host_os in aix4.[012]|aix4.[012].*)
13707: 	# We only want to do this on AIX 4.2 and lower, the check
13708: 	# below for broken collect2 doesn't work under 4.3+
13709: 	  collect2name=`${CC} -print-prog-name=collect2`
13710: 	  if test -f "$collect2name" && \
13711:   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
13712: 	  then
13713:   	  # We have reworked collect2
13714:   	  hardcode_direct_F77=yes
13715: 	  else
13716:   	  # We have old collect2
13717:   	  hardcode_direct_F77=unsupported
13718:   	  # It fails to find uninstalled libraries when the uninstalled
13719:   	  # path is not listed in the libpath.  Setting hardcode_minus_L
13720:   	  # to unsupported forces relinking
13721:   	  hardcode_minus_L_F77=yes
13722:   	  hardcode_libdir_flag_spec_F77='-L$libdir'
13723:   	  hardcode_libdir_separator_F77=
13724: 	  fi
13725: 	  ;;
13726: 	esac
13727: 	shared_flag='-shared'
13728: 	if test "$aix_use_runtimelinking" = yes; then
13729: 	  shared_flag="$shared_flag "'${wl}-G'
13730: 	fi
13731:       else
13732: 	# not using gcc
13733: 	if test "$host_cpu" = ia64; then
13734:   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13735:   	# chokes on -Wl,-G. The following line is correct:
13736: 	  shared_flag='-G'
13737: 	else
13738: 	  if test "$aix_use_runtimelinking" = yes; then
13739: 	    shared_flag='${wl}-G'
13740: 	  else
13741: 	    shared_flag='${wl}-bM:SRE'
13742: 	  fi
13743: 	fi
13744:       fi
13745: 
13746:       # It seems that -bexpall does not export symbols beginning with
13747:       # underscore (_), so it is better to generate a list of symbols to export.
13748:       always_export_symbols_F77=yes
13749:       if test "$aix_use_runtimelinking" = yes; then
13750: 	# Warning - without using the other runtime loading flags (-brtl),
13751: 	# -berok will link without error, but may produce a broken library.
13752: 	allow_undefined_flag_F77='-berok'
13753:        # Determine the default libpath from the value encoded in an empty executable.
13754:        cat >conftest.$ac_ext <<_ACEOF
13755:       program main
13756: 
13757:       end
13758: _ACEOF
13759: rm -f conftest.$ac_objext conftest$ac_exeext
13760: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761:   (eval $ac_link) 2>conftest.er1
13762:   ac_status=$?
13763:   grep -v '^ *+' conftest.er1 >conftest.err
13764:   rm -f conftest.er1
13765:   cat conftest.err >&5
13766:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767:   (exit $ac_status); } &&
13768: 	 { ac_try='test -z "$ac_f77_werror_flag"
13769: 			 || test ! -s conftest.err'
13770:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771:   (eval $ac_try) 2>&5
13772:   ac_status=$?
13773:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774:   (exit $ac_status); }; } &&
13775: 	 { ac_try='test -s conftest$ac_exeext'
13776:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777:   (eval $ac_try) 2>&5
13778:   ac_status=$?
13779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780:   (exit $ac_status); }; }; then
13781: 
13782: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13783: }'`
13784: # Check for a 64-bit object if we didn't find anything.
13785: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13786: }'`; fi
13787: else
13788:   echo "$as_me: failed program was:" >&5
13789: sed 's/^/| /' conftest.$ac_ext >&5
13790: 
13791: fi
13792: rm -f conftest.err conftest.$ac_objext \
13793:       conftest$ac_exeext conftest.$ac_ext
13794: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13795: 
13796:        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13797: 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13798:        else
13799: 	if test "$host_cpu" = ia64; then
13800: 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13801: 	  allow_undefined_flag_F77="-z nodefs"
13802: 	  archive_expsym_cmds_F77="\$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"
13803: 	else
13804: 	 # Determine the default libpath from the value encoded in an empty executable.
13805: 	 cat >conftest.$ac_ext <<_ACEOF
13806:       program main
13807: 
13808:       end
13809: _ACEOF
13810: rm -f conftest.$ac_objext conftest$ac_exeext
13811: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13812:   (eval $ac_link) 2>conftest.er1
13813:   ac_status=$?
13814:   grep -v '^ *+' conftest.er1 >conftest.err
13815:   rm -f conftest.er1
13816:   cat conftest.err >&5
13817:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818:   (exit $ac_status); } &&
13819: 	 { ac_try='test -z "$ac_f77_werror_flag"
13820: 			 || test ! -s conftest.err'
13821:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822:   (eval $ac_try) 2>&5
13823:   ac_status=$?
13824:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825:   (exit $ac_status); }; } &&
13826: 	 { ac_try='test -s conftest$ac_exeext'
13827:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828:   (eval $ac_try) 2>&5
13829:   ac_status=$?
13830:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831:   (exit $ac_status); }; }; then
13832: 
13833: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13834: }'`
13835: # Check for a 64-bit object if we didn't find anything.
13836: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13837: }'`; fi
13838: else
13839:   echo "$as_me: failed program was:" >&5
13840: sed 's/^/| /' conftest.$ac_ext >&5
13841: 
13842: fi
13843: rm -f conftest.err conftest.$ac_objext \
13844:       conftest$ac_exeext conftest.$ac_ext
13845: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13846: 
13847: 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13848: 	  # Warning - without using the other run time loading flags,
13849: 	  # -berok will link without error, but may produce a broken library.
13850: 	  no_undefined_flag_F77=' ${wl}-bernotok'
13851: 	  allow_undefined_flag_F77=' ${wl}-berok'
13852: 	  # Exported symbols can be pulled into shared objects from archives
13853: 	  whole_archive_flag_spec_F77='$convenience'
13854: 	  archive_cmds_need_lc_F77=yes
13855: 	  # This is similar to how AIX traditionally builds its shared libraries.
13856: 	  archive_expsym_cmds_F77="\$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'
13857: 	fi
13858:       fi
13859:       ;;
13860: 
13861:     amigaos*)
13862:       archive_cmds_F77='$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)'
13863:       hardcode_libdir_flag_spec_F77='-L$libdir'
13864:       hardcode_minus_L_F77=yes
13865:       # see comment about different semantics on the GNU ld section
13866:       ld_shlibs_F77=no
13867:       ;;
13868: 
13869:     bsdi[45]*)
13870:       export_dynamic_flag_spec_F77=-rdynamic
13871:       ;;
13872: 
13873:     cygwin* | mingw* | pw32*)
13874:       # When not using gcc, we currently assume that we are using
13875:       # Microsoft Visual C++.
13876:       # hardcode_libdir_flag_spec is actually meaningless, as there is
13877:       # no search path for DLLs.
13878:       hardcode_libdir_flag_spec_F77=' '
13879:       allow_undefined_flag_F77=unsupported
13880:       # Tell ltmain to make .lib files, not .a files.
13881:       libext=lib
13882:       # Tell ltmain to make .dll files, not .so files.
13883:       shrext_cmds=".dll"
13884:       # FIXME: Setting linknames here is a bad hack.
13885:       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13886:       # The linker will automatically build a .lib file if we build a DLL.
13887:       old_archive_From_new_cmds_F77='true'
13888:       # FIXME: Should let the user specify the lib program.
13889:       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13890:       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13891:       enable_shared_with_static_runtimes_F77=yes
13892:       ;;
13893: 
13894:     darwin* | rhapsody*)
13895:       case $host_os in
13896:         rhapsody* | darwin1.[012])
13897:          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13898:          ;;
13899:        *) # Darwin 1.3 on
13900:          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13901:            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13902:          else
13903:            case ${MACOSX_DEPLOYMENT_TARGET} in
13904:              10.[012])
13905:                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13906:                ;;
13907:              10.*)
13908:                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13909:                ;;
13910:            esac
13911:          fi
13912:          ;;
13913:       esac
13914:       archive_cmds_need_lc_F77=no
13915:       hardcode_direct_F77=no
13916:       hardcode_automatic_F77=yes
13917:       hardcode_shlibpath_var_F77=unsupported
13918:       whole_archive_flag_spec_F77=''
13919:       link_all_deplibs_F77=yes
13920:     if test "$GCC" = yes ; then
13921:     	output_verbose_link_cmd='echo'
13922:         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13923:       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13924:       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13925:       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13926:       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13927:     else
13928:       case $cc_basename in
13929:         xlc*)
13930:          output_verbose_link_cmd='echo'
13931:          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13932:          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13933:           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13934:          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13935:           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13936:           ;;
13937:        *)
13938:          ld_shlibs_F77=no
13939:           ;;
13940:       esac
13941:     fi
13942:       ;;
13943: 
13944:     dgux*)
13945:       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13946:       hardcode_libdir_flag_spec_F77='-L$libdir'
13947:       hardcode_shlibpath_var_F77=no
13948:       ;;
13949: 
13950:     freebsd1*)
13951:       ld_shlibs_F77=no
13952:       ;;
13953: 
13954:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13955:     # support.  Future versions do this automatically, but an explicit c++rt0.o
13956:     # does not break anything, and helps significantly (at the cost of a little
13957:     # extra space).
13958:     freebsd2.2*)
13959:       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13960:       hardcode_libdir_flag_spec_F77='-R$libdir'
13961:       hardcode_direct_F77=yes
13962:       hardcode_shlibpath_var_F77=no
13963:       ;;
13964: 
13965:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13966:     freebsd2*)
13967:       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13968:       hardcode_direct_F77=yes
13969:       hardcode_minus_L_F77=yes
13970:       hardcode_shlibpath_var_F77=no
13971:       ;;
13972: 
13973:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13974:     freebsd* | kfreebsd*-gnu | dragonfly*)
13975:       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13976:       hardcode_libdir_flag_spec_F77='-R$libdir'
13977:       hardcode_direct_F77=yes
13978:       hardcode_shlibpath_var_F77=no
13979:       ;;
13980: 
13981:     hpux9*)
13982:       if test "$GCC" = yes; then
13983: 	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13984:       else
13985: 	archive_cmds_F77='$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'
13986:       fi
13987:       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13988:       hardcode_libdir_separator_F77=:
13989:       hardcode_direct_F77=yes
13990: 
13991:       # hardcode_minus_L: Not really in the search PATH,
13992:       # but as the default location of the library.
13993:       hardcode_minus_L_F77=yes
13994:       export_dynamic_flag_spec_F77='${wl}-E'
13995:       ;;
13996: 
13997:     hpux10*)
13998:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13999: 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14000:       else
14001: 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14002:       fi
14003:       if test "$with_gnu_ld" = no; then
14004: 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14005: 	hardcode_libdir_separator_F77=:
14006: 
14007: 	hardcode_direct_F77=yes
14008: 	export_dynamic_flag_spec_F77='${wl}-E'
14009: 
14010: 	# hardcode_minus_L: Not really in the search PATH,
14011: 	# but as the default location of the library.
14012: 	hardcode_minus_L_F77=yes
14013:       fi
14014:       ;;
14015: 
14016:     hpux11*)
14017:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14018: 	case $host_cpu in
14019: 	hppa*64*)
14020: 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14021: 	  ;;
14022: 	ia64*)
14023: 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14024: 	  ;;
14025: 	*)
14026: 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14027: 	  ;;
14028: 	esac
14029:       else
14030: 	case $host_cpu in
14031: 	hppa*64*)
14032: 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14033: 	  ;;
14034: 	ia64*)
14035: 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14036: 	  ;;
14037: 	*)
14038: 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14039: 	  ;;
14040: 	esac
14041:       fi
14042:       if test "$with_gnu_ld" = no; then
14043: 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14044: 	hardcode_libdir_separator_F77=:
14045: 
14046: 	case $host_cpu in
14047: 	hppa*64*|ia64*)
14048: 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14049: 	  hardcode_direct_F77=no
14050: 	  hardcode_shlibpath_var_F77=no
14051: 	  ;;
14052: 	*)
14053: 	  hardcode_direct_F77=yes
14054: 	  export_dynamic_flag_spec_F77='${wl}-E'
14055: 
14056: 	  # hardcode_minus_L: Not really in the search PATH,
14057: 	  # but as the default location of the library.
14058: 	  hardcode_minus_L_F77=yes
14059: 	  ;;
14060: 	esac
14061:       fi
14062:       ;;
14063: 
14064:     irix5* | irix6* | nonstopux*)
14065:       if test "$GCC" = yes; then
14066: 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14067:       else
14068: 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14069: 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14070:       fi
14071:       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14072:       hardcode_libdir_separator_F77=:
14073:       link_all_deplibs_F77=yes
14074:       ;;
14075: 
14076:     netbsd*)
14077:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14078: 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14079:       else
14080: 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14081:       fi
14082:       hardcode_libdir_flag_spec_F77='-R$libdir'
14083:       hardcode_direct_F77=yes
14084:       hardcode_shlibpath_var_F77=no
14085:       ;;
14086: 
14087:     newsos6)
14088:       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14089:       hardcode_direct_F77=yes
14090:       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14091:       hardcode_libdir_separator_F77=:
14092:       hardcode_shlibpath_var_F77=no
14093:       ;;
14094: 
14095:     openbsd*)
14096:       hardcode_direct_F77=yes
14097:       hardcode_shlibpath_var_F77=no
14098:       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14099: 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14100: 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14101: 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14102: 	export_dynamic_flag_spec_F77='${wl}-E'
14103:       else
14104:        case $host_os in
14105: 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14106: 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14107: 	   hardcode_libdir_flag_spec_F77='-R$libdir'
14108: 	   ;;
14109: 	 *)
14110: 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14111: 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14112: 	   ;;
14113:        esac
14114:       fi
14115:       ;;
14116: 
14117:     os2*)
14118:       hardcode_libdir_flag_spec_F77='-L$libdir'
14119:       hardcode_minus_L_F77=yes
14120:       allow_undefined_flag_F77=unsupported
14121:       archive_cmds_F77='$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'
14122:       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14123:       ;;
14124: 
14125:     osf3*)
14126:       if test "$GCC" = yes; then
14127: 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14128: 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14129:       else
14130: 	allow_undefined_flag_F77=' -expect_unresolved \*'
14131: 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14132:       fi
14133:       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14134:       hardcode_libdir_separator_F77=:
14135:       ;;
14136: 
14137:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
14138:       if test "$GCC" = yes; then
14139: 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14140: 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14141: 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14142:       else
14143: 	allow_undefined_flag_F77=' -expect_unresolved \*'
14144: 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14145: 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14146: 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14147: 
14148: 	# Both c and cxx compiler support -rpath directly
14149: 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
14150:       fi
14151:       hardcode_libdir_separator_F77=:
14152:       ;;
14153: 
14154:     solaris*)
14155:       no_undefined_flag_F77=' -z text'
14156:       if test "$GCC" = yes; then
14157: 	wlarc='${wl}'
14158: 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14159: 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14160: 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14161:       else
14162: 	wlarc=''
14163: 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14164: 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14165:   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14166:       fi
14167:       hardcode_libdir_flag_spec_F77='-R$libdir'
14168:       hardcode_shlibpath_var_F77=no
14169:       case $host_os in
14170:       solaris2.[0-5] | solaris2.[0-5].*) ;;
14171:       *)
14172:  	# The compiler driver will combine linker options so we
14173:  	# cannot just pass the convience library names through
14174:  	# without $wl, iff we do not link with $LD.
14175:  	# Luckily, gcc supports the same syntax we need for Sun Studio.
14176:  	# Supported since Solaris 2.6 (maybe 2.5.1?)
14177:  	case $wlarc in
14178:  	'')
14179:  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14180:  	*)
14181:  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14182:  	esac ;;
14183:       esac
14184:       link_all_deplibs_F77=yes
14185:       ;;
14186: 
14187:     sunos4*)
14188:       if test "x$host_vendor" = xsequent; then
14189: 	# Use $CC to link under sequent, because it throws in some extra .o
14190: 	# files that make .init and .fini sections work.
14191: 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14192:       else
14193: 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14194:       fi
14195:       hardcode_libdir_flag_spec_F77='-L$libdir'
14196:       hardcode_direct_F77=yes
14197:       hardcode_minus_L_F77=yes
14198:       hardcode_shlibpath_var_F77=no
14199:       ;;
14200: 
14201:     sysv4)
14202:       case $host_vendor in
14203: 	sni)
14204: 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14205: 	  hardcode_direct_F77=yes # is this really true???
14206: 	;;
14207: 	siemens)
14208: 	  ## LD is ld it makes a PLAMLIB
14209: 	  ## CC just makes a GrossModule.
14210: 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14211: 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
14212: 	  hardcode_direct_F77=no
14213:         ;;
14214: 	motorola)
14215: 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14216: 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14217: 	;;
14218:       esac
14219:       runpath_var='LD_RUN_PATH'
14220:       hardcode_shlibpath_var_F77=no
14221:       ;;
14222: 
14223:     sysv4.3*)
14224:       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14225:       hardcode_shlibpath_var_F77=no
14226:       export_dynamic_flag_spec_F77='-Bexport'
14227:       ;;
14228: 
14229:     sysv4*MP*)
14230:       if test -d /usr/nec; then
14231: 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14232: 	hardcode_shlibpath_var_F77=no
14233: 	runpath_var=LD_RUN_PATH
14234: 	hardcode_runpath_var=yes
14235: 	ld_shlibs_F77=yes
14236:       fi
14237:       ;;
14238: 
14239:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14240:       no_undefined_flag_F77='${wl}-z,text'
14241:       archive_cmds_need_lc_F77=no
14242:       hardcode_shlibpath_var_F77=no
14243:       runpath_var='LD_RUN_PATH'
14244: 
14245:       if test "$GCC" = yes; then
14246: 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14247: 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14248:       else
14249: 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14250: 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14251:       fi
14252:       ;;
14253: 
14254:     sysv5* | sco3.2v5* | sco5v6*)
14255:       # Note: We can NOT use -z defs as we might desire, because we do not
14256:       # link with -lc, and that would cause any symbols used from libc to
14257:       # always be unresolved, which means just about no library would
14258:       # ever link correctly.  If we're not using GNU ld we use -z text
14259:       # though, which does catch some bad symbols but isn't as heavy-handed
14260:       # as -z defs.
14261:       no_undefined_flag_F77='${wl}-z,text'
14262:       allow_undefined_flag_F77='${wl}-z,nodefs'
14263:       archive_cmds_need_lc_F77=no
14264:       hardcode_shlibpath_var_F77=no
14265:       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14266:       hardcode_libdir_separator_F77=':'
14267:       link_all_deplibs_F77=yes
14268:       export_dynamic_flag_spec_F77='${wl}-Bexport'
14269:       runpath_var='LD_RUN_PATH'
14270: 
14271:       if test "$GCC" = yes; then
14272: 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14273: 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14274:       else
14275: 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14276: 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14277:       fi
14278:       ;;
14279: 
14280:     uts4*)
14281:       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14282:       hardcode_libdir_flag_spec_F77='-L$libdir'
14283:       hardcode_shlibpath_var_F77=no
14284:       ;;
14285: 
14286:     *)
14287:       ld_shlibs_F77=no
14288:       ;;
14289:     esac
14290:   fi
14291: 
14292: echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14293: echo "${ECHO_T}$ld_shlibs_F77" >&6
14294: test "$ld_shlibs_F77" = no && can_build_shared=no
14295: 
14296: #
14297: # Do we need to explicitly link libc?
14298: #
14299: case "x$archive_cmds_need_lc_F77" in
14300: x|xyes)
14301:   # Assume -lc should be added
14302:   archive_cmds_need_lc_F77=yes
14303: 
14304:   if test "$enable_shared" = yes && test "$GCC" = yes; then
14305:     case $archive_cmds_F77 in
14306:     *'~'*)
14307:       # FIXME: we may have to deal with multi-command sequences.
14308:       ;;
14309:     '$CC '*)
14310:       # Test whether the compiler implicitly links with -lc since on some
14311:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14312:       # to ld, don't add -lc before -lgcc.
14313:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14314: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14315:       $rm conftest*
14316:       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14317: 
14318:       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319:   (eval $ac_compile) 2>&5
14320:   ac_status=$?
14321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322:   (exit $ac_status); } 2>conftest.err; then
14323:         soname=conftest
14324:         lib=conftest
14325:         libobjs=conftest.$ac_objext
14326:         deplibs=
14327:         wl=$lt_prog_compiler_wl_F77
14328: 	pic_flag=$lt_prog_compiler_pic_F77
14329:         compiler_flags=-v
14330:         linker_flags=-v
14331:         verstring=
14332:         output_objdir=.
14333:         libname=conftest
14334:         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14335:         allow_undefined_flag_F77=
14336:         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14337:   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14338:   ac_status=$?
14339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340:   (exit $ac_status); }
14341:         then
14342: 	  archive_cmds_need_lc_F77=no
14343:         else
14344: 	  archive_cmds_need_lc_F77=yes
14345:         fi
14346:         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14347:       else
14348:         cat conftest.err 1>&5
14349:       fi
14350:       $rm conftest*
14351:       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14352: echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14353:       ;;
14354:     esac
14355:   fi
14356:   ;;
14357: esac
14358: 
14359: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14360: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14361: library_names_spec=
14362: libname_spec='lib$name'
14363: soname_spec=
14364: shrext_cmds=".so"
14365: postinstall_cmds=
14366: postuninstall_cmds=
14367: finish_cmds=
14368: finish_eval=
14369: shlibpath_var=
14370: shlibpath_overrides_runpath=unknown
14371: version_type=none
14372: dynamic_linker="$host_os ld.so"
14373: sys_lib_dlsearch_path_spec="/lib /usr/lib"
14374: if test "$GCC" = yes; then
14375:   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14376:   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14377:     # if the path contains ";" then we assume it to be the separator
14378:     # otherwise default to the standard path separator (i.e. ":") - it is
14379:     # assumed that no part of a normal pathname contains ";" but that should
14380:     # okay in the real world where ";" in dirpaths is itself problematic.
14381:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14382:   else
14383:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14384:   fi
14385: else
14386:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14387: fi
14388: need_lib_prefix=unknown
14389: hardcode_into_libs=no
14390: 
14391: # when you set need_version to no, make sure it does not cause -set_version
14392: # flags to be left without arguments
14393: need_version=unknown
14394: 
14395: case $host_os in
14396: aix3*)
14397:   version_type=linux
14398:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14399:   shlibpath_var=LIBPATH
14400: 
14401:   # AIX 3 has no versioning support, so we append a major version to the name.
14402:   soname_spec='${libname}${release}${shared_ext}$major'
14403:   ;;
14404: 
14405: aix4* | aix5*)
14406:   version_type=linux
14407:   need_lib_prefix=no
14408:   need_version=no
14409:   hardcode_into_libs=yes
14410:   if test "$host_cpu" = ia64; then
14411:     # AIX 5 supports IA64
14412:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14413:     shlibpath_var=LD_LIBRARY_PATH
14414:   else
14415:     # With GCC up to 2.95.x, collect2 would create an import file
14416:     # for dependence libraries.  The import file would start with
14417:     # the line `#! .'.  This would cause the generated library to
14418:     # depend on `.', always an invalid library.  This was fixed in
14419:     # development snapshots of GCC prior to 3.0.
14420:     case $host_os in
14421:       aix4 | aix4.[01] | aix4.[01].*)
14422:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14423: 	   echo ' yes '
14424: 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14425: 	:
14426:       else
14427: 	can_build_shared=no
14428:       fi
14429:       ;;
14430:     esac
14431:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14432:     # soname into executable. Probably we can add versioning support to
14433:     # collect2, so additional links can be useful in future.
14434:     if test "$aix_use_runtimelinking" = yes; then
14435:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14436:       # instead of lib<name>.a to let people know that these are not
14437:       # typical AIX shared libraries.
14438:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439:     else
14440:       # We preserve .a as extension for shared libraries through AIX4.2
14441:       # and later when we are not doing run time linking.
14442:       library_names_spec='${libname}${release}.a $libname.a'
14443:       soname_spec='${libname}${release}${shared_ext}$major'
14444:     fi
14445:     shlibpath_var=LIBPATH
14446:   fi
14447:   ;;
14448: 
14449: amigaos*)
14450:   library_names_spec='$libname.ixlibrary $libname.a'
14451:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
14452:   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
14453:   ;;
14454: 
14455: beos*)
14456:   library_names_spec='${libname}${shared_ext}'
14457:   dynamic_linker="$host_os ld.so"
14458:   shlibpath_var=LIBRARY_PATH
14459:   ;;
14460: 
14461: bsdi[45]*)
14462:   version_type=linux
14463:   need_version=no
14464:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14465:   soname_spec='${libname}${release}${shared_ext}$major'
14466:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14467:   shlibpath_var=LD_LIBRARY_PATH
14468:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14469:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14470:   # the default ld.so.conf also contains /usr/contrib/lib and
14471:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14472:   # libtool to hard-code these into programs
14473:   ;;
14474: 
14475: cygwin* | mingw* | pw32*)
14476:   version_type=windows
14477:   shrext_cmds=".dll"
14478:   need_version=no
14479:   need_lib_prefix=no
14480: 
14481:   case $GCC,$host_os in
14482:   yes,cygwin* | yes,mingw* | yes,pw32*)
14483:     library_names_spec='$libname.dll.a'
14484:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14485:     postinstall_cmds='base_file=`basename \${file}`~
14486:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14487:       dldir=$destdir/`dirname \$dlpath`~
14488:       test -d \$dldir || mkdir -p \$dldir~
14489:       $install_prog $dir/$dlname \$dldir/$dlname~
14490:       chmod a+x \$dldir/$dlname'
14491:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14492:       dlpath=$dir/\$dldll~
14493:        $rm \$dlpath'
14494:     shlibpath_overrides_runpath=yes
14495: 
14496:     case $host_os in
14497:     cygwin*)
14498:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14499:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14500:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14501:       ;;
14502:     mingw*)
14503:       # MinGW DLLs use traditional 'lib' prefix
14504:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14505:       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14506:       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14507:         # It is most probably a Windows format PATH printed by
14508:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
14509:         # path with ; separators, and with drive letters. We can handle the
14510:         # drive letters (cygwin fileutils understands them), so leave them,
14511:         # especially as we might pass files found there to a mingw objdump,
14512:         # which wouldn't understand a cygwinified path. Ahh.
14513:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14514:       else
14515:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14516:       fi
14517:       ;;
14518:     pw32*)
14519:       # pw32 DLLs use 'pw' prefix rather than 'lib'
14520:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14521:       ;;
14522:     esac
14523:     ;;
14524: 
14525:   *)
14526:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14527:     ;;
14528:   esac
14529:   dynamic_linker='Win32 ld.exe'
14530:   # FIXME: first we should search . and the directory the executable is in
14531:   shlibpath_var=PATH
14532:   ;;
14533: 
14534: darwin* | rhapsody*)
14535:   dynamic_linker="$host_os dyld"
14536:   version_type=darwin
14537:   need_lib_prefix=no
14538:   need_version=no
14539:   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14540:   soname_spec='${libname}${release}${major}$shared_ext'
14541:   shlibpath_overrides_runpath=yes
14542:   shlibpath_var=DYLD_LIBRARY_PATH
14543:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14544:   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14545:   if test "$GCC" = yes; then
14546:     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14547:   else
14548:     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14549:   fi
14550:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14551:   ;;
14552: 
14553: dgux*)
14554:   version_type=linux
14555:   need_lib_prefix=no
14556:   need_version=no
14557:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14558:   soname_spec='${libname}${release}${shared_ext}$major'
14559:   shlibpath_var=LD_LIBRARY_PATH
14560:   ;;
14561: 
14562: freebsd1*)
14563:   dynamic_linker=no
14564:   ;;
14565: 
14566: kfreebsd*-gnu)
14567:   version_type=linux
14568:   need_lib_prefix=no
14569:   need_version=no
14570:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14571:   soname_spec='${libname}${release}${shared_ext}$major'
14572:   shlibpath_var=LD_LIBRARY_PATH
14573:   shlibpath_overrides_runpath=no
14574:   hardcode_into_libs=yes
14575:   dynamic_linker='GNU ld.so'
14576:   ;;
14577: 
14578: freebsd* | dragonfly*)
14579:   # DragonFly does not have aout.  When/if they implement a new
14580:   # versioning mechanism, adjust this.
14581:   if test -x /usr/bin/objformat; then
14582:     objformat=`/usr/bin/objformat`
14583:   else
14584:     case $host_os in
14585:     freebsd[123]*) objformat=aout ;;
14586:     *) objformat=elf ;;
14587:     esac
14588:   fi
14589:   version_type=freebsd-$objformat
14590:   case $version_type in
14591:     freebsd-elf*)
14592:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14593:       need_version=no
14594:       need_lib_prefix=no
14595:       ;;
14596:     freebsd-*)
14597:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14598:       need_version=yes
14599:       ;;
14600:   esac
14601:   shlibpath_var=LD_LIBRARY_PATH
14602:   case $host_os in
14603:   freebsd2*)
14604:     shlibpath_overrides_runpath=yes
14605:     ;;
14606:   freebsd3.[01]* | freebsdelf3.[01]*)
14607:     shlibpath_overrides_runpath=yes
14608:     hardcode_into_libs=yes
14609:     ;;
14610:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14611:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14612:     shlibpath_overrides_runpath=no
14613:     hardcode_into_libs=yes
14614:     ;;
14615:   freebsd*) # from 4.6 on
14616:     shlibpath_overrides_runpath=yes
14617:     hardcode_into_libs=yes
14618:     ;;
14619:   esac
14620:   ;;
14621: 
14622: gnu*)
14623:   version_type=linux
14624:   need_lib_prefix=no
14625:   need_version=no
14626:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14627:   soname_spec='${libname}${release}${shared_ext}$major'
14628:   shlibpath_var=LD_LIBRARY_PATH
14629:   hardcode_into_libs=yes
14630:   ;;
14631: 
14632: hpux9* | hpux10* | hpux11*)
14633:   # Give a soname corresponding to the major version so that dld.sl refuses to
14634:   # link against other versions.
14635:   version_type=sunos
14636:   need_lib_prefix=no
14637:   need_version=no
14638:   case $host_cpu in
14639:   ia64*)
14640:     shrext_cmds='.so'
14641:     hardcode_into_libs=yes
14642:     dynamic_linker="$host_os dld.so"
14643:     shlibpath_var=LD_LIBRARY_PATH
14644:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14645:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646:     soname_spec='${libname}${release}${shared_ext}$major'
14647:     if test "X$HPUX_IA64_MODE" = X32; then
14648:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14649:     else
14650:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14651:     fi
14652:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14653:     ;;
14654:    hppa*64*)
14655:      shrext_cmds='.sl'
14656:      hardcode_into_libs=yes
14657:      dynamic_linker="$host_os dld.sl"
14658:      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14659:      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14660:      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661:      soname_spec='${libname}${release}${shared_ext}$major'
14662:      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14663:      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14664:      ;;
14665:    *)
14666:     shrext_cmds='.sl'
14667:     dynamic_linker="$host_os dld.sl"
14668:     shlibpath_var=SHLIB_PATH
14669:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14670:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671:     soname_spec='${libname}${release}${shared_ext}$major'
14672:     ;;
14673:   esac
14674:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14675:   postinstall_cmds='chmod 555 $lib'
14676:   ;;
14677: 
14678: interix3*)
14679:   version_type=linux
14680:   need_lib_prefix=no
14681:   need_version=no
14682:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14683:   soname_spec='${libname}${release}${shared_ext}$major'
14684:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14685:   shlibpath_var=LD_LIBRARY_PATH
14686:   shlibpath_overrides_runpath=no
14687:   hardcode_into_libs=yes
14688:   ;;
14689: 
14690: irix5* | irix6* | nonstopux*)
14691:   case $host_os in
14692:     nonstopux*) version_type=nonstopux ;;
14693:     *)
14694: 	if test "$lt_cv_prog_gnu_ld" = yes; then
14695: 		version_type=linux
14696: 	else
14697: 		version_type=irix
14698: 	fi ;;
14699:   esac
14700:   need_lib_prefix=no
14701:   need_version=no
14702:   soname_spec='${libname}${release}${shared_ext}$major'
14703:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14704:   case $host_os in
14705:   irix5* | nonstopux*)
14706:     libsuff= shlibsuff=
14707:     ;;
14708:   *)
14709:     case $LD in # libtool.m4 will add one of these switches to LD
14710:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14711:       libsuff= shlibsuff= libmagic=32-bit;;
14712:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14713:       libsuff=32 shlibsuff=N32 libmagic=N32;;
14714:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14715:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14716:     *) libsuff= shlibsuff= libmagic=never-match;;
14717:     esac
14718:     ;;
14719:   esac
14720:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14721:   shlibpath_overrides_runpath=no
14722:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14723:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14724:   hardcode_into_libs=yes
14725:   ;;
14726: 
14727: # No shared lib support for Linux oldld, aout, or coff.
14728: linux*oldld* | linux*aout* | linux*coff*)
14729:   dynamic_linker=no
14730:   ;;
14731: 
14732: # This must be Linux ELF.
14733: linux*)
14734:   version_type=linux
14735:   need_lib_prefix=no
14736:   need_version=no
14737:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738:   soname_spec='${libname}${release}${shared_ext}$major'
14739:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14740:   shlibpath_var=LD_LIBRARY_PATH
14741:   shlibpath_overrides_runpath=no
14742:   # This implies no fast_install, which is unacceptable.
14743:   # Some rework will be needed to allow for fast_install
14744:   # before this can be enabled.
14745:   hardcode_into_libs=yes
14746: 
14747:   # Append ld.so.conf contents to the search path
14748:   if test -f /etc/ld.so.conf; then
14749:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14750:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14751:   fi
14752: 
14753:   # We used to test for /lib/ld.so.1 and disable shared libraries on
14754:   # powerpc, because MkLinux only supported shared libraries with the
14755:   # GNU dynamic linker.  Since this was broken with cross compilers,
14756:   # most powerpc-linux boxes support dynamic linking these days and
14757:   # people can always --disable-shared, the test was removed, and we
14758:   # assume the GNU/Linux dynamic linker is in use.
14759:   dynamic_linker='GNU/Linux ld.so'
14760:   ;;
14761: 
14762: knetbsd*-gnu)
14763:   version_type=linux
14764:   need_lib_prefix=no
14765:   need_version=no
14766:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767:   soname_spec='${libname}${release}${shared_ext}$major'
14768:   shlibpath_var=LD_LIBRARY_PATH
14769:   shlibpath_overrides_runpath=no
14770:   hardcode_into_libs=yes
14771:   dynamic_linker='GNU ld.so'
14772:   ;;
14773: 
14774: netbsd*)
14775:   version_type=sunos
14776:   need_lib_prefix=no
14777:   need_version=no
14778:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14779:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14780:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14781:     dynamic_linker='NetBSD (a.out) ld.so'
14782:   else
14783:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14784:     soname_spec='${libname}${release}${shared_ext}$major'
14785:     dynamic_linker='NetBSD ld.elf_so'
14786:   fi
14787:   shlibpath_var=LD_LIBRARY_PATH
14788:   shlibpath_overrides_runpath=yes
14789:   hardcode_into_libs=yes
14790:   ;;
14791: 
14792: newsos6)
14793:   version_type=linux
14794:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795:   shlibpath_var=LD_LIBRARY_PATH
14796:   shlibpath_overrides_runpath=yes
14797:   ;;
14798: 
14799: nto-qnx*)
14800:   version_type=linux
14801:   need_lib_prefix=no
14802:   need_version=no
14803:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804:   soname_spec='${libname}${release}${shared_ext}$major'
14805:   shlibpath_var=LD_LIBRARY_PATH
14806:   shlibpath_overrides_runpath=yes
14807:   ;;
14808: 
14809: openbsd*)
14810:   version_type=sunos
14811:   sys_lib_dlsearch_path_spec="/usr/lib"
14812:   need_lib_prefix=no
14813:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14814:   case $host_os in
14815:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14816:     *)                         need_version=no  ;;
14817:   esac
14818:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14819:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14820:   shlibpath_var=LD_LIBRARY_PATH
14821:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14822:     case $host_os in
14823:       openbsd2.[89] | openbsd2.[89].*)
14824: 	shlibpath_overrides_runpath=no
14825: 	;;
14826:       *)
14827: 	shlibpath_overrides_runpath=yes
14828: 	;;
14829:       esac
14830:   else
14831:     shlibpath_overrides_runpath=yes
14832:   fi
14833:   ;;
14834: 
14835: os2*)
14836:   libname_spec='$name'
14837:   shrext_cmds=".dll"
14838:   need_lib_prefix=no
14839:   library_names_spec='$libname${shared_ext} $libname.a'
14840:   dynamic_linker='OS/2 ld.exe'
14841:   shlibpath_var=LIBPATH
14842:   ;;
14843: 
14844: osf3* | osf4* | osf5*)
14845:   version_type=osf
14846:   need_lib_prefix=no
14847:   need_version=no
14848:   soname_spec='${libname}${release}${shared_ext}$major'
14849:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850:   shlibpath_var=LD_LIBRARY_PATH
14851:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14852:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14853:   ;;
14854: 
14855: solaris*)
14856:   version_type=linux
14857:   need_lib_prefix=no
14858:   need_version=no
14859:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860:   soname_spec='${libname}${release}${shared_ext}$major'
14861:   shlibpath_var=LD_LIBRARY_PATH
14862:   shlibpath_overrides_runpath=yes
14863:   hardcode_into_libs=yes
14864:   # ldd complains unless libraries are executable
14865:   postinstall_cmds='chmod +x $lib'
14866:   ;;
14867: 
14868: sunos4*)
14869:   version_type=sunos
14870:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14871:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14872:   shlibpath_var=LD_LIBRARY_PATH
14873:   shlibpath_overrides_runpath=yes
14874:   if test "$with_gnu_ld" = yes; then
14875:     need_lib_prefix=no
14876:   fi
14877:   need_version=yes
14878:   ;;
14879: 
14880: sysv4 | sysv4.3*)
14881:   version_type=linux
14882:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883:   soname_spec='${libname}${release}${shared_ext}$major'
14884:   shlibpath_var=LD_LIBRARY_PATH
14885:   case $host_vendor in
14886:     sni)
14887:       shlibpath_overrides_runpath=no
14888:       need_lib_prefix=no
14889:       export_dynamic_flag_spec='${wl}-Blargedynsym'
14890:       runpath_var=LD_RUN_PATH
14891:       ;;
14892:     siemens)
14893:       need_lib_prefix=no
14894:       ;;
14895:     motorola)
14896:       need_lib_prefix=no
14897:       need_version=no
14898:       shlibpath_overrides_runpath=no
14899:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14900:       ;;
14901:   esac
14902:   ;;
14903: 
14904: sysv4*MP*)
14905:   if test -d /usr/nec ;then
14906:     version_type=linux
14907:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14908:     soname_spec='$libname${shared_ext}.$major'
14909:     shlibpath_var=LD_LIBRARY_PATH
14910:   fi
14911:   ;;
14912: 
14913: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14914:   version_type=freebsd-elf
14915:   need_lib_prefix=no
14916:   need_version=no
14917:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14918:   soname_spec='${libname}${release}${shared_ext}$major'
14919:   shlibpath_var=LD_LIBRARY_PATH
14920:   hardcode_into_libs=yes
14921:   if test "$with_gnu_ld" = yes; then
14922:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14923:     shlibpath_overrides_runpath=no
14924:   else
14925:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14926:     shlibpath_overrides_runpath=yes
14927:     case $host_os in
14928:       sco3.2v5*)
14929:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14930: 	;;
14931:     esac
14932:   fi
14933:   sys_lib_dlsearch_path_spec='/usr/lib'
14934:   ;;
14935: 
14936: uts4*)
14937:   version_type=linux
14938:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14939:   soname_spec='${libname}${release}${shared_ext}$major'
14940:   shlibpath_var=LD_LIBRARY_PATH
14941:   ;;
14942: 
14943: *)
14944:   dynamic_linker=no
14945:   ;;
14946: esac
14947: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14948: echo "${ECHO_T}$dynamic_linker" >&6
14949: test "$dynamic_linker" = no && can_build_shared=no
14950: 
14951: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14952: if test "$GCC" = yes; then
14953:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14954: fi
14955: 
14956: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14957: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14958: hardcode_action_F77=
14959: if test -n "$hardcode_libdir_flag_spec_F77" || \
14960:    test -n "$runpath_var_F77" || \
14961:    test "X$hardcode_automatic_F77" = "Xyes" ; then
14962: 
14963:   # We can hardcode non-existant directories.
14964:   if test "$hardcode_direct_F77" != no &&
14965:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14966:      # have to relink, otherwise we might link with an installed library
14967:      # when we should be linking with a yet-to-be-installed one
14968:      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14969:      test "$hardcode_minus_L_F77" != no; then
14970:     # Linking always hardcodes the temporary library directory.
14971:     hardcode_action_F77=relink
14972:   else
14973:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14974:     hardcode_action_F77=immediate
14975:   fi
14976: else
14977:   # We cannot hardcode anything, or else we can only hardcode existing
14978:   # directories.
14979:   hardcode_action_F77=unsupported
14980: fi
14981: echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14982: echo "${ECHO_T}$hardcode_action_F77" >&6
14983: 
14984: if test "$hardcode_action_F77" = relink; then
14985:   # Fast installation is not supported
14986:   enable_fast_install=no
14987: elif test "$shlibpath_overrides_runpath" = yes ||
14988:      test "$enable_shared" = no; then
14989:   # Fast installation is not necessary
14990:   enable_fast_install=needless
14991: fi
14992: 
14993: 
14994: # The else clause should only fire when bootstrapping the
14995: # libtool distribution, otherwise you forgot to ship ltmain.sh
14996: # with your package, and you will get complaints that there are
14997: # no rules to generate ltmain.sh.
14998: if test -f "$ltmain"; then
14999:   # See if we are running on zsh, and set the options which allow our commands through
15000:   # without removal of \ escapes.
15001:   if test -n "${ZSH_VERSION+set}" ; then
15002:     setopt NO_GLOB_SUBST
15003:   fi
15004:   # Now quote all the things that may contain metacharacters while being
15005:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
15006:   # variables and quote the copies for generation of the libtool script.
15007:   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15008:     SED SHELL STRIP \
15009:     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15010:     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15011:     deplibs_check_method reload_flag reload_cmds need_locks \
15012:     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15013:     lt_cv_sys_global_symbol_to_c_name_address \
15014:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15015:     old_postinstall_cmds old_postuninstall_cmds \
15016:     compiler_F77 \
15017:     CC_F77 \
15018:     LD_F77 \
15019:     lt_prog_compiler_wl_F77 \
15020:     lt_prog_compiler_pic_F77 \
15021:     lt_prog_compiler_static_F77 \
15022:     lt_prog_compiler_no_builtin_flag_F77 \
15023:     export_dynamic_flag_spec_F77 \
15024:     thread_safe_flag_spec_F77 \
15025:     whole_archive_flag_spec_F77 \
15026:     enable_shared_with_static_runtimes_F77 \
15027:     old_archive_cmds_F77 \
15028:     old_archive_from_new_cmds_F77 \
15029:     predep_objects_F77 \
15030:     postdep_objects_F77 \
15031:     predeps_F77 \
15032:     postdeps_F77 \
15033:     compiler_lib_search_path_F77 \
15034:     archive_cmds_F77 \
15035:     archive_expsym_cmds_F77 \
15036:     postinstall_cmds_F77 \
15037:     postuninstall_cmds_F77 \
15038:     old_archive_from_expsyms_cmds_F77 \
15039:     allow_undefined_flag_F77 \
15040:     no_undefined_flag_F77 \
15041:     export_symbols_cmds_F77 \
15042:     hardcode_libdir_flag_spec_F77 \
15043:     hardcode_libdir_flag_spec_ld_F77 \
15044:     hardcode_libdir_separator_F77 \
15045:     hardcode_automatic_F77 \
15046:     module_cmds_F77 \
15047:     module_expsym_cmds_F77 \
15048:     lt_cv_prog_compiler_c_o_F77 \
15049:     exclude_expsyms_F77 \
15050:     include_expsyms_F77; do
15051: 
15052:     case $var in
15053:     old_archive_cmds_F77 | \
15054:     old_archive_from_new_cmds_F77 | \
15055:     archive_cmds_F77 | \
15056:     archive_expsym_cmds_F77 | \
15057:     module_cmds_F77 | \
15058:     module_expsym_cmds_F77 | \
15059:     old_archive_from_expsyms_cmds_F77 | \
15060:     export_symbols_cmds_F77 | \
15061:     extract_expsyms_cmds | reload_cmds | finish_cmds | \
15062:     postinstall_cmds | postuninstall_cmds | \
15063:     old_postinstall_cmds | old_postuninstall_cmds | \
15064:     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15065:       # Double-quote double-evaled strings.
15066:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15067:       ;;
15068:     *)
15069:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15070:       ;;
15071:     esac
15072:   done
15073: 
15074:   case $lt_echo in
15075:   *'\$0 --fallback-echo"')
15076:     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15077:     ;;
15078:   esac
15079: 
15080: cfgfile="$ofile"
15081: 
15082:   cat <<__EOF__ >> "$cfgfile"
15083: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15084: 
15085: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15086: 
15087: # Shell to use when invoking shell scripts.
15088: SHELL=$lt_SHELL
15089: 
15090: # Whether or not to build shared libraries.
15091: build_libtool_libs=$enable_shared
15092: 
15093: # Whether or not to build static libraries.
15094: build_old_libs=$enable_static
15095: 
15096: # Whether or not to add -lc for building shared libraries.
15097: build_libtool_need_lc=$archive_cmds_need_lc_F77
15098: 
15099: # Whether or not to disallow shared libs when runtime libs are static
15100: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15101: 
15102: # Whether or not to optimize for fast installation.
15103: fast_install=$enable_fast_install
15104: 
15105: # The host system.
15106: host_alias=$host_alias
15107: host=$host
15108: host_os=$host_os
15109: 
15110: # The build system.
15111: build_alias=$build_alias
15112: build=$build
15113: build_os=$build_os
15114: 
15115: # An echo program that does not interpret backslashes.
15116: echo=$lt_echo
15117: 
15118: # The archiver.
15119: AR=$lt_AR
15120: AR_FLAGS=$lt_AR_FLAGS
15121: 
15122: # A C compiler.
15123: LTCC=$lt_LTCC
15124: 
15125: # LTCC compiler flags.
15126: LTCFLAGS=$lt_LTCFLAGS
15127: 
15128: # A language-specific compiler.
15129: CC=$lt_compiler_F77
15130: 
15131: # Is the compiler the GNU C compiler?
15132: with_gcc=$GCC_F77
15133: 
15134: # An ERE matcher.
15135: EGREP=$lt_EGREP
15136: 
15137: # The linker used to build libraries.
15138: LD=$lt_LD_F77
15139: 
15140: # Whether we need hard or soft links.
15141: LN_S=$lt_LN_S
15142: 
15143: # A BSD-compatible nm program.
15144: NM=$lt_NM
15145: 
15146: # A symbol stripping program
15147: STRIP=$lt_STRIP
15148: 
15149: # Used to examine libraries when file_magic_cmd begins "file"
15150: MAGIC_CMD=$MAGIC_CMD
15151: 
15152: # Used on cygwin: DLL creation program.
15153: DLLTOOL="$DLLTOOL"
15154: 
15155: # Used on cygwin: object dumper.
15156: OBJDUMP="$OBJDUMP"
15157: 
15158: # Used on cygwin: assembler.
15159: AS="$AS"
15160: 
15161: # The name of the directory that contains temporary libtool files.
15162: objdir=$objdir
15163: 
15164: # How to create reloadable object files.
15165: reload_flag=$lt_reload_flag
15166: reload_cmds=$lt_reload_cmds
15167: 
15168: # How to pass a linker flag through the compiler.
15169: wl=$lt_lt_prog_compiler_wl_F77
15170: 
15171: # Object file suffix (normally "o").
15172: objext="$ac_objext"
15173: 
15174: # Old archive suffix (normally "a").
15175: libext="$libext"
15176: 
15177: # Shared library suffix (normally ".so").
15178: shrext_cmds='$shrext_cmds'
15179: 
15180: # Executable file suffix (normally "").
15181: exeext="$exeext"
15182: 
15183: # Additional compiler flags for building library objects.
15184: pic_flag=$lt_lt_prog_compiler_pic_F77
15185: pic_mode=$pic_mode
15186: 
15187: # What is the maximum length of a command?
15188: max_cmd_len=$lt_cv_sys_max_cmd_len
15189: 
15190: # Does compiler simultaneously support -c and -o options?
15191: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15192: 
15193: # Must we lock files when doing compilation?
15194: need_locks=$lt_need_locks
15195: 
15196: # Do we need the lib prefix for modules?
15197: need_lib_prefix=$need_lib_prefix
15198: 
15199: # Do we need a version for libraries?
15200: need_version=$need_version
15201: 
15202: # Whether dlopen is supported.
15203: dlopen_support=$enable_dlopen
15204: 
15205: # Whether dlopen of programs is supported.
15206: dlopen_self=$enable_dlopen_self
15207: 
15208: # Whether dlopen of statically linked programs is supported.
15209: dlopen_self_static=$enable_dlopen_self_static
15210: 
15211: # Compiler flag to prevent dynamic linking.
15212: link_static_flag=$lt_lt_prog_compiler_static_F77
15213: 
15214: # Compiler flag to turn off builtin functions.
15215: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15216: 
15217: # Compiler flag to allow reflexive dlopens.
15218: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15219: 
15220: # Compiler flag to generate shared objects directly from archives.
15221: whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15222: 
15223: # Compiler flag to generate thread-safe objects.
15224: thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15225: 
15226: # Library versioning type.
15227: version_type=$version_type
15228: 
15229: # Format of library name prefix.
15230: libname_spec=$lt_libname_spec
15231: 
15232: # List of archive names.  First name is the real one, the rest are links.
15233: # The last name is the one that the linker finds with -lNAME.
15234: library_names_spec=$lt_library_names_spec
15235: 
15236: # The coded name of the library, if different from the real name.
15237: soname_spec=$lt_soname_spec
15238: 
15239: # Commands used to build and install an old-style archive.
15240: RANLIB=$lt_RANLIB
15241: old_archive_cmds=$lt_old_archive_cmds_F77
15242: old_postinstall_cmds=$lt_old_postinstall_cmds
15243: old_postuninstall_cmds=$lt_old_postuninstall_cmds
15244: 
15245: # Create an old-style archive from a shared archive.
15246: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15247: 
15248: # Create a temporary old-style archive to link instead of a shared archive.
15249: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15250: 
15251: # Commands used to build and install a shared archive.
15252: archive_cmds=$lt_archive_cmds_F77
15253: archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15254: postinstall_cmds=$lt_postinstall_cmds
15255: postuninstall_cmds=$lt_postuninstall_cmds
15256: 
15257: # Commands used to build a loadable module (assumed same as above if empty)
15258: module_cmds=$lt_module_cmds_F77
15259: module_expsym_cmds=$lt_module_expsym_cmds_F77
15260: 
15261: # Commands to strip libraries.
15262: old_striplib=$lt_old_striplib
15263: striplib=$lt_striplib
15264: 
15265: # Dependencies to place before the objects being linked to create a
15266: # shared library.
15267: predep_objects=$lt_predep_objects_F77
15268: 
15269: # Dependencies to place after the objects being linked to create a
15270: # shared library.
15271: postdep_objects=$lt_postdep_objects_F77
15272: 
15273: # Dependencies to place before the objects being linked to create a
15274: # shared library.
15275: predeps=$lt_predeps_F77
15276: 
15277: # Dependencies to place after the objects being linked to create a
15278: # shared library.
15279: postdeps=$lt_postdeps_F77
15280: 
15281: # The library search path used internally by the compiler when linking
15282: # a shared library.
15283: compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15284: 
15285: # Method to check whether dependent libraries are shared objects.
15286: deplibs_check_method=$lt_deplibs_check_method
15287: 
15288: # Command to use when deplibs_check_method == file_magic.
15289: file_magic_cmd=$lt_file_magic_cmd
15290: 
15291: # Flag that allows shared libraries with undefined symbols to be built.
15292: allow_undefined_flag=$lt_allow_undefined_flag_F77
15293: 
15294: # Flag that forces no undefined symbols.
15295: no_undefined_flag=$lt_no_undefined_flag_F77
15296: 
15297: # Commands used to finish a libtool library installation in a directory.
15298: finish_cmds=$lt_finish_cmds
15299: 
15300: # Same as above, but a single script fragment to be evaled but not shown.
15301: finish_eval=$lt_finish_eval
15302: 
15303: # Take the output of nm and produce a listing of raw symbols and C names.
15304: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15305: 
15306: # Transform the output of nm in a proper C declaration
15307: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15308: 
15309: # Transform the output of nm in a C name address pair
15310: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15311: 
15312: # This is the shared library runtime path variable.
15313: runpath_var=$runpath_var
15314: 
15315: # This is the shared library path variable.
15316: shlibpath_var=$shlibpath_var
15317: 
15318: # Is shlibpath searched before the hard-coded library search path?
15319: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15320: 
15321: # How to hardcode a shared library path into an executable.
15322: hardcode_action=$hardcode_action_F77
15323: 
15324: # Whether we should hardcode library paths into libraries.
15325: hardcode_into_libs=$hardcode_into_libs
15326: 
15327: # Flag to hardcode \$libdir into a binary during linking.
15328: # This must work even if \$libdir does not exist.
15329: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15330: 
15331: # If ld is used when linking, flag to hardcode \$libdir into
15332: # a binary during linking. This must work even if \$libdir does
15333: # not exist.
15334: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15335: 
15336: # Whether we need a single -rpath flag with a separated argument.
15337: hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15338: 
15339: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15340: # resulting binary.
15341: hardcode_direct=$hardcode_direct_F77
15342: 
15343: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15344: # resulting binary.
15345: hardcode_minus_L=$hardcode_minus_L_F77
15346: 
15347: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15348: # the resulting binary.
15349: hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15350: 
15351: # Set to yes if building a shared library automatically hardcodes DIR into the library
15352: # and all subsequent libraries and executables linked against it.
15353: hardcode_automatic=$hardcode_automatic_F77
15354: 
15355: # Variables whose values should be saved in libtool wrapper scripts and
15356: # restored at relink time.
15357: variables_saved_for_relink="$variables_saved_for_relink"
15358: 
15359: # Whether libtool must link a program against all its dependency libraries.
15360: link_all_deplibs=$link_all_deplibs_F77
15361: 
15362: # Compile-time system search path for libraries
15363: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15364: 
15365: # Run-time system search path for libraries
15366: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15367: 
15368: # Fix the shell variable \$srcfile for the compiler.
15369: fix_srcfile_path="$fix_srcfile_path_F77"
15370: 
15371: # Set to yes if exported symbols are required.
15372: always_export_symbols=$always_export_symbols_F77
15373: 
15374: # The commands to list exported symbols.
15375: export_symbols_cmds=$lt_export_symbols_cmds_F77
15376: 
15377: # The commands to extract the exported symbol list from a shared archive.
15378: extract_expsyms_cmds=$lt_extract_expsyms_cmds
15379: 
15380: # Symbols that should not be listed in the preloaded symbols.
15381: exclude_expsyms=$lt_exclude_expsyms_F77
15382: 
15383: # Symbols that must always be exported.
15384: include_expsyms=$lt_include_expsyms_F77
15385: 
15386: # ### END LIBTOOL TAG CONFIG: $tagname
15387: 
15388: __EOF__
15389: 
15390: 
15391: else
15392:   # If there is no Makefile yet, we rely on a make rule to execute
15393:   # `config.status --recheck' to rerun these tests and create the
15394:   # libtool script then.
15395:   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15396:   if test -f "$ltmain_in"; then
15397:     test -f Makefile && make "$ltmain"
15398:   fi
15399: fi
15400: 
15401: 
15402: ac_ext=c
15403: ac_cpp='$CPP $CPPFLAGS'
15404: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406: ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407: 
15408: CC="$lt_save_CC"
15409: 
15410: 	else
15411: 	  tagname=""
15412: 	fi
15413: 	;;
15414: 
15415:       GCJ)
15416: 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15417: 
15418: 
15419: 
15420: # Source file extension for Java test sources.
15421: ac_ext=java
15422: 
15423: # Object file extension for compiled Java test sources.
15424: objext=o
15425: objext_GCJ=$objext
15426: 
15427: # Code to be used in simple compile tests
15428: lt_simple_compile_test_code="class foo {}\n"
15429: 
15430: # Code to be used in simple link tests
15431: lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15432: 
15433: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15434: 
15435: # If no C compiler was specified, use CC.
15436: LTCC=${LTCC-"$CC"}
15437: 
15438: # If no C compiler flags were specified, use CFLAGS.
15439: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15440: 
15441: # Allow CC to be a program name with arguments.
15442: compiler=$CC
15443: 
15444: 
15445: # save warnings/boilerplate of simple test code
15446: ac_outfile=conftest.$ac_objext
15447: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15448: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15449: _lt_compiler_boilerplate=`cat conftest.err`
15450: $rm conftest*
15451: 
15452: ac_outfile=conftest.$ac_objext
15453: printf "$lt_simple_link_test_code" >conftest.$ac_ext
15454: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15455: _lt_linker_boilerplate=`cat conftest.err`
15456: $rm conftest*
15457: 
15458: 
15459: # Allow CC to be a program name with arguments.
15460: lt_save_CC="$CC"
15461: CC=${GCJ-"gcj"}
15462: compiler=$CC
15463: compiler_GCJ=$CC
15464: for cc_temp in $compiler""; do
15465:   case $cc_temp in
15466:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15467:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15468:     \-*) ;;
15469:     *) break;;
15470:   esac
15471: done
15472: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15473: 
15474: 
15475: # GCJ did not exist at the time GCC didn't implicitly link libc in.
15476: archive_cmds_need_lc_GCJ=no
15477: 
15478: old_archive_cmds_GCJ=$old_archive_cmds
15479: 
15480: ## CAVEAT EMPTOR:
15481: ## There is no encapsulation within the following macros, do not change
15482: ## the running order or otherwise move them around unless you know exactly
15483: ## what you are doing...
15484: 
15485: lt_prog_compiler_no_builtin_flag_GCJ=
15486: 
15487: if test "$GCC" = yes; then
15488:   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15489: 
15490: 
15491: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15492: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15493: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15494:   echo $ECHO_N "(cached) $ECHO_C" >&6
15495: else
15496:   lt_cv_prog_compiler_rtti_exceptions=no
15497:   ac_outfile=conftest.$ac_objext
15498:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15499:    lt_compiler_flag="-fno-rtti -fno-exceptions"
15500:    # Insert the option either (1) after the last *FLAGS variable, or
15501:    # (2) before a word containing "conftest.", or (3) at the end.
15502:    # Note that $ac_compile itself does not contain backslashes and begins
15503:    # with a dollar sign (not a hyphen), so the echo should work correctly.
15504:    # The option is referenced via a variable to avoid confusing sed.
15505:    lt_compile=`echo "$ac_compile" | $SED \
15506:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15507:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15508:    -e 's:$: $lt_compiler_flag:'`
15509:    (eval echo "\"\$as_me:15509: $lt_compile\"" >&5)
15510:    (eval "$lt_compile" 2>conftest.err)
15511:    ac_status=$?
15512:    cat conftest.err >&5
15513:    echo "$as_me:15513: \$? = $ac_status" >&5
15514:    if (exit $ac_status) && test -s "$ac_outfile"; then
15515:      # The compiler can only warn and ignore the option if not recognized
15516:      # So say no if there are warnings other than the usual output.
15517:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15518:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15519:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15520:        lt_cv_prog_compiler_rtti_exceptions=yes
15521:      fi
15522:    fi
15523:    $rm conftest*
15524: 
15525: fi
15526: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15527: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15528: 
15529: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15530:     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15531: else
15532:     :
15533: fi
15534: 
15535: fi
15536: 
15537: lt_prog_compiler_wl_GCJ=
15538: lt_prog_compiler_pic_GCJ=
15539: lt_prog_compiler_static_GCJ=
15540: 
15541: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15542: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15543: 
15544:   if test "$GCC" = yes; then
15545:     lt_prog_compiler_wl_GCJ='-Wl,'
15546:     lt_prog_compiler_static_GCJ='-static'
15547: 
15548:     case $host_os in
15549:       aix*)
15550:       # All AIX code is PIC.
15551:       if test "$host_cpu" = ia64; then
15552: 	# AIX 5 now supports IA64 processor
15553: 	lt_prog_compiler_static_GCJ='-Bstatic'
15554:       fi
15555:       ;;
15556: 
15557:     amigaos*)
15558:       # FIXME: we need at least 68020 code to build shared libraries, but
15559:       # adding the `-m68020' flag to GCC prevents building anything better,
15560:       # like `-m68040'.
15561:       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15562:       ;;
15563: 
15564:     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15565:       # PIC is the default for these OSes.
15566:       ;;
15567: 
15568:     mingw* | pw32* | os2*)
15569:       # This hack is so that the source file can tell whether it is being
15570:       # built for inclusion in a dll (and should export symbols for example).
15571:       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15572:       ;;
15573: 
15574:     darwin* | rhapsody*)
15575:       # PIC is the default on this platform
15576:       # Common symbols not allowed in MH_DYLIB files
15577:       lt_prog_compiler_pic_GCJ='-fno-common'
15578:       ;;
15579: 
15580:     interix3*)
15581:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15582:       # Instead, we relocate shared libraries at runtime.
15583:       ;;
15584: 
15585:     msdosdjgpp*)
15586:       # Just because we use GCC doesn't mean we suddenly get shared libraries
15587:       # on systems that don't support them.
15588:       lt_prog_compiler_can_build_shared_GCJ=no
15589:       enable_shared=no
15590:       ;;
15591: 
15592:     sysv4*MP*)
15593:       if test -d /usr/nec; then
15594: 	lt_prog_compiler_pic_GCJ=-Kconform_pic
15595:       fi
15596:       ;;
15597: 
15598:     hpux*)
15599:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15600:       # not for PA HP-UX.
15601:       case $host_cpu in
15602:       hppa*64*|ia64*)
15603: 	# +Z the default
15604: 	;;
15605:       *)
15606: 	lt_prog_compiler_pic_GCJ='-fPIC'
15607: 	;;
15608:       esac
15609:       ;;
15610: 
15611:     *)
15612:       lt_prog_compiler_pic_GCJ='-fPIC'
15613:       ;;
15614:     esac
15615:   else
15616:     # PORTME Check for flag to pass linker flags through the system compiler.
15617:     case $host_os in
15618:     aix*)
15619:       lt_prog_compiler_wl_GCJ='-Wl,'
15620:       if test "$host_cpu" = ia64; then
15621: 	# AIX 5 now supports IA64 processor
15622: 	lt_prog_compiler_static_GCJ='-Bstatic'
15623:       else
15624: 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15625:       fi
15626:       ;;
15627:       darwin*)
15628:         # PIC is the default on this platform
15629:         # Common symbols not allowed in MH_DYLIB files
15630:        case $cc_basename in
15631:          xlc*)
15632:          lt_prog_compiler_pic_GCJ='-qnocommon'
15633:          lt_prog_compiler_wl_GCJ='-Wl,'
15634:          ;;
15635:        esac
15636:        ;;
15637: 
15638:     mingw* | pw32* | os2*)
15639:       # This hack is so that the source file can tell whether it is being
15640:       # built for inclusion in a dll (and should export symbols for example).
15641:       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15642:       ;;
15643: 
15644:     hpux9* | hpux10* | hpux11*)
15645:       lt_prog_compiler_wl_GCJ='-Wl,'
15646:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15647:       # not for PA HP-UX.
15648:       case $host_cpu in
15649:       hppa*64*|ia64*)
15650: 	# +Z the default
15651: 	;;
15652:       *)
15653: 	lt_prog_compiler_pic_GCJ='+Z'
15654: 	;;
15655:       esac
15656:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
15657:       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15658:       ;;
15659: 
15660:     irix5* | irix6* | nonstopux*)
15661:       lt_prog_compiler_wl_GCJ='-Wl,'
15662:       # PIC (with -KPIC) is the default.
15663:       lt_prog_compiler_static_GCJ='-non_shared'
15664:       ;;
15665: 
15666:     newsos6)
15667:       lt_prog_compiler_pic_GCJ='-KPIC'
15668:       lt_prog_compiler_static_GCJ='-Bstatic'
15669:       ;;
15670: 
15671:     linux*)
15672:       case $cc_basename in
15673:       icc* | ecc*)
15674: 	lt_prog_compiler_wl_GCJ='-Wl,'
15675: 	lt_prog_compiler_pic_GCJ='-KPIC'
15676: 	lt_prog_compiler_static_GCJ='-static'
15677:         ;;
15678:       pgcc* | pgf77* | pgf90* | pgf95*)
15679:         # Portland Group compilers (*not* the Pentium gcc compiler,
15680: 	# which looks to be a dead project)
15681: 	lt_prog_compiler_wl_GCJ='-Wl,'
15682: 	lt_prog_compiler_pic_GCJ='-fpic'
15683: 	lt_prog_compiler_static_GCJ='-Bstatic'
15684:         ;;
15685:       ccc*)
15686:         lt_prog_compiler_wl_GCJ='-Wl,'
15687:         # All Alpha code is PIC.
15688:         lt_prog_compiler_static_GCJ='-non_shared'
15689:         ;;
15690:       esac
15691:       ;;
15692: 
15693:     osf3* | osf4* | osf5*)
15694:       lt_prog_compiler_wl_GCJ='-Wl,'
15695:       # All OSF/1 code is PIC.
15696:       lt_prog_compiler_static_GCJ='-non_shared'
15697:       ;;
15698: 
15699:     solaris*)
15700:       lt_prog_compiler_pic_GCJ='-KPIC'
15701:       lt_prog_compiler_static_GCJ='-Bstatic'
15702:       case $cc_basename in
15703:       f77* | f90* | f95*)
15704: 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15705:       *)
15706: 	lt_prog_compiler_wl_GCJ='-Wl,';;
15707:       esac
15708:       ;;
15709: 
15710:     sunos4*)
15711:       lt_prog_compiler_wl_GCJ='-Qoption ld '
15712:       lt_prog_compiler_pic_GCJ='-PIC'
15713:       lt_prog_compiler_static_GCJ='-Bstatic'
15714:       ;;
15715: 
15716:     sysv4 | sysv4.2uw2* | sysv4.3*)
15717:       lt_prog_compiler_wl_GCJ='-Wl,'
15718:       lt_prog_compiler_pic_GCJ='-KPIC'
15719:       lt_prog_compiler_static_GCJ='-Bstatic'
15720:       ;;
15721: 
15722:     sysv4*MP*)
15723:       if test -d /usr/nec ;then
15724: 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
15725: 	lt_prog_compiler_static_GCJ='-Bstatic'
15726:       fi
15727:       ;;
15728: 
15729:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15730:       lt_prog_compiler_wl_GCJ='-Wl,'
15731:       lt_prog_compiler_pic_GCJ='-KPIC'
15732:       lt_prog_compiler_static_GCJ='-Bstatic'
15733:       ;;
15734: 
15735:     unicos*)
15736:       lt_prog_compiler_wl_GCJ='-Wl,'
15737:       lt_prog_compiler_can_build_shared_GCJ=no
15738:       ;;
15739: 
15740:     uts4*)
15741:       lt_prog_compiler_pic_GCJ='-pic'
15742:       lt_prog_compiler_static_GCJ='-Bstatic'
15743:       ;;
15744: 
15745:     *)
15746:       lt_prog_compiler_can_build_shared_GCJ=no
15747:       ;;
15748:     esac
15749:   fi
15750: 
15751: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15752: echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15753: 
15754: #
15755: # Check to make sure the PIC flag actually works.
15756: #
15757: if test -n "$lt_prog_compiler_pic_GCJ"; then
15758: 
15759: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15760: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15761: if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15762:   echo $ECHO_N "(cached) $ECHO_C" >&6
15763: else
15764:   lt_prog_compiler_pic_works_GCJ=no
15765:   ac_outfile=conftest.$ac_objext
15766:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15767:    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15768:    # Insert the option either (1) after the last *FLAGS variable, or
15769:    # (2) before a word containing "conftest.", or (3) at the end.
15770:    # Note that $ac_compile itself does not contain backslashes and begins
15771:    # with a dollar sign (not a hyphen), so the echo should work correctly.
15772:    # The option is referenced via a variable to avoid confusing sed.
15773:    lt_compile=`echo "$ac_compile" | $SED \
15774:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15775:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15776:    -e 's:$: $lt_compiler_flag:'`
15777:    (eval echo "\"\$as_me:15777: $lt_compile\"" >&5)
15778:    (eval "$lt_compile" 2>conftest.err)
15779:    ac_status=$?
15780:    cat conftest.err >&5
15781:    echo "$as_me:15781: \$? = $ac_status" >&5
15782:    if (exit $ac_status) && test -s "$ac_outfile"; then
15783:      # The compiler can only warn and ignore the option if not recognized
15784:      # So say no if there are warnings other than the usual output.
15785:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15786:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15787:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15788:        lt_prog_compiler_pic_works_GCJ=yes
15789:      fi
15790:    fi
15791:    $rm conftest*
15792: 
15793: fi
15794: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15795: echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15796: 
15797: if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15798:     case $lt_prog_compiler_pic_GCJ in
15799:      "" | " "*) ;;
15800:      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15801:      esac
15802: else
15803:     lt_prog_compiler_pic_GCJ=
15804:      lt_prog_compiler_can_build_shared_GCJ=no
15805: fi
15806: 
15807: fi
15808: case $host_os in
15809:   # For platforms which do not support PIC, -DPIC is meaningless:
15810:   *djgpp*)
15811:     lt_prog_compiler_pic_GCJ=
15812:     ;;
15813:   *)
15814:     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15815:     ;;
15816: esac
15817: 
15818: #
15819: # Check to make sure the static flag actually works.
15820: #
15821: wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15822: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15823: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15824: if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15825:   echo $ECHO_N "(cached) $ECHO_C" >&6
15826: else
15827:   lt_prog_compiler_static_works_GCJ=no
15828:    save_LDFLAGS="$LDFLAGS"
15829:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15830:    printf "$lt_simple_link_test_code" > conftest.$ac_ext
15831:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15832:      # The linker can only warn and ignore the option if not recognized
15833:      # So say no if there are warnings
15834:      if test -s conftest.err; then
15835:        # Append any errors to the config.log.
15836:        cat conftest.err 1>&5
15837:        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15838:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15839:        if diff conftest.exp conftest.er2 >/dev/null; then
15840:          lt_prog_compiler_static_works_GCJ=yes
15841:        fi
15842:      else
15843:        lt_prog_compiler_static_works_GCJ=yes
15844:      fi
15845:    fi
15846:    $rm conftest*
15847:    LDFLAGS="$save_LDFLAGS"
15848: 
15849: fi
15850: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15851: echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15852: 
15853: if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15854:     :
15855: else
15856:     lt_prog_compiler_static_GCJ=
15857: fi
15858: 
15859: 
15860: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15861: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15862: if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15863:   echo $ECHO_N "(cached) $ECHO_C" >&6
15864: else
15865:   lt_cv_prog_compiler_c_o_GCJ=no
15866:    $rm -r conftest 2>/dev/null
15867:    mkdir conftest
15868:    cd conftest
15869:    mkdir out
15870:    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15871: 
15872:    lt_compiler_flag="-o out/conftest2.$ac_objext"
15873:    # Insert the option either (1) after the last *FLAGS variable, or
15874:    # (2) before a word containing "conftest.", or (3) at the end.
15875:    # Note that $ac_compile itself does not contain backslashes and begins
15876:    # with a dollar sign (not a hyphen), so the echo should work correctly.
15877:    lt_compile=`echo "$ac_compile" | $SED \
15878:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15879:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15880:    -e 's:$: $lt_compiler_flag:'`
15881:    (eval echo "\"\$as_me:15881: $lt_compile\"" >&5)
15882:    (eval "$lt_compile" 2>out/conftest.err)
15883:    ac_status=$?
15884:    cat out/conftest.err >&5
15885:    echo "$as_me:15885: \$? = $ac_status" >&5
15886:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15887:    then
15888:      # The compiler can only warn and ignore the option if not recognized
15889:      # So say no if there are warnings
15890:      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15891:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15892:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15893:        lt_cv_prog_compiler_c_o_GCJ=yes
15894:      fi
15895:    fi
15896:    chmod u+w . 2>&5
15897:    $rm conftest*
15898:    # SGI C++ compiler will create directory out/ii_files/ for
15899:    # template instantiation
15900:    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15901:    $rm out/* && rmdir out
15902:    cd ..
15903:    rmdir conftest
15904:    $rm conftest*
15905: 
15906: fi
15907: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15908: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15909: 
15910: 
15911: hard_links="nottested"
15912: if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15913:   # do not overwrite the value of need_locks provided by the user
15914:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15915: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15916:   hard_links=yes
15917:   $rm conftest*
15918:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15919:   touch conftest.a
15920:   ln conftest.a conftest.b 2>&5 || hard_links=no
15921:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15922:   echo "$as_me:$LINENO: result: $hard_links" >&5
15923: echo "${ECHO_T}$hard_links" >&6
15924:   if test "$hard_links" = no; then
15925:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15926: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15927:     need_locks=warn
15928:   fi
15929: else
15930:   need_locks=no
15931: fi
15932: 
15933: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15934: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15935: 
15936:   runpath_var=
15937:   allow_undefined_flag_GCJ=
15938:   enable_shared_with_static_runtimes_GCJ=no
15939:   archive_cmds_GCJ=
15940:   archive_expsym_cmds_GCJ=
15941:   old_archive_From_new_cmds_GCJ=
15942:   old_archive_from_expsyms_cmds_GCJ=
15943:   export_dynamic_flag_spec_GCJ=
15944:   whole_archive_flag_spec_GCJ=
15945:   thread_safe_flag_spec_GCJ=
15946:   hardcode_libdir_flag_spec_GCJ=
15947:   hardcode_libdir_flag_spec_ld_GCJ=
15948:   hardcode_libdir_separator_GCJ=
15949:   hardcode_direct_GCJ=no
15950:   hardcode_minus_L_GCJ=no
15951:   hardcode_shlibpath_var_GCJ=unsupported
15952:   link_all_deplibs_GCJ=unknown
15953:   hardcode_automatic_GCJ=no
15954:   module_cmds_GCJ=
15955:   module_expsym_cmds_GCJ=
15956:   always_export_symbols_GCJ=no
15957:   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15958:   # include_expsyms should be a list of space-separated symbols to be *always*
15959:   # included in the symbol list
15960:   include_expsyms_GCJ=
15961:   # exclude_expsyms can be an extended regexp of symbols to exclude
15962:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
15963:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15964:   # as well as any symbol that contains `d'.
15965:   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15966:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15967:   # platforms (ab)use it in PIC code, but their linkers get confused if
15968:   # the symbol is explicitly referenced.  Since portable code cannot
15969:   # rely on this symbol name, it's probably fine to never include it in
15970:   # preloaded symbol tables.
15971:   extract_expsyms_cmds=
15972:   # Just being paranoid about ensuring that cc_basename is set.
15973:   for cc_temp in $compiler""; do
15974:   case $cc_temp in
15975:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15976:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15977:     \-*) ;;
15978:     *) break;;
15979:   esac
15980: done
15981: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15982: 
15983:   case $host_os in
15984:   cygwin* | mingw* | pw32*)
15985:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
15986:     # When not using gcc, we currently assume that we are using
15987:     # Microsoft Visual C++.
15988:     if test "$GCC" != yes; then
15989:       with_gnu_ld=no
15990:     fi
15991:     ;;
15992:   interix*)
15993:     # we just hope/assume this is gcc and not c89 (= MSVC++)
15994:     with_gnu_ld=yes
15995:     ;;
15996:   openbsd*)
15997:     with_gnu_ld=no
15998:     ;;
15999:   esac
16000: 
16001:   ld_shlibs_GCJ=yes
16002:   if test "$with_gnu_ld" = yes; then
16003:     # If archive_cmds runs LD, not CC, wlarc should be empty
16004:     wlarc='${wl}'
16005: 
16006:     # Set some defaults for GNU ld with shared library support. These
16007:     # are reset later if shared libraries are not supported. Putting them
16008:     # here allows them to be overridden if necessary.
16009:     runpath_var=LD_RUN_PATH
16010:     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16011:     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16012:     # ancient GNU ld didn't support --whole-archive et. al.
16013:     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16014: 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16015:       else
16016:   	whole_archive_flag_spec_GCJ=
16017:     fi
16018:     supports_anon_versioning=no
16019:     case `$LD -v 2>/dev/null` in
16020:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16021:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16022:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16023:       *\ 2.11.*) ;; # other 2.11 versions
16024:       *) supports_anon_versioning=yes ;;
16025:     esac
16026: 
16027:     # See if GNU ld supports shared libraries.
16028:     case $host_os in
16029:     aix3* | aix4* | aix5*)
16030:       # On AIX/PPC, the GNU linker is very broken
16031:       if test "$host_cpu" != ia64; then
16032: 	ld_shlibs_GCJ=no
16033: 	cat <<EOF 1>&2
16034: 
16035: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16036: *** to be unable to reliably create shared libraries on AIX.
16037: *** Therefore, libtool is disabling shared libraries support.  If you
16038: *** really care for shared libraries, you may want to modify your PATH
16039: *** so that a non-GNU linker is found, and then restart.
16040: 
16041: EOF
16042:       fi
16043:       ;;
16044: 
16045:     amigaos*)
16046:       archive_cmds_GCJ='$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)'
16047:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16048:       hardcode_minus_L_GCJ=yes
16049: 
16050:       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16051:       # that the semantics of dynamic libraries on AmigaOS, at least up
16052:       # to version 4, is to share data among multiple programs linked
16053:       # with the same dynamic library.  Since this doesn't match the
16054:       # behavior of shared libraries on other platforms, we can't use
16055:       # them.
16056:       ld_shlibs_GCJ=no
16057:       ;;
16058: 
16059:     beos*)
16060:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16061: 	allow_undefined_flag_GCJ=unsupported
16062: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16063: 	# support --undefined.  This deserves some investigation.  FIXME
16064: 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16065:       else
16066: 	ld_shlibs_GCJ=no
16067:       fi
16068:       ;;
16069: 
16070:     cygwin* | mingw* | pw32*)
16071:       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16072:       # as there is no search path for DLLs.
16073:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16074:       allow_undefined_flag_GCJ=unsupported
16075:       always_export_symbols_GCJ=no
16076:       enable_shared_with_static_runtimes_GCJ=yes
16077:       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16078: 
16079:       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16080:         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16081: 	# If the export-symbols file already is a .def file (1st line
16082: 	# is EXPORTS), use it as is; otherwise, prepend...
16083: 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16084: 	  cp $export_symbols $output_objdir/$soname.def;
16085: 	else
16086: 	  echo EXPORTS > $output_objdir/$soname.def;
16087: 	  cat $export_symbols >> $output_objdir/$soname.def;
16088: 	fi~
16089: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16090:       else
16091: 	ld_shlibs_GCJ=no
16092:       fi
16093:       ;;
16094: 
16095:     interix3*)
16096:       hardcode_direct_GCJ=no
16097:       hardcode_shlibpath_var_GCJ=no
16098:       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16099:       export_dynamic_flag_spec_GCJ='${wl}-E'
16100:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16101:       # Instead, shared libraries are loaded at an image base (0x10000000 by
16102:       # default) and relocated if they conflict, which is a slow very memory
16103:       # consuming and fragmenting process.  To avoid this, we pick a random,
16104:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16105:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16106:       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16107:       archive_expsym_cmds_GCJ='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'
16108:       ;;
16109: 
16110:     linux*)
16111:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16112: 	tmp_addflag=
16113: 	case $cc_basename,$host_cpu in
16114: 	pgcc*)				# Portland Group C compiler
16115: 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16116: 	  tmp_addflag=' $pic_flag'
16117: 	  ;;
16118: 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
16119: 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16120: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
16121: 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
16122: 	  tmp_addflag=' -i_dynamic' ;;
16123: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
16124: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
16125: 	ifc* | ifort*)			# Intel Fortran compiler
16126: 	  tmp_addflag=' -nofor_main' ;;
16127: 	esac
16128: 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16129: 
16130: 	if test $supports_anon_versioning = yes; then
16131: 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16132:   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16133:   $echo "local: *; };" >> $output_objdir/$libname.ver~
16134: 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16135: 	fi
16136:       else
16137: 	ld_shlibs_GCJ=no
16138:       fi
16139:       ;;
16140: 
16141:     netbsd*)
16142:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16143: 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16144: 	wlarc=
16145:       else
16146: 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16147: 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16148:       fi
16149:       ;;
16150: 
16151:     solaris*)
16152:       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16153: 	ld_shlibs_GCJ=no
16154: 	cat <<EOF 1>&2
16155: 
16156: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16157: *** create shared libraries on Solaris systems.  Therefore, libtool
16158: *** is disabling shared libraries support.  We urge you to upgrade GNU
16159: *** binutils to release 2.9.1 or newer.  Another option is to modify
16160: *** your PATH or compiler configuration so that the native linker is
16161: *** used, and then restart.
16162: 
16163: EOF
16164:       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16165: 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16166: 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16167:       else
16168: 	ld_shlibs_GCJ=no
16169:       fi
16170:       ;;
16171: 
16172:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16173:       case `$LD -v 2>&1` in
16174:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16175: 	ld_shlibs_GCJ=no
16176: 	cat <<_LT_EOF 1>&2
16177: 
16178: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16179: *** reliably create shared libraries on SCO systems.  Therefore, libtool
16180: *** is disabling shared libraries support.  We urge you to upgrade GNU
16181: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16182: *** your PATH or compiler configuration so that the native linker is
16183: *** used, and then restart.
16184: 
16185: _LT_EOF
16186: 	;;
16187: 	*)
16188: 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16189: 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16190: 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16191: 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16192: 	  else
16193: 	    ld_shlibs_GCJ=no
16194: 	  fi
16195: 	;;
16196:       esac
16197:       ;;
16198: 
16199:     sunos4*)
16200:       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16201:       wlarc=
16202:       hardcode_direct_GCJ=yes
16203:       hardcode_shlibpath_var_GCJ=no
16204:       ;;
16205: 
16206:     *)
16207:       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16208: 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16209: 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16210:       else
16211: 	ld_shlibs_GCJ=no
16212:       fi
16213:       ;;
16214:     esac
16215: 
16216:     if test "$ld_shlibs_GCJ" = no; then
16217:       runpath_var=
16218:       hardcode_libdir_flag_spec_GCJ=
16219:       export_dynamic_flag_spec_GCJ=
16220:       whole_archive_flag_spec_GCJ=
16221:     fi
16222:   else
16223:     # PORTME fill in a description of your system's linker (not GNU ld)
16224:     case $host_os in
16225:     aix3*)
16226:       allow_undefined_flag_GCJ=unsupported
16227:       always_export_symbols_GCJ=yes
16228:       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16229:       # Note: this linker hardcodes the directories in LIBPATH if there
16230:       # are no directories specified by -L.
16231:       hardcode_minus_L_GCJ=yes
16232:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16233: 	# Neither direct hardcoding nor static linking is supported with a
16234: 	# broken collect2.
16235: 	hardcode_direct_GCJ=unsupported
16236:       fi
16237:       ;;
16238: 
16239:     aix4* | aix5*)
16240:       if test "$host_cpu" = ia64; then
16241: 	# On IA64, the linker does run time linking by default, so we don't
16242: 	# have to do anything special.
16243: 	aix_use_runtimelinking=no
16244: 	exp_sym_flag='-Bexport'
16245: 	no_entry_flag=""
16246:       else
16247: 	# If we're using GNU nm, then we don't want the "-C" option.
16248: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
16249: 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16250: 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16251: 	else
16252: 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16253: 	fi
16254: 	aix_use_runtimelinking=no
16255: 
16256: 	# Test if we are trying to use run time linking or normal
16257: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
16258: 	# need to do runtime linking.
16259: 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16260: 	  for ld_flag in $LDFLAGS; do
16261:   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16262:   	    aix_use_runtimelinking=yes
16263:   	    break
16264:   	  fi
16265: 	  done
16266: 	  ;;
16267: 	esac
16268: 
16269: 	exp_sym_flag='-bexport'
16270: 	no_entry_flag='-bnoentry'
16271:       fi
16272: 
16273:       # When large executables or shared objects are built, AIX ld can
16274:       # have problems creating the table of contents.  If linking a library
16275:       # or program results in "error TOC overflow" add -mminimal-toc to
16276:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16277:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16278: 
16279:       archive_cmds_GCJ=''
16280:       hardcode_direct_GCJ=yes
16281:       hardcode_libdir_separator_GCJ=':'
16282:       link_all_deplibs_GCJ=yes
16283: 
16284:       if test "$GCC" = yes; then
16285: 	case $host_os in aix4.[012]|aix4.[012].*)
16286: 	# We only want to do this on AIX 4.2 and lower, the check
16287: 	# below for broken collect2 doesn't work under 4.3+
16288: 	  collect2name=`${CC} -print-prog-name=collect2`
16289: 	  if test -f "$collect2name" && \
16290:   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
16291: 	  then
16292:   	  # We have reworked collect2
16293:   	  hardcode_direct_GCJ=yes
16294: 	  else
16295:   	  # We have old collect2
16296:   	  hardcode_direct_GCJ=unsupported
16297:   	  # It fails to find uninstalled libraries when the uninstalled
16298:   	  # path is not listed in the libpath.  Setting hardcode_minus_L
16299:   	  # to unsupported forces relinking
16300:   	  hardcode_minus_L_GCJ=yes
16301:   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
16302:   	  hardcode_libdir_separator_GCJ=
16303: 	  fi
16304: 	  ;;
16305: 	esac
16306: 	shared_flag='-shared'
16307: 	if test "$aix_use_runtimelinking" = yes; then
16308: 	  shared_flag="$shared_flag "'${wl}-G'
16309: 	fi
16310:       else
16311: 	# not using gcc
16312: 	if test "$host_cpu" = ia64; then
16313:   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16314:   	# chokes on -Wl,-G. The following line is correct:
16315: 	  shared_flag='-G'
16316: 	else
16317: 	  if test "$aix_use_runtimelinking" = yes; then
16318: 	    shared_flag='${wl}-G'
16319: 	  else
16320: 	    shared_flag='${wl}-bM:SRE'
16321: 	  fi
16322: 	fi
16323:       fi
16324: 
16325:       # It seems that -bexpall does not export symbols beginning with
16326:       # underscore (_), so it is better to generate a list of symbols to export.
16327:       always_export_symbols_GCJ=yes
16328:       if test "$aix_use_runtimelinking" = yes; then
16329: 	# Warning - without using the other runtime loading flags (-brtl),
16330: 	# -berok will link without error, but may produce a broken library.
16331: 	allow_undefined_flag_GCJ='-berok'
16332:        # Determine the default libpath from the value encoded in an empty executable.
16333:        cat >conftest.$ac_ext <<_ACEOF
16334: /* confdefs.h.  */
16335: _ACEOF
16336: cat confdefs.h >>conftest.$ac_ext
16337: cat >>conftest.$ac_ext <<_ACEOF
16338: /* end confdefs.h.  */
16339: 
16340: int
16341: main ()
16342: {
16343: 
16344:   ;
16345:   return 0;
16346: }
16347: _ACEOF
16348: rm -f conftest.$ac_objext conftest$ac_exeext
16349: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350:   (eval $ac_link) 2>conftest.er1
16351:   ac_status=$?
16352:   grep -v '^ *+' conftest.er1 >conftest.err
16353:   rm -f conftest.er1
16354:   cat conftest.err >&5
16355:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356:   (exit $ac_status); } &&
16357: 	 { ac_try='test -z "$ac_c_werror_flag"
16358: 			 || test ! -s conftest.err'
16359:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360:   (eval $ac_try) 2>&5
16361:   ac_status=$?
16362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363:   (exit $ac_status); }; } &&
16364: 	 { ac_try='test -s conftest$ac_exeext'
16365:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366:   (eval $ac_try) 2>&5
16367:   ac_status=$?
16368:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369:   (exit $ac_status); }; }; then
16370: 
16371: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16372: }'`
16373: # Check for a 64-bit object if we didn't find anything.
16374: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16375: }'`; fi
16376: else
16377:   echo "$as_me: failed program was:" >&5
16378: sed 's/^/| /' conftest.$ac_ext >&5
16379: 
16380: fi
16381: rm -f conftest.err conftest.$ac_objext \
16382:       conftest$ac_exeext conftest.$ac_ext
16383: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16384: 
16385:        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16386: 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16387:        else
16388: 	if test "$host_cpu" = ia64; then
16389: 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16390: 	  allow_undefined_flag_GCJ="-z nodefs"
16391: 	  archive_expsym_cmds_GCJ="\$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"
16392: 	else
16393: 	 # Determine the default libpath from the value encoded in an empty executable.
16394: 	 cat >conftest.$ac_ext <<_ACEOF
16395: /* confdefs.h.  */
16396: _ACEOF
16397: cat confdefs.h >>conftest.$ac_ext
16398: cat >>conftest.$ac_ext <<_ACEOF
16399: /* end confdefs.h.  */
16400: 
16401: int
16402: main ()
16403: {
16404: 
16405:   ;
16406:   return 0;
16407: }
16408: _ACEOF
16409: rm -f conftest.$ac_objext conftest$ac_exeext
16410: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16411:   (eval $ac_link) 2>conftest.er1
16412:   ac_status=$?
16413:   grep -v '^ *+' conftest.er1 >conftest.err
16414:   rm -f conftest.er1
16415:   cat conftest.err >&5
16416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417:   (exit $ac_status); } &&
16418: 	 { ac_try='test -z "$ac_c_werror_flag"
16419: 			 || test ! -s conftest.err'
16420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421:   (eval $ac_try) 2>&5
16422:   ac_status=$?
16423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424:   (exit $ac_status); }; } &&
16425: 	 { ac_try='test -s conftest$ac_exeext'
16426:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427:   (eval $ac_try) 2>&5
16428:   ac_status=$?
16429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430:   (exit $ac_status); }; }; then
16431: 
16432: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16433: }'`
16434: # Check for a 64-bit object if we didn't find anything.
16435: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16436: }'`; fi
16437: else
16438:   echo "$as_me: failed program was:" >&5
16439: sed 's/^/| /' conftest.$ac_ext >&5
16440: 
16441: fi
16442: rm -f conftest.err conftest.$ac_objext \
16443:       conftest$ac_exeext conftest.$ac_ext
16444: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16445: 
16446: 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16447: 	  # Warning - without using the other run time loading flags,
16448: 	  # -berok will link without error, but may produce a broken library.
16449: 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
16450: 	  allow_undefined_flag_GCJ=' ${wl}-berok'
16451: 	  # Exported symbols can be pulled into shared objects from archives
16452: 	  whole_archive_flag_spec_GCJ='$convenience'
16453: 	  archive_cmds_need_lc_GCJ=yes
16454: 	  # This is similar to how AIX traditionally builds its shared libraries.
16455: 	  archive_expsym_cmds_GCJ="\$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'
16456: 	fi
16457:       fi
16458:       ;;
16459: 
16460:     amigaos*)
16461:       archive_cmds_GCJ='$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)'
16462:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16463:       hardcode_minus_L_GCJ=yes
16464:       # see comment about different semantics on the GNU ld section
16465:       ld_shlibs_GCJ=no
16466:       ;;
16467: 
16468:     bsdi[45]*)
16469:       export_dynamic_flag_spec_GCJ=-rdynamic
16470:       ;;
16471: 
16472:     cygwin* | mingw* | pw32*)
16473:       # When not using gcc, we currently assume that we are using
16474:       # Microsoft Visual C++.
16475:       # hardcode_libdir_flag_spec is actually meaningless, as there is
16476:       # no search path for DLLs.
16477:       hardcode_libdir_flag_spec_GCJ=' '
16478:       allow_undefined_flag_GCJ=unsupported
16479:       # Tell ltmain to make .lib files, not .a files.
16480:       libext=lib
16481:       # Tell ltmain to make .dll files, not .so files.
16482:       shrext_cmds=".dll"
16483:       # FIXME: Setting linknames here is a bad hack.
16484:       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16485:       # The linker will automatically build a .lib file if we build a DLL.
16486:       old_archive_From_new_cmds_GCJ='true'
16487:       # FIXME: Should let the user specify the lib program.
16488:       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16489:       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16490:       enable_shared_with_static_runtimes_GCJ=yes
16491:       ;;
16492: 
16493:     darwin* | rhapsody*)
16494:       case $host_os in
16495:         rhapsody* | darwin1.[012])
16496:          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16497:          ;;
16498:        *) # Darwin 1.3 on
16499:          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16500:            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16501:          else
16502:            case ${MACOSX_DEPLOYMENT_TARGET} in
16503:              10.[012])
16504:                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16505:                ;;
16506:              10.*)
16507:                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16508:                ;;
16509:            esac
16510:          fi
16511:          ;;
16512:       esac
16513:       archive_cmds_need_lc_GCJ=no
16514:       hardcode_direct_GCJ=no
16515:       hardcode_automatic_GCJ=yes
16516:       hardcode_shlibpath_var_GCJ=unsupported
16517:       whole_archive_flag_spec_GCJ=''
16518:       link_all_deplibs_GCJ=yes
16519:     if test "$GCC" = yes ; then
16520:     	output_verbose_link_cmd='echo'
16521:         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16522:       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16523:       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16524:       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16525:       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16526:     else
16527:       case $cc_basename in
16528:         xlc*)
16529:          output_verbose_link_cmd='echo'
16530:          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16531:          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16532:           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16533:          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16534:           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16535:           ;;
16536:        *)
16537:          ld_shlibs_GCJ=no
16538:           ;;
16539:       esac
16540:     fi
16541:       ;;
16542: 
16543:     dgux*)
16544:       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16545:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16546:       hardcode_shlibpath_var_GCJ=no
16547:       ;;
16548: 
16549:     freebsd1*)
16550:       ld_shlibs_GCJ=no
16551:       ;;
16552: 
16553:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16554:     # support.  Future versions do this automatically, but an explicit c++rt0.o
16555:     # does not break anything, and helps significantly (at the cost of a little
16556:     # extra space).
16557:     freebsd2.2*)
16558:       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16559:       hardcode_libdir_flag_spec_GCJ='-R$libdir'
16560:       hardcode_direct_GCJ=yes
16561:       hardcode_shlibpath_var_GCJ=no
16562:       ;;
16563: 
16564:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16565:     freebsd2*)
16566:       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16567:       hardcode_direct_GCJ=yes
16568:       hardcode_minus_L_GCJ=yes
16569:       hardcode_shlibpath_var_GCJ=no
16570:       ;;
16571: 
16572:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16573:     freebsd* | kfreebsd*-gnu | dragonfly*)
16574:       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16575:       hardcode_libdir_flag_spec_GCJ='-R$libdir'
16576:       hardcode_direct_GCJ=yes
16577:       hardcode_shlibpath_var_GCJ=no
16578:       ;;
16579: 
16580:     hpux9*)
16581:       if test "$GCC" = yes; then
16582: 	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16583:       else
16584: 	archive_cmds_GCJ='$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'
16585:       fi
16586:       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16587:       hardcode_libdir_separator_GCJ=:
16588:       hardcode_direct_GCJ=yes
16589: 
16590:       # hardcode_minus_L: Not really in the search PATH,
16591:       # but as the default location of the library.
16592:       hardcode_minus_L_GCJ=yes
16593:       export_dynamic_flag_spec_GCJ='${wl}-E'
16594:       ;;
16595: 
16596:     hpux10*)
16597:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16598: 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16599:       else
16600: 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16601:       fi
16602:       if test "$with_gnu_ld" = no; then
16603: 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16604: 	hardcode_libdir_separator_GCJ=:
16605: 
16606: 	hardcode_direct_GCJ=yes
16607: 	export_dynamic_flag_spec_GCJ='${wl}-E'
16608: 
16609: 	# hardcode_minus_L: Not really in the search PATH,
16610: 	# but as the default location of the library.
16611: 	hardcode_minus_L_GCJ=yes
16612:       fi
16613:       ;;
16614: 
16615:     hpux11*)
16616:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16617: 	case $host_cpu in
16618: 	hppa*64*)
16619: 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16620: 	  ;;
16621: 	ia64*)
16622: 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16623: 	  ;;
16624: 	*)
16625: 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16626: 	  ;;
16627: 	esac
16628:       else
16629: 	case $host_cpu in
16630: 	hppa*64*)
16631: 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16632: 	  ;;
16633: 	ia64*)
16634: 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16635: 	  ;;
16636: 	*)
16637: 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16638: 	  ;;
16639: 	esac
16640:       fi
16641:       if test "$with_gnu_ld" = no; then
16642: 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16643: 	hardcode_libdir_separator_GCJ=:
16644: 
16645: 	case $host_cpu in
16646: 	hppa*64*|ia64*)
16647: 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16648: 	  hardcode_direct_GCJ=no
16649: 	  hardcode_shlibpath_var_GCJ=no
16650: 	  ;;
16651: 	*)
16652: 	  hardcode_direct_GCJ=yes
16653: 	  export_dynamic_flag_spec_GCJ='${wl}-E'
16654: 
16655: 	  # hardcode_minus_L: Not really in the search PATH,
16656: 	  # but as the default location of the library.
16657: 	  hardcode_minus_L_GCJ=yes
16658: 	  ;;
16659: 	esac
16660:       fi
16661:       ;;
16662: 
16663:     irix5* | irix6* | nonstopux*)
16664:       if test "$GCC" = yes; then
16665: 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16666:       else
16667: 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16668: 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16669:       fi
16670:       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16671:       hardcode_libdir_separator_GCJ=:
16672:       link_all_deplibs_GCJ=yes
16673:       ;;
16674: 
16675:     netbsd*)
16676:       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16677: 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16678:       else
16679: 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16680:       fi
16681:       hardcode_libdir_flag_spec_GCJ='-R$libdir'
16682:       hardcode_direct_GCJ=yes
16683:       hardcode_shlibpath_var_GCJ=no
16684:       ;;
16685: 
16686:     newsos6)
16687:       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16688:       hardcode_direct_GCJ=yes
16689:       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16690:       hardcode_libdir_separator_GCJ=:
16691:       hardcode_shlibpath_var_GCJ=no
16692:       ;;
16693: 
16694:     openbsd*)
16695:       hardcode_direct_GCJ=yes
16696:       hardcode_shlibpath_var_GCJ=no
16697:       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16698: 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16699: 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16700: 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16701: 	export_dynamic_flag_spec_GCJ='${wl}-E'
16702:       else
16703:        case $host_os in
16704: 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16705: 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16706: 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
16707: 	   ;;
16708: 	 *)
16709: 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16710: 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16711: 	   ;;
16712:        esac
16713:       fi
16714:       ;;
16715: 
16716:     os2*)
16717:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16718:       hardcode_minus_L_GCJ=yes
16719:       allow_undefined_flag_GCJ=unsupported
16720:       archive_cmds_GCJ='$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'
16721:       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16722:       ;;
16723: 
16724:     osf3*)
16725:       if test "$GCC" = yes; then
16726: 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16727: 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16728:       else
16729: 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
16730: 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16731:       fi
16732:       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16733:       hardcode_libdir_separator_GCJ=:
16734:       ;;
16735: 
16736:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
16737:       if test "$GCC" = yes; then
16738: 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16739: 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16740: 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16741:       else
16742: 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
16743: 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16744: 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16745: 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16746: 
16747: 	# Both c and cxx compiler support -rpath directly
16748: 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16749:       fi
16750:       hardcode_libdir_separator_GCJ=:
16751:       ;;
16752: 
16753:     solaris*)
16754:       no_undefined_flag_GCJ=' -z text'
16755:       if test "$GCC" = yes; then
16756: 	wlarc='${wl}'
16757: 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16758: 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16759: 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16760:       else
16761: 	wlarc=''
16762: 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16763: 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16764:   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16765:       fi
16766:       hardcode_libdir_flag_spec_GCJ='-R$libdir'
16767:       hardcode_shlibpath_var_GCJ=no
16768:       case $host_os in
16769:       solaris2.[0-5] | solaris2.[0-5].*) ;;
16770:       *)
16771:  	# The compiler driver will combine linker options so we
16772:  	# cannot just pass the convience library names through
16773:  	# without $wl, iff we do not link with $LD.
16774:  	# Luckily, gcc supports the same syntax we need for Sun Studio.
16775:  	# Supported since Solaris 2.6 (maybe 2.5.1?)
16776:  	case $wlarc in
16777:  	'')
16778:  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16779:  	*)
16780:  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16781:  	esac ;;
16782:       esac
16783:       link_all_deplibs_GCJ=yes
16784:       ;;
16785: 
16786:     sunos4*)
16787:       if test "x$host_vendor" = xsequent; then
16788: 	# Use $CC to link under sequent, because it throws in some extra .o
16789: 	# files that make .init and .fini sections work.
16790: 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16791:       else
16792: 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16793:       fi
16794:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16795:       hardcode_direct_GCJ=yes
16796:       hardcode_minus_L_GCJ=yes
16797:       hardcode_shlibpath_var_GCJ=no
16798:       ;;
16799: 
16800:     sysv4)
16801:       case $host_vendor in
16802: 	sni)
16803: 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16804: 	  hardcode_direct_GCJ=yes # is this really true???
16805: 	;;
16806: 	siemens)
16807: 	  ## LD is ld it makes a PLAMLIB
16808: 	  ## CC just makes a GrossModule.
16809: 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16810: 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16811: 	  hardcode_direct_GCJ=no
16812:         ;;
16813: 	motorola)
16814: 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16815: 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16816: 	;;
16817:       esac
16818:       runpath_var='LD_RUN_PATH'
16819:       hardcode_shlibpath_var_GCJ=no
16820:       ;;
16821: 
16822:     sysv4.3*)
16823:       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16824:       hardcode_shlibpath_var_GCJ=no
16825:       export_dynamic_flag_spec_GCJ='-Bexport'
16826:       ;;
16827: 
16828:     sysv4*MP*)
16829:       if test -d /usr/nec; then
16830: 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16831: 	hardcode_shlibpath_var_GCJ=no
16832: 	runpath_var=LD_RUN_PATH
16833: 	hardcode_runpath_var=yes
16834: 	ld_shlibs_GCJ=yes
16835:       fi
16836:       ;;
16837: 
16838:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16839:       no_undefined_flag_GCJ='${wl}-z,text'
16840:       archive_cmds_need_lc_GCJ=no
16841:       hardcode_shlibpath_var_GCJ=no
16842:       runpath_var='LD_RUN_PATH'
16843: 
16844:       if test "$GCC" = yes; then
16845: 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16846: 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16847:       else
16848: 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16849: 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16850:       fi
16851:       ;;
16852: 
16853:     sysv5* | sco3.2v5* | sco5v6*)
16854:       # Note: We can NOT use -z defs as we might desire, because we do not
16855:       # link with -lc, and that would cause any symbols used from libc to
16856:       # always be unresolved, which means just about no library would
16857:       # ever link correctly.  If we're not using GNU ld we use -z text
16858:       # though, which does catch some bad symbols but isn't as heavy-handed
16859:       # as -z defs.
16860:       no_undefined_flag_GCJ='${wl}-z,text'
16861:       allow_undefined_flag_GCJ='${wl}-z,nodefs'
16862:       archive_cmds_need_lc_GCJ=no
16863:       hardcode_shlibpath_var_GCJ=no
16864:       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16865:       hardcode_libdir_separator_GCJ=':'
16866:       link_all_deplibs_GCJ=yes
16867:       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16868:       runpath_var='LD_RUN_PATH'
16869: 
16870:       if test "$GCC" = yes; then
16871: 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16872: 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16873:       else
16874: 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16875: 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16876:       fi
16877:       ;;
16878: 
16879:     uts4*)
16880:       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16881:       hardcode_libdir_flag_spec_GCJ='-L$libdir'
16882:       hardcode_shlibpath_var_GCJ=no
16883:       ;;
16884: 
16885:     *)
16886:       ld_shlibs_GCJ=no
16887:       ;;
16888:     esac
16889:   fi
16890: 
16891: echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16892: echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16893: test "$ld_shlibs_GCJ" = no && can_build_shared=no
16894: 
16895: #
16896: # Do we need to explicitly link libc?
16897: #
16898: case "x$archive_cmds_need_lc_GCJ" in
16899: x|xyes)
16900:   # Assume -lc should be added
16901:   archive_cmds_need_lc_GCJ=yes
16902: 
16903:   if test "$enable_shared" = yes && test "$GCC" = yes; then
16904:     case $archive_cmds_GCJ in
16905:     *'~'*)
16906:       # FIXME: we may have to deal with multi-command sequences.
16907:       ;;
16908:     '$CC '*)
16909:       # Test whether the compiler implicitly links with -lc since on some
16910:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16911:       # to ld, don't add -lc before -lgcc.
16912:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16913: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16914:       $rm conftest*
16915:       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16916: 
16917:       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918:   (eval $ac_compile) 2>&5
16919:   ac_status=$?
16920:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921:   (exit $ac_status); } 2>conftest.err; then
16922:         soname=conftest
16923:         lib=conftest
16924:         libobjs=conftest.$ac_objext
16925:         deplibs=
16926:         wl=$lt_prog_compiler_wl_GCJ
16927: 	pic_flag=$lt_prog_compiler_pic_GCJ
16928:         compiler_flags=-v
16929:         linker_flags=-v
16930:         verstring=
16931:         output_objdir=.
16932:         libname=conftest
16933:         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16934:         allow_undefined_flag_GCJ=
16935:         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16936:   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16937:   ac_status=$?
16938:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939:   (exit $ac_status); }
16940:         then
16941: 	  archive_cmds_need_lc_GCJ=no
16942:         else
16943: 	  archive_cmds_need_lc_GCJ=yes
16944:         fi
16945:         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16946:       else
16947:         cat conftest.err 1>&5
16948:       fi
16949:       $rm conftest*
16950:       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16951: echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16952:       ;;
16953:     esac
16954:   fi
16955:   ;;
16956: esac
16957: 
16958: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16959: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16960: library_names_spec=
16961: libname_spec='lib$name'
16962: soname_spec=
16963: shrext_cmds=".so"
16964: postinstall_cmds=
16965: postuninstall_cmds=
16966: finish_cmds=
16967: finish_eval=
16968: shlibpath_var=
16969: shlibpath_overrides_runpath=unknown
16970: version_type=none
16971: dynamic_linker="$host_os ld.so"
16972: sys_lib_dlsearch_path_spec="/lib /usr/lib"
16973: if test "$GCC" = yes; then
16974:   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16975:   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16976:     # if the path contains ";" then we assume it to be the separator
16977:     # otherwise default to the standard path separator (i.e. ":") - it is
16978:     # assumed that no part of a normal pathname contains ";" but that should
16979:     # okay in the real world where ";" in dirpaths is itself problematic.
16980:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16981:   else
16982:     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16983:   fi
16984: else
16985:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16986: fi
16987: need_lib_prefix=unknown
16988: hardcode_into_libs=no
16989: 
16990: # when you set need_version to no, make sure it does not cause -set_version
16991: # flags to be left without arguments
16992: need_version=unknown
16993: 
16994: case $host_os in
16995: aix3*)
16996:   version_type=linux
16997:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16998:   shlibpath_var=LIBPATH
16999: 
17000:   # AIX 3 has no versioning support, so we append a major version to the name.
17001:   soname_spec='${libname}${release}${shared_ext}$major'
17002:   ;;
17003: 
17004: aix4* | aix5*)
17005:   version_type=linux
17006:   need_lib_prefix=no
17007:   need_version=no
17008:   hardcode_into_libs=yes
17009:   if test "$host_cpu" = ia64; then
17010:     # AIX 5 supports IA64
17011:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17012:     shlibpath_var=LD_LIBRARY_PATH
17013:   else
17014:     # With GCC up to 2.95.x, collect2 would create an import file
17015:     # for dependence libraries.  The import file would start with
17016:     # the line `#! .'.  This would cause the generated library to
17017:     # depend on `.', always an invalid library.  This was fixed in
17018:     # development snapshots of GCC prior to 3.0.
17019:     case $host_os in
17020:       aix4 | aix4.[01] | aix4.[01].*)
17021:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17022: 	   echo ' yes '
17023: 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17024: 	:
17025:       else
17026: 	can_build_shared=no
17027:       fi
17028:       ;;
17029:     esac
17030:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17031:     # soname into executable. Probably we can add versioning support to
17032:     # collect2, so additional links can be useful in future.
17033:     if test "$aix_use_runtimelinking" = yes; then
17034:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17035:       # instead of lib<name>.a to let people know that these are not
17036:       # typical AIX shared libraries.
17037:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17038:     else
17039:       # We preserve .a as extension for shared libraries through AIX4.2
17040:       # and later when we are not doing run time linking.
17041:       library_names_spec='${libname}${release}.a $libname.a'
17042:       soname_spec='${libname}${release}${shared_ext}$major'
17043:     fi
17044:     shlibpath_var=LIBPATH
17045:   fi
17046:   ;;
17047: 
17048: amigaos*)
17049:   library_names_spec='$libname.ixlibrary $libname.a'
17050:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
17051:   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
17052:   ;;
17053: 
17054: beos*)
17055:   library_names_spec='${libname}${shared_ext}'
17056:   dynamic_linker="$host_os ld.so"
17057:   shlibpath_var=LIBRARY_PATH
17058:   ;;
17059: 
17060: bsdi[45]*)
17061:   version_type=linux
17062:   need_version=no
17063:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17064:   soname_spec='${libname}${release}${shared_ext}$major'
17065:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17066:   shlibpath_var=LD_LIBRARY_PATH
17067:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17068:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17069:   # the default ld.so.conf also contains /usr/contrib/lib and
17070:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17071:   # libtool to hard-code these into programs
17072:   ;;
17073: 
17074: cygwin* | mingw* | pw32*)
17075:   version_type=windows
17076:   shrext_cmds=".dll"
17077:   need_version=no
17078:   need_lib_prefix=no
17079: 
17080:   case $GCC,$host_os in
17081:   yes,cygwin* | yes,mingw* | yes,pw32*)
17082:     library_names_spec='$libname.dll.a'
17083:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17084:     postinstall_cmds='base_file=`basename \${file}`~
17085:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17086:       dldir=$destdir/`dirname \$dlpath`~
17087:       test -d \$dldir || mkdir -p \$dldir~
17088:       $install_prog $dir/$dlname \$dldir/$dlname~
17089:       chmod a+x \$dldir/$dlname'
17090:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17091:       dlpath=$dir/\$dldll~
17092:        $rm \$dlpath'
17093:     shlibpath_overrides_runpath=yes
17094: 
17095:     case $host_os in
17096:     cygwin*)
17097:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17098:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17099:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17100:       ;;
17101:     mingw*)
17102:       # MinGW DLLs use traditional 'lib' prefix
17103:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17104:       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17105:       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17106:         # It is most probably a Windows format PATH printed by
17107:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
17108:         # path with ; separators, and with drive letters. We can handle the
17109:         # drive letters (cygwin fileutils understands them), so leave them,
17110:         # especially as we might pass files found there to a mingw objdump,
17111:         # which wouldn't understand a cygwinified path. Ahh.
17112:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17113:       else
17114:         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17115:       fi
17116:       ;;
17117:     pw32*)
17118:       # pw32 DLLs use 'pw' prefix rather than 'lib'
17119:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17120:       ;;
17121:     esac
17122:     ;;
17123: 
17124:   *)
17125:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17126:     ;;
17127:   esac
17128:   dynamic_linker='Win32 ld.exe'
17129:   # FIXME: first we should search . and the directory the executable is in
17130:   shlibpath_var=PATH
17131:   ;;
17132: 
17133: darwin* | rhapsody*)
17134:   dynamic_linker="$host_os dyld"
17135:   version_type=darwin
17136:   need_lib_prefix=no
17137:   need_version=no
17138:   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17139:   soname_spec='${libname}${release}${major}$shared_ext'
17140:   shlibpath_overrides_runpath=yes
17141:   shlibpath_var=DYLD_LIBRARY_PATH
17142:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17143:   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17144:   if test "$GCC" = yes; then
17145:     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17146:   else
17147:     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17148:   fi
17149:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17150:   ;;
17151: 
17152: dgux*)
17153:   version_type=linux
17154:   need_lib_prefix=no
17155:   need_version=no
17156:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17157:   soname_spec='${libname}${release}${shared_ext}$major'
17158:   shlibpath_var=LD_LIBRARY_PATH
17159:   ;;
17160: 
17161: freebsd1*)
17162:   dynamic_linker=no
17163:   ;;
17164: 
17165: kfreebsd*-gnu)
17166:   version_type=linux
17167:   need_lib_prefix=no
17168:   need_version=no
17169:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17170:   soname_spec='${libname}${release}${shared_ext}$major'
17171:   shlibpath_var=LD_LIBRARY_PATH
17172:   shlibpath_overrides_runpath=no
17173:   hardcode_into_libs=yes
17174:   dynamic_linker='GNU ld.so'
17175:   ;;
17176: 
17177: freebsd* | dragonfly*)
17178:   # DragonFly does not have aout.  When/if they implement a new
17179:   # versioning mechanism, adjust this.
17180:   if test -x /usr/bin/objformat; then
17181:     objformat=`/usr/bin/objformat`
17182:   else
17183:     case $host_os in
17184:     freebsd[123]*) objformat=aout ;;
17185:     *) objformat=elf ;;
17186:     esac
17187:   fi
17188:   version_type=freebsd-$objformat
17189:   case $version_type in
17190:     freebsd-elf*)
17191:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17192:       need_version=no
17193:       need_lib_prefix=no
17194:       ;;
17195:     freebsd-*)
17196:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17197:       need_version=yes
17198:       ;;
17199:   esac
17200:   shlibpath_var=LD_LIBRARY_PATH
17201:   case $host_os in
17202:   freebsd2*)
17203:     shlibpath_overrides_runpath=yes
17204:     ;;
17205:   freebsd3.[01]* | freebsdelf3.[01]*)
17206:     shlibpath_overrides_runpath=yes
17207:     hardcode_into_libs=yes
17208:     ;;
17209:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17210:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17211:     shlibpath_overrides_runpath=no
17212:     hardcode_into_libs=yes
17213:     ;;
17214:   freebsd*) # from 4.6 on
17215:     shlibpath_overrides_runpath=yes
17216:     hardcode_into_libs=yes
17217:     ;;
17218:   esac
17219:   ;;
17220: 
17221: gnu*)
17222:   version_type=linux
17223:   need_lib_prefix=no
17224:   need_version=no
17225:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17226:   soname_spec='${libname}${release}${shared_ext}$major'
17227:   shlibpath_var=LD_LIBRARY_PATH
17228:   hardcode_into_libs=yes
17229:   ;;
17230: 
17231: hpux9* | hpux10* | hpux11*)
17232:   # Give a soname corresponding to the major version so that dld.sl refuses to
17233:   # link against other versions.
17234:   version_type=sunos
17235:   need_lib_prefix=no
17236:   need_version=no
17237:   case $host_cpu in
17238:   ia64*)
17239:     shrext_cmds='.so'
17240:     hardcode_into_libs=yes
17241:     dynamic_linker="$host_os dld.so"
17242:     shlibpath_var=LD_LIBRARY_PATH
17243:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17244:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17245:     soname_spec='${libname}${release}${shared_ext}$major'
17246:     if test "X$HPUX_IA64_MODE" = X32; then
17247:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17248:     else
17249:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17250:     fi
17251:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17252:     ;;
17253:    hppa*64*)
17254:      shrext_cmds='.sl'
17255:      hardcode_into_libs=yes
17256:      dynamic_linker="$host_os dld.sl"
17257:      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17258:      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17259:      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17260:      soname_spec='${libname}${release}${shared_ext}$major'
17261:      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17262:      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17263:      ;;
17264:    *)
17265:     shrext_cmds='.sl'
17266:     dynamic_linker="$host_os dld.sl"
17267:     shlibpath_var=SHLIB_PATH
17268:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17269:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17270:     soname_spec='${libname}${release}${shared_ext}$major'
17271:     ;;
17272:   esac
17273:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
17274:   postinstall_cmds='chmod 555 $lib'
17275:   ;;
17276: 
17277: interix3*)
17278:   version_type=linux
17279:   need_lib_prefix=no
17280:   need_version=no
17281:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17282:   soname_spec='${libname}${release}${shared_ext}$major'
17283:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17284:   shlibpath_var=LD_LIBRARY_PATH
17285:   shlibpath_overrides_runpath=no
17286:   hardcode_into_libs=yes
17287:   ;;
17288: 
17289: irix5* | irix6* | nonstopux*)
17290:   case $host_os in
17291:     nonstopux*) version_type=nonstopux ;;
17292:     *)
17293: 	if test "$lt_cv_prog_gnu_ld" = yes; then
17294: 		version_type=linux
17295: 	else
17296: 		version_type=irix
17297: 	fi ;;
17298:   esac
17299:   need_lib_prefix=no
17300:   need_version=no
17301:   soname_spec='${libname}${release}${shared_ext}$major'
17302:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17303:   case $host_os in
17304:   irix5* | nonstopux*)
17305:     libsuff= shlibsuff=
17306:     ;;
17307:   *)
17308:     case $LD in # libtool.m4 will add one of these switches to LD
17309:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17310:       libsuff= shlibsuff= libmagic=32-bit;;
17311:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17312:       libsuff=32 shlibsuff=N32 libmagic=N32;;
17313:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17314:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17315:     *) libsuff= shlibsuff= libmagic=never-match;;
17316:     esac
17317:     ;;
17318:   esac
17319:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17320:   shlibpath_overrides_runpath=no
17321:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17322:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17323:   hardcode_into_libs=yes
17324:   ;;
17325: 
17326: # No shared lib support for Linux oldld, aout, or coff.
17327: linux*oldld* | linux*aout* | linux*coff*)
17328:   dynamic_linker=no
17329:   ;;
17330: 
17331: # This must be Linux ELF.
17332: linux*)
17333:   version_type=linux
17334:   need_lib_prefix=no
17335:   need_version=no
17336:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17337:   soname_spec='${libname}${release}${shared_ext}$major'
17338:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17339:   shlibpath_var=LD_LIBRARY_PATH
17340:   shlibpath_overrides_runpath=no
17341:   # This implies no fast_install, which is unacceptable.
17342:   # Some rework will be needed to allow for fast_install
17343:   # before this can be enabled.
17344:   hardcode_into_libs=yes
17345: 
17346:   # Append ld.so.conf contents to the search path
17347:   if test -f /etc/ld.so.conf; then
17348:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17349:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17350:   fi
17351: 
17352:   # We used to test for /lib/ld.so.1 and disable shared libraries on
17353:   # powerpc, because MkLinux only supported shared libraries with the
17354:   # GNU dynamic linker.  Since this was broken with cross compilers,
17355:   # most powerpc-linux boxes support dynamic linking these days and
17356:   # people can always --disable-shared, the test was removed, and we
17357:   # assume the GNU/Linux dynamic linker is in use.
17358:   dynamic_linker='GNU/Linux ld.so'
17359:   ;;
17360: 
17361: knetbsd*-gnu)
17362:   version_type=linux
17363:   need_lib_prefix=no
17364:   need_version=no
17365:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17366:   soname_spec='${libname}${release}${shared_ext}$major'
17367:   shlibpath_var=LD_LIBRARY_PATH
17368:   shlibpath_overrides_runpath=no
17369:   hardcode_into_libs=yes
17370:   dynamic_linker='GNU ld.so'
17371:   ;;
17372: 
17373: netbsd*)
17374:   version_type=sunos
17375:   need_lib_prefix=no
17376:   need_version=no
17377:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17378:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17379:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17380:     dynamic_linker='NetBSD (a.out) ld.so'
17381:   else
17382:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17383:     soname_spec='${libname}${release}${shared_ext}$major'
17384:     dynamic_linker='NetBSD ld.elf_so'
17385:   fi
17386:   shlibpath_var=LD_LIBRARY_PATH
17387:   shlibpath_overrides_runpath=yes
17388:   hardcode_into_libs=yes
17389:   ;;
17390: 
17391: newsos6)
17392:   version_type=linux
17393:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17394:   shlibpath_var=LD_LIBRARY_PATH
17395:   shlibpath_overrides_runpath=yes
17396:   ;;
17397: 
17398: nto-qnx*)
17399:   version_type=linux
17400:   need_lib_prefix=no
17401:   need_version=no
17402:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17403:   soname_spec='${libname}${release}${shared_ext}$major'
17404:   shlibpath_var=LD_LIBRARY_PATH
17405:   shlibpath_overrides_runpath=yes
17406:   ;;
17407: 
17408: openbsd*)
17409:   version_type=sunos
17410:   sys_lib_dlsearch_path_spec="/usr/lib"
17411:   need_lib_prefix=no
17412:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17413:   case $host_os in
17414:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17415:     *)                         need_version=no  ;;
17416:   esac
17417:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17418:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17419:   shlibpath_var=LD_LIBRARY_PATH
17420:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17421:     case $host_os in
17422:       openbsd2.[89] | openbsd2.[89].*)
17423: 	shlibpath_overrides_runpath=no
17424: 	;;
17425:       *)
17426: 	shlibpath_overrides_runpath=yes
17427: 	;;
17428:       esac
17429:   else
17430:     shlibpath_overrides_runpath=yes
17431:   fi
17432:   ;;
17433: 
17434: os2*)
17435:   libname_spec='$name'
17436:   shrext_cmds=".dll"
17437:   need_lib_prefix=no
17438:   library_names_spec='$libname${shared_ext} $libname.a'
17439:   dynamic_linker='OS/2 ld.exe'
17440:   shlibpath_var=LIBPATH
17441:   ;;
17442: 
17443: osf3* | osf4* | osf5*)
17444:   version_type=osf
17445:   need_lib_prefix=no
17446:   need_version=no
17447:   soname_spec='${libname}${release}${shared_ext}$major'
17448:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17449:   shlibpath_var=LD_LIBRARY_PATH
17450:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17451:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17452:   ;;
17453: 
17454: solaris*)
17455:   version_type=linux
17456:   need_lib_prefix=no
17457:   need_version=no
17458:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17459:   soname_spec='${libname}${release}${shared_ext}$major'
17460:   shlibpath_var=LD_LIBRARY_PATH
17461:   shlibpath_overrides_runpath=yes
17462:   hardcode_into_libs=yes
17463:   # ldd complains unless libraries are executable
17464:   postinstall_cmds='chmod +x $lib'
17465:   ;;
17466: 
17467: sunos4*)
17468:   version_type=sunos
17469:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17470:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17471:   shlibpath_var=LD_LIBRARY_PATH
17472:   shlibpath_overrides_runpath=yes
17473:   if test "$with_gnu_ld" = yes; then
17474:     need_lib_prefix=no
17475:   fi
17476:   need_version=yes
17477:   ;;
17478: 
17479: sysv4 | sysv4.3*)
17480:   version_type=linux
17481:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17482:   soname_spec='${libname}${release}${shared_ext}$major'
17483:   shlibpath_var=LD_LIBRARY_PATH
17484:   case $host_vendor in
17485:     sni)
17486:       shlibpath_overrides_runpath=no
17487:       need_lib_prefix=no
17488:       export_dynamic_flag_spec='${wl}-Blargedynsym'
17489:       runpath_var=LD_RUN_PATH
17490:       ;;
17491:     siemens)
17492:       need_lib_prefix=no
17493:       ;;
17494:     motorola)
17495:       need_lib_prefix=no
17496:       need_version=no
17497:       shlibpath_overrides_runpath=no
17498:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17499:       ;;
17500:   esac
17501:   ;;
17502: 
17503: sysv4*MP*)
17504:   if test -d /usr/nec ;then
17505:     version_type=linux
17506:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17507:     soname_spec='$libname${shared_ext}.$major'
17508:     shlibpath_var=LD_LIBRARY_PATH
17509:   fi
17510:   ;;
17511: 
17512: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17513:   version_type=freebsd-elf
17514:   need_lib_prefix=no
17515:   need_version=no
17516:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17517:   soname_spec='${libname}${release}${shared_ext}$major'
17518:   shlibpath_var=LD_LIBRARY_PATH
17519:   hardcode_into_libs=yes
17520:   if test "$with_gnu_ld" = yes; then
17521:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17522:     shlibpath_overrides_runpath=no
17523:   else
17524:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17525:     shlibpath_overrides_runpath=yes
17526:     case $host_os in
17527:       sco3.2v5*)
17528:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17529: 	;;
17530:     esac
17531:   fi
17532:   sys_lib_dlsearch_path_spec='/usr/lib'
17533:   ;;
17534: 
17535: uts4*)
17536:   version_type=linux
17537:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17538:   soname_spec='${libname}${release}${shared_ext}$major'
17539:   shlibpath_var=LD_LIBRARY_PATH
17540:   ;;
17541: 
17542: *)
17543:   dynamic_linker=no
17544:   ;;
17545: esac
17546: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17547: echo "${ECHO_T}$dynamic_linker" >&6
17548: test "$dynamic_linker" = no && can_build_shared=no
17549: 
17550: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17551: if test "$GCC" = yes; then
17552:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17553: fi
17554: 
17555: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17556: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17557: hardcode_action_GCJ=
17558: if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17559:    test -n "$runpath_var_GCJ" || \
17560:    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17561: 
17562:   # We can hardcode non-existant directories.
17563:   if test "$hardcode_direct_GCJ" != no &&
17564:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17565:      # have to relink, otherwise we might link with an installed library
17566:      # when we should be linking with a yet-to-be-installed one
17567:      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17568:      test "$hardcode_minus_L_GCJ" != no; then
17569:     # Linking always hardcodes the temporary library directory.
17570:     hardcode_action_GCJ=relink
17571:   else
17572:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17573:     hardcode_action_GCJ=immediate
17574:   fi
17575: else
17576:   # We cannot hardcode anything, or else we can only hardcode existing
17577:   # directories.
17578:   hardcode_action_GCJ=unsupported
17579: fi
17580: echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17581: echo "${ECHO_T}$hardcode_action_GCJ" >&6
17582: 
17583: if test "$hardcode_action_GCJ" = relink; then
17584:   # Fast installation is not supported
17585:   enable_fast_install=no
17586: elif test "$shlibpath_overrides_runpath" = yes ||
17587:      test "$enable_shared" = no; then
17588:   # Fast installation is not necessary
17589:   enable_fast_install=needless
17590: fi
17591: 
17592: 
17593: # The else clause should only fire when bootstrapping the
17594: # libtool distribution, otherwise you forgot to ship ltmain.sh
17595: # with your package, and you will get complaints that there are
17596: # no rules to generate ltmain.sh.
17597: if test -f "$ltmain"; then
17598:   # See if we are running on zsh, and set the options which allow our commands through
17599:   # without removal of \ escapes.
17600:   if test -n "${ZSH_VERSION+set}" ; then
17601:     setopt NO_GLOB_SUBST
17602:   fi
17603:   # Now quote all the things that may contain metacharacters while being
17604:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
17605:   # variables and quote the copies for generation of the libtool script.
17606:   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17607:     SED SHELL STRIP \
17608:     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17609:     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17610:     deplibs_check_method reload_flag reload_cmds need_locks \
17611:     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17612:     lt_cv_sys_global_symbol_to_c_name_address \
17613:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17614:     old_postinstall_cmds old_postuninstall_cmds \
17615:     compiler_GCJ \
17616:     CC_GCJ \
17617:     LD_GCJ \
17618:     lt_prog_compiler_wl_GCJ \
17619:     lt_prog_compiler_pic_GCJ \
17620:     lt_prog_compiler_static_GCJ \
17621:     lt_prog_compiler_no_builtin_flag_GCJ \
17622:     export_dynamic_flag_spec_GCJ \
17623:     thread_safe_flag_spec_GCJ \
17624:     whole_archive_flag_spec_GCJ \
17625:     enable_shared_with_static_runtimes_GCJ \
17626:     old_archive_cmds_GCJ \
17627:     old_archive_from_new_cmds_GCJ \
17628:     predep_objects_GCJ \
17629:     postdep_objects_GCJ \
17630:     predeps_GCJ \
17631:     postdeps_GCJ \
17632:     compiler_lib_search_path_GCJ \
17633:     archive_cmds_GCJ \
17634:     archive_expsym_cmds_GCJ \
17635:     postinstall_cmds_GCJ \
17636:     postuninstall_cmds_GCJ \
17637:     old_archive_from_expsyms_cmds_GCJ \
17638:     allow_undefined_flag_GCJ \
17639:     no_undefined_flag_GCJ \
17640:     export_symbols_cmds_GCJ \
17641:     hardcode_libdir_flag_spec_GCJ \
17642:     hardcode_libdir_flag_spec_ld_GCJ \
17643:     hardcode_libdir_separator_GCJ \
17644:     hardcode_automatic_GCJ \
17645:     module_cmds_GCJ \
17646:     module_expsym_cmds_GCJ \
17647:     lt_cv_prog_compiler_c_o_GCJ \
17648:     exclude_expsyms_GCJ \
17649:     include_expsyms_GCJ; do
17650: 
17651:     case $var in
17652:     old_archive_cmds_GCJ | \
17653:     old_archive_from_new_cmds_GCJ | \
17654:     archive_cmds_GCJ | \
17655:     archive_expsym_cmds_GCJ | \
17656:     module_cmds_GCJ | \
17657:     module_expsym_cmds_GCJ | \
17658:     old_archive_from_expsyms_cmds_GCJ | \
17659:     export_symbols_cmds_GCJ | \
17660:     extract_expsyms_cmds | reload_cmds | finish_cmds | \
17661:     postinstall_cmds | postuninstall_cmds | \
17662:     old_postinstall_cmds | old_postuninstall_cmds | \
17663:     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17664:       # Double-quote double-evaled strings.
17665:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17666:       ;;
17667:     *)
17668:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17669:       ;;
17670:     esac
17671:   done
17672: 
17673:   case $lt_echo in
17674:   *'\$0 --fallback-echo"')
17675:     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17676:     ;;
17677:   esac
17678: 
17679: cfgfile="$ofile"
17680: 
17681:   cat <<__EOF__ >> "$cfgfile"
17682: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17683: 
17684: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17685: 
17686: # Shell to use when invoking shell scripts.
17687: SHELL=$lt_SHELL
17688: 
17689: # Whether or not to build shared libraries.
17690: build_libtool_libs=$enable_shared
17691: 
17692: # Whether or not to build static libraries.
17693: build_old_libs=$enable_static
17694: 
17695: # Whether or not to add -lc for building shared libraries.
17696: build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17697: 
17698: # Whether or not to disallow shared libs when runtime libs are static
17699: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17700: 
17701: # Whether or not to optimize for fast installation.
17702: fast_install=$enable_fast_install
17703: 
17704: # The host system.
17705: host_alias=$host_alias
17706: host=$host
17707: host_os=$host_os
17708: 
17709: # The build system.
17710: build_alias=$build_alias
17711: build=$build
17712: build_os=$build_os
17713: 
17714: # An echo program that does not interpret backslashes.
17715: echo=$lt_echo
17716: 
17717: # The archiver.
17718: AR=$lt_AR
17719: AR_FLAGS=$lt_AR_FLAGS
17720: 
17721: # A C compiler.
17722: LTCC=$lt_LTCC
17723: 
17724: # LTCC compiler flags.
17725: LTCFLAGS=$lt_LTCFLAGS
17726: 
17727: # A language-specific compiler.
17728: CC=$lt_compiler_GCJ
17729: 
17730: # Is the compiler the GNU C compiler?
17731: with_gcc=$GCC_GCJ
17732: 
17733: # An ERE matcher.
17734: EGREP=$lt_EGREP
17735: 
17736: # The linker used to build libraries.
17737: LD=$lt_LD_GCJ
17738: 
17739: # Whether we need hard or soft links.
17740: LN_S=$lt_LN_S
17741: 
17742: # A BSD-compatible nm program.
17743: NM=$lt_NM
17744: 
17745: # A symbol stripping program
17746: STRIP=$lt_STRIP
17747: 
17748: # Used to examine libraries when file_magic_cmd begins "file"
17749: MAGIC_CMD=$MAGIC_CMD
17750: 
17751: # Used on cygwin: DLL creation program.
17752: DLLTOOL="$DLLTOOL"
17753: 
17754: # Used on cygwin: object dumper.
17755: OBJDUMP="$OBJDUMP"
17756: 
17757: # Used on cygwin: assembler.
17758: AS="$AS"
17759: 
17760: # The name of the directory that contains temporary libtool files.
17761: objdir=$objdir
17762: 
17763: # How to create reloadable object files.
17764: reload_flag=$lt_reload_flag
17765: reload_cmds=$lt_reload_cmds
17766: 
17767: # How to pass a linker flag through the compiler.
17768: wl=$lt_lt_prog_compiler_wl_GCJ
17769: 
17770: # Object file suffix (normally "o").
17771: objext="$ac_objext"
17772: 
17773: # Old archive suffix (normally "a").
17774: libext="$libext"
17775: 
17776: # Shared library suffix (normally ".so").
17777: shrext_cmds='$shrext_cmds'
17778: 
17779: # Executable file suffix (normally "").
17780: exeext="$exeext"
17781: 
17782: # Additional compiler flags for building library objects.
17783: pic_flag=$lt_lt_prog_compiler_pic_GCJ
17784: pic_mode=$pic_mode
17785: 
17786: # What is the maximum length of a command?
17787: max_cmd_len=$lt_cv_sys_max_cmd_len
17788: 
17789: # Does compiler simultaneously support -c and -o options?
17790: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17791: 
17792: # Must we lock files when doing compilation?
17793: need_locks=$lt_need_locks
17794: 
17795: # Do we need the lib prefix for modules?
17796: need_lib_prefix=$need_lib_prefix
17797: 
17798: # Do we need a version for libraries?
17799: need_version=$need_version
17800: 
17801: # Whether dlopen is supported.
17802: dlopen_support=$enable_dlopen
17803: 
17804: # Whether dlopen of programs is supported.
17805: dlopen_self=$enable_dlopen_self
17806: 
17807: # Whether dlopen of statically linked programs is supported.
17808: dlopen_self_static=$enable_dlopen_self_static
17809: 
17810: # Compiler flag to prevent dynamic linking.
17811: link_static_flag=$lt_lt_prog_compiler_static_GCJ
17812: 
17813: # Compiler flag to turn off builtin functions.
17814: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17815: 
17816: # Compiler flag to allow reflexive dlopens.
17817: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17818: 
17819: # Compiler flag to generate shared objects directly from archives.
17820: whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17821: 
17822: # Compiler flag to generate thread-safe objects.
17823: thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17824: 
17825: # Library versioning type.
17826: version_type=$version_type
17827: 
17828: # Format of library name prefix.
17829: libname_spec=$lt_libname_spec
17830: 
17831: # List of archive names.  First name is the real one, the rest are links.
17832: # The last name is the one that the linker finds with -lNAME.
17833: library_names_spec=$lt_library_names_spec
17834: 
17835: # The coded name of the library, if different from the real name.
17836: soname_spec=$lt_soname_spec
17837: 
17838: # Commands used to build and install an old-style archive.
17839: RANLIB=$lt_RANLIB
17840: old_archive_cmds=$lt_old_archive_cmds_GCJ
17841: old_postinstall_cmds=$lt_old_postinstall_cmds
17842: old_postuninstall_cmds=$lt_old_postuninstall_cmds
17843: 
17844: # Create an old-style archive from a shared archive.
17845: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17846: 
17847: # Create a temporary old-style archive to link instead of a shared archive.
17848: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17849: 
17850: # Commands used to build and install a shared archive.
17851: archive_cmds=$lt_archive_cmds_GCJ
17852: archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17853: postinstall_cmds=$lt_postinstall_cmds
17854: postuninstall_cmds=$lt_postuninstall_cmds
17855: 
17856: # Commands used to build a loadable module (assumed same as above if empty)
17857: module_cmds=$lt_module_cmds_GCJ
17858: module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17859: 
17860: # Commands to strip libraries.
17861: old_striplib=$lt_old_striplib
17862: striplib=$lt_striplib
17863: 
17864: # Dependencies to place before the objects being linked to create a
17865: # shared library.
17866: predep_objects=$lt_predep_objects_GCJ
17867: 
17868: # Dependencies to place after the objects being linked to create a
17869: # shared library.
17870: postdep_objects=$lt_postdep_objects_GCJ
17871: 
17872: # Dependencies to place before the objects being linked to create a
17873: # shared library.
17874: predeps=$lt_predeps_GCJ
17875: 
17876: # Dependencies to place after the objects being linked to create a
17877: # shared library.
17878: postdeps=$lt_postdeps_GCJ
17879: 
17880: # The library search path used internally by the compiler when linking
17881: # a shared library.
17882: compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17883: 
17884: # Method to check whether dependent libraries are shared objects.
17885: deplibs_check_method=$lt_deplibs_check_method
17886: 
17887: # Command to use when deplibs_check_method == file_magic.
17888: file_magic_cmd=$lt_file_magic_cmd
17889: 
17890: # Flag that allows shared libraries with undefined symbols to be built.
17891: allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17892: 
17893: # Flag that forces no undefined symbols.
17894: no_undefined_flag=$lt_no_undefined_flag_GCJ
17895: 
17896: # Commands used to finish a libtool library installation in a directory.
17897: finish_cmds=$lt_finish_cmds
17898: 
17899: # Same as above, but a single script fragment to be evaled but not shown.
17900: finish_eval=$lt_finish_eval
17901: 
17902: # Take the output of nm and produce a listing of raw symbols and C names.
17903: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17904: 
17905: # Transform the output of nm in a proper C declaration
17906: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17907: 
17908: # Transform the output of nm in a C name address pair
17909: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17910: 
17911: # This is the shared library runtime path variable.
17912: runpath_var=$runpath_var
17913: 
17914: # This is the shared library path variable.
17915: shlibpath_var=$shlibpath_var
17916: 
17917: # Is shlibpath searched before the hard-coded library search path?
17918: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17919: 
17920: # How to hardcode a shared library path into an executable.
17921: hardcode_action=$hardcode_action_GCJ
17922: 
17923: # Whether we should hardcode library paths into libraries.
17924: hardcode_into_libs=$hardcode_into_libs
17925: 
17926: # Flag to hardcode \$libdir into a binary during linking.
17927: # This must work even if \$libdir does not exist.
17928: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17929: 
17930: # If ld is used when linking, flag to hardcode \$libdir into
17931: # a binary during linking. This must work even if \$libdir does
17932: # not exist.
17933: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17934: 
17935: # Whether we need a single -rpath flag with a separated argument.
17936: hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17937: 
17938: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17939: # resulting binary.
17940: hardcode_direct=$hardcode_direct_GCJ
17941: 
17942: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17943: # resulting binary.
17944: hardcode_minus_L=$hardcode_minus_L_GCJ
17945: 
17946: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17947: # the resulting binary.
17948: hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17949: 
17950: # Set to yes if building a shared library automatically hardcodes DIR into the library
17951: # and all subsequent libraries and executables linked against it.
17952: hardcode_automatic=$hardcode_automatic_GCJ
17953: 
17954: # Variables whose values should be saved in libtool wrapper scripts and
17955: # restored at relink time.
17956: variables_saved_for_relink="$variables_saved_for_relink"
17957: 
17958: # Whether libtool must link a program against all its dependency libraries.
17959: link_all_deplibs=$link_all_deplibs_GCJ
17960: 
17961: # Compile-time system search path for libraries
17962: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17963: 
17964: # Run-time system search path for libraries
17965: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17966: 
17967: # Fix the shell variable \$srcfile for the compiler.
17968: fix_srcfile_path="$fix_srcfile_path_GCJ"
17969: 
17970: # Set to yes if exported symbols are required.
17971: always_export_symbols=$always_export_symbols_GCJ
17972: 
17973: # The commands to list exported symbols.
17974: export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17975: 
17976: # The commands to extract the exported symbol list from a shared archive.
17977: extract_expsyms_cmds=$lt_extract_expsyms_cmds
17978: 
17979: # Symbols that should not be listed in the preloaded symbols.
17980: exclude_expsyms=$lt_exclude_expsyms_GCJ
17981: 
17982: # Symbols that must always be exported.
17983: include_expsyms=$lt_include_expsyms_GCJ
17984: 
17985: # ### END LIBTOOL TAG CONFIG: $tagname
17986: 
17987: __EOF__
17988: 
17989: 
17990: else
17991:   # If there is no Makefile yet, we rely on a make rule to execute
17992:   # `config.status --recheck' to rerun these tests and create the
17993:   # libtool script then.
17994:   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17995:   if test -f "$ltmain_in"; then
17996:     test -f Makefile && make "$ltmain"
17997:   fi
17998: fi
17999: 
18000: 
18001: ac_ext=c
18002: ac_cpp='$CPP $CPPFLAGS'
18003: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005: ac_compiler_gnu=$ac_cv_c_compiler_gnu
18006: 
18007: CC="$lt_save_CC"
18008: 
18009: 	else
18010: 	  tagname=""
18011: 	fi
18012: 	;;
18013: 
18014:       RC)
18015: 
18016: 
18017: 
18018: # Source file extension for RC test sources.
18019: ac_ext=rc
18020: 
18021: # Object file extension for compiled RC test sources.
18022: objext=o
18023: objext_RC=$objext
18024: 
18025: # Code to be used in simple compile tests
18026: lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18027: 
18028: # Code to be used in simple link tests
18029: lt_simple_link_test_code="$lt_simple_compile_test_code"
18030: 
18031: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18032: 
18033: # If no C compiler was specified, use CC.
18034: LTCC=${LTCC-"$CC"}
18035: 
18036: # If no C compiler flags were specified, use CFLAGS.
18037: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18038: 
18039: # Allow CC to be a program name with arguments.
18040: compiler=$CC
18041: 
18042: 
18043: # save warnings/boilerplate of simple test code
18044: ac_outfile=conftest.$ac_objext
18045: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18046: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18047: _lt_compiler_boilerplate=`cat conftest.err`
18048: $rm conftest*
18049: 
18050: ac_outfile=conftest.$ac_objext
18051: printf "$lt_simple_link_test_code" >conftest.$ac_ext
18052: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18053: _lt_linker_boilerplate=`cat conftest.err`
18054: $rm conftest*
18055: 
18056: 
18057: # Allow CC to be a program name with arguments.
18058: lt_save_CC="$CC"
18059: CC=${RC-"windres"}
18060: compiler=$CC
18061: compiler_RC=$CC
18062: for cc_temp in $compiler""; do
18063:   case $cc_temp in
18064:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18065:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18066:     \-*) ;;
18067:     *) break;;
18068:   esac
18069: done
18070: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18071: 
18072: lt_cv_prog_compiler_c_o_RC=yes
18073: 
18074: # The else clause should only fire when bootstrapping the
18075: # libtool distribution, otherwise you forgot to ship ltmain.sh
18076: # with your package, and you will get complaints that there are
18077: # no rules to generate ltmain.sh.
18078: if test -f "$ltmain"; then
18079:   # See if we are running on zsh, and set the options which allow our commands through
18080:   # without removal of \ escapes.
18081:   if test -n "${ZSH_VERSION+set}" ; then
18082:     setopt NO_GLOB_SUBST
18083:   fi
18084:   # Now quote all the things that may contain metacharacters while being
18085:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
18086:   # variables and quote the copies for generation of the libtool script.
18087:   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18088:     SED SHELL STRIP \
18089:     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18090:     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18091:     deplibs_check_method reload_flag reload_cmds need_locks \
18092:     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18093:     lt_cv_sys_global_symbol_to_c_name_address \
18094:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18095:     old_postinstall_cmds old_postuninstall_cmds \
18096:     compiler_RC \
18097:     CC_RC \
18098:     LD_RC \
18099:     lt_prog_compiler_wl_RC \
18100:     lt_prog_compiler_pic_RC \
18101:     lt_prog_compiler_static_RC \
18102:     lt_prog_compiler_no_builtin_flag_RC \
18103:     export_dynamic_flag_spec_RC \
18104:     thread_safe_flag_spec_RC \
18105:     whole_archive_flag_spec_RC \
18106:     enable_shared_with_static_runtimes_RC \
18107:     old_archive_cmds_RC \
18108:     old_archive_from_new_cmds_RC \
18109:     predep_objects_RC \
18110:     postdep_objects_RC \
18111:     predeps_RC \
18112:     postdeps_RC \
18113:     compiler_lib_search_path_RC \
18114:     archive_cmds_RC \
18115:     archive_expsym_cmds_RC \
18116:     postinstall_cmds_RC \
18117:     postuninstall_cmds_RC \
18118:     old_archive_from_expsyms_cmds_RC \
18119:     allow_undefined_flag_RC \
18120:     no_undefined_flag_RC \
18121:     export_symbols_cmds_RC \
18122:     hardcode_libdir_flag_spec_RC \
18123:     hardcode_libdir_flag_spec_ld_RC \
18124:     hardcode_libdir_separator_RC \
18125:     hardcode_automatic_RC \
18126:     module_cmds_RC \
18127:     module_expsym_cmds_RC \
18128:     lt_cv_prog_compiler_c_o_RC \
18129:     exclude_expsyms_RC \
18130:     include_expsyms_RC; do
18131: 
18132:     case $var in
18133:     old_archive_cmds_RC | \
18134:     old_archive_from_new_cmds_RC | \
18135:     archive_cmds_RC | \
18136:     archive_expsym_cmds_RC | \
18137:     module_cmds_RC | \
18138:     module_expsym_cmds_RC | \
18139:     old_archive_from_expsyms_cmds_RC | \
18140:     export_symbols_cmds_RC | \
18141:     extract_expsyms_cmds | reload_cmds | finish_cmds | \
18142:     postinstall_cmds | postuninstall_cmds | \
18143:     old_postinstall_cmds | old_postuninstall_cmds | \
18144:     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18145:       # Double-quote double-evaled strings.
18146:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18147:       ;;
18148:     *)
18149:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18150:       ;;
18151:     esac
18152:   done
18153: 
18154:   case $lt_echo in
18155:   *'\$0 --fallback-echo"')
18156:     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18157:     ;;
18158:   esac
18159: 
18160: cfgfile="$ofile"
18161: 
18162:   cat <<__EOF__ >> "$cfgfile"
18163: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18164: 
18165: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18166: 
18167: # Shell to use when invoking shell scripts.
18168: SHELL=$lt_SHELL
18169: 
18170: # Whether or not to build shared libraries.
18171: build_libtool_libs=$enable_shared
18172: 
18173: # Whether or not to build static libraries.
18174: build_old_libs=$enable_static
18175: 
18176: # Whether or not to add -lc for building shared libraries.
18177: build_libtool_need_lc=$archive_cmds_need_lc_RC
18178: 
18179: # Whether or not to disallow shared libs when runtime libs are static
18180: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18181: 
18182: # Whether or not to optimize for fast installation.
18183: fast_install=$enable_fast_install
18184: 
18185: # The host system.
18186: host_alias=$host_alias
18187: host=$host
18188: host_os=$host_os
18189: 
18190: # The build system.
18191: build_alias=$build_alias
18192: build=$build
18193: build_os=$build_os
18194: 
18195: # An echo program that does not interpret backslashes.
18196: echo=$lt_echo
18197: 
18198: # The archiver.
18199: AR=$lt_AR
18200: AR_FLAGS=$lt_AR_FLAGS
18201: 
18202: # A C compiler.
18203: LTCC=$lt_LTCC
18204: 
18205: # LTCC compiler flags.
18206: LTCFLAGS=$lt_LTCFLAGS
18207: 
18208: # A language-specific compiler.
18209: CC=$lt_compiler_RC
18210: 
18211: # Is the compiler the GNU C compiler?
18212: with_gcc=$GCC_RC
18213: 
18214: # An ERE matcher.
18215: EGREP=$lt_EGREP
18216: 
18217: # The linker used to build libraries.
18218: LD=$lt_LD_RC
18219: 
18220: # Whether we need hard or soft links.
18221: LN_S=$lt_LN_S
18222: 
18223: # A BSD-compatible nm program.
18224: NM=$lt_NM
18225: 
18226: # A symbol stripping program
18227: STRIP=$lt_STRIP
18228: 
18229: # Used to examine libraries when file_magic_cmd begins "file"
18230: MAGIC_CMD=$MAGIC_CMD
18231: 
18232: # Used on cygwin: DLL creation program.
18233: DLLTOOL="$DLLTOOL"
18234: 
18235: # Used on cygwin: object dumper.
18236: OBJDUMP="$OBJDUMP"
18237: 
18238: # Used on cygwin: assembler.
18239: AS="$AS"
18240: 
18241: # The name of the directory that contains temporary libtool files.
18242: objdir=$objdir
18243: 
18244: # How to create reloadable object files.
18245: reload_flag=$lt_reload_flag
18246: reload_cmds=$lt_reload_cmds
18247: 
18248: # How to pass a linker flag through the compiler.
18249: wl=$lt_lt_prog_compiler_wl_RC
18250: 
18251: # Object file suffix (normally "o").
18252: objext="$ac_objext"
18253: 
18254: # Old archive suffix (normally "a").
18255: libext="$libext"
18256: 
18257: # Shared library suffix (normally ".so").
18258: shrext_cmds='$shrext_cmds'
18259: 
18260: # Executable file suffix (normally "").
18261: exeext="$exeext"
18262: 
18263: # Additional compiler flags for building library objects.
18264: pic_flag=$lt_lt_prog_compiler_pic_RC
18265: pic_mode=$pic_mode
18266: 
18267: # What is the maximum length of a command?
18268: max_cmd_len=$lt_cv_sys_max_cmd_len
18269: 
18270: # Does compiler simultaneously support -c and -o options?
18271: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18272: 
18273: # Must we lock files when doing compilation?
18274: need_locks=$lt_need_locks
18275: 
18276: # Do we need the lib prefix for modules?
18277: need_lib_prefix=$need_lib_prefix
18278: 
18279: # Do we need a version for libraries?
18280: need_version=$need_version
18281: 
18282: # Whether dlopen is supported.
18283: dlopen_support=$enable_dlopen
18284: 
18285: # Whether dlopen of programs is supported.
18286: dlopen_self=$enable_dlopen_self
18287: 
18288: # Whether dlopen of statically linked programs is supported.
18289: dlopen_self_static=$enable_dlopen_self_static
18290: 
18291: # Compiler flag to prevent dynamic linking.
18292: link_static_flag=$lt_lt_prog_compiler_static_RC
18293: 
18294: # Compiler flag to turn off builtin functions.
18295: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18296: 
18297: # Compiler flag to allow reflexive dlopens.
18298: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18299: 
18300: # Compiler flag to generate shared objects directly from archives.
18301: whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18302: 
18303: # Compiler flag to generate thread-safe objects.
18304: thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18305: 
18306: # Library versioning type.
18307: version_type=$version_type
18308: 
18309: # Format of library name prefix.
18310: libname_spec=$lt_libname_spec
18311: 
18312: # List of archive names.  First name is the real one, the rest are links.
18313: # The last name is the one that the linker finds with -lNAME.
18314: library_names_spec=$lt_library_names_spec
18315: 
18316: # The coded name of the library, if different from the real name.
18317: soname_spec=$lt_soname_spec
18318: 
18319: # Commands used to build and install an old-style archive.
18320: RANLIB=$lt_RANLIB
18321: old_archive_cmds=$lt_old_archive_cmds_RC
18322: old_postinstall_cmds=$lt_old_postinstall_cmds
18323: old_postuninstall_cmds=$lt_old_postuninstall_cmds
18324: 
18325: # Create an old-style archive from a shared archive.
18326: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18327: 
18328: # Create a temporary old-style archive to link instead of a shared archive.
18329: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18330: 
18331: # Commands used to build and install a shared archive.
18332: archive_cmds=$lt_archive_cmds_RC
18333: archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18334: postinstall_cmds=$lt_postinstall_cmds
18335: postuninstall_cmds=$lt_postuninstall_cmds
18336: 
18337: # Commands used to build a loadable module (assumed same as above if empty)
18338: module_cmds=$lt_module_cmds_RC
18339: module_expsym_cmds=$lt_module_expsym_cmds_RC
18340: 
18341: # Commands to strip libraries.
18342: old_striplib=$lt_old_striplib
18343: striplib=$lt_striplib
18344: 
18345: # Dependencies to place before the objects being linked to create a
18346: # shared library.
18347: predep_objects=$lt_predep_objects_RC
18348: 
18349: # Dependencies to place after the objects being linked to create a
18350: # shared library.
18351: postdep_objects=$lt_postdep_objects_RC
18352: 
18353: # Dependencies to place before the objects being linked to create a
18354: # shared library.
18355: predeps=$lt_predeps_RC
18356: 
18357: # Dependencies to place after the objects being linked to create a
18358: # shared library.
18359: postdeps=$lt_postdeps_RC
18360: 
18361: # The library search path used internally by the compiler when linking
18362: # a shared library.
18363: compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18364: 
18365: # Method to check whether dependent libraries are shared objects.
18366: deplibs_check_method=$lt_deplibs_check_method
18367: 
18368: # Command to use when deplibs_check_method == file_magic.
18369: file_magic_cmd=$lt_file_magic_cmd
18370: 
18371: # Flag that allows shared libraries with undefined symbols to be built.
18372: allow_undefined_flag=$lt_allow_undefined_flag_RC
18373: 
18374: # Flag that forces no undefined symbols.
18375: no_undefined_flag=$lt_no_undefined_flag_RC
18376: 
18377: # Commands used to finish a libtool library installation in a directory.
18378: finish_cmds=$lt_finish_cmds
18379: 
18380: # Same as above, but a single script fragment to be evaled but not shown.
18381: finish_eval=$lt_finish_eval
18382: 
18383: # Take the output of nm and produce a listing of raw symbols and C names.
18384: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18385: 
18386: # Transform the output of nm in a proper C declaration
18387: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18388: 
18389: # Transform the output of nm in a C name address pair
18390: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18391: 
18392: # This is the shared library runtime path variable.
18393: runpath_var=$runpath_var
18394: 
18395: # This is the shared library path variable.
18396: shlibpath_var=$shlibpath_var
18397: 
18398: # Is shlibpath searched before the hard-coded library search path?
18399: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18400: 
18401: # How to hardcode a shared library path into an executable.
18402: hardcode_action=$hardcode_action_RC
18403: 
18404: # Whether we should hardcode library paths into libraries.
18405: hardcode_into_libs=$hardcode_into_libs
18406: 
18407: # Flag to hardcode \$libdir into a binary during linking.
18408: # This must work even if \$libdir does not exist.
18409: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18410: 
18411: # If ld is used when linking, flag to hardcode \$libdir into
18412: # a binary during linking. This must work even if \$libdir does
18413: # not exist.
18414: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18415: 
18416: # Whether we need a single -rpath flag with a separated argument.
18417: hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18418: 
18419: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18420: # resulting binary.
18421: hardcode_direct=$hardcode_direct_RC
18422: 
18423: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18424: # resulting binary.
18425: hardcode_minus_L=$hardcode_minus_L_RC
18426: 
18427: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18428: # the resulting binary.
18429: hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18430: 
18431: # Set to yes if building a shared library automatically hardcodes DIR into the library
18432: # and all subsequent libraries and executables linked against it.
18433: hardcode_automatic=$hardcode_automatic_RC
18434: 
18435: # Variables whose values should be saved in libtool wrapper scripts and
18436: # restored at relink time.
18437: variables_saved_for_relink="$variables_saved_for_relink"
18438: 
18439: # Whether libtool must link a program against all its dependency libraries.
18440: link_all_deplibs=$link_all_deplibs_RC
18441: 
18442: # Compile-time system search path for libraries
18443: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18444: 
18445: # Run-time system search path for libraries
18446: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18447: 
18448: # Fix the shell variable \$srcfile for the compiler.
18449: fix_srcfile_path="$fix_srcfile_path_RC"
18450: 
18451: # Set to yes if exported symbols are required.
18452: always_export_symbols=$always_export_symbols_RC
18453: 
18454: # The commands to list exported symbols.
18455: export_symbols_cmds=$lt_export_symbols_cmds_RC
18456: 
18457: # The commands to extract the exported symbol list from a shared archive.
18458: extract_expsyms_cmds=$lt_extract_expsyms_cmds
18459: 
18460: # Symbols that should not be listed in the preloaded symbols.
18461: exclude_expsyms=$lt_exclude_expsyms_RC
18462: 
18463: # Symbols that must always be exported.
18464: include_expsyms=$lt_include_expsyms_RC
18465: 
18466: # ### END LIBTOOL TAG CONFIG: $tagname
18467: 
18468: __EOF__
18469: 
18470: 
18471: else
18472:   # If there is no Makefile yet, we rely on a make rule to execute
18473:   # `config.status --recheck' to rerun these tests and create the
18474:   # libtool script then.
18475:   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18476:   if test -f "$ltmain_in"; then
18477:     test -f Makefile && make "$ltmain"
18478:   fi
18479: fi
18480: 
18481: 
18482: ac_ext=c
18483: ac_cpp='$CPP $CPPFLAGS'
18484: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486: ac_compiler_gnu=$ac_cv_c_compiler_gnu
18487: 
18488: CC="$lt_save_CC"
18489: 
18490: 	;;
18491: 
18492:       *)
18493: 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18494: echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18495:    { (exit 1); exit 1; }; }
18496: 	;;
18497:       esac
18498: 
18499:       # Append the new tag name to the list of available tags.
18500:       if test -n "$tagname" ; then
18501:       available_tags="$available_tags $tagname"
18502:     fi
18503:     fi
18504:   done
18505:   IFS="$lt_save_ifs"
18506: 
18507:   # Now substitute the updated list of available tags.
18508:   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18509:     mv "${ofile}T" "$ofile"
18510:     chmod +x "$ofile"
18511:   else
18512:     rm -f "${ofile}T"
18513:     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18514: echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18515:    { (exit 1); exit 1; }; }
18516:   fi
18517: fi
18518: 
18519: 
18520: 
18521: # This can be used to rebuild libtool when needed
18522: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18523: 
18524: # Always use our own libtool.
18525: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18526: 
18527: # Prevent multiple expansion
18528: 
18529: 
18530: 
18531: 
18532: 
18533: 
18534: 
18535: 
18536: 
18537: 
18538: 
18539: 
18540: 
18541: 
18542: 
18543: 
18544: 
18545: 
18546: 
18547: 
18548: 
18549: 
18550: 
18551: 
18552: 
18553: ac_ext=c
18554: ac_cpp='$CPP $CPPFLAGS'
18555: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557: ac_compiler_gnu=$ac_cv_c_compiler_gnu
18558: if test -n "$ac_tool_prefix"; then
18559:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18560: set dummy ${ac_tool_prefix}gcc; ac_word=$2
18561: echo "$as_me:$LINENO: checking for $ac_word" >&5
18562: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18563: if test "${ac_cv_prog_CC+set}" = set; then
18564:   echo $ECHO_N "(cached) $ECHO_C" >&6
18565: else
18566:   if test -n "$CC"; then
18567:   ac_cv_prog_CC="$CC" # Let the user override the test.
18568: else
18569: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18570: for as_dir in $PATH
18571: do
18572:   IFS=$as_save_IFS
18573:   test -z "$as_dir" && as_dir=.
18574:   for ac_exec_ext in '' $ac_executable_extensions; do
18575:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18576:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
18577:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18578:     break 2
18579:   fi
18580: done
18581: done
18582: 
18583: fi
18584: fi
18585: CC=$ac_cv_prog_CC
18586: if test -n "$CC"; then
18587:   echo "$as_me:$LINENO: result: $CC" >&5
18588: echo "${ECHO_T}$CC" >&6
18589: else
18590:   echo "$as_me:$LINENO: result: no" >&5
18591: echo "${ECHO_T}no" >&6
18592: fi
18593: 
18594: fi
18595: if test -z "$ac_cv_prog_CC"; then
18596:   ac_ct_CC=$CC
18597:   # Extract the first word of "gcc", so it can be a program name with args.
18598: set dummy gcc; ac_word=$2
18599: echo "$as_me:$LINENO: checking for $ac_word" >&5
18600: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18602:   echo $ECHO_N "(cached) $ECHO_C" >&6
18603: else
18604:   if test -n "$ac_ct_CC"; then
18605:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18606: else
18607: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18608: for as_dir in $PATH
18609: do
18610:   IFS=$as_save_IFS
18611:   test -z "$as_dir" && as_dir=.
18612:   for ac_exec_ext in '' $ac_executable_extensions; do
18613:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18614:     ac_cv_prog_ac_ct_CC="gcc"
18615:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18616:     break 2
18617:   fi
18618: done
18619: done
18620: 
18621: fi
18622: fi
18623: ac_ct_CC=$ac_cv_prog_ac_ct_CC
18624: if test -n "$ac_ct_CC"; then
18625:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18626: echo "${ECHO_T}$ac_ct_CC" >&6
18627: else
18628:   echo "$as_me:$LINENO: result: no" >&5
18629: echo "${ECHO_T}no" >&6
18630: fi
18631: 
18632:   CC=$ac_ct_CC
18633: else
18634:   CC="$ac_cv_prog_CC"
18635: fi
18636: 
18637: if test -z "$CC"; then
18638:   if test -n "$ac_tool_prefix"; then
18639:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18640: set dummy ${ac_tool_prefix}cc; ac_word=$2
18641: echo "$as_me:$LINENO: checking for $ac_word" >&5
18642: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18643: if test "${ac_cv_prog_CC+set}" = set; then
18644:   echo $ECHO_N "(cached) $ECHO_C" >&6
18645: else
18646:   if test -n "$CC"; then
18647:   ac_cv_prog_CC="$CC" # Let the user override the test.
18648: else
18649: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650: for as_dir in $PATH
18651: do
18652:   IFS=$as_save_IFS
18653:   test -z "$as_dir" && as_dir=.
18654:   for ac_exec_ext in '' $ac_executable_extensions; do
18655:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18656:     ac_cv_prog_CC="${ac_tool_prefix}cc"
18657:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18658:     break 2
18659:   fi
18660: done
18661: done
18662: 
18663: fi
18664: fi
18665: CC=$ac_cv_prog_CC
18666: if test -n "$CC"; then
18667:   echo "$as_me:$LINENO: result: $CC" >&5
18668: echo "${ECHO_T}$CC" >&6
18669: else
18670:   echo "$as_me:$LINENO: result: no" >&5
18671: echo "${ECHO_T}no" >&6
18672: fi
18673: 
18674: fi
18675: if test -z "$ac_cv_prog_CC"; then
18676:   ac_ct_CC=$CC
18677:   # Extract the first word of "cc", so it can be a program name with args.
18678: set dummy cc; ac_word=$2
18679: echo "$as_me:$LINENO: checking for $ac_word" >&5
18680: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18681: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18682:   echo $ECHO_N "(cached) $ECHO_C" >&6
18683: else
18684:   if test -n "$ac_ct_CC"; then
18685:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18686: else
18687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18688: for as_dir in $PATH
18689: do
18690:   IFS=$as_save_IFS
18691:   test -z "$as_dir" && as_dir=.
18692:   for ac_exec_ext in '' $ac_executable_extensions; do
18693:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18694:     ac_cv_prog_ac_ct_CC="cc"
18695:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18696:     break 2
18697:   fi
18698: done
18699: done
18700: 
18701: fi
18702: fi
18703: ac_ct_CC=$ac_cv_prog_ac_ct_CC
18704: if test -n "$ac_ct_CC"; then
18705:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18706: echo "${ECHO_T}$ac_ct_CC" >&6
18707: else
18708:   echo "$as_me:$LINENO: result: no" >&5
18709: echo "${ECHO_T}no" >&6
18710: fi
18711: 
18712:   CC=$ac_ct_CC
18713: else
18714:   CC="$ac_cv_prog_CC"
18715: fi
18716: 
18717: fi
18718: if test -z "$CC"; then
18719:   # Extract the first word of "cc", so it can be a program name with args.
18720: set dummy cc; ac_word=$2
18721: echo "$as_me:$LINENO: checking for $ac_word" >&5
18722: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18723: if test "${ac_cv_prog_CC+set}" = set; then
18724:   echo $ECHO_N "(cached) $ECHO_C" >&6
18725: else
18726:   if test -n "$CC"; then
18727:   ac_cv_prog_CC="$CC" # Let the user override the test.
18728: else
18729:   ac_prog_rejected=no
18730: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18731: for as_dir in $PATH
18732: do
18733:   IFS=$as_save_IFS
18734:   test -z "$as_dir" && as_dir=.
18735:   for ac_exec_ext in '' $ac_executable_extensions; do
18736:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18737:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18738:        ac_prog_rejected=yes
18739:        continue
18740:      fi
18741:     ac_cv_prog_CC="cc"
18742:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18743:     break 2
18744:   fi
18745: done
18746: done
18747: 
18748: if test $ac_prog_rejected = yes; then
18749:   # We found a bogon in the path, so make sure we never use it.
18750:   set dummy $ac_cv_prog_CC
18751:   shift
18752:   if test $# != 0; then
18753:     # We chose a different compiler from the bogus one.
18754:     # However, it has the same basename, so the bogon will be chosen
18755:     # first if we set CC to just the basename; use the full file name.
18756:     shift
18757:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
18758:   fi
18759: fi
18760: fi
18761: fi
18762: CC=$ac_cv_prog_CC
18763: if test -n "$CC"; then
18764:   echo "$as_me:$LINENO: result: $CC" >&5
18765: echo "${ECHO_T}$CC" >&6
18766: else
18767:   echo "$as_me:$LINENO: result: no" >&5
18768: echo "${ECHO_T}no" >&6
18769: fi
18770: 
18771: fi
18772: if test -z "$CC"; then
18773:   if test -n "$ac_tool_prefix"; then
18774:   for ac_prog in cl
18775:   do
18776:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18777: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18778: echo "$as_me:$LINENO: checking for $ac_word" >&5
18779: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18780: if test "${ac_cv_prog_CC+set}" = set; then
18781:   echo $ECHO_N "(cached) $ECHO_C" >&6
18782: else
18783:   if test -n "$CC"; then
18784:   ac_cv_prog_CC="$CC" # Let the user override the test.
18785: else
18786: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18787: for as_dir in $PATH
18788: do
18789:   IFS=$as_save_IFS
18790:   test -z "$as_dir" && as_dir=.
18791:   for ac_exec_ext in '' $ac_executable_extensions; do
18792:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18793:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18794:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18795:     break 2
18796:   fi
18797: done
18798: done
18799: 
18800: fi
18801: fi
18802: CC=$ac_cv_prog_CC
18803: if test -n "$CC"; then
18804:   echo "$as_me:$LINENO: result: $CC" >&5
18805: echo "${ECHO_T}$CC" >&6
18806: else
18807:   echo "$as_me:$LINENO: result: no" >&5
18808: echo "${ECHO_T}no" >&6
18809: fi
18810: 
18811:     test -n "$CC" && break
18812:   done
18813: fi
18814: if test -z "$CC"; then
18815:   ac_ct_CC=$CC
18816:   for ac_prog in cl
18817: do
18818:   # Extract the first word of "$ac_prog", so it can be a program name with args.
18819: set dummy $ac_prog; ac_word=$2
18820: echo "$as_me:$LINENO: checking for $ac_word" >&5
18821: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18822: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18823:   echo $ECHO_N "(cached) $ECHO_C" >&6
18824: else
18825:   if test -n "$ac_ct_CC"; then
18826:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18827: else
18828: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18829: for as_dir in $PATH
18830: do
18831:   IFS=$as_save_IFS
18832:   test -z "$as_dir" && as_dir=.
18833:   for ac_exec_ext in '' $ac_executable_extensions; do
18834:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18835:     ac_cv_prog_ac_ct_CC="$ac_prog"
18836:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18837:     break 2
18838:   fi
18839: done
18840: done
18841: 
18842: fi
18843: fi
18844: ac_ct_CC=$ac_cv_prog_ac_ct_CC
18845: if test -n "$ac_ct_CC"; then
18846:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18847: echo "${ECHO_T}$ac_ct_CC" >&6
18848: else
18849:   echo "$as_me:$LINENO: result: no" >&5
18850: echo "${ECHO_T}no" >&6
18851: fi
18852: 
18853:   test -n "$ac_ct_CC" && break
18854: done
18855: 
18856:   CC=$ac_ct_CC
18857: fi
18858: 
18859: fi
18860: 
18861: 
18862: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
18863: See \`config.log' for more details." >&5
18864: echo "$as_me: error: no acceptable C compiler found in \$PATH
18865: See \`config.log' for more details." >&2;}
18866:    { (exit 1); exit 1; }; }
18867: 
18868: # Provide some information about the compiler.
18869: echo "$as_me:$LINENO:" \
18870:      "checking for C compiler version" >&5
18871: ac_compiler=`set X $ac_compile; echo $2`
18872: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18873:   (eval $ac_compiler --version </dev/null >&5) 2>&5
18874:   ac_status=$?
18875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876:   (exit $ac_status); }
18877: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18878:   (eval $ac_compiler -v </dev/null >&5) 2>&5
18879:   ac_status=$?
18880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881:   (exit $ac_status); }
18882: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18883:   (eval $ac_compiler -V </dev/null >&5) 2>&5
18884:   ac_status=$?
18885:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886:   (exit $ac_status); }
18887: 
18888: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18889: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
18890: if test "${ac_cv_c_compiler_gnu+set}" = set; then
18891:   echo $ECHO_N "(cached) $ECHO_C" >&6
18892: else
18893:   cat >conftest.$ac_ext <<_ACEOF
18894: /* confdefs.h.  */
18895: _ACEOF
18896: cat confdefs.h >>conftest.$ac_ext
18897: cat >>conftest.$ac_ext <<_ACEOF
18898: /* end confdefs.h.  */
18899: 
18900: int
18901: main ()
18902: {
18903: #ifndef __GNUC__
18904:        choke me
18905: #endif
18906: 
18907:   ;
18908:   return 0;
18909: }
18910: _ACEOF
18911: rm -f conftest.$ac_objext
18912: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913:   (eval $ac_compile) 2>conftest.er1
18914:   ac_status=$?
18915:   grep -v '^ *+' conftest.er1 >conftest.err
18916:   rm -f conftest.er1
18917:   cat conftest.err >&5
18918:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919:   (exit $ac_status); } &&
18920: 	 { ac_try='test -z "$ac_c_werror_flag"
18921: 			 || test ! -s conftest.err'
18922:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923:   (eval $ac_try) 2>&5
18924:   ac_status=$?
18925:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926:   (exit $ac_status); }; } &&
18927: 	 { ac_try='test -s conftest.$ac_objext'
18928:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929:   (eval $ac_try) 2>&5
18930:   ac_status=$?
18931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932:   (exit $ac_status); }; }; then
18933:   ac_compiler_gnu=yes
18934: else
18935:   echo "$as_me: failed program was:" >&5
18936: sed 's/^/| /' conftest.$ac_ext >&5
18937: 
18938: ac_compiler_gnu=no
18939: fi
18940: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18941: ac_cv_c_compiler_gnu=$ac_compiler_gnu
18942: 
18943: fi
18944: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18945: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
18946: GCC=`test $ac_compiler_gnu = yes && echo yes`
18947: ac_test_CFLAGS=${CFLAGS+set}
18948: ac_save_CFLAGS=$CFLAGS
18949: CFLAGS="-g"
18950: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18951: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
18952: if test "${ac_cv_prog_cc_g+set}" = set; then
18953:   echo $ECHO_N "(cached) $ECHO_C" >&6
18954: else
18955:   cat >conftest.$ac_ext <<_ACEOF
18956: /* confdefs.h.  */
18957: _ACEOF
18958: cat confdefs.h >>conftest.$ac_ext
18959: cat >>conftest.$ac_ext <<_ACEOF
18960: /* end confdefs.h.  */
18961: 
18962: int
18963: main ()
18964: {
18965: 
18966:   ;
18967:   return 0;
18968: }
18969: _ACEOF
18970: rm -f conftest.$ac_objext
18971: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18972:   (eval $ac_compile) 2>conftest.er1
18973:   ac_status=$?
18974:   grep -v '^ *+' conftest.er1 >conftest.err
18975:   rm -f conftest.er1
18976:   cat conftest.err >&5
18977:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978:   (exit $ac_status); } &&
18979: 	 { ac_try='test -z "$ac_c_werror_flag"
18980: 			 || test ! -s conftest.err'
18981:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982:   (eval $ac_try) 2>&5
18983:   ac_status=$?
18984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985:   (exit $ac_status); }; } &&
18986: 	 { ac_try='test -s conftest.$ac_objext'
18987:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988:   (eval $ac_try) 2>&5
18989:   ac_status=$?
18990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991:   (exit $ac_status); }; }; then
18992:   ac_cv_prog_cc_g=yes
18993: else
18994:   echo "$as_me: failed program was:" >&5
18995: sed 's/^/| /' conftest.$ac_ext >&5
18996: 
18997: ac_cv_prog_cc_g=no
18998: fi
18999: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19000: fi
19001: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19002: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
19003: if test "$ac_test_CFLAGS" = set; then
19004:   CFLAGS=$ac_save_CFLAGS
19005: elif test $ac_cv_prog_cc_g = yes; then
19006:   if test "$GCC" = yes; then
19007:     CFLAGS="-g -O2"
19008:   else
19009:     CFLAGS="-g"
19010:   fi
19011: else
19012:   if test "$GCC" = yes; then
19013:     CFLAGS="-O2"
19014:   else
19015:     CFLAGS=
19016:   fi
19017: fi
19018: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19019: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19020: if test "${ac_cv_prog_cc_stdc+set}" = set; then
19021:   echo $ECHO_N "(cached) $ECHO_C" >&6
19022: else
19023:   ac_cv_prog_cc_stdc=no
19024: ac_save_CC=$CC
19025: cat >conftest.$ac_ext <<_ACEOF
19026: /* confdefs.h.  */
19027: _ACEOF
19028: cat confdefs.h >>conftest.$ac_ext
19029: cat >>conftest.$ac_ext <<_ACEOF
19030: /* end confdefs.h.  */
19031: #include <stdarg.h>
19032: #include <stdio.h>
19033: #include <sys/types.h>
19034: #include <sys/stat.h>
19035: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19036: struct buf { int x; };
19037: FILE * (*rcsopen) (struct buf *, struct stat *, int);
19038: static char *e (p, i)
19039:      char **p;
19040:      int i;
19041: {
19042:   return p[i];
19043: }
19044: static char *f (char * (*g) (char **, int), char **p, ...)
19045: {
19046:   char *s;
19047:   va_list v;
19048:   va_start (v,p);
19049:   s = g (p, va_arg (v,int));
19050:   va_end (v);
19051:   return s;
19052: }
19053: 
19054: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19055:    function prototypes and stuff, but not '\xHH' hex character constants.
19056:    These don't provoke an error unfortunately, instead are silently treated
19057:    as 'x'.  The following induces an error, until -std1 is added to get
19058:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19059:    array size at least.  It's necessary to write '\x00'==0 to get something
19060:    that's true only with -std1.  */
19061: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19062: 
19063: int test (int i, double x);
19064: struct s1 {int (*f) (int a);};
19065: struct s2 {int (*f) (double a);};
19066: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19067: int argc;
19068: char **argv;
19069: int
19070: main ()
19071: {
19072: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
19073:   ;
19074:   return 0;
19075: }
19076: _ACEOF
19077: # Don't try gcc -ansi; that turns off useful extensions and
19078: # breaks some systems' header files.
19079: # AIX			-qlanglvl=ansi
19080: # Ultrix and OSF/1	-std1
19081: # HP-UX 10.20 and later	-Ae
19082: # HP-UX older versions	-Aa -D_HPUX_SOURCE
19083: # SVR4			-Xc -D__EXTENSIONS__
19084: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19085: do
19086:   CC="$ac_save_CC $ac_arg"
19087:   rm -f conftest.$ac_objext
19088: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19089:   (eval $ac_compile) 2>conftest.er1
19090:   ac_status=$?
19091:   grep -v '^ *+' conftest.er1 >conftest.err
19092:   rm -f conftest.er1
19093:   cat conftest.err >&5
19094:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095:   (exit $ac_status); } &&
19096: 	 { ac_try='test -z "$ac_c_werror_flag"
19097: 			 || test ! -s conftest.err'
19098:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099:   (eval $ac_try) 2>&5
19100:   ac_status=$?
19101:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102:   (exit $ac_status); }; } &&
19103: 	 { ac_try='test -s conftest.$ac_objext'
19104:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105:   (eval $ac_try) 2>&5
19106:   ac_status=$?
19107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108:   (exit $ac_status); }; }; then
19109:   ac_cv_prog_cc_stdc=$ac_arg
19110: break
19111: else
19112:   echo "$as_me: failed program was:" >&5
19113: sed 's/^/| /' conftest.$ac_ext >&5
19114: 
19115: fi
19116: rm -f conftest.err conftest.$ac_objext
19117: done
19118: rm -f conftest.$ac_ext conftest.$ac_objext
19119: CC=$ac_save_CC
19120: 
19121: fi
19122: 
19123: case "x$ac_cv_prog_cc_stdc" in
19124:   x|xno)
19125:     echo "$as_me:$LINENO: result: none needed" >&5
19126: echo "${ECHO_T}none needed" >&6 ;;
19127:   *)
19128:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19129: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19130:     CC="$CC $ac_cv_prog_cc_stdc" ;;
19131: esac
19132: 
19133: # Some people use a C++ compiler to compile C.  Since we use `exit',
19134: # in C++ we need to declare it.  In case someone uses the same compiler
19135: # for both compiling C and C++ we need to have the C++ compiler decide
19136: # the declaration of exit, since it's the most demanding environment.
19137: cat >conftest.$ac_ext <<_ACEOF
19138: #ifndef __cplusplus
19139:   choke me
19140: #endif
19141: _ACEOF
19142: rm -f conftest.$ac_objext
19143: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144:   (eval $ac_compile) 2>conftest.er1
19145:   ac_status=$?
19146:   grep -v '^ *+' conftest.er1 >conftest.err
19147:   rm -f conftest.er1
19148:   cat conftest.err >&5
19149:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150:   (exit $ac_status); } &&
19151: 	 { ac_try='test -z "$ac_c_werror_flag"
19152: 			 || test ! -s conftest.err'
19153:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154:   (eval $ac_try) 2>&5
19155:   ac_status=$?
19156:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157:   (exit $ac_status); }; } &&
19158: 	 { ac_try='test -s conftest.$ac_objext'
19159:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160:   (eval $ac_try) 2>&5
19161:   ac_status=$?
19162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163:   (exit $ac_status); }; }; then
19164:   for ac_declaration in \
19165:    '' \
19166:    'extern "C" void std::exit (int) throw (); using std::exit;' \
19167:    'extern "C" void std::exit (int); using std::exit;' \
19168:    'extern "C" void exit (int) throw ();' \
19169:    'extern "C" void exit (int);' \
19170:    'void exit (int);'
19171: do
19172:   cat >conftest.$ac_ext <<_ACEOF
19173: /* confdefs.h.  */
19174: _ACEOF
19175: cat confdefs.h >>conftest.$ac_ext
19176: cat >>conftest.$ac_ext <<_ACEOF
19177: /* end confdefs.h.  */
19178: $ac_declaration
19179: #include <stdlib.h>
19180: int
19181: main ()
19182: {
19183: exit (42);
19184:   ;
19185:   return 0;
19186: }
19187: _ACEOF
19188: rm -f conftest.$ac_objext
19189: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190:   (eval $ac_compile) 2>conftest.er1
19191:   ac_status=$?
19192:   grep -v '^ *+' conftest.er1 >conftest.err
19193:   rm -f conftest.er1
19194:   cat conftest.err >&5
19195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196:   (exit $ac_status); } &&
19197: 	 { ac_try='test -z "$ac_c_werror_flag"
19198: 			 || test ! -s conftest.err'
19199:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200:   (eval $ac_try) 2>&5
19201:   ac_status=$?
19202:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203:   (exit $ac_status); }; } &&
19204: 	 { ac_try='test -s conftest.$ac_objext'
19205:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206:   (eval $ac_try) 2>&5
19207:   ac_status=$?
19208:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209:   (exit $ac_status); }; }; then
19210:   :
19211: else
19212:   echo "$as_me: failed program was:" >&5
19213: sed 's/^/| /' conftest.$ac_ext >&5
19214: 
19215: continue
19216: fi
19217: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19218:   cat >conftest.$ac_ext <<_ACEOF
19219: /* confdefs.h.  */
19220: _ACEOF
19221: cat confdefs.h >>conftest.$ac_ext
19222: cat >>conftest.$ac_ext <<_ACEOF
19223: /* end confdefs.h.  */
19224: $ac_declaration
19225: int
19226: main ()
19227: {
19228: exit (42);
19229:   ;
19230:   return 0;
19231: }
19232: _ACEOF
19233: rm -f conftest.$ac_objext
19234: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235:   (eval $ac_compile) 2>conftest.er1
19236:   ac_status=$?
19237:   grep -v '^ *+' conftest.er1 >conftest.err
19238:   rm -f conftest.er1
19239:   cat conftest.err >&5
19240:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241:   (exit $ac_status); } &&
19242: 	 { ac_try='test -z "$ac_c_werror_flag"
19243: 			 || test ! -s conftest.err'
19244:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245:   (eval $ac_try) 2>&5
19246:   ac_status=$?
19247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248:   (exit $ac_status); }; } &&
19249: 	 { ac_try='test -s conftest.$ac_objext'
19250:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251:   (eval $ac_try) 2>&5
19252:   ac_status=$?
19253:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254:   (exit $ac_status); }; }; then
19255:   break
19256: else
19257:   echo "$as_me: failed program was:" >&5
19258: sed 's/^/| /' conftest.$ac_ext >&5
19259: 
19260: fi
19261: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19262: done
19263: rm -f conftest*
19264: if test -n "$ac_declaration"; then
19265:   echo '#ifdef __cplusplus' >>confdefs.h
19266:   echo $ac_declaration      >>confdefs.h
19267:   echo '#endif'             >>confdefs.h
19268: fi
19269: 
19270: else
19271:   echo "$as_me: failed program was:" >&5
19272: sed 's/^/| /' conftest.$ac_ext >&5
19273: 
19274: fi
19275: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19276: ac_ext=c
19277: ac_cpp='$CPP $CPPFLAGS'
19278: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280: ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281: 
19282: # Find a good install program.  We prefer a C program (faster),
19283: # so one script is as good as another.  But avoid the broken or
19284: # incompatible versions:
19285: # SysV /etc/install, /usr/sbin/install
19286: # SunOS /usr/etc/install
19287: # IRIX /sbin/install
19288: # AIX /bin/install
19289: # AmigaOS /C/install, which installs bootblocks on floppy discs
19290: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19291: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19292: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19293: # OS/2's system install, which has a completely different semantic
19294: # ./install, which can be erroneously created by make from ./install.sh.
19295: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19296: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
19297: if test -z "$INSTALL"; then
19298: if test "${ac_cv_path_install+set}" = set; then
19299:   echo $ECHO_N "(cached) $ECHO_C" >&6
19300: else
19301:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19302: for as_dir in $PATH
19303: do
19304:   IFS=$as_save_IFS
19305:   test -z "$as_dir" && as_dir=.
19306:   # Account for people who put trailing slashes in PATH elements.
19307: case $as_dir/ in
19308:   ./ | .// | /cC/* | \
19309:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19310:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19311:   /usr/ucb/* ) ;;
19312:   *)
19313:     # OSF1 and SCO ODT 3.0 have their own names for install.
19314:     # Don't use installbsd from OSF since it installs stuff as root
19315:     # by default.
19316:     for ac_prog in ginstall scoinst install; do
19317:       for ac_exec_ext in '' $ac_executable_extensions; do
19318: 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
19319: 	  if test $ac_prog = install &&
19320: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19321: 	    # AIX install.  It has an incompatible calling convention.
19322: 	    :
19323: 	  elif test $ac_prog = install &&
19324: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19325: 	    # program-specific install script used by HP pwplus--don't use.
19326: 	    :
19327: 	  else
19328: 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19329: 	    break 3
19330: 	  fi
19331: 	fi
19332:       done
19333:     done
19334:     ;;
19335: esac
19336: done
19337: 
19338: 
19339: fi
19340:   if test "${ac_cv_path_install+set}" = set; then
19341:     INSTALL=$ac_cv_path_install
19342:   else
19343:     # As a last resort, use the slow shell script.  We don't cache a
19344:     # path for INSTALL within a source directory, because that will
19345:     # break other packages using the cache if that directory is
19346:     # removed, or if the path is relative.
19347:     INSTALL=$ac_install_sh
19348:   fi
19349: fi
19350: echo "$as_me:$LINENO: result: $INSTALL" >&5
19351: echo "${ECHO_T}$INSTALL" >&6
19352: 
19353: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19354: # It thinks the first close brace ends the variable substitution.
19355: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19356: 
19357: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19358: 
19359: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19360: 
19361: 
19362: if test "$GCC" = yes ; then
19363:                         OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
19364:     CFLAGS="$OLDCFLAGS -fexceptions"
19365:     echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
19366: echo $ECHO_N "checking whether $CC accepts -fexceptions... $ECHO_C" >&6
19367:     cat >conftest.$ac_ext <<_ACEOF
19368: /* confdefs.h.  */
19369: _ACEOF
19370: cat confdefs.h >>conftest.$ac_ext
19371: cat >>conftest.$ac_ext <<_ACEOF
19372: /* end confdefs.h.  */
19373: 
19374: int
19375: main ()
19376: {
19377: 
19378:   ;
19379:   return 0;
19380: }
19381: _ACEOF
19382: rm -f conftest.$ac_objext conftest$ac_exeext
19383: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384:   (eval $ac_link) 2>conftest.er1
19385:   ac_status=$?
19386:   grep -v '^ *+' conftest.er1 >conftest.err
19387:   rm -f conftest.er1
19388:   cat conftest.err >&5
19389:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390:   (exit $ac_status); } &&
19391: 	 { ac_try='test -z "$ac_c_werror_flag"
19392: 			 || test ! -s conftest.err'
19393:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394:   (eval $ac_try) 2>&5
19395:   ac_status=$?
19396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397:   (exit $ac_status); }; } &&
19398: 	 { ac_try='test -s conftest$ac_exeext'
19399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400:   (eval $ac_try) 2>&5
19401:   ac_status=$?
19402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403:   (exit $ac_status); }; }; then
19404:   echo "$as_me:$LINENO: result: yes" >&5
19405: echo "${ECHO_T}yes" >&6
19406: else
19407:   echo "$as_me: failed program was:" >&5
19408: sed 's/^/| /' conftest.$ac_ext >&5
19409: 
19410: echo "$as_me:$LINENO: result: no" >&5
19411: echo "${ECHO_T}no" >&6; CFLAGS="$OLDCFLAGS"
19412: fi
19413: rm -f conftest.err conftest.$ac_objext \
19414:       conftest$ac_exeext conftest.$ac_ext
19415:     CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
19416: fi
19417: 
19418: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19419: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19420: if test "${ac_cv_header_stdc+set}" = set; then
19421:   echo $ECHO_N "(cached) $ECHO_C" >&6
19422: else
19423:   cat >conftest.$ac_ext <<_ACEOF
19424: /* confdefs.h.  */
19425: _ACEOF
19426: cat confdefs.h >>conftest.$ac_ext
19427: cat >>conftest.$ac_ext <<_ACEOF
19428: /* end confdefs.h.  */
19429: #include <stdlib.h>
19430: #include <stdarg.h>
19431: #include <string.h>
19432: #include <float.h>
19433: 
19434: int
19435: main ()
19436: {
19437: 
19438:   ;
19439:   return 0;
19440: }
19441: _ACEOF
19442: rm -f conftest.$ac_objext
19443: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444:   (eval $ac_compile) 2>conftest.er1
19445:   ac_status=$?
19446:   grep -v '^ *+' conftest.er1 >conftest.err
19447:   rm -f conftest.er1
19448:   cat conftest.err >&5
19449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450:   (exit $ac_status); } &&
19451: 	 { ac_try='test -z "$ac_c_werror_flag"
19452: 			 || test ! -s conftest.err'
19453:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454:   (eval $ac_try) 2>&5
19455:   ac_status=$?
19456:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457:   (exit $ac_status); }; } &&
19458: 	 { ac_try='test -s conftest.$ac_objext'
19459:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460:   (eval $ac_try) 2>&5
19461:   ac_status=$?
19462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463:   (exit $ac_status); }; }; then
19464:   ac_cv_header_stdc=yes
19465: else
19466:   echo "$as_me: failed program was:" >&5
19467: sed 's/^/| /' conftest.$ac_ext >&5
19468: 
19469: ac_cv_header_stdc=no
19470: fi
19471: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19472: 
19473: if test $ac_cv_header_stdc = yes; then
19474:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19475:   cat >conftest.$ac_ext <<_ACEOF
19476: /* confdefs.h.  */
19477: _ACEOF
19478: cat confdefs.h >>conftest.$ac_ext
19479: cat >>conftest.$ac_ext <<_ACEOF
19480: /* end confdefs.h.  */
19481: #include <string.h>
19482: 
19483: _ACEOF
19484: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19485:   $EGREP "memchr" >/dev/null 2>&1; then
19486:   :
19487: else
19488:   ac_cv_header_stdc=no
19489: fi
19490: rm -f conftest*
19491: 
19492: fi
19493: 
19494: if test $ac_cv_header_stdc = yes; then
19495:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19496:   cat >conftest.$ac_ext <<_ACEOF
19497: /* confdefs.h.  */
19498: _ACEOF
19499: cat confdefs.h >>conftest.$ac_ext
19500: cat >>conftest.$ac_ext <<_ACEOF
19501: /* end confdefs.h.  */
19502: #include <stdlib.h>
19503: 
19504: _ACEOF
19505: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19506:   $EGREP "free" >/dev/null 2>&1; then
19507:   :
19508: else
19509:   ac_cv_header_stdc=no
19510: fi
19511: rm -f conftest*
19512: 
19513: fi
19514: 
19515: if test $ac_cv_header_stdc = yes; then
19516:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19517:   if test "$cross_compiling" = yes; then
19518:   :
19519: else
19520:   cat >conftest.$ac_ext <<_ACEOF
19521: /* confdefs.h.  */
19522: _ACEOF
19523: cat confdefs.h >>conftest.$ac_ext
19524: cat >>conftest.$ac_ext <<_ACEOF
19525: /* end confdefs.h.  */
19526: #include <ctype.h>
19527: #if ((' ' & 0x0FF) == 0x020)
19528: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19529: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19530: #else
19531: # define ISLOWER(c) \
19532: 		   (('a' <= (c) && (c) <= 'i') \
19533: 		     || ('j' <= (c) && (c) <= 'r') \
19534: 		     || ('s' <= (c) && (c) <= 'z'))
19535: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19536: #endif
19537: 
19538: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19539: int
19540: main ()
19541: {
19542:   int i;
19543:   for (i = 0; i < 256; i++)
19544:     if (XOR (islower (i), ISLOWER (i))
19545: 	|| toupper (i) != TOUPPER (i))
19546:       exit(2);
19547:   exit (0);
19548: }
19549: _ACEOF
19550: rm -f conftest$ac_exeext
19551: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552:   (eval $ac_link) 2>&5
19553:   ac_status=$?
19554:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19556:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557:   (eval $ac_try) 2>&5
19558:   ac_status=$?
19559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560:   (exit $ac_status); }; }; then
19561:   :
19562: else
19563:   echo "$as_me: program exited with status $ac_status" >&5
19564: echo "$as_me: failed program was:" >&5
19565: sed 's/^/| /' conftest.$ac_ext >&5
19566: 
19567: ( exit $ac_status )
19568: ac_cv_header_stdc=no
19569: fi
19570: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19571: fi
19572: fi
19573: fi
19574: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19575: echo "${ECHO_T}$ac_cv_header_stdc" >&6
19576: if test $ac_cv_header_stdc = yes; then
19577: 
19578: cat >>confdefs.h <<\_ACEOF
19579: #define STDC_HEADERS 1
19580: _ACEOF
19581: 
19582: fi
19583: 
19584: 
19585: 
19586: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19587: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19588: if test "${ac_cv_c_bigendian+set}" = set; then
19589:   echo $ECHO_N "(cached) $ECHO_C" >&6
19590: else
19591:   ac_cv_c_bigendian=unknown
19592: # See if sys/param.h defines the BYTE_ORDER macro.
19593: cat >conftest.$ac_ext <<_ACEOF
19594: /* confdefs.h.  */
19595: _ACEOF
19596: cat confdefs.h >>conftest.$ac_ext
19597: cat >>conftest.$ac_ext <<_ACEOF
19598: /* end confdefs.h.  */
19599: #include <sys/types.h>
19600: #include <sys/param.h>
19601: int
19602: main ()
19603: {
19604: 
19605: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19606:  bogus endian macros
19607: #endif
19608:   ;
19609:   return 0;
19610: }
19611: _ACEOF
19612: rm -f conftest.$ac_objext
19613: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614:   (eval $ac_compile) 2>conftest.er1
19615:   ac_status=$?
19616:   grep -v '^ *+' conftest.er1 >conftest.err
19617:   rm -f conftest.er1
19618:   cat conftest.err >&5
19619:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620:   (exit $ac_status); } &&
19621: 	 { ac_try='test -z "$ac_c_werror_flag"
19622: 			 || test ! -s conftest.err'
19623:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624:   (eval $ac_try) 2>&5
19625:   ac_status=$?
19626:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627:   (exit $ac_status); }; } &&
19628: 	 { ac_try='test -s conftest.$ac_objext'
19629:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630:   (eval $ac_try) 2>&5
19631:   ac_status=$?
19632:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633:   (exit $ac_status); }; }; then
19634:   # It does; now see whether it defined to BIG_ENDIAN or not.
19635: cat >conftest.$ac_ext <<_ACEOF
19636: /* confdefs.h.  */
19637: _ACEOF
19638: cat confdefs.h >>conftest.$ac_ext
19639: cat >>conftest.$ac_ext <<_ACEOF
19640: /* end confdefs.h.  */
19641: #include <sys/types.h>
19642: #include <sys/param.h>
19643: int
19644: main ()
19645: {
19646: 
19647: #if BYTE_ORDER != BIG_ENDIAN
19648:  not big endian
19649: #endif
19650:   ;
19651:   return 0;
19652: }
19653: _ACEOF
19654: rm -f conftest.$ac_objext
19655: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19656:   (eval $ac_compile) 2>conftest.er1
19657:   ac_status=$?
19658:   grep -v '^ *+' conftest.er1 >conftest.err
19659:   rm -f conftest.er1
19660:   cat conftest.err >&5
19661:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662:   (exit $ac_status); } &&
19663: 	 { ac_try='test -z "$ac_c_werror_flag"
19664: 			 || test ! -s conftest.err'
19665:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666:   (eval $ac_try) 2>&5
19667:   ac_status=$?
19668:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669:   (exit $ac_status); }; } &&
19670: 	 { ac_try='test -s conftest.$ac_objext'
19671:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672:   (eval $ac_try) 2>&5
19673:   ac_status=$?
19674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675:   (exit $ac_status); }; }; then
19676:   ac_cv_c_bigendian=yes
19677: else
19678:   echo "$as_me: failed program was:" >&5
19679: sed 's/^/| /' conftest.$ac_ext >&5
19680: 
19681: ac_cv_c_bigendian=no
19682: fi
19683: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19684: else
19685:   echo "$as_me: failed program was:" >&5
19686: sed 's/^/| /' conftest.$ac_ext >&5
19687: 
19688: fi
19689: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690: if test $ac_cv_c_bigendian = unknown; then
19691: if test "$cross_compiling" = yes; then
19692:    echo $ac_n "cross-compiling... " 2>&6
19693: else
19694:   cat >conftest.$ac_ext <<_ACEOF
19695: /* confdefs.h.  */
19696: _ACEOF
19697: cat confdefs.h >>conftest.$ac_ext
19698: cat >>conftest.$ac_ext <<_ACEOF
19699: /* end confdefs.h.  */
19700: main () {
19701:   /* Are we little or big endian?  From Harbison&Steele.  */
19702:   union
19703:   {
19704:     long l;
19705:     char c[sizeof (long)];
19706:   } u;
19707:   u.l = 1;
19708:   exit (u.c[sizeof (long) - 1] == 1);
19709: }
19710: _ACEOF
19711: rm -f conftest$ac_exeext
19712: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19713:   (eval $ac_link) 2>&5
19714:   ac_status=$?
19715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19717:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718:   (eval $ac_try) 2>&5
19719:   ac_status=$?
19720:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721:   (exit $ac_status); }; }; then
19722:   ac_cv_c_bigendian=no
19723: else
19724:   echo "$as_me: program exited with status $ac_status" >&5
19725: echo "$as_me: failed program was:" >&5
19726: sed 's/^/| /' conftest.$ac_ext >&5
19727: 
19728: ( exit $ac_status )
19729: ac_cv_c_bigendian=yes
19730: fi
19731: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19732: fi
19733: fi
19734: fi
19735: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19736: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19737: if test $ac_cv_c_bigendian = unknown; then
19738: echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
19739: echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
19740: 
19741: cat >conftest.c <<EOF
19742: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19743: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19744: void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
19745: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19746: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19747: void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
19748: int main() { _ascii (); _ebcdic (); return 0; }
19749: EOF
19750:  if test -f conftest.c ; then
19751:      if ${CC-cc} -c conftest.c -o conftest.o && test -f conftest.o ; then
19752:         if test `grep -l BIGenDianSyS conftest.o` ; then
19753:            echo $ac_n ' big endian probe OK, ' 1>&6
19754:            ac_cv_c_bigendian=yes
19755:         fi
19756:         if test `grep -l LiTTleEnDian conftest.o` ; then
19757:            echo $ac_n ' little endian probe OK, ' 1>&6
19758:            if test $ac_cv_c_bigendian = yes ; then
19759:             ac_cv_c_bigendian=unknown;
19760:            else
19761:             ac_cv_c_bigendian=no
19762:            fi
19763:         fi
19764:         echo $ac_n 'guessing bigendian ...  ' >&6
19765:      fi
19766:   fi
19767: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19768: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19769: fi
19770: if test $ac_cv_c_bigendian = yes; then
19771: 
19772: cat >>confdefs.h <<\_ACEOF
19773: #define WORDS_BIGENDIAN 1
19774: _ACEOF
19775: 
19776:   BYTEORDER=4321
19777: else
19778:   BYTEORDER=1234
19779: fi
19780: 
19781: cat >>confdefs.h <<_ACEOF
19782: #define BYTEORDER $BYTEORDER
19783: _ACEOF
19784: 
19785: if test $ac_cv_c_bigendian = unknown; then
19786:   { { echo "$as_me:$LINENO: error: unknown endianess - sorry" >&5
19787: echo "$as_me: error: unknown endianess - sorry" >&2;}
19788:    { (exit please pre-set ac_cv_c_bigendian); exit please pre-set ac_cv_c_bigendian; }; }
19789: fi
19790: 
19791: 
19792: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19793: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19794: if test "${ac_cv_c_const+set}" = set; then
19795:   echo $ECHO_N "(cached) $ECHO_C" >&6
19796: else
19797:   cat >conftest.$ac_ext <<_ACEOF
19798: /* confdefs.h.  */
19799: _ACEOF
19800: cat confdefs.h >>conftest.$ac_ext
19801: cat >>conftest.$ac_ext <<_ACEOF
19802: /* end confdefs.h.  */
19803: 
19804: int
19805: main ()
19806: {
19807: /* FIXME: Include the comments suggested by Paul. */
19808: #ifndef __cplusplus
19809:   /* Ultrix mips cc rejects this.  */
19810:   typedef int charset[2];
19811:   const charset x;
19812:   /* SunOS 4.1.1 cc rejects this.  */
19813:   char const *const *ccp;
19814:   char **p;
19815:   /* NEC SVR4.0.2 mips cc rejects this.  */
19816:   struct point {int x, y;};
19817:   static struct point const zero = {0,0};
19818:   /* AIX XL C 1.02.0.0 rejects this.
19819:      It does not let you subtract one const X* pointer from another in
19820:      an arm of an if-expression whose if-part is not a constant
19821:      expression */
19822:   const char *g = "string";
19823:   ccp = &g + (g ? g-g : 0);
19824:   /* HPUX 7.0 cc rejects these. */
19825:   ++ccp;
19826:   p = (char**) ccp;
19827:   ccp = (char const *const *) p;
19828:   { /* SCO 3.2v4 cc rejects this.  */
19829:     char *t;
19830:     char const *s = 0 ? (char *) 0 : (char const *) 0;
19831: 
19832:     *t++ = 0;
19833:   }
19834:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19835:     int x[] = {25, 17};
19836:     const int *foo = &x[0];
19837:     ++foo;
19838:   }
19839:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19840:     typedef const int *iptr;
19841:     iptr p = 0;
19842:     ++p;
19843:   }
19844:   { /* AIX XL C 1.02.0.0 rejects this saying
19845:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19846:     struct s { int j; const int *ap[3]; };
19847:     struct s *b; b->j = 5;
19848:   }
19849:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19850:     const int foo = 10;
19851:   }
19852: #endif
19853: 
19854:   ;
19855:   return 0;
19856: }
19857: _ACEOF
19858: rm -f conftest.$ac_objext
19859: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860:   (eval $ac_compile) 2>conftest.er1
19861:   ac_status=$?
19862:   grep -v '^ *+' conftest.er1 >conftest.err
19863:   rm -f conftest.er1
19864:   cat conftest.err >&5
19865:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866:   (exit $ac_status); } &&
19867: 	 { ac_try='test -z "$ac_c_werror_flag"
19868: 			 || test ! -s conftest.err'
19869:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870:   (eval $ac_try) 2>&5
19871:   ac_status=$?
19872:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873:   (exit $ac_status); }; } &&
19874: 	 { ac_try='test -s conftest.$ac_objext'
19875:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876:   (eval $ac_try) 2>&5
19877:   ac_status=$?
19878:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879:   (exit $ac_status); }; }; then
19880:   ac_cv_c_const=yes
19881: else
19882:   echo "$as_me: failed program was:" >&5
19883: sed 's/^/| /' conftest.$ac_ext >&5
19884: 
19885: ac_cv_c_const=no
19886: fi
19887: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19888: fi
19889: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19890: echo "${ECHO_T}$ac_cv_c_const" >&6
19891: if test $ac_cv_c_const = no; then
19892: 
19893: cat >>confdefs.h <<\_ACEOF
19894: #define const
19895: _ACEOF
19896: 
19897: fi
19898: 
19899: echo "$as_me:$LINENO: checking for size_t" >&5
19900: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19901: if test "${ac_cv_type_size_t+set}" = set; then
19902:   echo $ECHO_N "(cached) $ECHO_C" >&6
19903: else
19904:   cat >conftest.$ac_ext <<_ACEOF
19905: /* confdefs.h.  */
19906: _ACEOF
19907: cat confdefs.h >>conftest.$ac_ext
19908: cat >>conftest.$ac_ext <<_ACEOF
19909: /* end confdefs.h.  */
19910: $ac_includes_default
19911: int
19912: main ()
19913: {
19914: if ((size_t *) 0)
19915:   return 0;
19916: if (sizeof (size_t))
19917:   return 0;
19918:   ;
19919:   return 0;
19920: }
19921: _ACEOF
19922: rm -f conftest.$ac_objext
19923: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19924:   (eval $ac_compile) 2>conftest.er1
19925:   ac_status=$?
19926:   grep -v '^ *+' conftest.er1 >conftest.err
19927:   rm -f conftest.er1
19928:   cat conftest.err >&5
19929:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930:   (exit $ac_status); } &&
19931: 	 { ac_try='test -z "$ac_c_werror_flag"
19932: 			 || test ! -s conftest.err'
19933:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934:   (eval $ac_try) 2>&5
19935:   ac_status=$?
19936:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937:   (exit $ac_status); }; } &&
19938: 	 { ac_try='test -s conftest.$ac_objext'
19939:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940:   (eval $ac_try) 2>&5
19941:   ac_status=$?
19942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943:   (exit $ac_status); }; }; then
19944:   ac_cv_type_size_t=yes
19945: else
19946:   echo "$as_me: failed program was:" >&5
19947: sed 's/^/| /' conftest.$ac_ext >&5
19948: 
19949: ac_cv_type_size_t=no
19950: fi
19951: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19952: fi
19953: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19954: echo "${ECHO_T}$ac_cv_type_size_t" >&6
19955: if test $ac_cv_type_size_t = yes; then
19956:   :
19957: else
19958: 
19959: cat >>confdefs.h <<_ACEOF
19960: #define size_t unsigned
19961: _ACEOF
19962: 
19963: fi
19964: 
19965: 
19966: 
19967: for ac_func in memmove bcopy
19968: do
19969: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19970: echo "$as_me:$LINENO: checking for $ac_func" >&5
19971: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19972: if eval "test \"\${$as_ac_var+set}\" = set"; then
19973:   echo $ECHO_N "(cached) $ECHO_C" >&6
19974: else
19975:   cat >conftest.$ac_ext <<_ACEOF
19976: /* confdefs.h.  */
19977: _ACEOF
19978: cat confdefs.h >>conftest.$ac_ext
19979: cat >>conftest.$ac_ext <<_ACEOF
19980: /* end confdefs.h.  */
19981: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19982:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19983: #define $ac_func innocuous_$ac_func
19984: 
19985: /* System header to define __stub macros and hopefully few prototypes,
19986:     which can conflict with char $ac_func (); below.
19987:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19988:     <limits.h> exists even on freestanding compilers.  */
19989: 
19990: #ifdef __STDC__
19991: # include <limits.h>
19992: #else
19993: # include <assert.h>
19994: #endif
19995: 
19996: #undef $ac_func
19997: 
19998: /* Override any gcc2 internal prototype to avoid an error.  */
19999: #ifdef __cplusplus
20000: extern "C"
20001: {
20002: #endif
20003: /* We use char because int might match the return type of a gcc2
20004:    builtin and then its argument prototype would still apply.  */
20005: char $ac_func ();
20006: /* The GNU C library defines this for functions which it implements
20007:     to always fail with ENOSYS.  Some functions are actually named
20008:     something starting with __ and the normal name is an alias.  */
20009: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20010: choke me
20011: #else
20012: char (*f) () = $ac_func;
20013: #endif
20014: #ifdef __cplusplus
20015: }
20016: #endif
20017: 
20018: int
20019: main ()
20020: {
20021: return f != $ac_func;
20022:   ;
20023:   return 0;
20024: }
20025: _ACEOF
20026: rm -f conftest.$ac_objext conftest$ac_exeext
20027: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028:   (eval $ac_link) 2>conftest.er1
20029:   ac_status=$?
20030:   grep -v '^ *+' conftest.er1 >conftest.err
20031:   rm -f conftest.er1
20032:   cat conftest.err >&5
20033:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034:   (exit $ac_status); } &&
20035: 	 { ac_try='test -z "$ac_c_werror_flag"
20036: 			 || test ! -s conftest.err'
20037:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038:   (eval $ac_try) 2>&5
20039:   ac_status=$?
20040:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041:   (exit $ac_status); }; } &&
20042: 	 { ac_try='test -s conftest$ac_exeext'
20043:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044:   (eval $ac_try) 2>&5
20045:   ac_status=$?
20046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047:   (exit $ac_status); }; }; then
20048:   eval "$as_ac_var=yes"
20049: else
20050:   echo "$as_me: failed program was:" >&5
20051: sed 's/^/| /' conftest.$ac_ext >&5
20052: 
20053: eval "$as_ac_var=no"
20054: fi
20055: rm -f conftest.err conftest.$ac_objext \
20056:       conftest$ac_exeext conftest.$ac_ext
20057: fi
20058: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20059: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20060: if test `eval echo '${'$as_ac_var'}'` = yes; then
20061:   cat >>confdefs.h <<_ACEOF
20062: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20063: _ACEOF
20064: 
20065: fi
20066: done
20067: 
20068: 
20069: 
20070: 
20071: for ac_header in fcntl.h unistd.h
20072: do
20073: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20074: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20075:   echo "$as_me:$LINENO: checking for $ac_header" >&5
20076: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20077: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20078:   echo $ECHO_N "(cached) $ECHO_C" >&6
20079: fi
20080: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20081: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20082: else
20083:   # Is the header compilable?
20084: echo "$as_me:$LINENO: checking $ac_header usability" >&5
20085: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20086: cat >conftest.$ac_ext <<_ACEOF
20087: /* confdefs.h.  */
20088: _ACEOF
20089: cat confdefs.h >>conftest.$ac_ext
20090: cat >>conftest.$ac_ext <<_ACEOF
20091: /* end confdefs.h.  */
20092: $ac_includes_default
20093: #include <$ac_header>
20094: _ACEOF
20095: rm -f conftest.$ac_objext
20096: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20097:   (eval $ac_compile) 2>conftest.er1
20098:   ac_status=$?
20099:   grep -v '^ *+' conftest.er1 >conftest.err
20100:   rm -f conftest.er1
20101:   cat conftest.err >&5
20102:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103:   (exit $ac_status); } &&
20104: 	 { ac_try='test -z "$ac_c_werror_flag"
20105: 			 || test ! -s conftest.err'
20106:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107:   (eval $ac_try) 2>&5
20108:   ac_status=$?
20109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110:   (exit $ac_status); }; } &&
20111: 	 { ac_try='test -s conftest.$ac_objext'
20112:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113:   (eval $ac_try) 2>&5
20114:   ac_status=$?
20115:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116:   (exit $ac_status); }; }; then
20117:   ac_header_compiler=yes
20118: else
20119:   echo "$as_me: failed program was:" >&5
20120: sed 's/^/| /' conftest.$ac_ext >&5
20121: 
20122: ac_header_compiler=no
20123: fi
20124: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20125: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20126: echo "${ECHO_T}$ac_header_compiler" >&6
20127: 
20128: # Is the header present?
20129: echo "$as_me:$LINENO: checking $ac_header presence" >&5
20130: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20131: cat >conftest.$ac_ext <<_ACEOF
20132: /* confdefs.h.  */
20133: _ACEOF
20134: cat confdefs.h >>conftest.$ac_ext
20135: cat >>conftest.$ac_ext <<_ACEOF
20136: /* end confdefs.h.  */
20137: #include <$ac_header>
20138: _ACEOF
20139: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20140:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20141:   ac_status=$?
20142:   grep -v '^ *+' conftest.er1 >conftest.err
20143:   rm -f conftest.er1
20144:   cat conftest.err >&5
20145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146:   (exit $ac_status); } >/dev/null; then
20147:   if test -s conftest.err; then
20148:     ac_cpp_err=$ac_c_preproc_warn_flag
20149:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20150:   else
20151:     ac_cpp_err=
20152:   fi
20153: else
20154:   ac_cpp_err=yes
20155: fi
20156: if test -z "$ac_cpp_err"; then
20157:   ac_header_preproc=yes
20158: else
20159:   echo "$as_me: failed program was:" >&5
20160: sed 's/^/| /' conftest.$ac_ext >&5
20161: 
20162:   ac_header_preproc=no
20163: fi
20164: rm -f conftest.err conftest.$ac_ext
20165: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20166: echo "${ECHO_T}$ac_header_preproc" >&6
20167: 
20168: # So?  What about this header?
20169: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20170:   yes:no: )
20171:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20172: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20173:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20174: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20175:     ac_header_preproc=yes
20176:     ;;
20177:   no:yes:* )
20178:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20179: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20180:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20181: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20182:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20183: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20184:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20185: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20186:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20187: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20188:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20189: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20190:     (
20191:       cat <<\_ASBOX
20192: ## -------------------------------------- ##
20193: ## Report this to expat-bugs@libexpat.org ##
20194: ## -------------------------------------- ##
20195: _ASBOX
20196:     ) |
20197:       sed "s/^/$as_me: WARNING:     /" >&2
20198:     ;;
20199: esac
20200: echo "$as_me:$LINENO: checking for $ac_header" >&5
20201: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20202: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20203:   echo $ECHO_N "(cached) $ECHO_C" >&6
20204: else
20205:   eval "$as_ac_Header=\$ac_header_preproc"
20206: fi
20207: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20208: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20209: 
20210: fi
20211: if test `eval echo '${'$as_ac_Header'}'` = yes; then
20212:   cat >>confdefs.h <<_ACEOF
20213: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20214: _ACEOF
20215: 
20216: fi
20217: 
20218: done
20219: 
20220: echo "$as_me:$LINENO: checking for off_t" >&5
20221: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
20222: if test "${ac_cv_type_off_t+set}" = set; then
20223:   echo $ECHO_N "(cached) $ECHO_C" >&6
20224: else
20225:   cat >conftest.$ac_ext <<_ACEOF
20226: /* confdefs.h.  */
20227: _ACEOF
20228: cat confdefs.h >>conftest.$ac_ext
20229: cat >>conftest.$ac_ext <<_ACEOF
20230: /* end confdefs.h.  */
20231: $ac_includes_default
20232: int
20233: main ()
20234: {
20235: if ((off_t *) 0)
20236:   return 0;
20237: if (sizeof (off_t))
20238:   return 0;
20239:   ;
20240:   return 0;
20241: }
20242: _ACEOF
20243: rm -f conftest.$ac_objext
20244: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245:   (eval $ac_compile) 2>conftest.er1
20246:   ac_status=$?
20247:   grep -v '^ *+' conftest.er1 >conftest.err
20248:   rm -f conftest.er1
20249:   cat conftest.err >&5
20250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251:   (exit $ac_status); } &&
20252: 	 { ac_try='test -z "$ac_c_werror_flag"
20253: 			 || test ! -s conftest.err'
20254:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255:   (eval $ac_try) 2>&5
20256:   ac_status=$?
20257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258:   (exit $ac_status); }; } &&
20259: 	 { ac_try='test -s conftest.$ac_objext'
20260:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261:   (eval $ac_try) 2>&5
20262:   ac_status=$?
20263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264:   (exit $ac_status); }; }; then
20265:   ac_cv_type_off_t=yes
20266: else
20267:   echo "$as_me: failed program was:" >&5
20268: sed 's/^/| /' conftest.$ac_ext >&5
20269: 
20270: ac_cv_type_off_t=no
20271: fi
20272: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20273: fi
20274: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20275: echo "${ECHO_T}$ac_cv_type_off_t" >&6
20276: if test $ac_cv_type_off_t = yes; then
20277:   :
20278: else
20279: 
20280: cat >>confdefs.h <<_ACEOF
20281: #define off_t long
20282: _ACEOF
20283: 
20284: fi
20285: 
20286: 
20287: 
20288: for ac_header in stdlib.h unistd.h
20289: do
20290: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20291: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20292:   echo "$as_me:$LINENO: checking for $ac_header" >&5
20293: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20294: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20295:   echo $ECHO_N "(cached) $ECHO_C" >&6
20296: fi
20297: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20298: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20299: else
20300:   # Is the header compilable?
20301: echo "$as_me:$LINENO: checking $ac_header usability" >&5
20302: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20303: cat >conftest.$ac_ext <<_ACEOF
20304: /* confdefs.h.  */
20305: _ACEOF
20306: cat confdefs.h >>conftest.$ac_ext
20307: cat >>conftest.$ac_ext <<_ACEOF
20308: /* end confdefs.h.  */
20309: $ac_includes_default
20310: #include <$ac_header>
20311: _ACEOF
20312: rm -f conftest.$ac_objext
20313: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314:   (eval $ac_compile) 2>conftest.er1
20315:   ac_status=$?
20316:   grep -v '^ *+' conftest.er1 >conftest.err
20317:   rm -f conftest.er1
20318:   cat conftest.err >&5
20319:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320:   (exit $ac_status); } &&
20321: 	 { ac_try='test -z "$ac_c_werror_flag"
20322: 			 || test ! -s conftest.err'
20323:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324:   (eval $ac_try) 2>&5
20325:   ac_status=$?
20326:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327:   (exit $ac_status); }; } &&
20328: 	 { ac_try='test -s conftest.$ac_objext'
20329:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330:   (eval $ac_try) 2>&5
20331:   ac_status=$?
20332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333:   (exit $ac_status); }; }; then
20334:   ac_header_compiler=yes
20335: else
20336:   echo "$as_me: failed program was:" >&5
20337: sed 's/^/| /' conftest.$ac_ext >&5
20338: 
20339: ac_header_compiler=no
20340: fi
20341: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20343: echo "${ECHO_T}$ac_header_compiler" >&6
20344: 
20345: # Is the header present?
20346: echo "$as_me:$LINENO: checking $ac_header presence" >&5
20347: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20348: cat >conftest.$ac_ext <<_ACEOF
20349: /* confdefs.h.  */
20350: _ACEOF
20351: cat confdefs.h >>conftest.$ac_ext
20352: cat >>conftest.$ac_ext <<_ACEOF
20353: /* end confdefs.h.  */
20354: #include <$ac_header>
20355: _ACEOF
20356: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20357:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20358:   ac_status=$?
20359:   grep -v '^ *+' conftest.er1 >conftest.err
20360:   rm -f conftest.er1
20361:   cat conftest.err >&5
20362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363:   (exit $ac_status); } >/dev/null; then
20364:   if test -s conftest.err; then
20365:     ac_cpp_err=$ac_c_preproc_warn_flag
20366:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20367:   else
20368:     ac_cpp_err=
20369:   fi
20370: else
20371:   ac_cpp_err=yes
20372: fi
20373: if test -z "$ac_cpp_err"; then
20374:   ac_header_preproc=yes
20375: else
20376:   echo "$as_me: failed program was:" >&5
20377: sed 's/^/| /' conftest.$ac_ext >&5
20378: 
20379:   ac_header_preproc=no
20380: fi
20381: rm -f conftest.err conftest.$ac_ext
20382: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20383: echo "${ECHO_T}$ac_header_preproc" >&6
20384: 
20385: # So?  What about this header?
20386: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20387:   yes:no: )
20388:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20389: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20390:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20391: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20392:     ac_header_preproc=yes
20393:     ;;
20394:   no:yes:* )
20395:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20396: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20397:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20398: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20399:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20400: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20401:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20402: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20403:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20404: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20405:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20406: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20407:     (
20408:       cat <<\_ASBOX
20409: ## -------------------------------------- ##
20410: ## Report this to expat-bugs@libexpat.org ##
20411: ## -------------------------------------- ##
20412: _ASBOX
20413:     ) |
20414:       sed "s/^/$as_me: WARNING:     /" >&2
20415:     ;;
20416: esac
20417: echo "$as_me:$LINENO: checking for $ac_header" >&5
20418: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20419: if eval "test \"\${$as_ac_Header+set}\" = set"; then
20420:   echo $ECHO_N "(cached) $ECHO_C" >&6
20421: else
20422:   eval "$as_ac_Header=\$ac_header_preproc"
20423: fi
20424: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20425: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20426: 
20427: fi
20428: if test `eval echo '${'$as_ac_Header'}'` = yes; then
20429:   cat >>confdefs.h <<_ACEOF
20430: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20431: _ACEOF
20432: 
20433: fi
20434: 
20435: done
20436: 
20437: 
20438: for ac_func in getpagesize
20439: do
20440: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20441: echo "$as_me:$LINENO: checking for $ac_func" >&5
20442: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20443: if eval "test \"\${$as_ac_var+set}\" = set"; then
20444:   echo $ECHO_N "(cached) $ECHO_C" >&6
20445: else
20446:   cat >conftest.$ac_ext <<_ACEOF
20447: /* confdefs.h.  */
20448: _ACEOF
20449: cat confdefs.h >>conftest.$ac_ext
20450: cat >>conftest.$ac_ext <<_ACEOF
20451: /* end confdefs.h.  */
20452: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20453:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20454: #define $ac_func innocuous_$ac_func
20455: 
20456: /* System header to define __stub macros and hopefully few prototypes,
20457:     which can conflict with char $ac_func (); below.
20458:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20459:     <limits.h> exists even on freestanding compilers.  */
20460: 
20461: #ifdef __STDC__
20462: # include <limits.h>
20463: #else
20464: # include <assert.h>
20465: #endif
20466: 
20467: #undef $ac_func
20468: 
20469: /* Override any gcc2 internal prototype to avoid an error.  */
20470: #ifdef __cplusplus
20471: extern "C"
20472: {
20473: #endif
20474: /* We use char because int might match the return type of a gcc2
20475:    builtin and then its argument prototype would still apply.  */
20476: char $ac_func ();
20477: /* The GNU C library defines this for functions which it implements
20478:     to always fail with ENOSYS.  Some functions are actually named
20479:     something starting with __ and the normal name is an alias.  */
20480: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20481: choke me
20482: #else
20483: char (*f) () = $ac_func;
20484: #endif
20485: #ifdef __cplusplus
20486: }
20487: #endif
20488: 
20489: int
20490: main ()
20491: {
20492: return f != $ac_func;
20493:   ;
20494:   return 0;
20495: }
20496: _ACEOF
20497: rm -f conftest.$ac_objext conftest$ac_exeext
20498: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20499:   (eval $ac_link) 2>conftest.er1
20500:   ac_status=$?
20501:   grep -v '^ *+' conftest.er1 >conftest.err
20502:   rm -f conftest.er1
20503:   cat conftest.err >&5
20504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505:   (exit $ac_status); } &&
20506: 	 { ac_try='test -z "$ac_c_werror_flag"
20507: 			 || test ! -s conftest.err'
20508:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509:   (eval $ac_try) 2>&5
20510:   ac_status=$?
20511:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512:   (exit $ac_status); }; } &&
20513: 	 { ac_try='test -s conftest$ac_exeext'
20514:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515:   (eval $ac_try) 2>&5
20516:   ac_status=$?
20517:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518:   (exit $ac_status); }; }; then
20519:   eval "$as_ac_var=yes"
20520: else
20521:   echo "$as_me: failed program was:" >&5
20522: sed 's/^/| /' conftest.$ac_ext >&5
20523: 
20524: eval "$as_ac_var=no"
20525: fi
20526: rm -f conftest.err conftest.$ac_objext \
20527:       conftest$ac_exeext conftest.$ac_ext
20528: fi
20529: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20530: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20531: if test `eval echo '${'$as_ac_var'}'` = yes; then
20532:   cat >>confdefs.h <<_ACEOF
20533: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20534: _ACEOF
20535: 
20536: fi
20537: done
20538: 
20539: echo "$as_me:$LINENO: checking for working mmap" >&5
20540: echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20541: if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20542:   echo $ECHO_N "(cached) $ECHO_C" >&6
20543: else
20544:   if test "$cross_compiling" = yes; then
20545:   ac_cv_func_mmap_fixed_mapped=no
20546: else
20547:   cat >conftest.$ac_ext <<_ACEOF
20548: /* confdefs.h.  */
20549: _ACEOF
20550: cat confdefs.h >>conftest.$ac_ext
20551: cat >>conftest.$ac_ext <<_ACEOF
20552: /* end confdefs.h.  */
20553: $ac_includes_default
20554: /* malloc might have been renamed as rpl_malloc. */
20555: #undef malloc
20556: 
20557: /* Thanks to Mike Haertel and Jim Avera for this test.
20558:    Here is a matrix of mmap possibilities:
20559: 	mmap private not fixed
20560: 	mmap private fixed at somewhere currently unmapped
20561: 	mmap private fixed at somewhere already mapped
20562: 	mmap shared not fixed
20563: 	mmap shared fixed at somewhere currently unmapped
20564: 	mmap shared fixed at somewhere already mapped
20565:    For private mappings, we should verify that changes cannot be read()
20566:    back from the file, nor mmap's back from the file at a different
20567:    address.  (There have been systems where private was not correctly
20568:    implemented like the infamous i386 svr4.0, and systems where the
20569:    VM page cache was not coherent with the file system buffer cache
20570:    like early versions of FreeBSD and possibly contemporary NetBSD.)
20571:    For shared mappings, we should conversely verify that changes get
20572:    propagated back to all the places they're supposed to be.
20573: 
20574:    Grep wants private fixed already mapped.
20575:    The main things grep needs to know about mmap are:
20576:    * does it exist and is it safe to write into the mmap'd area
20577:    * how to use it (BSD variants)  */
20578: 
20579: #include <fcntl.h>
20580: #include <sys/mman.h>
20581: 
20582: #if !STDC_HEADERS && !HAVE_STDLIB_H
20583: char *malloc ();
20584: #endif
20585: 
20586: /* This mess was copied from the GNU getpagesize.h.  */
20587: #if !HAVE_GETPAGESIZE
20588: /* Assume that all systems that can run configure have sys/param.h.  */
20589: # if !HAVE_SYS_PARAM_H
20590: #  define HAVE_SYS_PARAM_H 1
20591: # endif
20592: 
20593: # ifdef _SC_PAGESIZE
20594: #  define getpagesize() sysconf(_SC_PAGESIZE)
20595: # else /* no _SC_PAGESIZE */
20596: #  if HAVE_SYS_PARAM_H
20597: #   include <sys/param.h>
20598: #   ifdef EXEC_PAGESIZE
20599: #    define getpagesize() EXEC_PAGESIZE
20600: #   else /* no EXEC_PAGESIZE */
20601: #    ifdef NBPG
20602: #     define getpagesize() NBPG * CLSIZE
20603: #     ifndef CLSIZE
20604: #      define CLSIZE 1
20605: #     endif /* no CLSIZE */
20606: #    else /* no NBPG */
20607: #     ifdef NBPC
20608: #      define getpagesize() NBPC
20609: #     else /* no NBPC */
20610: #      ifdef PAGESIZE
20611: #       define getpagesize() PAGESIZE
20612: #      endif /* PAGESIZE */
20613: #     endif /* no NBPC */
20614: #    endif /* no NBPG */
20615: #   endif /* no EXEC_PAGESIZE */
20616: #  else /* no HAVE_SYS_PARAM_H */
20617: #   define getpagesize() 8192	/* punt totally */
20618: #  endif /* no HAVE_SYS_PARAM_H */
20619: # endif /* no _SC_PAGESIZE */
20620: 
20621: #endif /* no HAVE_GETPAGESIZE */
20622: 
20623: int
20624: main ()
20625: {
20626:   char *data, *data2, *data3;
20627:   int i, pagesize;
20628:   int fd;
20629: 
20630:   pagesize = getpagesize ();
20631: 
20632:   /* First, make a file with some known garbage in it. */
20633:   data = (char *) malloc (pagesize);
20634:   if (!data)
20635:     exit (1);
20636:   for (i = 0; i < pagesize; ++i)
20637:     *(data + i) = rand ();
20638:   umask (0);
20639:   fd = creat ("conftest.mmap", 0600);
20640:   if (fd < 0)
20641:     exit (1);
20642:   if (write (fd, data, pagesize) != pagesize)
20643:     exit (1);
20644:   close (fd);
20645: 
20646:   /* Next, try to mmap the file at a fixed address which already has
20647:      something else allocated at it.  If we can, also make sure that
20648:      we see the same garbage.  */
20649:   fd = open ("conftest.mmap", O_RDWR);
20650:   if (fd < 0)
20651:     exit (1);
20652:   data2 = (char *) malloc (2 * pagesize);
20653:   if (!data2)
20654:     exit (1);
20655:   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20656:   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20657: 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
20658:     exit (1);
20659:   for (i = 0; i < pagesize; ++i)
20660:     if (*(data + i) != *(data2 + i))
20661:       exit (1);
20662: 
20663:   /* Finally, make sure that changes to the mapped area do not
20664:      percolate back to the file as seen by read().  (This is a bug on
20665:      some variants of i386 svr4.0.)  */
20666:   for (i = 0; i < pagesize; ++i)
20667:     *(data2 + i) = *(data2 + i) + 1;
20668:   data3 = (char *) malloc (pagesize);
20669:   if (!data3)
20670:     exit (1);
20671:   if (read (fd, data3, pagesize) != pagesize)
20672:     exit (1);
20673:   for (i = 0; i < pagesize; ++i)
20674:     if (*(data + i) != *(data3 + i))
20675:       exit (1);
20676:   close (fd);
20677:   exit (0);
20678: }
20679: _ACEOF
20680: rm -f conftest$ac_exeext
20681: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682:   (eval $ac_link) 2>&5
20683:   ac_status=$?
20684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20686:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687:   (eval $ac_try) 2>&5
20688:   ac_status=$?
20689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690:   (exit $ac_status); }; }; then
20691:   ac_cv_func_mmap_fixed_mapped=yes
20692: else
20693:   echo "$as_me: program exited with status $ac_status" >&5
20694: echo "$as_me: failed program was:" >&5
20695: sed 's/^/| /' conftest.$ac_ext >&5
20696: 
20697: ( exit $ac_status )
20698: ac_cv_func_mmap_fixed_mapped=no
20699: fi
20700: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20701: fi
20702: fi
20703: echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20704: echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20705: if test $ac_cv_func_mmap_fixed_mapped = yes; then
20706: 
20707: cat >>confdefs.h <<\_ACEOF
20708: #define HAVE_MMAP 1
20709: _ACEOF
20710: 
20711: fi
20712: rm -f conftest.mmap
20713: 
20714: 
20715: if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
20716:     FILEMAP=unixfilemap
20717: else
20718:     FILEMAP=readfilemap
20719: fi
20720: 
20721: 
20722: 
20723: # AC_CPP_FUNC
20724: # ------------------ #
20725: # Checks to see if ANSI C99 CPP variable __func__ works.
20726: # If not, perhaps __FUNCTION__ works instead.
20727: # If not, we'll just define __func__ to "".
20728: # AC_CPP_FUNC
20729: 
20730: 
20731: echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
20732: echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6
20733: if test "${ac_cv_cpp_func+set}" = set; then
20734:   echo $ECHO_N "(cached) $ECHO_C" >&6
20735: else
20736:   cat >conftest.$ac_ext <<_ACEOF
20737: /* confdefs.h.  */
20738: _ACEOF
20739: cat confdefs.h >>conftest.$ac_ext
20740: cat >>conftest.$ac_ext <<_ACEOF
20741: /* end confdefs.h.  */
20742: 
20743: int
20744: main ()
20745: {
20746: char *foo = __func__;
20747:   ;
20748:   return 0;
20749: }
20750: _ACEOF
20751: rm -f conftest.$ac_objext
20752: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753:   (eval $ac_compile) 2>conftest.er1
20754:   ac_status=$?
20755:   grep -v '^ *+' conftest.er1 >conftest.err
20756:   rm -f conftest.er1
20757:   cat conftest.err >&5
20758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759:   (exit $ac_status); } &&
20760: 	 { ac_try='test -z "$ac_c_werror_flag"
20761: 			 || test ! -s conftest.err'
20762:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763:   (eval $ac_try) 2>&5
20764:   ac_status=$?
20765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766:   (exit $ac_status); }; } &&
20767: 	 { ac_try='test -s conftest.$ac_objext'
20768:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769:   (eval $ac_try) 2>&5
20770:   ac_status=$?
20771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772:   (exit $ac_status); }; }; then
20773:   ac_cv_cpp_func=yes
20774: else
20775:   echo "$as_me: failed program was:" >&5
20776: sed 's/^/| /' conftest.$ac_ext >&5
20777: 
20778: cat >conftest.$ac_ext <<_ACEOF
20779: /* confdefs.h.  */
20780: _ACEOF
20781: cat confdefs.h >>conftest.$ac_ext
20782: cat >>conftest.$ac_ext <<_ACEOF
20783: /* end confdefs.h.  */
20784: 
20785: int
20786: main ()
20787: {
20788: char *foo = __FUNCTION__;
20789:   ;
20790:   return 0;
20791: }
20792: _ACEOF
20793: rm -f conftest.$ac_objext
20794: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20795:   (eval $ac_compile) 2>conftest.er1
20796:   ac_status=$?
20797:   grep -v '^ *+' conftest.er1 >conftest.err
20798:   rm -f conftest.er1
20799:   cat conftest.err >&5
20800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801:   (exit $ac_status); } &&
20802: 	 { ac_try='test -z "$ac_c_werror_flag"
20803: 			 || test ! -s conftest.err'
20804:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805:   (eval $ac_try) 2>&5
20806:   ac_status=$?
20807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808:   (exit $ac_status); }; } &&
20809: 	 { ac_try='test -s conftest.$ac_objext'
20810:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20811:   (eval $ac_try) 2>&5
20812:   ac_status=$?
20813:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814:   (exit $ac_status); }; }; then
20815:   ac_cv_cpp_func=__FUNCTION__
20816: else
20817:   echo "$as_me: failed program was:" >&5
20818: sed 's/^/| /' conftest.$ac_ext >&5
20819: 
20820: ac_cv_cpp_func=no
20821: fi
20822: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20823: fi
20824: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20825: fi
20826: echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
20827: echo "${ECHO_T}$ac_cv_cpp_func" >&6
20828: if test $ac_cv_cpp_func = __FUNCTION__; then
20829: 
20830: cat >>confdefs.h <<\_ACEOF
20831: #define __func__ __FUNCTION__
20832: _ACEOF
20833: 
20834: elif test $ac_cv_cpp_func = no; then
20835: 
20836: cat >>confdefs.h <<\_ACEOF
20837: #define __func__ ""
20838: _ACEOF
20839: 
20840: fi
20841: 
20842: 
20843: 
20844: 
20845: cat >>confdefs.h <<\_ACEOF
20846: #define XML_NS 1
20847: _ACEOF
20848: 
20849: 
20850: cat >>confdefs.h <<\_ACEOF
20851: #define XML_DTD 1
20852: _ACEOF
20853: 
20854: 
20855: cat >>confdefs.h <<\_ACEOF
20856: #define XML_CONTEXT_BYTES 1024
20857: _ACEOF
20858: 
20859: 
20860:           ac_config_files="$ac_config_files Makefile"
20861: 
20862: cat >confcache <<\_ACEOF
20863: # This file is a shell script that caches the results of configure
20864: # tests run on this system so they can be shared between configure
20865: # scripts and configure runs, see configure's option --config-cache.
20866: # It is not useful on other systems.  If it contains results you don't
20867: # want to keep, you may remove or edit it.
20868: #
20869: # config.status only pays attention to the cache file if you give it
20870: # the --recheck option to rerun configure.
20871: #
20872: # `ac_cv_env_foo' variables (set or unset) will be overridden when
20873: # loading this file, other *unset* `ac_cv_foo' will be assigned the
20874: # following values.
20875: 
20876: _ACEOF
20877: 
20878: # The following way of writing the cache mishandles newlines in values,
20879: # but we know of no workaround that is simple, portable, and efficient.
20880: # So, don't put newlines in cache variables' values.
20881: # Ultrix sh set writes to stderr and can't be redirected directly,
20882: # and sets the high bit in the cache file unless we assign to the vars.
20883: {
20884:   (set) 2>&1 |
20885:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
20886:     *ac_space=\ *)
20887:       # `set' does not quote correctly, so add quotes (double-quote
20888:       # substitution turns \\\\ into \\, and sed turns \\ into \).
20889:       sed -n \
20890: 	"s/'/'\\\\''/g;
20891: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20892:       ;;
20893:     *)
20894:       # `set' quotes correctly as required by POSIX, so do not add quotes.
20895:       sed -n \
20896: 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20897:       ;;
20898:     esac;
20899: } |
20900:   sed '
20901:      t clear
20902:      : clear
20903:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20904:      t end
20905:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20906:      : end' >>confcache
20907: if diff $cache_file confcache >/dev/null 2>&1; then :; else
20908:   if test -w $cache_file; then
20909:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20910:     cat confcache >$cache_file
20911:   else
20912:     echo "not updating unwritable cache $cache_file"
20913:   fi
20914: fi
20915: rm -f confcache
20916: 
20917: test "x$prefix" = xNONE && prefix=$ac_default_prefix
20918: # Let make expand exec_prefix.
20919: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20920: 
20921: # VPATH may cause trouble with some makes, so we remove $(srcdir),
20922: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20923: # trailing colons and then remove the whole line if VPATH becomes empty
20924: # (actually we leave an empty line to preserve line numbers).
20925: if test "x$srcdir" = x.; then
20926:   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
20927: s/:*\$(srcdir):*/:/;
20928: s/:*\${srcdir}:*/:/;
20929: s/:*@srcdir@:*/:/;
20930: s/^\([^=]*=[	 ]*\):*/\1/;
20931: s/:*$//;
20932: s/^[^=]*=[	 ]*$//;
20933: }'
20934: fi
20935: 
20936: DEFS=-DHAVE_CONFIG_H
20937: 
20938: ac_libobjs=
20939: ac_ltlibobjs=
20940: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20941:   # 1. Remove the extension, and $U if already installed.
20942:   ac_i=`echo "$ac_i" |
20943: 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20944:   # 2. Add them.
20945:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20946:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20947: done
20948: LIBOBJS=$ac_libobjs
20949: 
20950: LTLIBOBJS=$ac_ltlibobjs
20951: 
20952: 
20953: 
20954: : ${CONFIG_STATUS=./config.status}
20955: ac_clean_files_save=$ac_clean_files
20956: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20957: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20958: echo "$as_me: creating $CONFIG_STATUS" >&6;}
20959: cat >$CONFIG_STATUS <<_ACEOF
20960: #! $SHELL
20961: # Generated by $as_me.
20962: # Run this file to recreate the current configuration.
20963: # Compiler output produced by configure, useful for debugging
20964: # configure, is in config.log if it exists.
20965: 
20966: debug=false
20967: ac_cs_recheck=false
20968: ac_cs_silent=false
20969: SHELL=\${CONFIG_SHELL-$SHELL}
20970: _ACEOF
20971: 
20972: cat >>$CONFIG_STATUS <<\_ACEOF
20973: ## --------------------- ##
20974: ## M4sh Initialization.  ##
20975: ## --------------------- ##
20976: 
20977: # Be Bourne compatible
20978: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20979:   emulate sh
20980:   NULLCMD=:
20981:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20982:   # is contrary to our usage.  Disable this feature.
20983:   alias -g '${1+"$@"}'='"$@"'
20984: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20985:   set -o posix
20986: fi
20987: DUALCASE=1; export DUALCASE # for MKS sh
20988: 
20989: # Support unset when possible.
20990: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20991:   as_unset=unset
20992: else
20993:   as_unset=false
20994: fi
20995: 
20996: 
20997: # Work around bugs in pre-3.0 UWIN ksh.
20998: $as_unset ENV MAIL MAILPATH
20999: PS1='$ '
21000: PS2='> '
21001: PS4='+ '
21002: 
21003: # NLS nuisances.
21004: for as_var in \
21005:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21006:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21007:   LC_TELEPHONE LC_TIME
21008: do
21009:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21010:     eval $as_var=C; export $as_var
21011:   else
21012:     $as_unset $as_var
21013:   fi
21014: done
21015: 
21016: # Required to use basename.
21017: if expr a : '\(a\)' >/dev/null 2>&1; then
21018:   as_expr=expr
21019: else
21020:   as_expr=false
21021: fi
21022: 
21023: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21024:   as_basename=basename
21025: else
21026:   as_basename=false
21027: fi
21028: 
21029: 
21030: # Name of the executable.
21031: as_me=`$as_basename "$0" ||
21032: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21033: 	 X"$0" : 'X\(//\)$' \| \
21034: 	 X"$0" : 'X\(/\)$' \| \
21035: 	 .     : '\(.\)' 2>/dev/null ||
21036: echo X/"$0" |
21037:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21038:   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
21039:   	  /^X\/\(\/\).*/{ s//\1/; q; }
21040:   	  s/.*/./; q'`
21041: 
21042: 
21043: # PATH needs CR, and LINENO needs CR and PATH.
21044: # Avoid depending upon Character Ranges.
21045: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21046: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21047: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21048: as_cr_digits='0123456789'
21049: as_cr_alnum=$as_cr_Letters$as_cr_digits
21050: 
21051: # The user is always right.
21052: if test "${PATH_SEPARATOR+set}" != set; then
21053:   echo "#! /bin/sh" >conf$$.sh
21054:   echo  "exit 0"   >>conf$$.sh
21055:   chmod +x conf$$.sh
21056:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21057:     PATH_SEPARATOR=';'
21058:   else
21059:     PATH_SEPARATOR=:
21060:   fi
21061:   rm -f conf$$.sh
21062: fi
21063: 
21064: 
21065:   as_lineno_1=$LINENO
21066:   as_lineno_2=$LINENO
21067:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21068:   test "x$as_lineno_1" != "x$as_lineno_2" &&
21069:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21070:   # Find who we are.  Look in the path if we contain no path at all
21071:   # relative or not.
21072:   case $0 in
21073:     *[\\/]* ) as_myself=$0 ;;
21074:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21075: for as_dir in $PATH
21076: do
21077:   IFS=$as_save_IFS
21078:   test -z "$as_dir" && as_dir=.
21079:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21080: done
21081: 
21082:        ;;
21083:   esac
21084:   # We did not find ourselves, most probably we were run as `sh COMMAND'
21085:   # in which case we are not to be found in the path.
21086:   if test "x$as_myself" = x; then
21087:     as_myself=$0
21088:   fi
21089:   if test ! -f "$as_myself"; then
21090:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21091: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21092:    { (exit 1); exit 1; }; }
21093:   fi
21094:   case $CONFIG_SHELL in
21095:   '')
21096:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21097: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21098: do
21099:   IFS=$as_save_IFS
21100:   test -z "$as_dir" && as_dir=.
21101:   for as_base in sh bash ksh sh5; do
21102: 	 case $as_dir in
21103: 	 /*)
21104: 	   if ("$as_dir/$as_base" -c '
21105:   as_lineno_1=$LINENO
21106:   as_lineno_2=$LINENO
21107:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21108:   test "x$as_lineno_1" != "x$as_lineno_2" &&
21109:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21110: 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21111: 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21112: 	     CONFIG_SHELL=$as_dir/$as_base
21113: 	     export CONFIG_SHELL
21114: 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21115: 	   fi;;
21116: 	 esac
21117:        done
21118: done
21119: ;;
21120:   esac
21121: 
21122:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21123:   # uniformly replaced by the line number.  The first 'sed' inserts a
21124:   # line-number line before each line; the second 'sed' does the real
21125:   # work.  The second script uses 'N' to pair each line-number line
21126:   # with the numbered line, and appends trailing '-' during
21127:   # substitution so that $LINENO is not a special case at line end.
21128:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21129:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21130:   sed '=' <$as_myself |
21131:     sed '
21132:       N
21133:       s,$,-,
21134:       : loop
21135:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21136:       t loop
21137:       s,-$,,
21138:       s,^['$as_cr_digits']*\n,,
21139:     ' >$as_me.lineno &&
21140:   chmod +x $as_me.lineno ||
21141:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21142: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21143:    { (exit 1); exit 1; }; }
21144: 
21145:   # Don't try to exec as it changes $[0], causing all sort of problems
21146:   # (the dirname of $[0] is not the place where we might find the
21147:   # original and so on.  Autoconf is especially sensible to this).
21148:   . ./$as_me.lineno
21149:   # Exit status is that of the last command.
21150:   exit
21151: }
21152: 
21153: 
21154: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21155:   *c*,-n*) ECHO_N= ECHO_C='
21156: ' ECHO_T='	' ;;
21157:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21158:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
21159: esac
21160: 
21161: if expr a : '\(a\)' >/dev/null 2>&1; then
21162:   as_expr=expr
21163: else
21164:   as_expr=false
21165: fi
21166: 
21167: rm -f conf$$ conf$$.exe conf$$.file
21168: echo >conf$$.file
21169: if ln -s conf$$.file conf$$ 2>/dev/null; then
21170:   # We could just check for DJGPP; but this test a) works b) is more generic
21171:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21172:   if test -f conf$$.exe; then
21173:     # Don't use ln at all; we don't have any links
21174:     as_ln_s='cp -p'
21175:   else
21176:     as_ln_s='ln -s'
21177:   fi
21178: elif ln conf$$.file conf$$ 2>/dev/null; then
21179:   as_ln_s=ln
21180: else
21181:   as_ln_s='cp -p'
21182: fi
21183: rm -f conf$$ conf$$.exe conf$$.file
21184: 
21185: if mkdir -p . 2>/dev/null; then
21186:   as_mkdir_p=:
21187: else
21188:   test -d ./-p && rmdir ./-p
21189:   as_mkdir_p=false
21190: fi
21191: 
21192: as_executable_p="test -f"
21193: 
21194: # Sed expression to map a string onto a valid CPP name.
21195: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21196: 
21197: # Sed expression to map a string onto a valid variable name.
21198: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21199: 
21200: 
21201: # IFS
21202: # We need space, tab and new line, in precisely that order.
21203: as_nl='
21204: '
21205: IFS=" 	$as_nl"
21206: 
21207: # CDPATH.
21208: $as_unset CDPATH
21209: 
21210: exec 6>&1
21211: 
21212: # Open the log real soon, to keep \$[0] and so on meaningful, and to
21213: # report actual input values of CONFIG_FILES etc. instead of their
21214: # values after options handling.  Logging --version etc. is OK.
21215: exec 5>>config.log
21216: {
21217:   echo
21218:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21219: ## Running $as_me. ##
21220: _ASBOX
21221: } >&5
21222: cat >&5 <<_CSEOF
21223: 
21224: This file was extended by expat $as_me 2.0.1, which was
21225: generated by GNU Autoconf 2.59.  Invocation command line was
21226: 
21227:   CONFIG_FILES    = $CONFIG_FILES
21228:   CONFIG_HEADERS  = $CONFIG_HEADERS
21229:   CONFIG_LINKS    = $CONFIG_LINKS
21230:   CONFIG_COMMANDS = $CONFIG_COMMANDS
21231:   $ $0 $@
21232: 
21233: _CSEOF
21234: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21235: echo >&5
21236: _ACEOF
21237: 
21238: # Files that config.status was made for.
21239: if test -n "$ac_config_files"; then
21240:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21241: fi
21242: 
21243: if test -n "$ac_config_headers"; then
21244:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21245: fi
21246: 
21247: if test -n "$ac_config_links"; then
21248:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21249: fi
21250: 
21251: if test -n "$ac_config_commands"; then
21252:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21253: fi
21254: 
21255: cat >>$CONFIG_STATUS <<\_ACEOF
21256: 
21257: ac_cs_usage="\
21258: \`$as_me' instantiates files from templates according to the
21259: current configuration.
21260: 
21261: Usage: $0 [OPTIONS] [FILE]...
21262: 
21263:   -h, --help       print this help, then exit
21264:   -V, --version    print version number, then exit
21265:   -q, --quiet      do not print progress messages
21266:   -d, --debug      don't remove temporary files
21267:       --recheck    update $as_me by reconfiguring in the same conditions
21268:   --file=FILE[:TEMPLATE]
21269: 		   instantiate the configuration file FILE
21270:   --header=FILE[:TEMPLATE]
21271: 		   instantiate the configuration header FILE
21272: 
21273: Configuration files:
21274: $config_files
21275: 
21276: Configuration headers:
21277: $config_headers
21278: 
21279: Report bugs to <bug-autoconf@gnu.org>."
21280: _ACEOF
21281: 
21282: cat >>$CONFIG_STATUS <<_ACEOF
21283: ac_cs_version="\\
21284: expat config.status 2.0.1
21285: configured by $0, generated by GNU Autoconf 2.59,
21286:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21287: 
21288: Copyright (C) 2003 Free Software Foundation, Inc.
21289: This config.status script is free software; the Free Software Foundation
21290: gives unlimited permission to copy, distribute and modify it."
21291: srcdir=$srcdir
21292: INSTALL="$INSTALL"
21293: _ACEOF
21294: 
21295: cat >>$CONFIG_STATUS <<\_ACEOF
21296: # If no file are specified by the user, then we need to provide default
21297: # value.  By we need to know if files were specified by the user.
21298: ac_need_defaults=:
21299: while test $# != 0
21300: do
21301:   case $1 in
21302:   --*=*)
21303:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
21304:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21305:     ac_shift=:
21306:     ;;
21307:   -*)
21308:     ac_option=$1
21309:     ac_optarg=$2
21310:     ac_shift=shift
21311:     ;;
21312:   *) # This is not an option, so the user has probably given explicit
21313:      # arguments.
21314:      ac_option=$1
21315:      ac_need_defaults=false;;
21316:   esac
21317: 
21318:   case $ac_option in
21319:   # Handling of the options.
21320: _ACEOF
21321: cat >>$CONFIG_STATUS <<\_ACEOF
21322:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21323:     ac_cs_recheck=: ;;
21324:   --version | --vers* | -V )
21325:     echo "$ac_cs_version"; exit 0 ;;
21326:   --he | --h)
21327:     # Conflict between --help and --header
21328:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
21329: Try \`$0 --help' for more information." >&5
21330: echo "$as_me: error: ambiguous option: $1
21331: Try \`$0 --help' for more information." >&2;}
21332:    { (exit 1); exit 1; }; };;
21333:   --help | --hel | -h )
21334:     echo "$ac_cs_usage"; exit 0 ;;
21335:   --debug | --d* | -d )
21336:     debug=: ;;
21337:   --file | --fil | --fi | --f )
21338:     $ac_shift
21339:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21340:     ac_need_defaults=false;;
21341:   --header | --heade | --head | --hea )
21342:     $ac_shift
21343:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21344:     ac_need_defaults=false;;
21345:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21346:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
21347:     ac_cs_silent=: ;;
21348: 
21349:   # This is an error.
21350:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21351: Try \`$0 --help' for more information." >&5
21352: echo "$as_me: error: unrecognized option: $1
21353: Try \`$0 --help' for more information." >&2;}
21354:    { (exit 1); exit 1; }; } ;;
21355: 
21356:   *) ac_config_targets="$ac_config_targets $1" ;;
21357: 
21358:   esac
21359:   shift
21360: done
21361: 
21362: ac_configure_extra_args=
21363: 
21364: if $ac_cs_silent; then
21365:   exec 6>/dev/null
21366:   ac_configure_extra_args="$ac_configure_extra_args --silent"
21367: fi
21368: 
21369: _ACEOF
21370: cat >>$CONFIG_STATUS <<_ACEOF
21371: if \$ac_cs_recheck; then
21372:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21373:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21374: fi
21375: 
21376: _ACEOF
21377: 
21378: 
21379: 
21380: 
21381: 
21382: cat >>$CONFIG_STATUS <<\_ACEOF
21383: for ac_config_target in $ac_config_targets
21384: do
21385:   case "$ac_config_target" in
21386:   # Handling of arguments.
21387:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21388:   "expat_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
21389:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21390: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21391:    { (exit 1); exit 1; }; };;
21392:   esac
21393: done
21394: 
21395: # If the user did not use the arguments to specify the items to instantiate,
21396: # then the envvar interface is used.  Set only those that are not.
21397: # We use the long form for the default assignment because of an extremely
21398: # bizarre bug on SunOS 4.1.3.
21399: if $ac_need_defaults; then
21400:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21401:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21402: fi
21403: 
21404: # Have a temporary directory for convenience.  Make it in the build tree
21405: # simply because there is no reason to put it here, and in addition,
21406: # creating and moving files from /tmp can sometimes cause problems.
21407: # Create a temporary directory, and hook for its removal unless debugging.
21408: $debug ||
21409: {
21410:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21411:   trap '{ (exit 1); exit 1; }' 1 2 13 15
21412: }
21413: 
21414: # Create a (secure) tmp directory for tmp files.
21415: 
21416: {
21417:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21418:   test -n "$tmp" && test -d "$tmp"
21419: }  ||
21420: {
21421:   tmp=./confstat$$-$RANDOM
21422:   (umask 077 && mkdir $tmp)
21423: } ||
21424: {
21425:    echo "$me: cannot create a temporary directory in ." >&2
21426:    { (exit 1); exit 1; }
21427: }
21428: 
21429: _ACEOF
21430: 
21431: cat >>$CONFIG_STATUS <<_ACEOF
21432: 
21433: #
21434: # CONFIG_FILES section.
21435: #
21436: 
21437: # No need to generate the scripts if there are no CONFIG_FILES.
21438: # This happens for instance when ./config.status config.h
21439: if test -n "\$CONFIG_FILES"; then
21440:   # Protect against being on the right side of a sed subst in config.status.
21441:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21442:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21443: s,@SHELL@,$SHELL,;t t
21444: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21445: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21446: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21447: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21448: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21449: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21450: s,@exec_prefix@,$exec_prefix,;t t
21451: s,@prefix@,$prefix,;t t
21452: s,@program_transform_name@,$program_transform_name,;t t
21453: s,@bindir@,$bindir,;t t
21454: s,@sbindir@,$sbindir,;t t
21455: s,@libexecdir@,$libexecdir,;t t
21456: s,@datadir@,$datadir,;t t
21457: s,@sysconfdir@,$sysconfdir,;t t
21458: s,@sharedstatedir@,$sharedstatedir,;t t
21459: s,@localstatedir@,$localstatedir,;t t
21460: s,@libdir@,$libdir,;t t
21461: s,@includedir@,$includedir,;t t
21462: s,@oldincludedir@,$oldincludedir,;t t
21463: s,@infodir@,$infodir,;t t
21464: s,@mandir@,$mandir,;t t
21465: s,@build_alias@,$build_alias,;t t
21466: s,@host_alias@,$host_alias,;t t
21467: s,@target_alias@,$target_alias,;t t
21468: s,@DEFS@,$DEFS,;t t
21469: s,@ECHO_C@,$ECHO_C,;t t
21470: s,@ECHO_N@,$ECHO_N,;t t
21471: s,@ECHO_T@,$ECHO_T,;t t
21472: s,@LIBS@,$LIBS,;t t
21473: s,@build@,$build,;t t
21474: s,@build_cpu@,$build_cpu,;t t
21475: s,@build_vendor@,$build_vendor,;t t
21476: s,@build_os@,$build_os,;t t
21477: s,@host@,$host,;t t
21478: s,@host_cpu@,$host_cpu,;t t
21479: s,@host_vendor@,$host_vendor,;t t
21480: s,@host_os@,$host_os,;t t
21481: s,@CC@,$CC,;t t
21482: s,@CFLAGS@,$CFLAGS,;t t
21483: s,@LDFLAGS@,$LDFLAGS,;t t
21484: s,@CPPFLAGS@,$CPPFLAGS,;t t
21485: s,@ac_ct_CC@,$ac_ct_CC,;t t
21486: s,@EXEEXT@,$EXEEXT,;t t
21487: s,@OBJEXT@,$OBJEXT,;t t
21488: s,@EGREP@,$EGREP,;t t
21489: s,@LN_S@,$LN_S,;t t
21490: s,@ECHO@,$ECHO,;t t
21491: s,@AR@,$AR,;t t
21492: s,@ac_ct_AR@,$ac_ct_AR,;t t
21493: s,@RANLIB@,$RANLIB,;t t
21494: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21495: s,@STRIP@,$STRIP,;t t
21496: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21497: s,@DLLTOOL@,$DLLTOOL,;t t
21498: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21499: s,@AS@,$AS,;t t
21500: s,@ac_ct_AS@,$ac_ct_AS,;t t
21501: s,@OBJDUMP@,$OBJDUMP,;t t
21502: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21503: s,@CPP@,$CPP,;t t
21504: s,@CXX@,$CXX,;t t
21505: s,@CXXFLAGS@,$CXXFLAGS,;t t
21506: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21507: s,@CXXCPP@,$CXXCPP,;t t
21508: s,@F77@,$F77,;t t
21509: s,@FFLAGS@,$FFLAGS,;t t
21510: s,@ac_ct_F77@,$ac_ct_F77,;t t
21511: s,@LIBTOOL@,$LIBTOOL,;t t
21512: s,@LIBCURRENT@,$LIBCURRENT,;t t
21513: s,@LIBREVISION@,$LIBREVISION,;t t
21514: s,@LIBAGE@,$LIBAGE,;t t
21515: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21516: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21517: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21518: s,@FILEMAP@,$FILEMAP,;t t
21519: s,@LIBOBJS@,$LIBOBJS,;t t
21520: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21521: CEOF
21522: 
21523: _ACEOF
21524: 
21525:   cat >>$CONFIG_STATUS <<\_ACEOF
21526:   # Split the substitutions into bite-sized pieces for seds with
21527:   # small command number limits, like on Digital OSF/1 and HP-UX.
21528:   ac_max_sed_lines=48
21529:   ac_sed_frag=1 # Number of current file.
21530:   ac_beg=1 # First line for current file.
21531:   ac_end=$ac_max_sed_lines # Line after last line for current file.
21532:   ac_more_lines=:
21533:   ac_sed_cmds=
21534:   while $ac_more_lines; do
21535:     if test $ac_beg -gt 1; then
21536:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21537:     else
21538:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21539:     fi
21540:     if test ! -s $tmp/subs.frag; then
21541:       ac_more_lines=false
21542:     else
21543:       # The purpose of the label and of the branching condition is to
21544:       # speed up the sed processing (if there are no `@' at all, there
21545:       # is no need to browse any of the substitutions).
21546:       # These are the two extra sed commands mentioned above.
21547:       (echo ':t
21548:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21549:       if test -z "$ac_sed_cmds"; then
21550: 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21551:       else
21552: 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21553:       fi
21554:       ac_sed_frag=`expr $ac_sed_frag + 1`
21555:       ac_beg=$ac_end
21556:       ac_end=`expr $ac_end + $ac_max_sed_lines`
21557:     fi
21558:   done
21559:   if test -z "$ac_sed_cmds"; then
21560:     ac_sed_cmds=cat
21561:   fi
21562: fi # test -n "$CONFIG_FILES"
21563: 
21564: _ACEOF
21565: cat >>$CONFIG_STATUS <<\_ACEOF
21566: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21567:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21568:   case $ac_file in
21569:   - | *:- | *:-:* ) # input from stdin
21570: 	cat >$tmp/stdin
21571: 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21572: 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21573:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21574: 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21575:   * )   ac_file_in=$ac_file.in ;;
21576:   esac
21577: 
21578:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21579:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21580: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
21582: 	 X"$ac_file" : 'X\(//\)$' \| \
21583: 	 X"$ac_file" : 'X\(/\)' \| \
21584: 	 .     : '\(.\)' 2>/dev/null ||
21585: echo X"$ac_file" |
21586:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587:   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588:   	  /^X\(\/\/\)$/{ s//\1/; q; }
21589:   	  /^X\(\/\).*/{ s//\1/; q; }
21590:   	  s/.*/./; q'`
21591:   { if $as_mkdir_p; then
21592:     mkdir -p "$ac_dir"
21593:   else
21594:     as_dir="$ac_dir"
21595:     as_dirs=
21596:     while test ! -d "$as_dir"; do
21597:       as_dirs="$as_dir $as_dirs"
21598:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21599: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21600: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
21601: 	 X"$as_dir" : 'X\(//\)$' \| \
21602: 	 X"$as_dir" : 'X\(/\)' \| \
21603: 	 .     : '\(.\)' 2>/dev/null ||
21604: echo X"$as_dir" |
21605:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21606:   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21607:   	  /^X\(\/\/\)$/{ s//\1/; q; }
21608:   	  /^X\(\/\).*/{ s//\1/; q; }
21609:   	  s/.*/./; q'`
21610:     done
21611:     test ! -n "$as_dirs" || mkdir $as_dirs
21612:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21613: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21614:    { (exit 1); exit 1; }; }; }
21615: 
21616:   ac_builddir=.
21617: 
21618: if test "$ac_dir" != .; then
21619:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21620:   # A "../" for each directory in $ac_dir_suffix.
21621:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21622: else
21623:   ac_dir_suffix= ac_top_builddir=
21624: fi
21625: 
21626: case $srcdir in
21627:   .)  # No --srcdir option.  We are building in place.
21628:     ac_srcdir=.
21629:     if test -z "$ac_top_builddir"; then
21630:        ac_top_srcdir=.
21631:     else
21632:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21633:     fi ;;
21634:   [\\/]* | ?:[\\/]* )  # Absolute path.
21635:     ac_srcdir=$srcdir$ac_dir_suffix;
21636:     ac_top_srcdir=$srcdir ;;
21637:   *) # Relative path.
21638:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21639:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21640: esac
21641: 
21642: # Do not use `cd foo && pwd` to compute absolute paths, because
21643: # the directories may not exist.
21644: case `pwd` in
21645: .) ac_abs_builddir="$ac_dir";;
21646: *)
21647:   case "$ac_dir" in
21648:   .) ac_abs_builddir=`pwd`;;
21649:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21650:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21651:   esac;;
21652: esac
21653: case $ac_abs_builddir in
21654: .) ac_abs_top_builddir=${ac_top_builddir}.;;
21655: *)
21656:   case ${ac_top_builddir}. in
21657:   .) ac_abs_top_builddir=$ac_abs_builddir;;
21658:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21659:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21660:   esac;;
21661: esac
21662: case $ac_abs_builddir in
21663: .) ac_abs_srcdir=$ac_srcdir;;
21664: *)
21665:   case $ac_srcdir in
21666:   .) ac_abs_srcdir=$ac_abs_builddir;;
21667:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21668:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21669:   esac;;
21670: esac
21671: case $ac_abs_builddir in
21672: .) ac_abs_top_srcdir=$ac_top_srcdir;;
21673: *)
21674:   case $ac_top_srcdir in
21675:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21676:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21677:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21678:   esac;;
21679: esac
21680: 
21681: 
21682:   case $INSTALL in
21683:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21684:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21685:   esac
21686: 
21687:   if test x"$ac_file" != x-; then
21688:     { echo "$as_me:$LINENO: creating $ac_file" >&5
21689: echo "$as_me: creating $ac_file" >&6;}
21690:     rm -f "$ac_file"
21691:   fi
21692:   # Let's still pretend it is `configure' which instantiates (i.e., don't
21693:   # use $as_me), people would be surprised to read:
21694:   #    /* config.h.  Generated by config.status.  */
21695:   if test x"$ac_file" = x-; then
21696:     configure_input=
21697:   else
21698:     configure_input="$ac_file.  "
21699:   fi
21700:   configure_input=$configure_input"Generated from `echo $ac_file_in |
21701: 				     sed 's,.*/,,'` by configure."
21702: 
21703:   # First look for the input files in the build tree, otherwise in the
21704:   # src tree.
21705:   ac_file_inputs=`IFS=:
21706:     for f in $ac_file_in; do
21707:       case $f in
21708:       -) echo $tmp/stdin ;;
21709:       [\\/$]*)
21710: 	 # Absolute (can't be DOS-style, as IFS=:)
21711: 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21712: echo "$as_me: error: cannot find input file: $f" >&2;}
21713:    { (exit 1); exit 1; }; }
21714: 	 echo "$f";;
21715:       *) # Relative
21716: 	 if test -f "$f"; then
21717: 	   # Build tree
21718: 	   echo "$f"
21719: 	 elif test -f "$srcdir/$f"; then
21720: 	   # Source tree
21721: 	   echo "$srcdir/$f"
21722: 	 else
21723: 	   # /dev/null tree
21724: 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21725: echo "$as_me: error: cannot find input file: $f" >&2;}
21726:    { (exit 1); exit 1; }; }
21727: 	 fi;;
21728:       esac
21729:     done` || { (exit 1); exit 1; }
21730: _ACEOF
21731: cat >>$CONFIG_STATUS <<_ACEOF
21732:   sed "$ac_vpsub
21733: $extrasub
21734: _ACEOF
21735: cat >>$CONFIG_STATUS <<\_ACEOF
21736: :t
21737: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21738: s,@configure_input@,$configure_input,;t t
21739: s,@srcdir@,$ac_srcdir,;t t
21740: s,@abs_srcdir@,$ac_abs_srcdir,;t t
21741: s,@top_srcdir@,$ac_top_srcdir,;t t
21742: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21743: s,@builddir@,$ac_builddir,;t t
21744: s,@abs_builddir@,$ac_abs_builddir,;t t
21745: s,@top_builddir@,$ac_top_builddir,;t t
21746: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21747: s,@INSTALL@,$ac_INSTALL,;t t
21748: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21749:   rm -f $tmp/stdin
21750:   if test x"$ac_file" != x-; then
21751:     mv $tmp/out $ac_file
21752:   else
21753:     cat $tmp/out
21754:     rm -f $tmp/out
21755:   fi
21756: 
21757: done
21758: _ACEOF
21759: cat >>$CONFIG_STATUS <<\_ACEOF
21760: 
21761: #
21762: # CONFIG_HEADER section.
21763: #
21764: 
21765: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21766: # NAME is the cpp macro being defined and VALUE is the value it is being given.
21767: #
21768: # ac_d sets the value in "#define NAME VALUE" lines.
21769: ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
21770: ac_dB='[	 ].*$,\1#\2'
21771: ac_dC=' '
21772: ac_dD=',;t'
21773: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21774: ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
21775: ac_uB='$,\1#\2define\3'
21776: ac_uC=' '
21777: ac_uD=',;t'
21778: 
21779: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21780:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21781:   case $ac_file in
21782:   - | *:- | *:-:* ) # input from stdin
21783: 	cat >$tmp/stdin
21784: 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21785: 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21786:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21787: 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21788:   * )   ac_file_in=$ac_file.in ;;
21789:   esac
21790: 
21791:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21792: echo "$as_me: creating $ac_file" >&6;}
21793: 
21794:   # First look for the input files in the build tree, otherwise in the
21795:   # src tree.
21796:   ac_file_inputs=`IFS=:
21797:     for f in $ac_file_in; do
21798:       case $f in
21799:       -) echo $tmp/stdin ;;
21800:       [\\/$]*)
21801: 	 # Absolute (can't be DOS-style, as IFS=:)
21802: 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21803: echo "$as_me: error: cannot find input file: $f" >&2;}
21804:    { (exit 1); exit 1; }; }
21805: 	 # Do quote $f, to prevent DOS paths from being IFS'd.
21806: 	 echo "$f";;
21807:       *) # Relative
21808: 	 if test -f "$f"; then
21809: 	   # Build tree
21810: 	   echo "$f"
21811: 	 elif test -f "$srcdir/$f"; then
21812: 	   # Source tree
21813: 	   echo "$srcdir/$f"
21814: 	 else
21815: 	   # /dev/null tree
21816: 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21817: echo "$as_me: error: cannot find input file: $f" >&2;}
21818:    { (exit 1); exit 1; }; }
21819: 	 fi;;
21820:       esac
21821:     done` || { (exit 1); exit 1; }
21822:   # Remove the trailing spaces.
21823:   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
21824: 
21825: _ACEOF
21826: 
21827: # Transform confdefs.h into two sed scripts, `conftest.defines' and
21828: # `conftest.undefs', that substitutes the proper values into
21829: # config.h.in to produce config.h.  The first handles `#define'
21830: # templates, and the second `#undef' templates.
21831: # And first: Protect against being on the right side of a sed subst in
21832: # config.status.  Protect against being in an unquoted here document
21833: # in config.status.
21834: rm -f conftest.defines conftest.undefs
21835: # Using a here document instead of a string reduces the quoting nightmare.
21836: # Putting comments in sed scripts is not portable.
21837: #
21838: # `end' is used to avoid that the second main sed command (meant for
21839: # 0-ary CPP macros) applies to n-ary macro definitions.
21840: # See the Autoconf documentation for `clear'.
21841: cat >confdef2sed.sed <<\_ACEOF
21842: s/[\\&,]/\\&/g
21843: s,[\\$`],\\&,g
21844: t clear
21845: : clear
21846: s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21847: t end
21848: s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21849: : end
21850: _ACEOF
21851: # If some macros were called several times there might be several times
21852: # the same #defines, which is useless.  Nevertheless, we may not want to
21853: # sort them, since we want the *last* AC-DEFINE to be honored.
21854: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21855: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21856: rm -f confdef2sed.sed
21857: 
21858: # This sed command replaces #undef with comments.  This is necessary, for
21859: # example, in the case of _POSIX_SOURCE, which is predefined and required
21860: # on some systems where configure will not decide to define it.
21861: cat >>conftest.undefs <<\_ACEOF
21862: s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21863: _ACEOF
21864: 
21865: # Break up conftest.defines because some shells have a limit on the size
21866: # of here documents, and old seds have small limits too (100 cmds).
21867: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21868: echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21869: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21870: echo '  :' >>$CONFIG_STATUS
21871: rm -f conftest.tail
21872: while grep . conftest.defines >/dev/null
21873: do
21874:   # Write a limited-size here document to $tmp/defines.sed.
21875:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21876:   # Speed up: don't consider the non `#define' lines.
21877:   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
21878:   # Work around the forget-to-reset-the-flag bug.
21879:   echo 't clr' >>$CONFIG_STATUS
21880:   echo ': clr' >>$CONFIG_STATUS
21881:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21882:   echo 'CEOF
21883:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
21884:   rm -f $tmp/in
21885:   mv $tmp/out $tmp/in
21886: ' >>$CONFIG_STATUS
21887:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21888:   rm -f conftest.defines
21889:   mv conftest.tail conftest.defines
21890: done
21891: rm -f conftest.defines
21892: echo '  fi # grep' >>$CONFIG_STATUS
21893: echo >>$CONFIG_STATUS
21894: 
21895: # Break up conftest.undefs because some shells have a limit on the size
21896: # of here documents, and old seds have small limits too (100 cmds).
21897: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21898: rm -f conftest.tail
21899: while grep . conftest.undefs >/dev/null
21900: do
21901:   # Write a limited-size here document to $tmp/undefs.sed.
21902:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21903:   # Speed up: don't consider the non `#undef'
21904:   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
21905:   # Work around the forget-to-reset-the-flag bug.
21906:   echo 't clr' >>$CONFIG_STATUS
21907:   echo ': clr' >>$CONFIG_STATUS
21908:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21909:   echo 'CEOF
21910:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21911:   rm -f $tmp/in
21912:   mv $tmp/out $tmp/in
21913: ' >>$CONFIG_STATUS
21914:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21915:   rm -f conftest.undefs
21916:   mv conftest.tail conftest.undefs
21917: done
21918: rm -f conftest.undefs
21919: 
21920: cat >>$CONFIG_STATUS <<\_ACEOF
21921:   # Let's still pretend it is `configure' which instantiates (i.e., don't
21922:   # use $as_me), people would be surprised to read:
21923:   #    /* config.h.  Generated by config.status.  */
21924:   if test x"$ac_file" = x-; then
21925:     echo "/* Generated by configure.  */" >$tmp/config.h
21926:   else
21927:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21928:   fi
21929:   cat $tmp/in >>$tmp/config.h
21930:   rm -f $tmp/in
21931:   if test x"$ac_file" != x-; then
21932:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21933:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21934: echo "$as_me: $ac_file is unchanged" >&6;}
21935:     else
21936:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21937: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21938: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
21939: 	 X"$ac_file" : 'X\(//\)$' \| \
21940: 	 X"$ac_file" : 'X\(/\)' \| \
21941: 	 .     : '\(.\)' 2>/dev/null ||
21942: echo X"$ac_file" |
21943:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21944:   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21945:   	  /^X\(\/\/\)$/{ s//\1/; q; }
21946:   	  /^X\(\/\).*/{ s//\1/; q; }
21947:   	  s/.*/./; q'`
21948:       { if $as_mkdir_p; then
21949:     mkdir -p "$ac_dir"
21950:   else
21951:     as_dir="$ac_dir"
21952:     as_dirs=
21953:     while test ! -d "$as_dir"; do
21954:       as_dirs="$as_dir $as_dirs"
21955:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21956: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21957: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
21958: 	 X"$as_dir" : 'X\(//\)$' \| \
21959: 	 X"$as_dir" : 'X\(/\)' \| \
21960: 	 .     : '\(.\)' 2>/dev/null ||
21961: echo X"$as_dir" |
21962:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21963:   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21964:   	  /^X\(\/\/\)$/{ s//\1/; q; }
21965:   	  /^X\(\/\).*/{ s//\1/; q; }
21966:   	  s/.*/./; q'`
21967:     done
21968:     test ! -n "$as_dirs" || mkdir $as_dirs
21969:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21970: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21971:    { (exit 1); exit 1; }; }; }
21972: 
21973:       rm -f $ac_file
21974:       mv $tmp/config.h $ac_file
21975:     fi
21976:   else
21977:     cat $tmp/config.h
21978:     rm -f $tmp/config.h
21979:   fi
21980: done
21981: _ACEOF
21982: 
21983: cat >>$CONFIG_STATUS <<\_ACEOF
21984: 
21985: { (exit 0); exit 0; }
21986: _ACEOF
21987: chmod +x $CONFIG_STATUS
21988: ac_clean_files=$ac_clean_files_save
21989: 
21990: 
21991: # configure is writing to config.log, and then calls config.status.
21992: # config.status does its own redirection, appending to config.log.
21993: # Unfortunately, on DOS this fails, as config.log is still kept open
21994: # by configure, so config.status won't be able to write to it; its
21995: # output is simply discarded.  So we exec the FD to /dev/null,
21996: # effectively closing config.log, so it can be properly (re)opened and
21997: # appended to by config.status.  When coming back to configure, we
21998: # need to make the FD available again.
21999: if test "$no_create" != yes; then
22000:   ac_cs_success=:
22001:   ac_config_status_args=
22002:   test "$silent" = yes &&
22003:     ac_config_status_args="$ac_config_status_args --quiet"
22004:   exec 5>/dev/null
22005:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22006:   exec 5>>config.log
22007:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22008:   # would make configure fail if this is the last instruction.
22009:   $ac_cs_success || { (exit 1); exit 1; }
22010: fi
22011: 
22012: 
22013: abs_srcdir="`cd $srcdir && pwd`"
22014: abs_builddir="`pwd`"
22015: if test "$abs_srcdir" != "$abs_builddir"; then
22016:   make mkdir-init
22017: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>