gst-plugins-nuvdemux/autom4te.cache/output.0
author rosfran
Thu Oct 26 18:55:14 2006 +0100 (2006-10-26)
branchtrunk
changeset 56 24be83eaef89
permissions -rw-r--r--
[svn r57] Fixed problem with the audio frame timestamps.
     1 @%:@! /bin/sh
     2 @%:@ Guess values for system-dependent variables and create Makefiles.
     3 @%:@ Generated by GNU Autoconf 2.59.
     4 @%:@ 
     5 @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
     6 @%:@ This configure script is free software; the Free Software Foundation
     7 @%:@ gives unlimited permission to copy, distribute and modify it.
     8 ## --------------------- ##
     9 ## M4sh Initialization.  ##
    10 ## --------------------- ##
    11 
    12 # Be Bourne compatible
    13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    14   emulate sh
    15   NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    17   # is contrary to our usage.  Disable this feature.
    18   alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68 	 X"$0" : 'X\(//\)$' \| \
    69 	 X"$0" : 'X\(/\)$' \| \
    70 	 .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
    74   	  /^X\/\(\/\).*/{ s//\1/; q; }
    75   	  s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
    79 # Avoid depending upon Character Ranges.
    80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    83 as_cr_digits='0123456789'
    84 as_cr_alnum=$as_cr_Letters$as_cr_digits
    85 
    86 # The user is always right.
    87 if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
    98 
    99 
   100   as_lineno_1=$LINENO
   101   as_lineno_2=$LINENO
   102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   103   test "x$as_lineno_1" != "x$as_lineno_2" &&
   104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   105   # Find who we are.  Look in the path if we contain no path at all
   106   # relative or not.
   107   case $0 in
   108     *[\\/]* ) as_myself=$0 ;;
   109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   110 for as_dir in $PATH
   111 do
   112   IFS=$as_save_IFS
   113   test -z "$as_dir" && as_dir=.
   114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   115 done
   116 
   117        ;;
   118   esac
   119   # We did not find ourselves, most probably we were run as `sh COMMAND'
   120   # in which case we are not to be found in the path.
   121   if test "x$as_myself" = x; then
   122     as_myself=$0
   123   fi
   124   if test ! -f "$as_myself"; then
   125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   126    { (exit 1); exit 1; }; }
   127   fi
   128   case $CONFIG_SHELL in
   129   '')
   130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   132 do
   133   IFS=$as_save_IFS
   134   test -z "$as_dir" && as_dir=.
   135   for as_base in sh bash ksh sh5; do
   136 	 case $as_dir in
   137 	 /*)
   138 	   if ("$as_dir/$as_base" -c '
   139   as_lineno_1=$LINENO
   140   as_lineno_2=$LINENO
   141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   142   test "x$as_lineno_1" != "x$as_lineno_2" &&
   143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   146 	     CONFIG_SHELL=$as_dir/$as_base
   147 	     export CONFIG_SHELL
   148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   149 	   fi;;
   150 	 esac
   151        done
   152 done
   153 ;;
   154   esac
   155 
   156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   157   # uniformly replaced by the line number.  The first 'sed' inserts a
   158   # line-number line before each line; the second 'sed' does the real
   159   # work.  The second script uses 'N' to pair each line-number line
   160   # with the numbered line, and appends trailing '-' during
   161   # substitution so that $LINENO is not a special case at line end.
   162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   164   sed '=' <$as_myself |
   165     sed '
   166       N
   167       s,$,-,
   168       : loop
   169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   170       t loop
   171       s,-$,,
   172       s,^['$as_cr_digits']*\n,,
   173     ' >$as_me.lineno &&
   174   chmod +x $as_me.lineno ||
   175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   176    { (exit 1); exit 1; }; }
   177 
   178   # Don't try to exec as it changes $[0], causing all sort of problems
   179   # (the dirname of $[0] is not the place where we might find the
   180   # original and so on.  Autoconf is especially sensible to this).
   181   . ./$as_me.lineno
   182   # Exit status is that of the last command.
   183   exit
   184 }
   185 
   186 
   187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   188   *c*,-n*) ECHO_N= ECHO_C='
   189 ' ECHO_T='	' ;;
   190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   192 esac
   193 
   194 if expr a : '\(a\)' >/dev/null 2>&1; then
   195   as_expr=expr
   196 else
   197   as_expr=false
   198 fi
   199 
   200 rm -f conf$$ conf$$.exe conf$$.file
   201 echo >conf$$.file
   202 if ln -s conf$$.file conf$$ 2>/dev/null; then
   203   # We could just check for DJGPP; but this test a) works b) is more generic
   204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   205   if test -f conf$$.exe; then
   206     # Don't use ln at all; we don't have any links
   207     as_ln_s='cp -p'
   208   else
   209     as_ln_s='ln -s'
   210   fi
   211 elif ln conf$$.file conf$$ 2>/dev/null; then
   212   as_ln_s=ln
   213 else
   214   as_ln_s='cp -p'
   215 fi
   216 rm -f conf$$ conf$$.exe conf$$.file
   217 
   218 if mkdir -p . 2>/dev/null; then
   219   as_mkdir_p=:
   220 else
   221   test -d ./-p && rmdir ./-p
   222   as_mkdir_p=false
   223 fi
   224 
   225 as_executable_p="test -f"
   226 
   227 # Sed expression to map a string onto a valid CPP name.
   228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   229 
   230 # Sed expression to map a string onto a valid variable name.
   231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   232 
   233 
   234 # IFS
   235 # We need space, tab and new line, in precisely that order.
   236 as_nl='
   237 '
   238 IFS=" 	$as_nl"
   239 
   240 # CDPATH.
   241 $as_unset CDPATH
   242 
   243 
   244 
   245 # Check that we are running under the correct shell.
   246 SHELL=${CONFIG_SHELL-/bin/sh}
   247 
   248 case X$ECHO in
   249 X*--fallback-echo)
   250   # Remove one level of quotation (which was required for Make).
   251   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
   252   ;;
   253 esac
   254 
   255 echo=${ECHO-echo}
   256 if test "X$1" = X--no-reexec; then
   257   # Discard the --no-reexec flag, and continue.
   258   shift
   259 elif test "X$1" = X--fallback-echo; then
   260   # Avoid inline document here, it may be left over
   261   :
   262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
   263   # Yippee, $echo works!
   264   :
   265 else
   266   # Restart under the correct shell.
   267   exec $SHELL "$0" --no-reexec ${1+"$@"}
   268 fi
   269 
   270 if test "X$1" = X--fallback-echo; then
   271   # used as fallback echo
   272   shift
   273   cat <<EOF
   274 $*
   275 EOF
   276   exit 0
   277 fi
   278 
   279 # The HP-UX ksh and POSIX shell print the target directory to stdout
   280 # if CDPATH is set.
   281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   282 
   283 if test -z "$ECHO"; then
   284 if test "X${echo_test_string+set}" != Xset; then
   285 # find a string as large as possible, as long as the shell can cope with it
   286   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   287     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   288     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
   289        echo_test_string=`eval $cmd` &&
   290        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
   291     then
   292       break
   293     fi
   294   done
   295 fi
   296 
   297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   298    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   299    test "X$echo_testing_string" = "X$echo_test_string"; then
   300   :
   301 else
   302   # The Solaris, AIX, and Digital Unix default echo programs unquote
   303   # backslashes.  This makes it impossible to quote backslashes using
   304   #   echo "$something" | sed 's/\\/\\\\/g'
   305   #
   306   # So, first we look for a working echo in the user's PATH.
   307 
   308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   309   for dir in $PATH /usr/ucb; do
   310     IFS="$lt_save_ifs"
   311     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   312        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   313        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   314        test "X$echo_testing_string" = "X$echo_test_string"; then
   315       echo="$dir/echo"
   316       break
   317     fi
   318   done
   319   IFS="$lt_save_ifs"
   320 
   321   if test "X$echo" = Xecho; then
   322     # We didn't find a better echo, so look for alternatives.
   323     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
   324        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
   325        test "X$echo_testing_string" = "X$echo_test_string"; then
   326       # This shell has a builtin print -r that does the trick.
   327       echo='print -r'
   328     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
   329 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
   330       # If we have ksh, try running configure again with it.
   331       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   332       export ORIGINAL_CONFIG_SHELL
   333       CONFIG_SHELL=/bin/ksh
   334       export CONFIG_SHELL
   335       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   336     else
   337       # Try using printf.
   338       echo='printf %s\n'
   339       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   340 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   341 	 test "X$echo_testing_string" = "X$echo_test_string"; then
   342 	# Cool, printf works
   343 	:
   344       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   345 	   test "X$echo_testing_string" = 'X\t' &&
   346 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   347 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   348 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   349 	export CONFIG_SHELL
   350 	SHELL="$CONFIG_SHELL"
   351 	export SHELL
   352 	echo="$CONFIG_SHELL $0 --fallback-echo"
   353       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   354 	   test "X$echo_testing_string" = 'X\t' &&
   355 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   356 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   357 	echo="$CONFIG_SHELL $0 --fallback-echo"
   358       else
   359 	# maybe with a smaller string...
   360 	prev=:
   361 
   362 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   363 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
   364 	  then
   365 	    break
   366 	  fi
   367 	  prev="$cmd"
   368 	done
   369 
   370 	if test "$prev" != 'sed 50q "$0"'; then
   371 	  echo_test_string=`eval $prev`
   372 	  export echo_test_string
   373 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   374 	else
   375 	  # Oops.  We lost completely, so just stick with echo.
   376 	  echo=echo
   377 	fi
   378       fi
   379     fi
   380   fi
   381 fi
   382 fi
   383 
   384 # Copy echo and quote the copy suitably for passing to libtool from
   385 # the Makefile, instead of quoting the original, which is used later.
   386 ECHO=$echo
   387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   388    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   389 fi
   390 
   391 
   392 
   393 
   394 tagnames=${tagnames+${tagnames},}CXX
   395 
   396 tagnames=${tagnames+${tagnames},}F77
   397 
   398 # Name of the host.
   399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   400 # so uname gets run too.
   401 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   402 
   403 exec 6>&1
   404 
   405 #
   406 # Initializations.
   407 #
   408 ac_default_prefix=/usr/local
   409 ac_config_libobj_dir=.
   410 cross_compiling=no
   411 subdirs=
   412 MFLAGS=
   413 MAKEFLAGS=
   414 SHELL=${CONFIG_SHELL-/bin/sh}
   415 
   416 # Maximum number of lines to put in a shell here document.
   417 # This variable seems obsolete.  It should probably be removed, and
   418 # only ac_max_sed_lines should be used.
   419 : ${ac_max_here_lines=38}
   420 
   421 # Identity of this package.
   422 PACKAGE_NAME=
   423 PACKAGE_TARNAME=
   424 PACKAGE_VERSION=
   425 PACKAGE_STRING=
   426 PACKAGE_BUGREPORT=
   427 
   428 # Factoring default headers for most tests.
   429 ac_includes_default="\
   430 #include <stdio.h>
   431 #if HAVE_SYS_TYPES_H
   432 # include <sys/types.h>
   433 #endif
   434 #if HAVE_SYS_STAT_H
   435 # include <sys/stat.h>
   436 #endif
   437 #if STDC_HEADERS
   438 # include <stdlib.h>
   439 # include <stddef.h>
   440 #else
   441 # if HAVE_STDLIB_H
   442 #  include <stdlib.h>
   443 # endif
   444 #endif
   445 #if HAVE_STRING_H
   446 # if !STDC_HEADERS && HAVE_MEMORY_H
   447 #  include <memory.h>
   448 # endif
   449 # include <string.h>
   450 #endif
   451 #if HAVE_STRINGS_H
   452 # include <strings.h>
   453 #endif
   454 #if HAVE_INTTYPES_H
   455 # include <inttypes.h>
   456 #else
   457 # if HAVE_STDINT_H
   458 #  include <stdint.h>
   459 # endif
   460 #endif
   461 #if HAVE_UNISTD_H
   462 # include <unistd.h>
   463 #endif"
   464 
   465 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 target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
   466 ac_subst_files=''
   467 
   468 # Initialize some variables set by options.
   469 ac_init_help=
   470 ac_init_version=false
   471 # The variables have the same names as the options, with
   472 # dashes changed to underlines.
   473 cache_file=/dev/null
   474 exec_prefix=NONE
   475 no_create=
   476 no_recursion=
   477 prefix=NONE
   478 program_prefix=NONE
   479 program_suffix=NONE
   480 program_transform_name=s,x,x,
   481 silent=
   482 site=
   483 srcdir=
   484 verbose=
   485 x_includes=NONE
   486 x_libraries=NONE
   487 
   488 # Installation directory options.
   489 # These are left unexpanded so users can "make install exec_prefix=/foo"
   490 # and all the variables that are supposed to be based on exec_prefix
   491 # by default will actually change.
   492 # Use braces instead of parens because sh, perl, etc. also accept them.
   493 bindir='${exec_prefix}/bin'
   494 sbindir='${exec_prefix}/sbin'
   495 libexecdir='${exec_prefix}/libexec'
   496 datadir='${prefix}/share'
   497 sysconfdir='${prefix}/etc'
   498 sharedstatedir='${prefix}/com'
   499 localstatedir='${prefix}/var'
   500 libdir='${exec_prefix}/lib'
   501 includedir='${prefix}/include'
   502 oldincludedir='/usr/include'
   503 infodir='${prefix}/info'
   504 mandir='${prefix}/man'
   505 
   506 ac_prev=
   507 for ac_option
   508 do
   509   # If the previous option needs an argument, assign it.
   510   if test -n "$ac_prev"; then
   511     eval "$ac_prev=\$ac_option"
   512     ac_prev=
   513     continue
   514   fi
   515 
   516   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   517 
   518   # Accept the important Cygnus configure options, so we can diagnose typos.
   519 
   520   case $ac_option in
   521 
   522   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   523     ac_prev=bindir ;;
   524   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   525     bindir=$ac_optarg ;;
   526 
   527   -build | --build | --buil | --bui | --bu)
   528     ac_prev=build_alias ;;
   529   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   530     build_alias=$ac_optarg ;;
   531 
   532   -cache-file | --cache-file | --cache-fil | --cache-fi \
   533   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   534     ac_prev=cache_file ;;
   535   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   536   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   537     cache_file=$ac_optarg ;;
   538 
   539   --config-cache | -C)
   540     cache_file=config.cache ;;
   541 
   542   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
   543     ac_prev=datadir ;;
   544   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   545   | --da=*)
   546     datadir=$ac_optarg ;;
   547 
   548   -disable-* | --disable-*)
   549     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   550     # Reject names that are not valid shell variable names.
   551     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   552       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   553    { (exit 1); exit 1; }; }
   554     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   555     eval "enable_$ac_feature=no" ;;
   556 
   557   -enable-* | --enable-*)
   558     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   559     # Reject names that are not valid shell variable names.
   560     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   561       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   562    { (exit 1); exit 1; }; }
   563     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   564     case $ac_option in
   565       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
   566       *) ac_optarg=yes ;;
   567     esac
   568     eval "enable_$ac_feature='$ac_optarg'" ;;
   569 
   570   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   571   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   572   | --exec | --exe | --ex)
   573     ac_prev=exec_prefix ;;
   574   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   575   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   576   | --exec=* | --exe=* | --ex=*)
   577     exec_prefix=$ac_optarg ;;
   578 
   579   -gas | --gas | --ga | --g)
   580     # Obsolete; use --with-gas.
   581     with_gas=yes ;;
   582 
   583   -help | --help | --hel | --he | -h)
   584     ac_init_help=long ;;
   585   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   586     ac_init_help=recursive ;;
   587   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   588     ac_init_help=short ;;
   589 
   590   -host | --host | --hos | --ho)
   591     ac_prev=host_alias ;;
   592   -host=* | --host=* | --hos=* | --ho=*)
   593     host_alias=$ac_optarg ;;
   594 
   595   -includedir | --includedir | --includedi | --included | --include \
   596   | --includ | --inclu | --incl | --inc)
   597     ac_prev=includedir ;;
   598   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   599   | --includ=* | --inclu=* | --incl=* | --inc=*)
   600     includedir=$ac_optarg ;;
   601 
   602   -infodir | --infodir | --infodi | --infod | --info | --inf)
   603     ac_prev=infodir ;;
   604   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   605     infodir=$ac_optarg ;;
   606 
   607   -libdir | --libdir | --libdi | --libd)
   608     ac_prev=libdir ;;
   609   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   610     libdir=$ac_optarg ;;
   611 
   612   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   613   | --libexe | --libex | --libe)
   614     ac_prev=libexecdir ;;
   615   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   616   | --libexe=* | --libex=* | --libe=*)
   617     libexecdir=$ac_optarg ;;
   618 
   619   -localstatedir | --localstatedir | --localstatedi | --localstated \
   620   | --localstate | --localstat | --localsta | --localst \
   621   | --locals | --local | --loca | --loc | --lo)
   622     ac_prev=localstatedir ;;
   623   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   624   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   625   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
   626     localstatedir=$ac_optarg ;;
   627 
   628   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   629     ac_prev=mandir ;;
   630   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   631     mandir=$ac_optarg ;;
   632 
   633   -nfp | --nfp | --nf)
   634     # Obsolete; use --without-fp.
   635     with_fp=no ;;
   636 
   637   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   638   | --no-cr | --no-c | -n)
   639     no_create=yes ;;
   640 
   641   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   642   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   643     no_recursion=yes ;;
   644 
   645   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   646   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   647   | --oldin | --oldi | --old | --ol | --o)
   648     ac_prev=oldincludedir ;;
   649   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   650   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   651   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   652     oldincludedir=$ac_optarg ;;
   653 
   654   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   655     ac_prev=prefix ;;
   656   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   657     prefix=$ac_optarg ;;
   658 
   659   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   660   | --program-pre | --program-pr | --program-p)
   661     ac_prev=program_prefix ;;
   662   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   663   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   664     program_prefix=$ac_optarg ;;
   665 
   666   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   667   | --program-suf | --program-su | --program-s)
   668     ac_prev=program_suffix ;;
   669   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   670   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   671     program_suffix=$ac_optarg ;;
   672 
   673   -program-transform-name | --program-transform-name \
   674   | --program-transform-nam | --program-transform-na \
   675   | --program-transform-n | --program-transform- \
   676   | --program-transform | --program-transfor \
   677   | --program-transfo | --program-transf \
   678   | --program-trans | --program-tran \
   679   | --progr-tra | --program-tr | --program-t)
   680     ac_prev=program_transform_name ;;
   681   -program-transform-name=* | --program-transform-name=* \
   682   | --program-transform-nam=* | --program-transform-na=* \
   683   | --program-transform-n=* | --program-transform-=* \
   684   | --program-transform=* | --program-transfor=* \
   685   | --program-transfo=* | --program-transf=* \
   686   | --program-trans=* | --program-tran=* \
   687   | --progr-tra=* | --program-tr=* | --program-t=*)
   688     program_transform_name=$ac_optarg ;;
   689 
   690   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   691   | -silent | --silent | --silen | --sile | --sil)
   692     silent=yes ;;
   693 
   694   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   695     ac_prev=sbindir ;;
   696   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   697   | --sbi=* | --sb=*)
   698     sbindir=$ac_optarg ;;
   699 
   700   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   701   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   702   | --sharedst | --shareds | --shared | --share | --shar \
   703   | --sha | --sh)
   704     ac_prev=sharedstatedir ;;
   705   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   706   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   707   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   708   | --sha=* | --sh=*)
   709     sharedstatedir=$ac_optarg ;;
   710 
   711   -site | --site | --sit)
   712     ac_prev=site ;;
   713   -site=* | --site=* | --sit=*)
   714     site=$ac_optarg ;;
   715 
   716   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   717     ac_prev=srcdir ;;
   718   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   719     srcdir=$ac_optarg ;;
   720 
   721   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   722   | --syscon | --sysco | --sysc | --sys | --sy)
   723     ac_prev=sysconfdir ;;
   724   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   725   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   726     sysconfdir=$ac_optarg ;;
   727 
   728   -target | --target | --targe | --targ | --tar | --ta | --t)
   729     ac_prev=target_alias ;;
   730   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   731     target_alias=$ac_optarg ;;
   732 
   733   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   734     verbose=yes ;;
   735 
   736   -version | --version | --versio | --versi | --vers | -V)
   737     ac_init_version=: ;;
   738 
   739   -with-* | --with-*)
   740     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   741     # Reject names that are not valid shell variable names.
   742     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   743       { echo "$as_me: error: invalid package name: $ac_package" >&2
   744    { (exit 1); exit 1; }; }
   745     ac_package=`echo $ac_package| sed 's/-/_/g'`
   746     case $ac_option in
   747       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
   748       *) ac_optarg=yes ;;
   749     esac
   750     eval "with_$ac_package='$ac_optarg'" ;;
   751 
   752   -without-* | --without-*)
   753     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   754     # Reject names that are not valid shell variable names.
   755     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   756       { echo "$as_me: error: invalid package name: $ac_package" >&2
   757    { (exit 1); exit 1; }; }
   758     ac_package=`echo $ac_package | sed 's/-/_/g'`
   759     eval "with_$ac_package=no" ;;
   760 
   761   --x)
   762     # Obsolete; use --with-x.
   763     with_x=yes ;;
   764 
   765   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   766   | --x-incl | --x-inc | --x-in | --x-i)
   767     ac_prev=x_includes ;;
   768   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   769   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   770     x_includes=$ac_optarg ;;
   771 
   772   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   773   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   774     ac_prev=x_libraries ;;
   775   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   776   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   777     x_libraries=$ac_optarg ;;
   778 
   779   -*) { echo "$as_me: error: unrecognized option: $ac_option
   780 Try \`$0 --help' for more information." >&2
   781    { (exit 1); exit 1; }; }
   782     ;;
   783 
   784   *=*)
   785     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   786     # Reject names that are not valid shell variable names.
   787     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   788       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   789    { (exit 1); exit 1; }; }
   790     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
   791     eval "$ac_envvar='$ac_optarg'"
   792     export $ac_envvar ;;
   793 
   794   *)
   795     # FIXME: should be removed in autoconf 3.0.
   796     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   797     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   798       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   799     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   800     ;;
   801 
   802   esac
   803 done
   804 
   805 if test -n "$ac_prev"; then
   806   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   807   { echo "$as_me: error: missing argument to $ac_option" >&2
   808    { (exit 1); exit 1; }; }
   809 fi
   810 
   811 # Be sure to have absolute paths.
   812 for ac_var in exec_prefix prefix
   813 do
   814   eval ac_val=$`echo $ac_var`
   815   case $ac_val in
   816     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
   817     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   818    { (exit 1); exit 1; }; };;
   819   esac
   820 done
   821 
   822 # Be sure to have absolute paths.
   823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
   824 	      localstatedir libdir includedir oldincludedir infodir mandir
   825 do
   826   eval ac_val=$`echo $ac_var`
   827   case $ac_val in
   828     [\\/$]* | ?:[\\/]* ) ;;
   829     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   830    { (exit 1); exit 1; }; };;
   831   esac
   832 done
   833 
   834 # There might be people who depend on the old broken behavior: `$host'
   835 # used to hold the argument of --host etc.
   836 # FIXME: To remove some day.
   837 build=$build_alias
   838 host=$host_alias
   839 target=$target_alias
   840 
   841 # FIXME: To remove some day.
   842 if test "x$host_alias" != x; then
   843   if test "x$build_alias" = x; then
   844     cross_compiling=maybe
   845     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   846     If a cross compiler is detected then cross compile mode will be used." >&2
   847   elif test "x$build_alias" != "x$host_alias"; then
   848     cross_compiling=yes
   849   fi
   850 fi
   851 
   852 ac_tool_prefix=
   853 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   854 
   855 test "$silent" = yes && exec 6>/dev/null
   856 
   857 
   858 # Find the source files, if location was not specified.
   859 if test -z "$srcdir"; then
   860   ac_srcdir_defaulted=yes
   861   # Try the directory containing this script, then its parent.
   862   ac_confdir=`(dirname "$0") 2>/dev/null ||
   863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   864 	 X"$0" : 'X\(//\)[^/]' \| \
   865 	 X"$0" : 'X\(//\)$' \| \
   866 	 X"$0" : 'X\(/\)' \| \
   867 	 .     : '\(.\)' 2>/dev/null ||
   868 echo X"$0" |
   869     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   870   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   871   	  /^X\(\/\/\)$/{ s//\1/; q; }
   872   	  /^X\(\/\).*/{ s//\1/; q; }
   873   	  s/.*/./; q'`
   874   srcdir=$ac_confdir
   875   if test ! -r $srcdir/$ac_unique_file; then
   876     srcdir=..
   877   fi
   878 else
   879   ac_srcdir_defaulted=no
   880 fi
   881 if test ! -r $srcdir/$ac_unique_file; then
   882   if test "$ac_srcdir_defaulted" = yes; then
   883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
   884    { (exit 1); exit 1; }; }
   885   else
   886     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   887    { (exit 1); exit 1; }; }
   888   fi
   889 fi
   890 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
   891   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
   892    { (exit 1); exit 1; }; }
   893 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
   894 ac_env_build_alias_set=${build_alias+set}
   895 ac_env_build_alias_value=$build_alias
   896 ac_cv_env_build_alias_set=${build_alias+set}
   897 ac_cv_env_build_alias_value=$build_alias
   898 ac_env_host_alias_set=${host_alias+set}
   899 ac_env_host_alias_value=$host_alias
   900 ac_cv_env_host_alias_set=${host_alias+set}
   901 ac_cv_env_host_alias_value=$host_alias
   902 ac_env_target_alias_set=${target_alias+set}
   903 ac_env_target_alias_value=$target_alias
   904 ac_cv_env_target_alias_set=${target_alias+set}
   905 ac_cv_env_target_alias_value=$target_alias
   906 ac_env_CC_set=${CC+set}
   907 ac_env_CC_value=$CC
   908 ac_cv_env_CC_set=${CC+set}
   909 ac_cv_env_CC_value=$CC
   910 ac_env_CFLAGS_set=${CFLAGS+set}
   911 ac_env_CFLAGS_value=$CFLAGS
   912 ac_cv_env_CFLAGS_set=${CFLAGS+set}
   913 ac_cv_env_CFLAGS_value=$CFLAGS
   914 ac_env_LDFLAGS_set=${LDFLAGS+set}
   915 ac_env_LDFLAGS_value=$LDFLAGS
   916 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
   917 ac_cv_env_LDFLAGS_value=$LDFLAGS
   918 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
   919 ac_env_CPPFLAGS_value=$CPPFLAGS
   920 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
   921 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
   922 ac_env_CPP_set=${CPP+set}
   923 ac_env_CPP_value=$CPP
   924 ac_cv_env_CPP_set=${CPP+set}
   925 ac_cv_env_CPP_value=$CPP
   926 ac_env_CXX_set=${CXX+set}
   927 ac_env_CXX_value=$CXX
   928 ac_cv_env_CXX_set=${CXX+set}
   929 ac_cv_env_CXX_value=$CXX
   930 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
   931 ac_env_CXXFLAGS_value=$CXXFLAGS
   932 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
   933 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
   934 ac_env_CXXCPP_set=${CXXCPP+set}
   935 ac_env_CXXCPP_value=$CXXCPP
   936 ac_cv_env_CXXCPP_set=${CXXCPP+set}
   937 ac_cv_env_CXXCPP_value=$CXXCPP
   938 ac_env_F77_set=${F77+set}
   939 ac_env_F77_value=$F77
   940 ac_cv_env_F77_set=${F77+set}
   941 ac_cv_env_F77_value=$F77
   942 ac_env_FFLAGS_set=${FFLAGS+set}
   943 ac_env_FFLAGS_value=$FFLAGS
   944 ac_cv_env_FFLAGS_set=${FFLAGS+set}
   945 ac_cv_env_FFLAGS_value=$FFLAGS
   946 ac_env_CCAS_set=${CCAS+set}
   947 ac_env_CCAS_value=$CCAS
   948 ac_cv_env_CCAS_set=${CCAS+set}
   949 ac_cv_env_CCAS_value=$CCAS
   950 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
   951 ac_env_CCASFLAGS_value=$CCASFLAGS
   952 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
   953 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
   954 
   955 #
   956 # Report the --help message.
   957 #
   958 if test "$ac_init_help" = "long"; then
   959   # Omit some internal or obsolete options to make the list less imposing.
   960   # This message is too long to be a string in the A/UX 3.1 sh.
   961   cat <<_ACEOF
   962 \`configure' configures this package to adapt to many kinds of systems.
   963 
   964 Usage: $0 [OPTION]... [VAR=VALUE]...
   965 
   966 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   967 VAR=VALUE.  See below for descriptions of some of the useful variables.
   968 
   969 Defaults for the options are specified in brackets.
   970 
   971 Configuration:
   972   -h, --help              display this help and exit
   973       --help=short        display options specific to this package
   974       --help=recursive    display the short help of all the included packages
   975   -V, --version           display version information and exit
   976   -q, --quiet, --silent   do not print \`checking...' messages
   977       --cache-file=FILE   cache test results in FILE [disabled]
   978   -C, --config-cache      alias for \`--cache-file=config.cache'
   979   -n, --no-create         do not create output files
   980       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   981 
   982 _ACEOF
   983 
   984   cat <<_ACEOF
   985 Installation directories:
   986   --prefix=PREFIX         install architecture-independent files in PREFIX
   987 			  [$ac_default_prefix]
   988   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   989 			  [PREFIX]
   990 
   991 By default, \`make install' will install all the files in
   992 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   993 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   994 for instance \`--prefix=\$HOME'.
   995 
   996 For better control, use the options below.
   997 
   998 Fine tuning of the installation directories:
   999   --bindir=DIR           user executables [EPREFIX/bin]
  1000   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1001   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1002   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  1003   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1004   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1005   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1006   --libdir=DIR           object code libraries [EPREFIX/lib]
  1007   --includedir=DIR       C header files [PREFIX/include]
  1008   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1009   --infodir=DIR          info documentation [PREFIX/info]
  1010   --mandir=DIR           man documentation [PREFIX/man]
  1011 _ACEOF
  1012 
  1013   cat <<\_ACEOF
  1014 
  1015 Program names:
  1016   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1017   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1018   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1019 
  1020 System types:
  1021   --build=BUILD     configure for building on BUILD [guessed]
  1022   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1023   --target=TARGET   configure for building compilers for TARGET [HOST]
  1024 _ACEOF
  1025 fi
  1026 
  1027 if test -n "$ac_init_help"; then
  1028 
  1029   cat <<\_ACEOF
  1030 
  1031 Optional Features:
  1032   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1033   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1034   --enable-static@<:@=PKGS@:>@ 
  1035                           build static libraries @<:@default=no@:>@
  1036   --enable-maintainer-mode  enable make rules and dependencies not useful
  1037 			  (and sometimes confusing) to the casual installer
  1038   --enable-shared@<:@=PKGS@:>@ 
  1039                           build shared libraries @<:@default=yes@:>@
  1040   --enable-fast-install@<:@=PKGS@:>@ 
  1041                           optimize for fast installation @<:@default=yes@:>@
  1042   --disable-dependency-tracking  speeds up one-time build
  1043   --enable-dependency-tracking   do not reject slow dependency extractors
  1044   --disable-libtool-lock  avoid locking (might break parallel builds)
  1045 
  1046 Optional Packages:
  1047   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1048   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1049   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
  1050   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
  1051                           both@:>@
  1052   --with-tags@<:@=TAGS@:>@ 
  1053                           include additional configurations @<:@automatic@:>@
  1054 
  1055 Some influential environment variables:
  1056   CC          C compiler command
  1057   CFLAGS      C compiler flags
  1058   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1059               nonstandard directory <lib dir>
  1060   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1061               headers in a nonstandard directory <include dir>
  1062   CPP         C preprocessor
  1063   CXX         C++ compiler command
  1064   CXXFLAGS    C++ compiler flags
  1065   CXXCPP      C++ preprocessor
  1066   F77         Fortran 77 compiler command
  1067   FFLAGS      Fortran 77 compiler flags
  1068   CCAS        assembler compiler command (defaults to CC)
  1069   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1070 
  1071 Use these variables to override the choices made by `configure' or to help
  1072 it to find libraries and programs with nonstandard names/locations.
  1073 
  1074 _ACEOF
  1075 fi
  1076 
  1077 if test "$ac_init_help" = "recursive"; then
  1078   # If there are subdirs, report their specific --help.
  1079   ac_popdir=`pwd`
  1080   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1081     test -d $ac_dir || continue
  1082     ac_builddir=.
  1083 
  1084 if test "$ac_dir" != .; then
  1085   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1086   # A "../" for each directory in $ac_dir_suffix.
  1087   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1088 else
  1089   ac_dir_suffix= ac_top_builddir=
  1090 fi
  1091 
  1092 case $srcdir in
  1093   .)  # No --srcdir option.  We are building in place.
  1094     ac_srcdir=.
  1095     if test -z "$ac_top_builddir"; then
  1096        ac_top_srcdir=.
  1097     else
  1098        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1099     fi ;;
  1100   [\\/]* | ?:[\\/]* )  # Absolute path.
  1101     ac_srcdir=$srcdir$ac_dir_suffix;
  1102     ac_top_srcdir=$srcdir ;;
  1103   *) # Relative path.
  1104     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1105     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1106 esac
  1107 
  1108 # Do not use `cd foo && pwd` to compute absolute paths, because
  1109 # the directories may not exist.
  1110 case `pwd` in
  1111 .) ac_abs_builddir="$ac_dir";;
  1112 *)
  1113   case "$ac_dir" in
  1114   .) ac_abs_builddir=`pwd`;;
  1115   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1116   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1117   esac;;
  1118 esac
  1119 case $ac_abs_builddir in
  1120 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1121 *)
  1122   case ${ac_top_builddir}. in
  1123   .) ac_abs_top_builddir=$ac_abs_builddir;;
  1124   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1125   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1126   esac;;
  1127 esac
  1128 case $ac_abs_builddir in
  1129 .) ac_abs_srcdir=$ac_srcdir;;
  1130 *)
  1131   case $ac_srcdir in
  1132   .) ac_abs_srcdir=$ac_abs_builddir;;
  1133   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1134   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1135   esac;;
  1136 esac
  1137 case $ac_abs_builddir in
  1138 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1139 *)
  1140   case $ac_top_srcdir in
  1141   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1142   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1143   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1144   esac;;
  1145 esac
  1146 
  1147     cd $ac_dir
  1148     # Check for guested configure; otherwise get Cygnus style configure.
  1149     if test -f $ac_srcdir/configure.gnu; then
  1150       echo
  1151       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  1152     elif test -f $ac_srcdir/configure; then
  1153       echo
  1154       $SHELL $ac_srcdir/configure  --help=recursive
  1155     elif test -f $ac_srcdir/configure.ac ||
  1156 	   test -f $ac_srcdir/configure.in; then
  1157       echo
  1158       $ac_configure --help
  1159     else
  1160       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1161     fi
  1162     cd "$ac_popdir"
  1163   done
  1164 fi
  1165 
  1166 test -n "$ac_init_help" && exit 0
  1167 if $ac_init_version; then
  1168   cat <<\_ACEOF
  1169 
  1170 Copyright (C) 2003 Free Software Foundation, Inc.
  1171 This configure script is free software; the Free Software Foundation
  1172 gives unlimited permission to copy, distribute and modify it.
  1173 _ACEOF
  1174   exit 0
  1175 fi
  1176 exec 5>config.log
  1177 cat >&5 <<_ACEOF
  1178 This file contains any messages produced by compilers while
  1179 running configure, to aid debugging if configure makes a mistake.
  1180 
  1181 It was created by $as_me, which was
  1182 generated by GNU Autoconf 2.59.  Invocation command line was
  1183 
  1184   $ $0 $@
  1185 
  1186 _ACEOF
  1187 {
  1188 cat <<_ASUNAME
  1189 @%:@@%:@ --------- @%:@@%:@
  1190 @%:@@%:@ Platform. @%:@@%:@
  1191 @%:@@%:@ --------- @%:@@%:@
  1192 
  1193 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1194 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1195 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1196 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1197 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1198 
  1199 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1200 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1201 
  1202 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1203 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1204 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1205 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  1206 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1207 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1208 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1209 
  1210 _ASUNAME
  1211 
  1212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1213 for as_dir in $PATH
  1214 do
  1215   IFS=$as_save_IFS
  1216   test -z "$as_dir" && as_dir=.
  1217   echo "PATH: $as_dir"
  1218 done
  1219 
  1220 } >&5
  1221 
  1222 cat >&5 <<_ACEOF
  1223 
  1224 
  1225 @%:@@%:@ ----------- @%:@@%:@
  1226 @%:@@%:@ Core tests. @%:@@%:@
  1227 @%:@@%:@ ----------- @%:@@%:@
  1228 
  1229 _ACEOF
  1230 
  1231 
  1232 # Keep a trace of the command line.
  1233 # Strip out --no-create and --no-recursion so they do not pile up.
  1234 # Strip out --silent because we don't want to record it for future runs.
  1235 # Also quote any args containing shell meta-characters.
  1236 # Make two passes to allow for proper duplicate-argument suppression.
  1237 ac_configure_args=
  1238 ac_configure_args0=
  1239 ac_configure_args1=
  1240 ac_sep=
  1241 ac_must_keep_next=false
  1242 for ac_pass in 1 2
  1243 do
  1244   for ac_arg
  1245   do
  1246     case $ac_arg in
  1247     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1248     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1249     | -silent | --silent | --silen | --sile | --sil)
  1250       continue ;;
  1251     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1252       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1253     esac
  1254     case $ac_pass in
  1255     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1256     2)
  1257       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1258       if test $ac_must_keep_next = true; then
  1259 	ac_must_keep_next=false # Got value, back to normal.
  1260       else
  1261 	case $ac_arg in
  1262 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1263 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1264 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1265 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1266 	    case "$ac_configure_args0 " in
  1267 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1268 	    esac
  1269 	    ;;
  1270 	  -* ) ac_must_keep_next=true ;;
  1271 	esac
  1272       fi
  1273       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1274       # Get rid of the leading space.
  1275       ac_sep=" "
  1276       ;;
  1277     esac
  1278   done
  1279 done
  1280 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1281 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1282 
  1283 # When interrupted or exit'd, cleanup temporary files, and complete
  1284 # config.log.  We remove comments because anyway the quotes in there
  1285 # would cause problems or look ugly.
  1286 # WARNING: Be sure not to use single quotes in there, as some shells,
  1287 # such as our DU 5.0 friend, will then `close' the trap.
  1288 trap 'exit_status=$?
  1289   # Save into config.log some information that might help in debugging.
  1290   {
  1291     echo
  1292 
  1293     cat <<\_ASBOX
  1294 @%:@@%:@ ---------------- @%:@@%:@
  1295 @%:@@%:@ Cache variables. @%:@@%:@
  1296 @%:@@%:@ ---------------- @%:@@%:@
  1297 _ASBOX
  1298     echo
  1299     # The following way of writing the cache mishandles newlines in values,
  1300 {
  1301   (set) 2>&1 |
  1302     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1303     *ac_space=\ *)
  1304       sed -n \
  1305 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1306 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1307       ;;
  1308     *)
  1309       sed -n \
  1310 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1311       ;;
  1312     esac;
  1313 }
  1314     echo
  1315 
  1316     cat <<\_ASBOX
  1317 @%:@@%:@ ----------------- @%:@@%:@
  1318 @%:@@%:@ Output variables. @%:@@%:@
  1319 @%:@@%:@ ----------------- @%:@@%:@
  1320 _ASBOX
  1321     echo
  1322     for ac_var in $ac_subst_vars
  1323     do
  1324       eval ac_val=$`echo $ac_var`
  1325       echo "$ac_var='"'"'$ac_val'"'"'"
  1326     done | sort
  1327     echo
  1328 
  1329     if test -n "$ac_subst_files"; then
  1330       cat <<\_ASBOX
  1331 @%:@@%:@ ------------- @%:@@%:@
  1332 @%:@@%:@ Output files. @%:@@%:@
  1333 @%:@@%:@ ------------- @%:@@%:@
  1334 _ASBOX
  1335       echo
  1336       for ac_var in $ac_subst_files
  1337       do
  1338 	eval ac_val=$`echo $ac_var`
  1339 	echo "$ac_var='"'"'$ac_val'"'"'"
  1340       done | sort
  1341       echo
  1342     fi
  1343 
  1344     if test -s confdefs.h; then
  1345       cat <<\_ASBOX
  1346 @%:@@%:@ ----------- @%:@@%:@
  1347 @%:@@%:@ confdefs.h. @%:@@%:@
  1348 @%:@@%:@ ----------- @%:@@%:@
  1349 _ASBOX
  1350       echo
  1351       sed "/^$/d" confdefs.h | sort
  1352       echo
  1353     fi
  1354     test "$ac_signal" != 0 &&
  1355       echo "$as_me: caught signal $ac_signal"
  1356     echo "$as_me: exit $exit_status"
  1357   } >&5
  1358   rm -f core *.core &&
  1359   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1360     exit $exit_status
  1361      ' 0
  1362 for ac_signal in 1 2 13 15; do
  1363   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1364 done
  1365 ac_signal=0
  1366 
  1367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1368 rm -rf conftest* confdefs.h
  1369 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1370 echo >confdefs.h
  1371 
  1372 # Predefined preprocessor variables.
  1373 
  1374 cat >>confdefs.h <<_ACEOF
  1375 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
  1376 _ACEOF
  1377 
  1378 
  1379 cat >>confdefs.h <<_ACEOF
  1380 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1381 _ACEOF
  1382 
  1383 
  1384 cat >>confdefs.h <<_ACEOF
  1385 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  1386 _ACEOF
  1387 
  1388 
  1389 cat >>confdefs.h <<_ACEOF
  1390 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
  1391 _ACEOF
  1392 
  1393 
  1394 cat >>confdefs.h <<_ACEOF
  1395 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1396 _ACEOF
  1397 
  1398 
  1399 # Let the site file select an alternate cache file if it wants to.
  1400 # Prefer explicitly selected file to automatically selected ones.
  1401 if test -z "$CONFIG_SITE"; then
  1402   if test "x$prefix" != xNONE; then
  1403     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1404   else
  1405     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1406   fi
  1407 fi
  1408 for ac_site_file in $CONFIG_SITE; do
  1409   if test -r "$ac_site_file"; then
  1410     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1411 echo "$as_me: loading site script $ac_site_file" >&6;}
  1412     sed 's/^/| /' "$ac_site_file" >&5
  1413     . "$ac_site_file"
  1414   fi
  1415 done
  1416 
  1417 if test -r "$cache_file"; then
  1418   # Some versions of bash will fail to source /dev/null (special
  1419   # files actually), so we avoid doing that.
  1420   if test -f "$cache_file"; then
  1421     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1422 echo "$as_me: loading cache $cache_file" >&6;}
  1423     case $cache_file in
  1424       [\\/]* | ?:[\\/]* ) . $cache_file;;
  1425       *)                      . ./$cache_file;;
  1426     esac
  1427   fi
  1428 else
  1429   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1430 echo "$as_me: creating cache $cache_file" >&6;}
  1431   >$cache_file
  1432 fi
  1433 
  1434 # Check that the precious variables saved in the cache have kept the same
  1435 # value.
  1436 ac_cache_corrupted=false
  1437 for ac_var in `(set) 2>&1 |
  1438 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1439   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1440   eval ac_new_set=\$ac_env_${ac_var}_set
  1441   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1442   eval ac_new_val="\$ac_env_${ac_var}_value"
  1443   case $ac_old_set,$ac_new_set in
  1444     set,)
  1445       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1446 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1447       ac_cache_corrupted=: ;;
  1448     ,set)
  1449       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1450 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1451       ac_cache_corrupted=: ;;
  1452     ,);;
  1453     *)
  1454       if test "x$ac_old_val" != "x$ac_new_val"; then
  1455 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1456 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1457 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1458 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1459 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1460 echo "$as_me:   current value: $ac_new_val" >&2;}
  1461 	ac_cache_corrupted=:
  1462       fi;;
  1463   esac
  1464   # Pass precious variables to config.status.
  1465   if test "$ac_new_set" = set; then
  1466     case $ac_new_val in
  1467     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1468       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1469     *) ac_arg=$ac_var=$ac_new_val ;;
  1470     esac
  1471     case " $ac_configure_args " in
  1472       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1473       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1474     esac
  1475   fi
  1476 done
  1477 if $ac_cache_corrupted; then
  1478   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1480   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1482    { (exit 1); exit 1; }; }
  1483 fi
  1484 
  1485 ac_ext=c
  1486 ac_cpp='$CPP $CPPFLAGS'
  1487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1490 
  1491 
  1492 
  1493 
  1494 
  1495 
  1496 
  1497 
  1498 
  1499 
  1500 
  1501 
  1502 
  1503 
  1504 
  1505 
  1506 
  1507 
  1508 
  1509 ac_aux_dir=
  1510 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1511   if test -f $ac_dir/install-sh; then
  1512     ac_aux_dir=$ac_dir
  1513     ac_install_sh="$ac_aux_dir/install-sh -c"
  1514     break
  1515   elif test -f $ac_dir/install.sh; then
  1516     ac_aux_dir=$ac_dir
  1517     ac_install_sh="$ac_aux_dir/install.sh -c"
  1518     break
  1519   elif test -f $ac_dir/shtool; then
  1520     ac_aux_dir=$ac_dir
  1521     ac_install_sh="$ac_aux_dir/shtool install -c"
  1522     break
  1523   fi
  1524 done
  1525 if test -z "$ac_aux_dir"; then
  1526   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1527 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1528    { (exit 1); exit 1; }; }
  1529 fi
  1530 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1531 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1532 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1533 
  1534 # Make sure we can run config.sub.
  1535 $ac_config_sub sun4 >/dev/null 2>&1 ||
  1536   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1537 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1538    { (exit 1); exit 1; }; }
  1539 
  1540 echo "$as_me:$LINENO: checking build system type" >&5
  1541 echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1542 if test "${ac_cv_build+set}" = set; then
  1543   echo $ECHO_N "(cached) $ECHO_C" >&6
  1544 else
  1545   ac_cv_build_alias=$build_alias
  1546 test -z "$ac_cv_build_alias" &&
  1547   ac_cv_build_alias=`$ac_config_guess`
  1548 test -z "$ac_cv_build_alias" &&
  1549   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1550 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1551    { (exit 1); exit 1; }; }
  1552 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1553   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1554 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1555    { (exit 1); exit 1; }; }
  1556 
  1557 fi
  1558 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1559 echo "${ECHO_T}$ac_cv_build" >&6
  1560 build=$ac_cv_build
  1561 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1562 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1563 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1564 
  1565 
  1566 echo "$as_me:$LINENO: checking host system type" >&5
  1567 echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1568 if test "${ac_cv_host+set}" = set; then
  1569   echo $ECHO_N "(cached) $ECHO_C" >&6
  1570 else
  1571   ac_cv_host_alias=$host_alias
  1572 test -z "$ac_cv_host_alias" &&
  1573   ac_cv_host_alias=$ac_cv_build_alias
  1574 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1575   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1576 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1577    { (exit 1); exit 1; }; }
  1578 
  1579 fi
  1580 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1581 echo "${ECHO_T}$ac_cv_host" >&6
  1582 host=$ac_cv_host
  1583 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1584 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1585 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1586 
  1587 
  1588 echo "$as_me:$LINENO: checking target system type" >&5
  1589 echo $ECHO_N "checking target system type... $ECHO_C" >&6
  1590 if test "${ac_cv_target+set}" = set; then
  1591   echo $ECHO_N "(cached) $ECHO_C" >&6
  1592 else
  1593   ac_cv_target_alias=$target_alias
  1594 test "x$ac_cv_target_alias" = "x" &&
  1595   ac_cv_target_alias=$ac_cv_host_alias
  1596 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  1597   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
  1598 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
  1599    { (exit 1); exit 1; }; }
  1600 
  1601 fi
  1602 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1603 echo "${ECHO_T}$ac_cv_target" >&6
  1604 target=$ac_cv_target
  1605 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1606 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1607 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1608 
  1609 
  1610 # The aliases save the names the user supplied, while $host etc.
  1611 # will get canonicalized.
  1612 test -n "$target_alias" &&
  1613   test "$program_prefix$program_suffix$program_transform_name" = \
  1614     NONENONEs,x,x, &&
  1615   program_prefix=${target_alias}-
  1616 
  1617 case m4 in
  1618   [\\/]* | ?:[\\/]* ) ac_macro_dir=m4         ;;
  1619   *)                      ac_macro_dir=$srcdir/m4 ;;
  1620 esac
  1621 if test -d "$ac_macro_dir"; then :
  1622 else
  1623   { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
  1624 echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
  1625    { (exit 1); exit 1; }; }
  1626 fi
  1627 
  1628 # Check whether --enable-static or --disable-static was given.
  1629 if test "${enable_static+set}" = set; then
  1630   enableval="$enable_static"
  1631   p=${PACKAGE-default}
  1632     case $enableval in
  1633     yes) enable_static=yes ;;
  1634     no) enable_static=no ;;
  1635     *)
  1636      enable_static=no
  1637       # Look at the argument we got.  We use all the common list separators.
  1638       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1639       for pkg in $enableval; do
  1640 	IFS="$lt_save_ifs"
  1641 	if test "X$pkg" = "X$p"; then
  1642 	  enable_static=yes
  1643 	fi
  1644       done
  1645       IFS="$lt_save_ifs"
  1646       ;;
  1647     esac
  1648 else
  1649   enable_static=no
  1650 fi; 
  1651 
  1652 
  1653 
  1654 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1655 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1656     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1657 if test "${enable_maintainer_mode+set}" = set; then
  1658   enableval="$enable_maintainer_mode"
  1659   USE_MAINTAINER_MODE=$enableval
  1660 else
  1661   USE_MAINTAINER_MODE=no
  1662 fi; 
  1663   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1664 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1665    
  1666 
  1667 if test $USE_MAINTAINER_MODE = yes; then
  1668   MAINTAINER_MODE_TRUE=
  1669   MAINTAINER_MODE_FALSE='#'
  1670 else
  1671   MAINTAINER_MODE_TRUE='#'
  1672   MAINTAINER_MODE_FALSE=
  1673 fi
  1674 
  1675   MAINT=$MAINTAINER_MODE_TRUE
  1676   
  1677 
  1678 
  1679 
  1680   PACKAGE=gst-plugins-nuvdemux
  1681   GST_PLUGINS_VERSION_MAJOR=0
  1682   GST_PLUGINS_VERSION_MINOR=10
  1683   GST_PLUGINS_VERSION_MICRO=0
  1684   NANO=1
  1685   GST_PLUGINS_VERSION_NANO=$NANO
  1686   if test "x$NANO" = "x" || test "x$NANO" = "x0";
  1687   then
  1688       { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
  1689 echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
  1690       VERSION=0.10.0
  1691       GST_PLUGINS_VERSION_RELEASE=1
  1692             GST_CVS="no"
  1693   else
  1694       { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
  1695 echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
  1696       VERSION=0.10.0.$NANO
  1697       GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
  1698             GST_CVS="yes"
  1699   fi
  1700 
  1701   GST_PLUGINS_VERSION=$VERSION
  1702   
  1703 cat >>confdefs.h <<_ACEOF
  1704 @%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
  1705 _ACEOF
  1706 
  1707   
  1708   
  1709 cat >>confdefs.h <<_ACEOF
  1710 @%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
  1711 _ACEOF
  1712 
  1713   
  1714 
  1715   
  1716   
  1717   
  1718   
  1719   
  1720 cat >>confdefs.h <<_ACEOF
  1721 @%:@define PACKAGE "$PACKAGE"
  1722 _ACEOF
  1723 
  1724   
  1725   
  1726 cat >>confdefs.h <<_ACEOF
  1727 @%:@define VERSION "$VERSION"
  1728 _ACEOF
  1729 
  1730   
  1731 
  1732 
  1733 am__api_version="1.8"
  1734 # Find a good install program.  We prefer a C program (faster),
  1735 # so one script is as good as another.  But avoid the broken or
  1736 # incompatible versions:
  1737 # SysV /etc/install, /usr/sbin/install
  1738 # SunOS /usr/etc/install
  1739 # IRIX /sbin/install
  1740 # AIX /bin/install
  1741 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1745 # OS/2's system install, which has a completely different semantic
  1746 # ./install, which can be erroneously created by make from ./install.sh.
  1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1749 if test -z "$INSTALL"; then
  1750 if test "${ac_cv_path_install+set}" = set; then
  1751   echo $ECHO_N "(cached) $ECHO_C" >&6
  1752 else
  1753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1754 for as_dir in $PATH
  1755 do
  1756   IFS=$as_save_IFS
  1757   test -z "$as_dir" && as_dir=.
  1758   # Account for people who put trailing slashes in PATH elements.
  1759 case $as_dir/ in
  1760   ./ | .// | /cC/* | \
  1761   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1762   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1763   /usr/ucb/* ) ;;
  1764   *)
  1765     # OSF1 and SCO ODT 3.0 have their own names for install.
  1766     # Don't use installbsd from OSF since it installs stuff as root
  1767     # by default.
  1768     for ac_prog in ginstall scoinst install; do
  1769       for ac_exec_ext in '' $ac_executable_extensions; do
  1770 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1771 	  if test $ac_prog = install &&
  1772 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1773 	    # AIX install.  It has an incompatible calling convention.
  1774 	    :
  1775 	  elif test $ac_prog = install &&
  1776 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1777 	    # program-specific install script used by HP pwplus--don't use.
  1778 	    :
  1779 	  else
  1780 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1781 	    break 3
  1782 	  fi
  1783 	fi
  1784       done
  1785     done
  1786     ;;
  1787 esac
  1788 done
  1789 
  1790 
  1791 fi
  1792   if test "${ac_cv_path_install+set}" = set; then
  1793     INSTALL=$ac_cv_path_install
  1794   else
  1795     # As a last resort, use the slow shell script.  We don't cache a
  1796     # path for INSTALL within a source directory, because that will
  1797     # break other packages using the cache if that directory is
  1798     # removed, or if the path is relative.
  1799     INSTALL=$ac_install_sh
  1800   fi
  1801 fi
  1802 echo "$as_me:$LINENO: result: $INSTALL" >&5
  1803 echo "${ECHO_T}$INSTALL" >&6
  1804 
  1805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1806 # It thinks the first close brace ends the variable substitution.
  1807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1808 
  1809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1810 
  1811 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1812 
  1813 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1814 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1815 # Just in case
  1816 sleep 1
  1817 echo timestamp > conftest.file
  1818 # Do `set' in a subshell so we don't clobber the current shell's
  1819 # arguments.  Must try -L first in case configure is actually a
  1820 # symlink; some systems play weird games with the mod time of symlinks
  1821 # (eg FreeBSD returns the mod time of the symlink's containing
  1822 # directory).
  1823 if (
  1824    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1825    if test "$*" = "X"; then
  1826       # -L didn't work.
  1827       set X `ls -t $srcdir/configure conftest.file`
  1828    fi
  1829    rm -f conftest.file
  1830    if test "$*" != "X $srcdir/configure conftest.file" \
  1831       && test "$*" != "X conftest.file $srcdir/configure"; then
  1832 
  1833       # If neither matched, then we have a broken ls.  This can happen
  1834       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1835       # broken ls alias from the environment.  This has actually
  1836       # happened.  Such a system could not be considered "sane".
  1837       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1838 alias in your environment" >&5
  1839 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1840 alias in your environment" >&2;}
  1841    { (exit 1); exit 1; }; }
  1842    fi
  1843 
  1844    test "$2" = conftest.file
  1845    )
  1846 then
  1847    # Ok.
  1848    :
  1849 else
  1850    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1851 Check your system clock" >&5
  1852 echo "$as_me: error: newly created file is older than distributed files!
  1853 Check your system clock" >&2;}
  1854    { (exit 1); exit 1; }; }
  1855 fi
  1856 echo "$as_me:$LINENO: result: yes" >&5
  1857 echo "${ECHO_T}yes" >&6
  1858 test "$program_prefix" != NONE &&
  1859   program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1860 # Use a double $ so make ignores it.
  1861 test "$program_suffix" != NONE &&
  1862   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1863 # Double any \ or $.  echo might interpret backslashes.
  1864 # By default was `s,x,x', remove it if useless.
  1865 cat <<\_ACEOF >conftest.sed
  1866 s/[\\$]/&&/g;s/;s,x,x,$//
  1867 _ACEOF
  1868 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1869 rm conftest.sed
  1870 
  1871 # expand $ac_aux_dir to an absolute path
  1872 am_aux_dir=`cd $ac_aux_dir && pwd`
  1873 
  1874 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1875 # Use eval to expand $SHELL
  1876 if eval "$MISSING --run true"; then
  1877   am_missing_run="$MISSING --run "
  1878 else
  1879   am_missing_run=
  1880   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1881 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1882 fi
  1883 
  1884 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  1885   # Keeping the `.' argument allows $(mkdir_p) to be used without
  1886   # argument.  Indeed, we sometimes output rules like
  1887   #   $(mkdir_p) $(somedir)
  1888   # where $(somedir) is conditionally defined.
  1889   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
  1890   # expensive solution, as it forces Make to start a sub-shell.)
  1891   mkdir_p='mkdir -p -- .'
  1892 else
  1893   # On NextStep and OpenStep, the `mkdir' command does not
  1894   # recognize any option.  It will interpret all options as
  1895   # directories to create, and then abort because `.' already
  1896   # exists.
  1897   for d in ./-p ./--version;
  1898   do
  1899     test -d $d && rmdir $d
  1900   done
  1901   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  1902   if test -f "$ac_aux_dir/mkinstalldirs"; then
  1903     mkdir_p='$(mkinstalldirs)'
  1904   else
  1905     mkdir_p='$(install_sh) -d'
  1906   fi
  1907 fi
  1908 
  1909 for ac_prog in gawk mawk nawk awk
  1910 do
  1911   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1912 set dummy $ac_prog; ac_word=$2
  1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1915 if test "${ac_cv_prog_AWK+set}" = set; then
  1916   echo $ECHO_N "(cached) $ECHO_C" >&6
  1917 else
  1918   if test -n "$AWK"; then
  1919   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1920 else
  1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1922 for as_dir in $PATH
  1923 do
  1924   IFS=$as_save_IFS
  1925   test -z "$as_dir" && as_dir=.
  1926   for ac_exec_ext in '' $ac_executable_extensions; do
  1927   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1928     ac_cv_prog_AWK="$ac_prog"
  1929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1930     break 2
  1931   fi
  1932 done
  1933 done
  1934 
  1935 fi
  1936 fi
  1937 AWK=$ac_cv_prog_AWK
  1938 if test -n "$AWK"; then
  1939   echo "$as_me:$LINENO: result: $AWK" >&5
  1940 echo "${ECHO_T}$AWK" >&6
  1941 else
  1942   echo "$as_me:$LINENO: result: no" >&5
  1943 echo "${ECHO_T}no" >&6
  1944 fi
  1945 
  1946   test -n "$AWK" && break
  1947 done
  1948 
  1949 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1950 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1951 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1952 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1953   echo $ECHO_N "(cached) $ECHO_C" >&6
  1954 else
  1955   cat >conftest.make <<\_ACEOF
  1956 all:
  1957 	@echo 'ac_maketemp="$(MAKE)"'
  1958 _ACEOF
  1959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1960 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1961 if test -n "$ac_maketemp"; then
  1962   eval ac_cv_prog_make_${ac_make}_set=yes
  1963 else
  1964   eval ac_cv_prog_make_${ac_make}_set=no
  1965 fi
  1966 rm -f conftest.make
  1967 fi
  1968 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1969   echo "$as_me:$LINENO: result: yes" >&5
  1970 echo "${ECHO_T}yes" >&6
  1971   SET_MAKE=
  1972 else
  1973   echo "$as_me:$LINENO: result: no" >&5
  1974 echo "${ECHO_T}no" >&6
  1975   SET_MAKE="MAKE=${MAKE-make}"
  1976 fi
  1977 
  1978 rm -rf .tst 2>/dev/null
  1979 mkdir .tst 2>/dev/null
  1980 if test -d .tst; then
  1981   am__leading_dot=.
  1982 else
  1983   am__leading_dot=_
  1984 fi
  1985 rmdir .tst 2>/dev/null
  1986 
  1987 # test to see if srcdir already configured
  1988 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1989    test -f $srcdir/config.status; then
  1990   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1991 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1992    { (exit 1); exit 1; }; }
  1993 fi
  1994 
  1995 # test whether we have cygpath
  1996 if test -z "$CYGPATH_W"; then
  1997   if (cygpath --version) >/dev/null 2>/dev/null; then
  1998     CYGPATH_W='cygpath -w'
  1999   else
  2000     CYGPATH_W=echo
  2001   fi
  2002 fi
  2003 
  2004 
  2005 # Define the identity of the package.
  2006  PACKAGE=$PACKAGE
  2007  VERSION=$VERSION
  2008 
  2009 
  2010 cat >>confdefs.h <<_ACEOF
  2011 @%:@define PACKAGE "$PACKAGE"
  2012 _ACEOF
  2013 
  2014  
  2015 cat >>confdefs.h <<_ACEOF
  2016 @%:@define VERSION "$VERSION"
  2017 _ACEOF
  2018 
  2019 # Some tools Automake needs.
  2020 
  2021 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2022 
  2023 
  2024 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2025 
  2026 
  2027 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2028 
  2029 
  2030 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2031 
  2032 
  2033 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2034 
  2035 
  2036 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2037 
  2038 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2039 
  2040 # Installed binaries are usually stripped using `strip' when the user
  2041 # run `make install-strip'.  However `strip' might not be the right
  2042 # tool to use in cross-compilation environments, therefore Automake
  2043 # will honor the `STRIP' environment variable to overrule this program.
  2044 if test "$cross_compiling" != no; then
  2045   if test -n "$ac_tool_prefix"; then
  2046   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2047 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2050 if test "${ac_cv_prog_STRIP+set}" = set; then
  2051   echo $ECHO_N "(cached) $ECHO_C" >&6
  2052 else
  2053   if test -n "$STRIP"; then
  2054   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2055 else
  2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2057 for as_dir in $PATH
  2058 do
  2059   IFS=$as_save_IFS
  2060   test -z "$as_dir" && as_dir=.
  2061   for ac_exec_ext in '' $ac_executable_extensions; do
  2062   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2063     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2064     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2065     break 2
  2066   fi
  2067 done
  2068 done
  2069 
  2070 fi
  2071 fi
  2072 STRIP=$ac_cv_prog_STRIP
  2073 if test -n "$STRIP"; then
  2074   echo "$as_me:$LINENO: result: $STRIP" >&5
  2075 echo "${ECHO_T}$STRIP" >&6
  2076 else
  2077   echo "$as_me:$LINENO: result: no" >&5
  2078 echo "${ECHO_T}no" >&6
  2079 fi
  2080 
  2081 fi
  2082 if test -z "$ac_cv_prog_STRIP"; then
  2083   ac_ct_STRIP=$STRIP
  2084   # Extract the first word of "strip", so it can be a program name with args.
  2085 set dummy strip; ac_word=$2
  2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2088 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2089   echo $ECHO_N "(cached) $ECHO_C" >&6
  2090 else
  2091   if test -n "$ac_ct_STRIP"; then
  2092   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2093 else
  2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2095 for as_dir in $PATH
  2096 do
  2097   IFS=$as_save_IFS
  2098   test -z "$as_dir" && as_dir=.
  2099   for ac_exec_ext in '' $ac_executable_extensions; do
  2100   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2101     ac_cv_prog_ac_ct_STRIP="strip"
  2102     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2103     break 2
  2104   fi
  2105 done
  2106 done
  2107 
  2108   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  2109 fi
  2110 fi
  2111 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2112 if test -n "$ac_ct_STRIP"; then
  2113   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2114 echo "${ECHO_T}$ac_ct_STRIP" >&6
  2115 else
  2116   echo "$as_me:$LINENO: result: no" >&5
  2117 echo "${ECHO_T}no" >&6
  2118 fi
  2119 
  2120   STRIP=$ac_ct_STRIP
  2121 else
  2122   STRIP="$ac_cv_prog_STRIP"
  2123 fi
  2124 
  2125 fi
  2126 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2127 
  2128 # We need awk for the "check" target.  The system "awk" is bad on
  2129 # some platforms.
  2130 
  2131 
  2132 
  2133 
  2134 # Check whether --enable-shared or --disable-shared was given.
  2135 if test "${enable_shared+set}" = set; then
  2136   enableval="$enable_shared"
  2137   p=${PACKAGE-default}
  2138     case $enableval in
  2139     yes) enable_shared=yes ;;
  2140     no) enable_shared=no ;;
  2141     *)
  2142       enable_shared=no
  2143       # Look at the argument we got.  We use all the common list separators.
  2144       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2145       for pkg in $enableval; do
  2146 	IFS="$lt_save_ifs"
  2147 	if test "X$pkg" = "X$p"; then
  2148 	  enable_shared=yes
  2149 	fi
  2150       done
  2151       IFS="$lt_save_ifs"
  2152       ;;
  2153     esac
  2154 else
  2155   enable_shared=yes
  2156 fi; 
  2157 
  2158 # Check whether --enable-fast-install or --disable-fast-install was given.
  2159 if test "${enable_fast_install+set}" = set; then
  2160   enableval="$enable_fast_install"
  2161   p=${PACKAGE-default}
  2162     case $enableval in
  2163     yes) enable_fast_install=yes ;;
  2164     no) enable_fast_install=no ;;
  2165     *)
  2166       enable_fast_install=no
  2167       # Look at the argument we got.  We use all the common list separators.
  2168       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2169       for pkg in $enableval; do
  2170 	IFS="$lt_save_ifs"
  2171 	if test "X$pkg" = "X$p"; then
  2172 	  enable_fast_install=yes
  2173 	fi
  2174       done
  2175       IFS="$lt_save_ifs"
  2176       ;;
  2177     esac
  2178 else
  2179   enable_fast_install=yes
  2180 fi; 
  2181 
  2182 DEPDIR="${am__leading_dot}deps"
  2183 
  2184           ac_config_commands="$ac_config_commands depfiles"
  2185 
  2186 
  2187 am_make=${MAKE-make}
  2188 cat > confinc << 'END'
  2189 am__doit:
  2190 	@echo done
  2191 .PHONY: am__doit
  2192 END
  2193 # If we don't find an include directive, just comment out the code.
  2194 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2195 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  2196 am__include="#"
  2197 am__quote=
  2198 _am_result=none
  2199 # First try GNU make style include.
  2200 echo "include confinc" > confmf
  2201 # We grep out `Entering directory' and `Leaving directory'
  2202 # messages which can occur if `w' ends up in MAKEFLAGS.
  2203 # In particular we don't look at `^make:' because GNU make might
  2204 # be invoked under some other name (usually "gmake"), in which
  2205 # case it prints its new name instead of `make'.
  2206 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2207    am__include=include
  2208    am__quote=
  2209    _am_result=GNU
  2210 fi
  2211 # Now try BSD make style include.
  2212 if test "$am__include" = "#"; then
  2213    echo '.include "confinc"' > confmf
  2214    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2215       am__include=.include
  2216       am__quote="\""
  2217       _am_result=BSD
  2218    fi
  2219 fi
  2220 
  2221 
  2222 echo "$as_me:$LINENO: result: $_am_result" >&5
  2223 echo "${ECHO_T}$_am_result" >&6
  2224 rm -f confinc confmf
  2225 
  2226 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  2227 if test "${enable_dependency_tracking+set}" = set; then
  2228   enableval="$enable_dependency_tracking"
  2229   
  2230 fi; 
  2231 if test "x$enable_dependency_tracking" != xno; then
  2232   am_depcomp="$ac_aux_dir/depcomp"
  2233   AMDEPBACKSLASH='\'
  2234 fi
  2235  
  2236 
  2237 if test "x$enable_dependency_tracking" != xno; then
  2238   AMDEP_TRUE=
  2239   AMDEP_FALSE='#'
  2240 else
  2241   AMDEP_TRUE='#'
  2242   AMDEP_FALSE=
  2243 fi
  2244 
  2245 
  2246 
  2247 ac_ext=c
  2248 ac_cpp='$CPP $CPPFLAGS'
  2249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2252 if test -n "$ac_tool_prefix"; then
  2253   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2254 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2257 if test "${ac_cv_prog_CC+set}" = set; then
  2258   echo $ECHO_N "(cached) $ECHO_C" >&6
  2259 else
  2260   if test -n "$CC"; then
  2261   ac_cv_prog_CC="$CC" # Let the user override the test.
  2262 else
  2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2264 for as_dir in $PATH
  2265 do
  2266   IFS=$as_save_IFS
  2267   test -z "$as_dir" && as_dir=.
  2268   for ac_exec_ext in '' $ac_executable_extensions; do
  2269   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2270     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2271     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2272     break 2
  2273   fi
  2274 done
  2275 done
  2276 
  2277 fi
  2278 fi
  2279 CC=$ac_cv_prog_CC
  2280 if test -n "$CC"; then
  2281   echo "$as_me:$LINENO: result: $CC" >&5
  2282 echo "${ECHO_T}$CC" >&6
  2283 else
  2284   echo "$as_me:$LINENO: result: no" >&5
  2285 echo "${ECHO_T}no" >&6
  2286 fi
  2287 
  2288 fi
  2289 if test -z "$ac_cv_prog_CC"; then
  2290   ac_ct_CC=$CC
  2291   # Extract the first word of "gcc", so it can be a program name with args.
  2292 set dummy gcc; ac_word=$2
  2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2296   echo $ECHO_N "(cached) $ECHO_C" >&6
  2297 else
  2298   if test -n "$ac_ct_CC"; then
  2299   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2300 else
  2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2302 for as_dir in $PATH
  2303 do
  2304   IFS=$as_save_IFS
  2305   test -z "$as_dir" && as_dir=.
  2306   for ac_exec_ext in '' $ac_executable_extensions; do
  2307   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2308     ac_cv_prog_ac_ct_CC="gcc"
  2309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2310     break 2
  2311   fi
  2312 done
  2313 done
  2314 
  2315 fi
  2316 fi
  2317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2318 if test -n "$ac_ct_CC"; then
  2319   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2320 echo "${ECHO_T}$ac_ct_CC" >&6
  2321 else
  2322   echo "$as_me:$LINENO: result: no" >&5
  2323 echo "${ECHO_T}no" >&6
  2324 fi
  2325 
  2326   CC=$ac_ct_CC
  2327 else
  2328   CC="$ac_cv_prog_CC"
  2329 fi
  2330 
  2331 if test -z "$CC"; then
  2332   if test -n "$ac_tool_prefix"; then
  2333   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2334 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2337 if test "${ac_cv_prog_CC+set}" = set; then
  2338   echo $ECHO_N "(cached) $ECHO_C" >&6
  2339 else
  2340   if test -n "$CC"; then
  2341   ac_cv_prog_CC="$CC" # Let the user override the test.
  2342 else
  2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2344 for as_dir in $PATH
  2345 do
  2346   IFS=$as_save_IFS
  2347   test -z "$as_dir" && as_dir=.
  2348   for ac_exec_ext in '' $ac_executable_extensions; do
  2349   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2350     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2351     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2352     break 2
  2353   fi
  2354 done
  2355 done
  2356 
  2357 fi
  2358 fi
  2359 CC=$ac_cv_prog_CC
  2360 if test -n "$CC"; then
  2361   echo "$as_me:$LINENO: result: $CC" >&5
  2362 echo "${ECHO_T}$CC" >&6
  2363 else
  2364   echo "$as_me:$LINENO: result: no" >&5
  2365 echo "${ECHO_T}no" >&6
  2366 fi
  2367 
  2368 fi
  2369 if test -z "$ac_cv_prog_CC"; then
  2370   ac_ct_CC=$CC
  2371   # Extract the first word of "cc", so it can be a program name with args.
  2372 set dummy cc; ac_word=$2
  2373 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2375 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2376   echo $ECHO_N "(cached) $ECHO_C" >&6
  2377 else
  2378   if test -n "$ac_ct_CC"; then
  2379   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2380 else
  2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2382 for as_dir in $PATH
  2383 do
  2384   IFS=$as_save_IFS
  2385   test -z "$as_dir" && as_dir=.
  2386   for ac_exec_ext in '' $ac_executable_extensions; do
  2387   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2388     ac_cv_prog_ac_ct_CC="cc"
  2389     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2390     break 2
  2391   fi
  2392 done
  2393 done
  2394 
  2395 fi
  2396 fi
  2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2398 if test -n "$ac_ct_CC"; then
  2399   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2400 echo "${ECHO_T}$ac_ct_CC" >&6
  2401 else
  2402   echo "$as_me:$LINENO: result: no" >&5
  2403 echo "${ECHO_T}no" >&6
  2404 fi
  2405 
  2406   CC=$ac_ct_CC
  2407 else
  2408   CC="$ac_cv_prog_CC"
  2409 fi
  2410 
  2411 fi
  2412 if test -z "$CC"; then
  2413   # Extract the first word of "cc", so it can be a program name with args.
  2414 set dummy cc; ac_word=$2
  2415 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2417 if test "${ac_cv_prog_CC+set}" = set; then
  2418   echo $ECHO_N "(cached) $ECHO_C" >&6
  2419 else
  2420   if test -n "$CC"; then
  2421   ac_cv_prog_CC="$CC" # Let the user override the test.
  2422 else
  2423   ac_prog_rejected=no
  2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2425 for as_dir in $PATH
  2426 do
  2427   IFS=$as_save_IFS
  2428   test -z "$as_dir" && as_dir=.
  2429   for ac_exec_ext in '' $ac_executable_extensions; do
  2430   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2431     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2432        ac_prog_rejected=yes
  2433        continue
  2434      fi
  2435     ac_cv_prog_CC="cc"
  2436     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2437     break 2
  2438   fi
  2439 done
  2440 done
  2441 
  2442 if test $ac_prog_rejected = yes; then
  2443   # We found a bogon in the path, so make sure we never use it.
  2444   set dummy $ac_cv_prog_CC
  2445   shift
  2446   if test $@%:@ != 0; then
  2447     # We chose a different compiler from the bogus one.
  2448     # However, it has the same basename, so the bogon will be chosen
  2449     # first if we set CC to just the basename; use the full file name.
  2450     shift
  2451     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2452   fi
  2453 fi
  2454 fi
  2455 fi
  2456 CC=$ac_cv_prog_CC
  2457 if test -n "$CC"; then
  2458   echo "$as_me:$LINENO: result: $CC" >&5
  2459 echo "${ECHO_T}$CC" >&6
  2460 else
  2461   echo "$as_me:$LINENO: result: no" >&5
  2462 echo "${ECHO_T}no" >&6
  2463 fi
  2464 
  2465 fi
  2466 if test -z "$CC"; then
  2467   if test -n "$ac_tool_prefix"; then
  2468   for ac_prog in cl
  2469   do
  2470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2474 if test "${ac_cv_prog_CC+set}" = set; then
  2475   echo $ECHO_N "(cached) $ECHO_C" >&6
  2476 else
  2477   if test -n "$CC"; then
  2478   ac_cv_prog_CC="$CC" # Let the user override the test.
  2479 else
  2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2481 for as_dir in $PATH
  2482 do
  2483   IFS=$as_save_IFS
  2484   test -z "$as_dir" && as_dir=.
  2485   for ac_exec_ext in '' $ac_executable_extensions; do
  2486   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2487     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2489     break 2
  2490   fi
  2491 done
  2492 done
  2493 
  2494 fi
  2495 fi
  2496 CC=$ac_cv_prog_CC
  2497 if test -n "$CC"; then
  2498   echo "$as_me:$LINENO: result: $CC" >&5
  2499 echo "${ECHO_T}$CC" >&6
  2500 else
  2501   echo "$as_me:$LINENO: result: no" >&5
  2502 echo "${ECHO_T}no" >&6
  2503 fi
  2504 
  2505     test -n "$CC" && break
  2506   done
  2507 fi
  2508 if test -z "$CC"; then
  2509   ac_ct_CC=$CC
  2510   for ac_prog in cl
  2511 do
  2512   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2513 set dummy $ac_prog; ac_word=$2
  2514 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2517   echo $ECHO_N "(cached) $ECHO_C" >&6
  2518 else
  2519   if test -n "$ac_ct_CC"; then
  2520   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2521 else
  2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2523 for as_dir in $PATH
  2524 do
  2525   IFS=$as_save_IFS
  2526   test -z "$as_dir" && as_dir=.
  2527   for ac_exec_ext in '' $ac_executable_extensions; do
  2528   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2529     ac_cv_prog_ac_ct_CC="$ac_prog"
  2530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2531     break 2
  2532   fi
  2533 done
  2534 done
  2535 
  2536 fi
  2537 fi
  2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2539 if test -n "$ac_ct_CC"; then
  2540   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2541 echo "${ECHO_T}$ac_ct_CC" >&6
  2542 else
  2543   echo "$as_me:$LINENO: result: no" >&5
  2544 echo "${ECHO_T}no" >&6
  2545 fi
  2546 
  2547   test -n "$ac_ct_CC" && break
  2548 done
  2549 
  2550   CC=$ac_ct_CC
  2551 fi
  2552 
  2553 fi
  2554 
  2555 
  2556 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2557 See \`config.log' for more details." >&5
  2558 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2559 See \`config.log' for more details." >&2;}
  2560    { (exit 1); exit 1; }; }
  2561 
  2562 # Provide some information about the compiler.
  2563 echo "$as_me:$LINENO:" \
  2564      "checking for C compiler version" >&5
  2565 ac_compiler=`set X $ac_compile; echo $2`
  2566 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2567   (eval $ac_compiler --version </dev/null >&5) 2>&5
  2568   ac_status=$?
  2569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2570   (exit $ac_status); }
  2571 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2572   (eval $ac_compiler -v </dev/null >&5) 2>&5
  2573   ac_status=$?
  2574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2575   (exit $ac_status); }
  2576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2577   (eval $ac_compiler -V </dev/null >&5) 2>&5
  2578   ac_status=$?
  2579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2580   (exit $ac_status); }
  2581 
  2582 cat >conftest.$ac_ext <<_ACEOF
  2583 /* confdefs.h.  */
  2584 _ACEOF
  2585 cat confdefs.h >>conftest.$ac_ext
  2586 cat >>conftest.$ac_ext <<_ACEOF
  2587 /* end confdefs.h.  */
  2588 
  2589 int
  2590 main ()
  2591 {
  2592 
  2593   ;
  2594   return 0;
  2595 }
  2596 _ACEOF
  2597 ac_clean_files_save=$ac_clean_files
  2598 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2599 # Try to create an executable without -o first, disregard a.out.
  2600 # It will help us diagnose broken compilers, and finding out an intuition
  2601 # of exeext.
  2602 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2603 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2604 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2605 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2606   (eval $ac_link_default) 2>&5
  2607   ac_status=$?
  2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2609   (exit $ac_status); }; then
  2610   # Find the output, starting from the most likely.  This scheme is
  2611 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2612 # resort.
  2613 
  2614 # Be careful to initialize this variable, since it used to be cached.
  2615 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2616 ac_cv_exeext=
  2617 # b.out is created by i960 compilers.
  2618 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2619 do
  2620   test -f "$ac_file" || continue
  2621   case $ac_file in
  2622     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2623 	;;
  2624     conftest.$ac_ext )
  2625 	# This is the source file.
  2626 	;;
  2627     [ab].out )
  2628 	# We found the default executable, but exeext='' is most
  2629 	# certainly right.
  2630 	break;;
  2631     *.* )
  2632 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2633 	# FIXME: I believe we export ac_cv_exeext for Libtool,
  2634 	# but it would be cool to find out if it's true.  Does anybody
  2635 	# maintain Libtool? --akim.
  2636 	export ac_cv_exeext
  2637 	break;;
  2638     * )
  2639 	break;;
  2640   esac
  2641 done
  2642 else
  2643   echo "$as_me: failed program was:" >&5
  2644 sed 's/^/| /' conftest.$ac_ext >&5
  2645 
  2646 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2647 See \`config.log' for more details." >&5
  2648 echo "$as_me: error: C compiler cannot create executables
  2649 See \`config.log' for more details." >&2;}
  2650    { (exit 77); exit 77; }; }
  2651 fi
  2652 
  2653 ac_exeext=$ac_cv_exeext
  2654 echo "$as_me:$LINENO: result: $ac_file" >&5
  2655 echo "${ECHO_T}$ac_file" >&6
  2656 
  2657 # Check the compiler produces executables we can run.  If not, either
  2658 # the compiler is broken, or we cross compile.
  2659 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2660 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2661 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2662 # If not cross compiling, check that we can run a simple program.
  2663 if test "$cross_compiling" != yes; then
  2664   if { ac_try='./$ac_file'
  2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2666   (eval $ac_try) 2>&5
  2667   ac_status=$?
  2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2669   (exit $ac_status); }; }; then
  2670     cross_compiling=no
  2671   else
  2672     if test "$cross_compiling" = maybe; then
  2673 	cross_compiling=yes
  2674     else
  2675 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2676 If you meant to cross compile, use \`--host'.
  2677 See \`config.log' for more details." >&5
  2678 echo "$as_me: error: cannot run C compiled programs.
  2679 If you meant to cross compile, use \`--host'.
  2680 See \`config.log' for more details." >&2;}
  2681    { (exit 1); exit 1; }; }
  2682     fi
  2683   fi
  2684 fi
  2685 echo "$as_me:$LINENO: result: yes" >&5
  2686 echo "${ECHO_T}yes" >&6
  2687 
  2688 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2689 ac_clean_files=$ac_clean_files_save
  2690 # Check the compiler produces executables we can run.  If not, either
  2691 # the compiler is broken, or we cross compile.
  2692 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2693 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2694 echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2695 echo "${ECHO_T}$cross_compiling" >&6
  2696 
  2697 echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2698 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2700   (eval $ac_link) 2>&5
  2701   ac_status=$?
  2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2703   (exit $ac_status); }; then
  2704   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2705 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2706 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2707 # `rm'.
  2708 for ac_file in conftest.exe conftest conftest.*; do
  2709   test -f "$ac_file" || continue
  2710   case $ac_file in
  2711     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2712     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2713 	  export ac_cv_exeext
  2714 	  break;;
  2715     * ) break;;
  2716   esac
  2717 done
  2718 else
  2719   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2720 See \`config.log' for more details." >&5
  2721 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2722 See \`config.log' for more details." >&2;}
  2723    { (exit 1); exit 1; }; }
  2724 fi
  2725 
  2726 rm -f conftest$ac_cv_exeext
  2727 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2728 echo "${ECHO_T}$ac_cv_exeext" >&6
  2729 
  2730 rm -f conftest.$ac_ext
  2731 EXEEXT=$ac_cv_exeext
  2732 ac_exeext=$EXEEXT
  2733 echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2734 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2735 if test "${ac_cv_objext+set}" = set; then
  2736   echo $ECHO_N "(cached) $ECHO_C" >&6
  2737 else
  2738   cat >conftest.$ac_ext <<_ACEOF
  2739 /* confdefs.h.  */
  2740 _ACEOF
  2741 cat confdefs.h >>conftest.$ac_ext
  2742 cat >>conftest.$ac_ext <<_ACEOF
  2743 /* end confdefs.h.  */
  2744 
  2745 int
  2746 main ()
  2747 {
  2748 
  2749   ;
  2750   return 0;
  2751 }
  2752 _ACEOF
  2753 rm -f conftest.o conftest.obj
  2754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2755   (eval $ac_compile) 2>&5
  2756   ac_status=$?
  2757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2758   (exit $ac_status); }; then
  2759   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2760   case $ac_file in
  2761     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2762     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2763        break;;
  2764   esac
  2765 done
  2766 else
  2767   echo "$as_me: failed program was:" >&5
  2768 sed 's/^/| /' conftest.$ac_ext >&5
  2769 
  2770 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2771 See \`config.log' for more details." >&5
  2772 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2773 See \`config.log' for more details." >&2;}
  2774    { (exit 1); exit 1; }; }
  2775 fi
  2776 
  2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2778 fi
  2779 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2780 echo "${ECHO_T}$ac_cv_objext" >&6
  2781 OBJEXT=$ac_cv_objext
  2782 ac_objext=$OBJEXT
  2783 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2784 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2786   echo $ECHO_N "(cached) $ECHO_C" >&6
  2787 else
  2788   cat >conftest.$ac_ext <<_ACEOF
  2789 /* confdefs.h.  */
  2790 _ACEOF
  2791 cat confdefs.h >>conftest.$ac_ext
  2792 cat >>conftest.$ac_ext <<_ACEOF
  2793 /* end confdefs.h.  */
  2794 
  2795 int
  2796 main ()
  2797 {
  2798 #ifndef __GNUC__
  2799        choke me
  2800 #endif
  2801 
  2802   ;
  2803   return 0;
  2804 }
  2805 _ACEOF
  2806 rm -f conftest.$ac_objext
  2807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2808   (eval $ac_compile) 2>conftest.er1
  2809   ac_status=$?
  2810   grep -v '^ *+' conftest.er1 >conftest.err
  2811   rm -f conftest.er1
  2812   cat conftest.err >&5
  2813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2814   (exit $ac_status); } &&
  2815 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2817   (eval $ac_try) 2>&5
  2818   ac_status=$?
  2819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2820   (exit $ac_status); }; } &&
  2821 	 { ac_try='test -s conftest.$ac_objext'
  2822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2823   (eval $ac_try) 2>&5
  2824   ac_status=$?
  2825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2826   (exit $ac_status); }; }; then
  2827   ac_compiler_gnu=yes
  2828 else
  2829   echo "$as_me: failed program was:" >&5
  2830 sed 's/^/| /' conftest.$ac_ext >&5
  2831 
  2832 ac_compiler_gnu=no
  2833 fi
  2834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2836 
  2837 fi
  2838 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2839 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2840 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2841 ac_test_CFLAGS=${CFLAGS+set}
  2842 ac_save_CFLAGS=$CFLAGS
  2843 CFLAGS="-g"
  2844 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2845 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2846 if test "${ac_cv_prog_cc_g+set}" = set; then
  2847   echo $ECHO_N "(cached) $ECHO_C" >&6
  2848 else
  2849   cat >conftest.$ac_ext <<_ACEOF
  2850 /* confdefs.h.  */
  2851 _ACEOF
  2852 cat confdefs.h >>conftest.$ac_ext
  2853 cat >>conftest.$ac_ext <<_ACEOF
  2854 /* end confdefs.h.  */
  2855 
  2856 int
  2857 main ()
  2858 {
  2859 
  2860   ;
  2861   return 0;
  2862 }
  2863 _ACEOF
  2864 rm -f conftest.$ac_objext
  2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2866   (eval $ac_compile) 2>conftest.er1
  2867   ac_status=$?
  2868   grep -v '^ *+' conftest.er1 >conftest.err
  2869   rm -f conftest.er1
  2870   cat conftest.err >&5
  2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2872   (exit $ac_status); } &&
  2873 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2875   (eval $ac_try) 2>&5
  2876   ac_status=$?
  2877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2878   (exit $ac_status); }; } &&
  2879 	 { ac_try='test -s conftest.$ac_objext'
  2880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2881   (eval $ac_try) 2>&5
  2882   ac_status=$?
  2883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2884   (exit $ac_status); }; }; then
  2885   ac_cv_prog_cc_g=yes
  2886 else
  2887   echo "$as_me: failed program was:" >&5
  2888 sed 's/^/| /' conftest.$ac_ext >&5
  2889 
  2890 ac_cv_prog_cc_g=no
  2891 fi
  2892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2893 fi
  2894 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2895 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2896 if test "$ac_test_CFLAGS" = set; then
  2897   CFLAGS=$ac_save_CFLAGS
  2898 elif test $ac_cv_prog_cc_g = yes; then
  2899   if test "$GCC" = yes; then
  2900     CFLAGS="-g -O2"
  2901   else
  2902     CFLAGS="-g"
  2903   fi
  2904 else
  2905   if test "$GCC" = yes; then
  2906     CFLAGS="-O2"
  2907   else
  2908     CFLAGS=
  2909   fi
  2910 fi
  2911 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2912 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2913 if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2914   echo $ECHO_N "(cached) $ECHO_C" >&6
  2915 else
  2916   ac_cv_prog_cc_stdc=no
  2917 ac_save_CC=$CC
  2918 cat >conftest.$ac_ext <<_ACEOF
  2919 /* confdefs.h.  */
  2920 _ACEOF
  2921 cat confdefs.h >>conftest.$ac_ext
  2922 cat >>conftest.$ac_ext <<_ACEOF
  2923 /* end confdefs.h.  */
  2924 #include <stdarg.h>
  2925 #include <stdio.h>
  2926 #include <sys/types.h>
  2927 #include <sys/stat.h>
  2928 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2929 struct buf { int x; };
  2930 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2931 static char *e (p, i)
  2932      char **p;
  2933      int i;
  2934 {
  2935   return p[i];
  2936 }
  2937 static char *f (char * (*g) (char **, int), char **p, ...)
  2938 {
  2939   char *s;
  2940   va_list v;
  2941   va_start (v,p);
  2942   s = g (p, va_arg (v,int));
  2943   va_end (v);
  2944   return s;
  2945 }
  2946 
  2947 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2948    function prototypes and stuff, but not '\xHH' hex character constants.
  2949    These don't provoke an error unfortunately, instead are silently treated
  2950    as 'x'.  The following induces an error, until -std1 is added to get
  2951    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  2952    array size at least.  It's necessary to write '\x00'==0 to get something
  2953    that's true only with -std1.  */
  2954 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2955 
  2956 int test (int i, double x);
  2957 struct s1 {int (*f) (int a);};
  2958 struct s2 {int (*f) (double a);};
  2959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2960 int argc;
  2961 char **argv;
  2962 int
  2963 main ()
  2964 {
  2965 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2966   ;
  2967   return 0;
  2968 }
  2969 _ACEOF
  2970 # Don't try gcc -ansi; that turns off useful extensions and
  2971 # breaks some systems' header files.
  2972 # AIX			-qlanglvl=ansi
  2973 # Ultrix and OSF/1	-std1
  2974 # HP-UX 10.20 and later	-Ae
  2975 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  2976 # SVR4			-Xc -D__EXTENSIONS__
  2977 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2978 do
  2979   CC="$ac_save_CC $ac_arg"
  2980   rm -f conftest.$ac_objext
  2981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2982   (eval $ac_compile) 2>conftest.er1
  2983   ac_status=$?
  2984   grep -v '^ *+' conftest.er1 >conftest.err
  2985   rm -f conftest.er1
  2986   cat conftest.err >&5
  2987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2988   (exit $ac_status); } &&
  2989 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2991   (eval $ac_try) 2>&5
  2992   ac_status=$?
  2993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2994   (exit $ac_status); }; } &&
  2995 	 { ac_try='test -s conftest.$ac_objext'
  2996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2997   (eval $ac_try) 2>&5
  2998   ac_status=$?
  2999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3000   (exit $ac_status); }; }; then
  3001   ac_cv_prog_cc_stdc=$ac_arg
  3002 break
  3003 else
  3004   echo "$as_me: failed program was:" >&5
  3005 sed 's/^/| /' conftest.$ac_ext >&5
  3006 
  3007 fi
  3008 rm -f conftest.err conftest.$ac_objext 
  3009 done
  3010 rm -f conftest.$ac_ext conftest.$ac_objext
  3011 CC=$ac_save_CC
  3012 
  3013 fi
  3014 
  3015 case "x$ac_cv_prog_cc_stdc" in
  3016   x|xno)
  3017     echo "$as_me:$LINENO: result: none needed" >&5
  3018 echo "${ECHO_T}none needed" >&6 ;;
  3019   *)
  3020     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  3021 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  3022     CC="$CC $ac_cv_prog_cc_stdc" ;;
  3023 esac
  3024 
  3025 # Some people use a C++ compiler to compile C.  Since we use `exit',
  3026 # in C++ we need to declare it.  In case someone uses the same compiler
  3027 # for both compiling C and C++ we need to have the C++ compiler decide
  3028 # the declaration of exit, since it's the most demanding environment.
  3029 cat >conftest.$ac_ext <<_ACEOF
  3030 @%:@ifndef __cplusplus
  3031   choke me
  3032 @%:@endif
  3033 _ACEOF
  3034 rm -f conftest.$ac_objext
  3035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3036   (eval $ac_compile) 2>conftest.er1
  3037   ac_status=$?
  3038   grep -v '^ *+' conftest.er1 >conftest.err
  3039   rm -f conftest.er1
  3040   cat conftest.err >&5
  3041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3042   (exit $ac_status); } &&
  3043 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3045   (eval $ac_try) 2>&5
  3046   ac_status=$?
  3047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3048   (exit $ac_status); }; } &&
  3049 	 { ac_try='test -s conftest.$ac_objext'
  3050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3051   (eval $ac_try) 2>&5
  3052   ac_status=$?
  3053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3054   (exit $ac_status); }; }; then
  3055   for ac_declaration in \
  3056    '' \
  3057    'extern "C" void std::exit (int) throw (); using std::exit;' \
  3058    'extern "C" void std::exit (int); using std::exit;' \
  3059    'extern "C" void exit (int) throw ();' \
  3060    'extern "C" void exit (int);' \
  3061    'void exit (int);'
  3062 do
  3063   cat >conftest.$ac_ext <<_ACEOF
  3064 /* confdefs.h.  */
  3065 _ACEOF
  3066 cat confdefs.h >>conftest.$ac_ext
  3067 cat >>conftest.$ac_ext <<_ACEOF
  3068 /* end confdefs.h.  */
  3069 $ac_declaration
  3070 @%:@include <stdlib.h>
  3071 int
  3072 main ()
  3073 {
  3074 exit (42);
  3075   ;
  3076   return 0;
  3077 }
  3078 _ACEOF
  3079 rm -f conftest.$ac_objext
  3080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3081   (eval $ac_compile) 2>conftest.er1
  3082   ac_status=$?
  3083   grep -v '^ *+' conftest.er1 >conftest.err
  3084   rm -f conftest.er1
  3085   cat conftest.err >&5
  3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3087   (exit $ac_status); } &&
  3088 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3090   (eval $ac_try) 2>&5
  3091   ac_status=$?
  3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3093   (exit $ac_status); }; } &&
  3094 	 { ac_try='test -s conftest.$ac_objext'
  3095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3096   (eval $ac_try) 2>&5
  3097   ac_status=$?
  3098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3099   (exit $ac_status); }; }; then
  3100   :
  3101 else
  3102   echo "$as_me: failed program was:" >&5
  3103 sed 's/^/| /' conftest.$ac_ext >&5
  3104 
  3105 continue
  3106 fi
  3107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3108   cat >conftest.$ac_ext <<_ACEOF
  3109 /* confdefs.h.  */
  3110 _ACEOF
  3111 cat confdefs.h >>conftest.$ac_ext
  3112 cat >>conftest.$ac_ext <<_ACEOF
  3113 /* end confdefs.h.  */
  3114 $ac_declaration
  3115 int
  3116 main ()
  3117 {
  3118 exit (42);
  3119   ;
  3120   return 0;
  3121 }
  3122 _ACEOF
  3123 rm -f conftest.$ac_objext
  3124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3125   (eval $ac_compile) 2>conftest.er1
  3126   ac_status=$?
  3127   grep -v '^ *+' conftest.er1 >conftest.err
  3128   rm -f conftest.er1
  3129   cat conftest.err >&5
  3130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3131   (exit $ac_status); } &&
  3132 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3134   (eval $ac_try) 2>&5
  3135   ac_status=$?
  3136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3137   (exit $ac_status); }; } &&
  3138 	 { ac_try='test -s conftest.$ac_objext'
  3139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3140   (eval $ac_try) 2>&5
  3141   ac_status=$?
  3142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3143   (exit $ac_status); }; }; then
  3144   break
  3145 else
  3146   echo "$as_me: failed program was:" >&5
  3147 sed 's/^/| /' conftest.$ac_ext >&5
  3148 
  3149 fi
  3150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3151 done
  3152 rm -f conftest*
  3153 if test -n "$ac_declaration"; then
  3154   echo '#ifdef __cplusplus' >>confdefs.h
  3155   echo $ac_declaration      >>confdefs.h
  3156   echo '#endif'             >>confdefs.h
  3157 fi
  3158 
  3159 else
  3160   echo "$as_me: failed program was:" >&5
  3161 sed 's/^/| /' conftest.$ac_ext >&5
  3162 
  3163 fi
  3164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3165 ac_ext=c
  3166 ac_cpp='$CPP $CPPFLAGS'
  3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3170 
  3171 depcc="$CC"   am_compiler_list=
  3172 
  3173 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3174 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  3175 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3176   echo $ECHO_N "(cached) $ECHO_C" >&6
  3177 else
  3178   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3179   # We make a subdir and do the tests there.  Otherwise we can end up
  3180   # making bogus files that we don't know about and never remove.  For
  3181   # instance it was reported that on HP-UX the gcc test will end up
  3182   # making a dummy file named `D' -- because `-MD' means `put the output
  3183   # in D'.
  3184   mkdir conftest.dir
  3185   # Copy depcomp to subdir because otherwise we won't find it if we're
  3186   # using a relative directory.
  3187   cp "$am_depcomp" conftest.dir
  3188   cd conftest.dir
  3189   # We will build objects and dependencies in a subdirectory because
  3190   # it helps to detect inapplicable dependency modes.  For instance
  3191   # both Tru64's cc and ICC support -MD to output dependencies as a
  3192   # side effect of compilation, but ICC will put the dependencies in
  3193   # the current directory while Tru64 will put them in the object
  3194   # directory.
  3195   mkdir sub
  3196 
  3197   am_cv_CC_dependencies_compiler_type=none
  3198   if test "$am_compiler_list" = ""; then
  3199      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3200   fi
  3201   for depmode in $am_compiler_list; do
  3202     # Setup a source with many dependencies, because some compilers
  3203     # like to wrap large dependency lists on column 80 (with \), and
  3204     # we should not choose a depcomp mode which is confused by this.
  3205     #
  3206     # We need to recreate these files for each test, as the compiler may
  3207     # overwrite some of them when testing with obscure command lines.
  3208     # This happens at least with the AIX C compiler.
  3209     : > sub/conftest.c
  3210     for i in 1 2 3 4 5 6; do
  3211       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3212       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3213       # Solaris 8's {/usr,}/bin/sh.
  3214       touch sub/conftst$i.h
  3215     done
  3216     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3217 
  3218     case $depmode in
  3219     nosideeffect)
  3220       # after this tag, mechanisms are not by side-effect, so they'll
  3221       # only be used when explicitly requested
  3222       if test "x$enable_dependency_tracking" = xyes; then
  3223 	continue
  3224       else
  3225 	break
  3226       fi
  3227       ;;
  3228     none) break ;;
  3229     esac
  3230     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3231     # mode.  It turns out that the SunPro C++ compiler does not properly
  3232     # handle `-M -o', and we need to detect this.
  3233     if depmode=$depmode \
  3234        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3235        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3236        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3237          >/dev/null 2>conftest.err &&
  3238        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3239        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3240        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3241       # icc doesn't choke on unknown options, it will just issue warnings
  3242       # or remarks (even with -Werror).  So we grep stderr for any message
  3243       # that says an option was ignored or not supported.
  3244       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3245       #   icc: Command line warning: ignoring option '-M'; no argument required
  3246       # The diagnosis changed in icc 8.0:
  3247       #   icc: Command line remark: option '-MP' not supported
  3248       if (grep 'ignoring option' conftest.err ||
  3249           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3250         am_cv_CC_dependencies_compiler_type=$depmode
  3251         break
  3252       fi
  3253     fi
  3254   done
  3255 
  3256   cd ..
  3257   rm -rf conftest.dir
  3258 else
  3259   am_cv_CC_dependencies_compiler_type=none
  3260 fi
  3261 
  3262 fi
  3263 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3264 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  3265 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3266 
  3267  
  3268 
  3269 if 
  3270   test "x$enable_dependency_tracking" != xno \
  3271   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3272   am__fastdepCC_TRUE=
  3273   am__fastdepCC_FALSE='#'
  3274 else
  3275   am__fastdepCC_TRUE='#'
  3276   am__fastdepCC_FALSE=
  3277 fi
  3278 
  3279 
  3280 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  3281 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
  3282 if test "${lt_cv_path_SED+set}" = set; then
  3283   echo $ECHO_N "(cached) $ECHO_C" >&6
  3284 else
  3285   # Loop through the user's path and test for sed and gsed.
  3286 # Then use that list of sed's as ones to test for truncation.
  3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3288 for as_dir in $PATH
  3289 do
  3290   IFS=$as_save_IFS
  3291   test -z "$as_dir" && as_dir=.
  3292   for lt_ac_prog in sed gsed; do
  3293     for ac_exec_ext in '' $ac_executable_extensions; do
  3294       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  3295         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  3296       fi
  3297     done
  3298   done
  3299 done
  3300 lt_ac_max=0
  3301 lt_ac_count=0
  3302 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  3303 # along with /bin/sed that truncates output.
  3304 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  3305   test ! -f $lt_ac_sed && continue
  3306   cat /dev/null > conftest.in
  3307   lt_ac_count=0
  3308   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  3309   # Check for GNU sed and select it if it is found.
  3310   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  3311     lt_cv_path_SED=$lt_ac_sed
  3312     break
  3313   fi
  3314   while true; do
  3315     cat conftest.in conftest.in >conftest.tmp
  3316     mv conftest.tmp conftest.in
  3317     cp conftest.in conftest.nl
  3318     echo >>conftest.nl
  3319     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  3320     cmp -s conftest.out conftest.nl || break
  3321     # 10000 chars as input seems more than enough
  3322     test $lt_ac_count -gt 10 && break
  3323     lt_ac_count=`expr $lt_ac_count + 1`
  3324     if test $lt_ac_count -gt $lt_ac_max; then
  3325       lt_ac_max=$lt_ac_count
  3326       lt_cv_path_SED=$lt_ac_sed
  3327     fi
  3328   done
  3329 done
  3330 
  3331 fi
  3332 
  3333 SED=$lt_cv_path_SED
  3334 echo "$as_me:$LINENO: result: $SED" >&5
  3335 echo "${ECHO_T}$SED" >&6
  3336 
  3337 echo "$as_me:$LINENO: checking for egrep" >&5
  3338 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3339 if test "${ac_cv_prog_egrep+set}" = set; then
  3340   echo $ECHO_N "(cached) $ECHO_C" >&6
  3341 else
  3342   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3343     then ac_cv_prog_egrep='grep -E'
  3344     else ac_cv_prog_egrep='egrep'
  3345     fi
  3346 fi
  3347 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3348 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3349  EGREP=$ac_cv_prog_egrep
  3350  
  3351 
  3352 
  3353 # Check whether --with-gnu-ld or --without-gnu-ld was given.
  3354 if test "${with_gnu_ld+set}" = set; then
  3355   withval="$with_gnu_ld"
  3356   test "$withval" = no || with_gnu_ld=yes
  3357 else
  3358   with_gnu_ld=no
  3359 fi; 
  3360 ac_prog=ld
  3361 if test "$GCC" = yes; then
  3362   # Check if gcc -print-prog-name=ld gives a path.
  3363   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  3364 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
  3365   case $host in
  3366   *-*-mingw*)
  3367     # gcc leaves a trailing carriage return which upsets mingw
  3368     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3369   *)
  3370     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3371   esac
  3372   case $ac_prog in
  3373     # Accept absolute paths.
  3374     [\\/]* | ?:[\\/]*)
  3375       re_direlt='/[^/][^/]*/\.\./'
  3376       # Canonicalize the pathname of ld
  3377       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  3378       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  3379 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  3380       done
  3381       test -z "$LD" && LD="$ac_prog"
  3382       ;;
  3383   "")
  3384     # If it fails, then pretend we aren't using GCC.
  3385     ac_prog=ld
  3386     ;;
  3387   *)
  3388     # If it is relative, then search for the first ld in PATH.
  3389     with_gnu_ld=unknown
  3390     ;;
  3391   esac
  3392 elif test "$with_gnu_ld" = yes; then
  3393   echo "$as_me:$LINENO: checking for GNU ld" >&5
  3394 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
  3395 else
  3396   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  3397 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
  3398 fi
  3399 if test "${lt_cv_path_LD+set}" = set; then
  3400   echo $ECHO_N "(cached) $ECHO_C" >&6
  3401 else
  3402   if test -z "$LD"; then
  3403   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3404   for ac_dir in $PATH; do
  3405     IFS="$lt_save_ifs"
  3406     test -z "$ac_dir" && ac_dir=.
  3407     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3408       lt_cv_path_LD="$ac_dir/$ac_prog"
  3409       # Check to see if the program is GNU ld.  I'd rather use --version,
  3410       # but apparently some variants of GNU ld only accept -v.
  3411       # Break only if it was the GNU/non-GNU ld that we prefer.
  3412       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3413       *GNU* | *'with BFD'*)
  3414 	test "$with_gnu_ld" != no && break
  3415 	;;
  3416       *)
  3417 	test "$with_gnu_ld" != yes && break
  3418 	;;
  3419       esac
  3420     fi
  3421   done
  3422   IFS="$lt_save_ifs"
  3423 else
  3424   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3425 fi
  3426 fi
  3427 
  3428 LD="$lt_cv_path_LD"
  3429 if test -n "$LD"; then
  3430   echo "$as_me:$LINENO: result: $LD" >&5
  3431 echo "${ECHO_T}$LD" >&6
  3432 else
  3433   echo "$as_me:$LINENO: result: no" >&5
  3434 echo "${ECHO_T}no" >&6
  3435 fi
  3436 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  3437 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  3438    { (exit 1); exit 1; }; }
  3439 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  3440 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
  3441 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  3442   echo $ECHO_N "(cached) $ECHO_C" >&6
  3443 else
  3444   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  3445 case `$LD -v 2>&1 </dev/null` in
  3446 *GNU* | *'with BFD'*)
  3447   lt_cv_prog_gnu_ld=yes
  3448   ;;
  3449 *)
  3450   lt_cv_prog_gnu_ld=no
  3451   ;;
  3452 esac
  3453 fi
  3454 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  3455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
  3456 with_gnu_ld=$lt_cv_prog_gnu_ld
  3457 
  3458 
  3459 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  3460 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
  3461 if test "${lt_cv_ld_reload_flag+set}" = set; then
  3462   echo $ECHO_N "(cached) $ECHO_C" >&6
  3463 else
  3464   lt_cv_ld_reload_flag='-r'
  3465 fi
  3466 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  3467 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
  3468 reload_flag=$lt_cv_ld_reload_flag
  3469 case $reload_flag in
  3470 "" | " "*) ;;
  3471 *) reload_flag=" $reload_flag" ;;
  3472 esac
  3473 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  3474 case $host_os in
  3475   darwin*)
  3476     if test "$GCC" = yes; then
  3477       reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
  3478     else
  3479       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  3480     fi
  3481     ;;
  3482 esac
  3483 
  3484 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  3485 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
  3486 if test "${lt_cv_path_NM+set}" = set; then
  3487   echo $ECHO_N "(cached) $ECHO_C" >&6
  3488 else
  3489   if test -n "$NM"; then
  3490   # Let the user override the test.
  3491   lt_cv_path_NM="$NM"
  3492 else
  3493   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3494   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  3495     IFS="$lt_save_ifs"
  3496     test -z "$ac_dir" && ac_dir=.
  3497     tmp_nm="$ac_dir/${ac_tool_prefix}nm"
  3498     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3499       # Check to see if the nm accepts a BSD-compat flag.
  3500       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3501       #   nm: unknown option "B" ignored
  3502       # Tru64's nm complains that /dev/null is an invalid object file
  3503       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3504       */dev/null* | *'Invalid file or object type'*)
  3505 	lt_cv_path_NM="$tmp_nm -B"
  3506 	break
  3507         ;;
  3508       *)
  3509 	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3510 	*/dev/null*)
  3511 	  lt_cv_path_NM="$tmp_nm -p"
  3512 	  break
  3513 	  ;;
  3514 	*)
  3515 	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3516 	  continue # so that we can try to find one that supports BSD flags
  3517 	  ;;
  3518 	esac
  3519       esac
  3520     fi
  3521   done
  3522   IFS="$lt_save_ifs"
  3523   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  3524 fi
  3525 fi
  3526 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  3527 echo "${ECHO_T}$lt_cv_path_NM" >&6
  3528 NM="$lt_cv_path_NM"
  3529 
  3530 echo "$as_me:$LINENO: checking whether ln -s works" >&5
  3531 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
  3532 LN_S=$as_ln_s
  3533 if test "$LN_S" = "ln -s"; then
  3534   echo "$as_me:$LINENO: result: yes" >&5
  3535 echo "${ECHO_T}yes" >&6
  3536 else
  3537   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  3538 echo "${ECHO_T}no, using $LN_S" >&6
  3539 fi
  3540 
  3541 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
  3542 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
  3543 if test "${lt_cv_deplibs_check_method+set}" = set; then
  3544   echo $ECHO_N "(cached) $ECHO_C" >&6
  3545 else
  3546   lt_cv_file_magic_cmd='$MAGIC_CMD'
  3547 lt_cv_file_magic_test_file=
  3548 lt_cv_deplibs_check_method='unknown'
  3549 # Need to set the preceding variable on all platforms that support
  3550 # interlibrary dependencies.
  3551 # 'none' -- dependencies not supported.
  3552 # `unknown' -- same as none, but documents that we really don't know.
  3553 # 'pass_all' -- all dependencies passed with no checks.
  3554 # 'test_compile' -- check by making test program.
  3555 # 'file_magic [[regex]]' -- check by looking for files in library path
  3556 # which responds to the $file_magic_cmd with a given extended regex.
  3557 # If you have `file' or equivalent on your system and you're not sure
  3558 # whether `pass_all' will *always* work, you probably want this one.
  3559 
  3560 case $host_os in
  3561 aix4* | aix5*)
  3562   lt_cv_deplibs_check_method=pass_all
  3563   ;;
  3564 
  3565 beos*)
  3566   lt_cv_deplibs_check_method=pass_all
  3567   ;;
  3568 
  3569 bsdi[45]*)
  3570   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  3571   lt_cv_file_magic_cmd='/usr/bin/file -L'
  3572   lt_cv_file_magic_test_file=/shlib/libc.so
  3573   ;;
  3574 
  3575 cygwin*)
  3576   # func_win32_libid is a shell function defined in ltmain.sh
  3577   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3578   lt_cv_file_magic_cmd='func_win32_libid'
  3579   ;;
  3580 
  3581 mingw* | pw32*)
  3582   # Base MSYS/MinGW do not provide the 'file' command needed by
  3583   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  3584   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3585   lt_cv_file_magic_cmd='$OBJDUMP -f'
  3586   ;;
  3587 
  3588 darwin* | rhapsody*)
  3589   lt_cv_deplibs_check_method=pass_all
  3590   ;;
  3591 
  3592 freebsd* | kfreebsd*-gnu | dragonfly*)
  3593   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3594     case $host_cpu in
  3595     i*86 )
  3596       # Not sure whether the presence of OpenBSD here was a mistake.
  3597       # Let's accept both of them until this is cleared up.
  3598       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  3599       lt_cv_file_magic_cmd=/usr/bin/file
  3600       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3601       ;;
  3602     esac
  3603   else
  3604     lt_cv_deplibs_check_method=pass_all
  3605   fi
  3606   ;;
  3607 
  3608 gnu*)
  3609   lt_cv_deplibs_check_method=pass_all
  3610   ;;
  3611 
  3612 hpux10.20* | hpux11*)
  3613   lt_cv_file_magic_cmd=/usr/bin/file
  3614   case $host_cpu in
  3615   ia64*)
  3616     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  3617     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3618     ;;
  3619   hppa*64*)
  3620     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]'
  3621     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3622     ;;
  3623   *)
  3624     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  3625     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3626     ;;
  3627   esac
  3628   ;;
  3629 
  3630 irix5* | irix6* | nonstopux*)
  3631   case $LD in
  3632   *-32|*"-32 ") libmagic=32-bit;;
  3633   *-n32|*"-n32 ") libmagic=N32;;
  3634   *-64|*"-64 ") libmagic=64-bit;;
  3635   *) libmagic=never-match;;
  3636   esac
  3637   lt_cv_deplibs_check_method=pass_all
  3638   ;;
  3639 
  3640 # This must be Linux ELF.
  3641 linux*)
  3642   lt_cv_deplibs_check_method=pass_all
  3643   ;;
  3644 
  3645 netbsd*)
  3646   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3647     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  3648   else
  3649     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  3650   fi
  3651   ;;
  3652 
  3653 newos6*)
  3654   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  3655   lt_cv_file_magic_cmd=/usr/bin/file
  3656   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3657   ;;
  3658 
  3659 nto-qnx*)
  3660   lt_cv_deplibs_check_method=unknown
  3661   ;;
  3662 
  3663 openbsd*)
  3664   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3665     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  3666   else
  3667     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  3668   fi
  3669   ;;
  3670 
  3671 osf3* | osf4* | osf5*)
  3672   lt_cv_deplibs_check_method=pass_all
  3673   ;;
  3674 
  3675 sco3.2v5*)
  3676   lt_cv_deplibs_check_method=pass_all
  3677   ;;
  3678 
  3679 solaris*)
  3680   lt_cv_deplibs_check_method=pass_all
  3681   ;;
  3682 
  3683 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3684   case $host_vendor in
  3685   motorola)
  3686     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]'
  3687     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3688     ;;
  3689   ncr)
  3690     lt_cv_deplibs_check_method=pass_all
  3691     ;;
  3692   sequent)
  3693     lt_cv_file_magic_cmd='/bin/file'
  3694     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  3695     ;;
  3696   sni)
  3697     lt_cv_file_magic_cmd='/bin/file'
  3698     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  3699     lt_cv_file_magic_test_file=/lib/libc.so
  3700     ;;
  3701   siemens)
  3702     lt_cv_deplibs_check_method=pass_all
  3703     ;;
  3704   esac
  3705   ;;
  3706 
  3707 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
  3708   lt_cv_deplibs_check_method=pass_all
  3709   ;;
  3710 esac
  3711 
  3712 fi
  3713 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  3714 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
  3715 file_magic_cmd=$lt_cv_file_magic_cmd
  3716 deplibs_check_method=$lt_cv_deplibs_check_method
  3717 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3718 
  3719 
  3720 
  3721 
  3722 # If no C compiler was specified, use CC.
  3723 LTCC=${LTCC-"$CC"}
  3724 
  3725 # Allow CC to be a program name with arguments.
  3726 compiler=$CC
  3727 
  3728 
  3729 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  3730 if test "${enable_libtool_lock+set}" = set; then
  3731   enableval="$enable_libtool_lock"
  3732   
  3733 fi; 
  3734 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  3735 
  3736 # Some flags need to be propagated to the compiler or linker for good
  3737 # libtool support.
  3738 case $host in
  3739 ia64-*-hpux*)
  3740   # Find out which ABI we are using.
  3741   echo 'int i;' > conftest.$ac_ext
  3742   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3743   (eval $ac_compile) 2>&5
  3744   ac_status=$?
  3745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3746   (exit $ac_status); }; then
  3747     case `/usr/bin/file conftest.$ac_objext` in
  3748     *ELF-32*)
  3749       HPUX_IA64_MODE="32"
  3750       ;;
  3751     *ELF-64*)
  3752       HPUX_IA64_MODE="64"
  3753       ;;
  3754     esac
  3755   fi
  3756   rm -rf conftest*
  3757   ;;
  3758 *-*-irix6*)
  3759   # Find out which ABI we are using.
  3760   echo '#line __oline__ "configure"' > conftest.$ac_ext
  3761   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3762   (eval $ac_compile) 2>&5
  3763   ac_status=$?
  3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3765   (exit $ac_status); }; then
  3766    if test "$lt_cv_prog_gnu_ld" = yes; then
  3767     case `/usr/bin/file conftest.$ac_objext` in
  3768     *32-bit*)
  3769       LD="${LD-ld} -melf32bsmip"
  3770       ;;
  3771     *N32*)
  3772       LD="${LD-ld} -melf32bmipn32"
  3773       ;;
  3774     *64-bit*)
  3775       LD="${LD-ld} -melf64bmip"
  3776       ;;
  3777     esac
  3778    else
  3779     case `/usr/bin/file conftest.$ac_objext` in
  3780     *32-bit*)
  3781       LD="${LD-ld} -32"
  3782       ;;
  3783     *N32*)
  3784       LD="${LD-ld} -n32"
  3785       ;;
  3786     *64-bit*)
  3787       LD="${LD-ld} -64"
  3788       ;;
  3789     esac
  3790    fi
  3791   fi
  3792   rm -rf conftest*
  3793   ;;
  3794 
  3795 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  3796   # Find out which ABI we are using.
  3797   echo 'int i;' > conftest.$ac_ext
  3798   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3799   (eval $ac_compile) 2>&5
  3800   ac_status=$?
  3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3802   (exit $ac_status); }; then
  3803     case `/usr/bin/file conftest.o` in
  3804     *32-bit*)
  3805       case $host in
  3806         x86_64-*linux*)
  3807           LD="${LD-ld} -m elf_i386"
  3808           ;;
  3809         ppc64-*linux*|powerpc64-*linux*)
  3810           LD="${LD-ld} -m elf32ppclinux"
  3811           ;;
  3812         s390x-*linux*)
  3813           LD="${LD-ld} -m elf_s390"
  3814           ;;
  3815         sparc64-*linux*)
  3816           LD="${LD-ld} -m elf32_sparc"
  3817           ;;
  3818       esac
  3819       ;;
  3820     *64-bit*)
  3821       case $host in
  3822         x86_64-*linux*)
  3823           LD="${LD-ld} -m elf_x86_64"
  3824           ;;
  3825         ppc*-*linux*|powerpc*-*linux*)
  3826           LD="${LD-ld} -m elf64ppc"
  3827           ;;
  3828         s390*-*linux*)
  3829           LD="${LD-ld} -m elf64_s390"
  3830           ;;
  3831         sparc*-*linux*)
  3832           LD="${LD-ld} -m elf64_sparc"
  3833           ;;
  3834       esac
  3835       ;;
  3836     esac
  3837   fi
  3838   rm -rf conftest*
  3839   ;;
  3840 
  3841 *-*-sco3.2v5*)
  3842   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  3843   SAVE_CFLAGS="$CFLAGS"
  3844   CFLAGS="$CFLAGS -belf"
  3845   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  3846 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
  3847 if test "${lt_cv_cc_needs_belf+set}" = set; then
  3848   echo $ECHO_N "(cached) $ECHO_C" >&6
  3849 else
  3850   ac_ext=c
  3851 ac_cpp='$CPP $CPPFLAGS'
  3852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3855 
  3856      cat >conftest.$ac_ext <<_ACEOF
  3857 /* confdefs.h.  */
  3858 _ACEOF
  3859 cat confdefs.h >>conftest.$ac_ext
  3860 cat >>conftest.$ac_ext <<_ACEOF
  3861 /* end confdefs.h.  */
  3862 
  3863 int
  3864 main ()
  3865 {
  3866 
  3867   ;
  3868   return 0;
  3869 }
  3870 _ACEOF
  3871 rm -f conftest.$ac_objext conftest$ac_exeext
  3872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3873   (eval $ac_link) 2>conftest.er1
  3874   ac_status=$?
  3875   grep -v '^ *+' conftest.er1 >conftest.err
  3876   rm -f conftest.er1
  3877   cat conftest.err >&5
  3878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3879   (exit $ac_status); } &&
  3880 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3882   (eval $ac_try) 2>&5
  3883   ac_status=$?
  3884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3885   (exit $ac_status); }; } &&
  3886 	 { ac_try='test -s conftest$ac_exeext'
  3887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3888   (eval $ac_try) 2>&5
  3889   ac_status=$?
  3890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3891   (exit $ac_status); }; }; then
  3892   lt_cv_cc_needs_belf=yes
  3893 else
  3894   echo "$as_me: failed program was:" >&5
  3895 sed 's/^/| /' conftest.$ac_ext >&5
  3896 
  3897 lt_cv_cc_needs_belf=no
  3898 fi
  3899 rm -f conftest.err conftest.$ac_objext \
  3900       conftest$ac_exeext conftest.$ac_ext
  3901      ac_ext=c
  3902 ac_cpp='$CPP $CPPFLAGS'
  3903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3906 
  3907 fi
  3908 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  3909 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
  3910   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  3911     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  3912     CFLAGS="$SAVE_CFLAGS"
  3913   fi
  3914   ;;
  3915 
  3916 esac
  3917 
  3918 need_locks="$enable_libtool_lock"
  3919 
  3920 
  3921 ac_ext=c
  3922 ac_cpp='$CPP $CPPFLAGS'
  3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3926 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3927 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3928 # On Suns, sometimes $CPP names a directory.
  3929 if test -n "$CPP" && test -d "$CPP"; then
  3930   CPP=
  3931 fi
  3932 if test -z "$CPP"; then
  3933   if test "${ac_cv_prog_CPP+set}" = set; then
  3934   echo $ECHO_N "(cached) $ECHO_C" >&6
  3935 else
  3936       # Double quotes because CPP needs to be expanded
  3937     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3938     do
  3939       ac_preproc_ok=false
  3940 for ac_c_preproc_warn_flag in '' yes
  3941 do
  3942   # Use a header file that comes with gcc, so configuring glibc
  3943   # with a fresh cross-compiler works.
  3944   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3945   # <limits.h> exists even on freestanding compilers.
  3946   # On the NeXT, cc -E runs the code through the compiler's parser,
  3947   # not just through cpp. "Syntax error" is here to catch this case.
  3948   cat >conftest.$ac_ext <<_ACEOF
  3949 /* confdefs.h.  */
  3950 _ACEOF
  3951 cat confdefs.h >>conftest.$ac_ext
  3952 cat >>conftest.$ac_ext <<_ACEOF
  3953 /* end confdefs.h.  */
  3954 @%:@ifdef __STDC__
  3955 @%:@ include <limits.h>
  3956 @%:@else
  3957 @%:@ include <assert.h>
  3958 @%:@endif
  3959 		     Syntax error
  3960 _ACEOF
  3961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3962   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3963   ac_status=$?
  3964   grep -v '^ *+' conftest.er1 >conftest.err
  3965   rm -f conftest.er1
  3966   cat conftest.err >&5
  3967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3968   (exit $ac_status); } >/dev/null; then
  3969   if test -s conftest.err; then
  3970     ac_cpp_err=$ac_c_preproc_warn_flag
  3971     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3972   else
  3973     ac_cpp_err=
  3974   fi
  3975 else
  3976   ac_cpp_err=yes
  3977 fi
  3978 if test -z "$ac_cpp_err"; then
  3979   :
  3980 else
  3981   echo "$as_me: failed program was:" >&5
  3982 sed 's/^/| /' conftest.$ac_ext >&5
  3983 
  3984   # Broken: fails on valid input.
  3985 continue
  3986 fi
  3987 rm -f conftest.err conftest.$ac_ext
  3988 
  3989   # OK, works on sane cases.  Now check whether non-existent headers
  3990   # can be detected and how.
  3991   cat >conftest.$ac_ext <<_ACEOF
  3992 /* confdefs.h.  */
  3993 _ACEOF
  3994 cat confdefs.h >>conftest.$ac_ext
  3995 cat >>conftest.$ac_ext <<_ACEOF
  3996 /* end confdefs.h.  */
  3997 @%:@include <ac_nonexistent.h>
  3998 _ACEOF
  3999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4000   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4001   ac_status=$?
  4002   grep -v '^ *+' conftest.er1 >conftest.err
  4003   rm -f conftest.er1
  4004   cat conftest.err >&5
  4005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4006   (exit $ac_status); } >/dev/null; then
  4007   if test -s conftest.err; then
  4008     ac_cpp_err=$ac_c_preproc_warn_flag
  4009     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4010   else
  4011     ac_cpp_err=
  4012   fi
  4013 else
  4014   ac_cpp_err=yes
  4015 fi
  4016 if test -z "$ac_cpp_err"; then
  4017   # Broken: success on invalid input.
  4018 continue
  4019 else
  4020   echo "$as_me: failed program was:" >&5
  4021 sed 's/^/| /' conftest.$ac_ext >&5
  4022 
  4023   # Passes both tests.
  4024 ac_preproc_ok=:
  4025 break
  4026 fi
  4027 rm -f conftest.err conftest.$ac_ext
  4028 
  4029 done
  4030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4031 rm -f conftest.err conftest.$ac_ext
  4032 if $ac_preproc_ok; then
  4033   break
  4034 fi
  4035 
  4036     done
  4037     ac_cv_prog_CPP=$CPP
  4038   
  4039 fi
  4040   CPP=$ac_cv_prog_CPP
  4041 else
  4042   ac_cv_prog_CPP=$CPP
  4043 fi
  4044 echo "$as_me:$LINENO: result: $CPP" >&5
  4045 echo "${ECHO_T}$CPP" >&6
  4046 ac_preproc_ok=false
  4047 for ac_c_preproc_warn_flag in '' yes
  4048 do
  4049   # Use a header file that comes with gcc, so configuring glibc
  4050   # with a fresh cross-compiler works.
  4051   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4052   # <limits.h> exists even on freestanding compilers.
  4053   # On the NeXT, cc -E runs the code through the compiler's parser,
  4054   # not just through cpp. "Syntax error" is here to catch this case.
  4055   cat >conftest.$ac_ext <<_ACEOF
  4056 /* confdefs.h.  */
  4057 _ACEOF
  4058 cat confdefs.h >>conftest.$ac_ext
  4059 cat >>conftest.$ac_ext <<_ACEOF
  4060 /* end confdefs.h.  */
  4061 @%:@ifdef __STDC__
  4062 @%:@ include <limits.h>
  4063 @%:@else
  4064 @%:@ include <assert.h>
  4065 @%:@endif
  4066 		     Syntax error
  4067 _ACEOF
  4068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4069   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4070   ac_status=$?
  4071   grep -v '^ *+' conftest.er1 >conftest.err
  4072   rm -f conftest.er1
  4073   cat conftest.err >&5
  4074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4075   (exit $ac_status); } >/dev/null; then
  4076   if test -s conftest.err; then
  4077     ac_cpp_err=$ac_c_preproc_warn_flag
  4078     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4079   else
  4080     ac_cpp_err=
  4081   fi
  4082 else
  4083   ac_cpp_err=yes
  4084 fi
  4085 if test -z "$ac_cpp_err"; then
  4086   :
  4087 else
  4088   echo "$as_me: failed program was:" >&5
  4089 sed 's/^/| /' conftest.$ac_ext >&5
  4090 
  4091   # Broken: fails on valid input.
  4092 continue
  4093 fi
  4094 rm -f conftest.err conftest.$ac_ext
  4095 
  4096   # OK, works on sane cases.  Now check whether non-existent headers
  4097   # can be detected and how.
  4098   cat >conftest.$ac_ext <<_ACEOF
  4099 /* confdefs.h.  */
  4100 _ACEOF
  4101 cat confdefs.h >>conftest.$ac_ext
  4102 cat >>conftest.$ac_ext <<_ACEOF
  4103 /* end confdefs.h.  */
  4104 @%:@include <ac_nonexistent.h>
  4105 _ACEOF
  4106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4107   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4108   ac_status=$?
  4109   grep -v '^ *+' conftest.er1 >conftest.err
  4110   rm -f conftest.er1
  4111   cat conftest.err >&5
  4112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4113   (exit $ac_status); } >/dev/null; then
  4114   if test -s conftest.err; then
  4115     ac_cpp_err=$ac_c_preproc_warn_flag
  4116     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4117   else
  4118     ac_cpp_err=
  4119   fi
  4120 else
  4121   ac_cpp_err=yes
  4122 fi
  4123 if test -z "$ac_cpp_err"; then
  4124   # Broken: success on invalid input.
  4125 continue
  4126 else
  4127   echo "$as_me: failed program was:" >&5
  4128 sed 's/^/| /' conftest.$ac_ext >&5
  4129 
  4130   # Passes both tests.
  4131 ac_preproc_ok=:
  4132 break
  4133 fi
  4134 rm -f conftest.err conftest.$ac_ext
  4135 
  4136 done
  4137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4138 rm -f conftest.err conftest.$ac_ext
  4139 if $ac_preproc_ok; then
  4140   :
  4141 else
  4142   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4143 See \`config.log' for more details." >&5
  4144 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4145 See \`config.log' for more details." >&2;}
  4146    { (exit 1); exit 1; }; }
  4147 fi
  4148 
  4149 ac_ext=c
  4150 ac_cpp='$CPP $CPPFLAGS'
  4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4154 
  4155 
  4156 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  4158 if test "${ac_cv_header_stdc+set}" = set; then
  4159   echo $ECHO_N "(cached) $ECHO_C" >&6
  4160 else
  4161   cat >conftest.$ac_ext <<_ACEOF
  4162 /* confdefs.h.  */
  4163 _ACEOF
  4164 cat confdefs.h >>conftest.$ac_ext
  4165 cat >>conftest.$ac_ext <<_ACEOF
  4166 /* end confdefs.h.  */
  4167 #include <stdlib.h>
  4168 #include <stdarg.h>
  4169 #include <string.h>
  4170 #include <float.h>
  4171 
  4172 int
  4173 main ()
  4174 {
  4175 
  4176   ;
  4177   return 0;
  4178 }
  4179 _ACEOF
  4180 rm -f conftest.$ac_objext
  4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4182   (eval $ac_compile) 2>conftest.er1
  4183   ac_status=$?
  4184   grep -v '^ *+' conftest.er1 >conftest.err
  4185   rm -f conftest.er1
  4186   cat conftest.err >&5
  4187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4188   (exit $ac_status); } &&
  4189 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4191   (eval $ac_try) 2>&5
  4192   ac_status=$?
  4193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4194   (exit $ac_status); }; } &&
  4195 	 { ac_try='test -s conftest.$ac_objext'
  4196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4197   (eval $ac_try) 2>&5
  4198   ac_status=$?
  4199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4200   (exit $ac_status); }; }; then
  4201   ac_cv_header_stdc=yes
  4202 else
  4203   echo "$as_me: failed program was:" >&5
  4204 sed 's/^/| /' conftest.$ac_ext >&5
  4205 
  4206 ac_cv_header_stdc=no
  4207 fi
  4208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4209 
  4210 if test $ac_cv_header_stdc = yes; then
  4211   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4212   cat >conftest.$ac_ext <<_ACEOF
  4213 /* confdefs.h.  */
  4214 _ACEOF
  4215 cat confdefs.h >>conftest.$ac_ext
  4216 cat >>conftest.$ac_ext <<_ACEOF
  4217 /* end confdefs.h.  */
  4218 #include <string.h>
  4219 
  4220 _ACEOF
  4221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4222   $EGREP "memchr" >/dev/null 2>&1; then
  4223   :
  4224 else
  4225   ac_cv_header_stdc=no
  4226 fi
  4227 rm -f conftest*
  4228 
  4229 fi
  4230 
  4231 if test $ac_cv_header_stdc = yes; then
  4232   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4233   cat >conftest.$ac_ext <<_ACEOF
  4234 /* confdefs.h.  */
  4235 _ACEOF
  4236 cat confdefs.h >>conftest.$ac_ext
  4237 cat >>conftest.$ac_ext <<_ACEOF
  4238 /* end confdefs.h.  */
  4239 #include <stdlib.h>
  4240 
  4241 _ACEOF
  4242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4243   $EGREP "free" >/dev/null 2>&1; then
  4244   :
  4245 else
  4246   ac_cv_header_stdc=no
  4247 fi
  4248 rm -f conftest*
  4249 
  4250 fi
  4251 
  4252 if test $ac_cv_header_stdc = yes; then
  4253   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4254   if test "$cross_compiling" = yes; then
  4255   :
  4256 else
  4257   cat >conftest.$ac_ext <<_ACEOF
  4258 /* confdefs.h.  */
  4259 _ACEOF
  4260 cat confdefs.h >>conftest.$ac_ext
  4261 cat >>conftest.$ac_ext <<_ACEOF
  4262 /* end confdefs.h.  */
  4263 #include <ctype.h>
  4264 #if ((' ' & 0x0FF) == 0x020)
  4265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4267 #else
  4268 # define ISLOWER(c) \
  4269 		   (('a' <= (c) && (c) <= 'i') \
  4270 		     || ('j' <= (c) && (c) <= 'r') \
  4271 		     || ('s' <= (c) && (c) <= 'z'))
  4272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4273 #endif
  4274 
  4275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4276 int
  4277 main ()
  4278 {
  4279   int i;
  4280   for (i = 0; i < 256; i++)
  4281     if (XOR (islower (i), ISLOWER (i))
  4282 	|| toupper (i) != TOUPPER (i))
  4283       exit(2);
  4284   exit (0);
  4285 }
  4286 _ACEOF
  4287 rm -f conftest$ac_exeext
  4288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4289   (eval $ac_link) 2>&5
  4290   ac_status=$?
  4291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4292   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4294   (eval $ac_try) 2>&5
  4295   ac_status=$?
  4296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4297   (exit $ac_status); }; }; then
  4298   :
  4299 else
  4300   echo "$as_me: program exited with status $ac_status" >&5
  4301 echo "$as_me: failed program was:" >&5
  4302 sed 's/^/| /' conftest.$ac_ext >&5
  4303 
  4304 ( exit $ac_status )
  4305 ac_cv_header_stdc=no
  4306 fi
  4307 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4308 fi
  4309 fi
  4310 fi
  4311 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4312 echo "${ECHO_T}$ac_cv_header_stdc" >&6
  4313 if test $ac_cv_header_stdc = yes; then
  4314   
  4315 cat >>confdefs.h <<\_ACEOF
  4316 @%:@define STDC_HEADERS 1
  4317 _ACEOF
  4318 
  4319 fi
  4320 
  4321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4322 
  4323 
  4324 
  4325 
  4326 
  4327 
  4328 
  4329 
  4330 
  4331 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4332 		  inttypes.h stdint.h unistd.h
  4333 do
  4334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4335 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4338   echo $ECHO_N "(cached) $ECHO_C" >&6
  4339 else
  4340   cat >conftest.$ac_ext <<_ACEOF
  4341 /* confdefs.h.  */
  4342 _ACEOF
  4343 cat confdefs.h >>conftest.$ac_ext
  4344 cat >>conftest.$ac_ext <<_ACEOF
  4345 /* end confdefs.h.  */
  4346 $ac_includes_default
  4347 
  4348 @%:@include <$ac_header>
  4349 _ACEOF
  4350 rm -f conftest.$ac_objext
  4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4352   (eval $ac_compile) 2>conftest.er1
  4353   ac_status=$?
  4354   grep -v '^ *+' conftest.er1 >conftest.err
  4355   rm -f conftest.er1
  4356   cat conftest.err >&5
  4357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4358   (exit $ac_status); } &&
  4359 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4361   (eval $ac_try) 2>&5
  4362   ac_status=$?
  4363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4364   (exit $ac_status); }; } &&
  4365 	 { ac_try='test -s conftest.$ac_objext'
  4366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4367   (eval $ac_try) 2>&5
  4368   ac_status=$?
  4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4370   (exit $ac_status); }; }; then
  4371   eval "$as_ac_Header=yes"
  4372 else
  4373   echo "$as_me: failed program was:" >&5
  4374 sed 's/^/| /' conftest.$ac_ext >&5
  4375 
  4376 eval "$as_ac_Header=no"
  4377 fi
  4378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4379 fi
  4380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4383   cat >>confdefs.h <<_ACEOF
  4384 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4385 _ACEOF
  4386  
  4387 fi
  4388 
  4389 done
  4390 
  4391 
  4392 
  4393 for ac_header in dlfcn.h
  4394 do
  4395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4397   echo "$as_me:$LINENO: checking for $ac_header" >&5
  4398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4400   echo $ECHO_N "(cached) $ECHO_C" >&6
  4401 fi
  4402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4404 else
  4405   # Is the header compilable?
  4406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  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 @%:@include <$ac_header>
  4416 _ACEOF
  4417 rm -f conftest.$ac_objext
  4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4419   (eval $ac_compile) 2>conftest.er1
  4420   ac_status=$?
  4421   grep -v '^ *+' conftest.er1 >conftest.err
  4422   rm -f conftest.er1
  4423   cat conftest.err >&5
  4424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4425   (exit $ac_status); } &&
  4426 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4428   (eval $ac_try) 2>&5
  4429   ac_status=$?
  4430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4431   (exit $ac_status); }; } &&
  4432 	 { ac_try='test -s conftest.$ac_objext'
  4433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4434   (eval $ac_try) 2>&5
  4435   ac_status=$?
  4436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4437   (exit $ac_status); }; }; then
  4438   ac_header_compiler=yes
  4439 else
  4440   echo "$as_me: failed program was:" >&5
  4441 sed 's/^/| /' conftest.$ac_ext >&5
  4442 
  4443 ac_header_compiler=no
  4444 fi
  4445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4447 echo "${ECHO_T}$ac_header_compiler" >&6
  4448 
  4449 # Is the header present?
  4450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4452 cat >conftest.$ac_ext <<_ACEOF
  4453 /* confdefs.h.  */
  4454 _ACEOF
  4455 cat confdefs.h >>conftest.$ac_ext
  4456 cat >>conftest.$ac_ext <<_ACEOF
  4457 /* end confdefs.h.  */
  4458 @%:@include <$ac_header>
  4459 _ACEOF
  4460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4461   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4462   ac_status=$?
  4463   grep -v '^ *+' conftest.er1 >conftest.err
  4464   rm -f conftest.er1
  4465   cat conftest.err >&5
  4466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4467   (exit $ac_status); } >/dev/null; then
  4468   if test -s conftest.err; then
  4469     ac_cpp_err=$ac_c_preproc_warn_flag
  4470     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4471   else
  4472     ac_cpp_err=
  4473   fi
  4474 else
  4475   ac_cpp_err=yes
  4476 fi
  4477 if test -z "$ac_cpp_err"; then
  4478   ac_header_preproc=yes
  4479 else
  4480   echo "$as_me: failed program was:" >&5
  4481 sed 's/^/| /' conftest.$ac_ext >&5
  4482 
  4483   ac_header_preproc=no
  4484 fi
  4485 rm -f conftest.err conftest.$ac_ext
  4486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4487 echo "${ECHO_T}$ac_header_preproc" >&6
  4488 
  4489 # So?  What about this header?
  4490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4491   yes:no: )
  4492     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4494     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4496     ac_header_preproc=yes
  4497     ;;
  4498   no:yes:* )
  4499     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4501     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  4502 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  4503     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4505     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  4506 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  4507     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4509     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4511     (
  4512       cat <<\_ASBOX
  4513 @%:@@%:@ ------------------------------------------ @%:@@%:@
  4514 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
  4515 @%:@@%:@ ------------------------------------------ @%:@@%:@
  4516 _ASBOX
  4517     ) |
  4518       sed "s/^/$as_me: WARNING:     /" >&2
  4519     ;;
  4520 esac
  4521 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4524   echo $ECHO_N "(cached) $ECHO_C" >&6
  4525 else
  4526   eval "$as_ac_Header=\$ac_header_preproc"
  4527 fi
  4528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4530 
  4531 fi
  4532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4533   cat >>confdefs.h <<_ACEOF
  4534 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4535 _ACEOF
  4536  
  4537 fi
  4538 
  4539 done
  4540 
  4541 ac_ext=cc
  4542 ac_cpp='$CXXCPP $CPPFLAGS'
  4543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4546 if test -n "$ac_tool_prefix"; then
  4547   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  4548   do
  4549     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4550 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
  4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4553 if test "${ac_cv_prog_CXX+set}" = set; then
  4554   echo $ECHO_N "(cached) $ECHO_C" >&6
  4555 else
  4556   if test -n "$CXX"; then
  4557   ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4558 else
  4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4560 for as_dir in $PATH
  4561 do
  4562   IFS=$as_save_IFS
  4563   test -z "$as_dir" && as_dir=.
  4564   for ac_exec_ext in '' $ac_executable_extensions; do
  4565   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4566     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4568     break 2
  4569   fi
  4570 done
  4571 done
  4572 
  4573 fi
  4574 fi
  4575 CXX=$ac_cv_prog_CXX
  4576 if test -n "$CXX"; then
  4577   echo "$as_me:$LINENO: result: $CXX" >&5
  4578 echo "${ECHO_T}$CXX" >&6
  4579 else
  4580   echo "$as_me:$LINENO: result: no" >&5
  4581 echo "${ECHO_T}no" >&6
  4582 fi
  4583 
  4584     test -n "$CXX" && break
  4585   done
  4586 fi
  4587 if test -z "$CXX"; then
  4588   ac_ct_CXX=$CXX
  4589   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  4590 do
  4591   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4592 set dummy $ac_prog; ac_word=$2
  4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
  4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  4596   echo $ECHO_N "(cached) $ECHO_C" >&6
  4597 else
  4598   if test -n "$ac_ct_CXX"; then
  4599   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4600 else
  4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4602 for as_dir in $PATH
  4603 do
  4604   IFS=$as_save_IFS
  4605   test -z "$as_dir" && as_dir=.
  4606   for ac_exec_ext in '' $ac_executable_extensions; do
  4607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4608     ac_cv_prog_ac_ct_CXX="$ac_prog"
  4609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4610     break 2
  4611   fi
  4612 done
  4613 done
  4614 
  4615 fi
  4616 fi
  4617 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4618 if test -n "$ac_ct_CXX"; then
  4619   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  4620 echo "${ECHO_T}$ac_ct_CXX" >&6
  4621 else
  4622   echo "$as_me:$LINENO: result: no" >&5
  4623 echo "${ECHO_T}no" >&6
  4624 fi
  4625 
  4626   test -n "$ac_ct_CXX" && break
  4627 done
  4628 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
  4629 
  4630   CXX=$ac_ct_CXX
  4631 fi
  4632 
  4633 
  4634 # Provide some information about the compiler.
  4635 echo "$as_me:$LINENO:" \
  4636      "checking for C++ compiler version" >&5
  4637 ac_compiler=`set X $ac_compile; echo $2`
  4638 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  4639   (eval $ac_compiler --version </dev/null >&5) 2>&5
  4640   ac_status=$?
  4641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4642   (exit $ac_status); }
  4643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  4644   (eval $ac_compiler -v </dev/null >&5) 2>&5
  4645   ac_status=$?
  4646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4647   (exit $ac_status); }
  4648 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  4649   (eval $ac_compiler -V </dev/null >&5) 2>&5
  4650   ac_status=$?
  4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4652   (exit $ac_status); }
  4653 
  4654 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  4655 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
  4656 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  4657   echo $ECHO_N "(cached) $ECHO_C" >&6
  4658 else
  4659   cat >conftest.$ac_ext <<_ACEOF
  4660 /* confdefs.h.  */
  4661 _ACEOF
  4662 cat confdefs.h >>conftest.$ac_ext
  4663 cat >>conftest.$ac_ext <<_ACEOF
  4664 /* end confdefs.h.  */
  4665 
  4666 int
  4667 main ()
  4668 {
  4669 #ifndef __GNUC__
  4670        choke me
  4671 #endif
  4672 
  4673   ;
  4674   return 0;
  4675 }
  4676 _ACEOF
  4677 rm -f conftest.$ac_objext
  4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4679   (eval $ac_compile) 2>conftest.er1
  4680   ac_status=$?
  4681   grep -v '^ *+' conftest.er1 >conftest.err
  4682   rm -f conftest.er1
  4683   cat conftest.err >&5
  4684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4685   (exit $ac_status); } &&
  4686 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
  4687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4688   (eval $ac_try) 2>&5
  4689   ac_status=$?
  4690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4691   (exit $ac_status); }; } &&
  4692 	 { ac_try='test -s conftest.$ac_objext'
  4693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4694   (eval $ac_try) 2>&5
  4695   ac_status=$?
  4696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4697   (exit $ac_status); }; }; then
  4698   ac_compiler_gnu=yes
  4699 else
  4700   echo "$as_me: failed program was:" >&5
  4701 sed 's/^/| /' conftest.$ac_ext >&5
  4702 
  4703 ac_compiler_gnu=no
  4704 fi
  4705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4706 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4707 
  4708 fi
  4709 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  4710 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
  4711 GXX=`test $ac_compiler_gnu = yes && echo yes`
  4712 ac_test_CXXFLAGS=${CXXFLAGS+set}
  4713 ac_save_CXXFLAGS=$CXXFLAGS
  4714 CXXFLAGS="-g"
  4715 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  4716 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
  4717 if test "${ac_cv_prog_cxx_g+set}" = set; then
  4718   echo $ECHO_N "(cached) $ECHO_C" >&6
  4719 else
  4720   cat >conftest.$ac_ext <<_ACEOF
  4721 /* confdefs.h.  */
  4722 _ACEOF
  4723 cat confdefs.h >>conftest.$ac_ext
  4724 cat >>conftest.$ac_ext <<_ACEOF
  4725 /* end confdefs.h.  */
  4726 
  4727 int
  4728 main ()
  4729 {
  4730 
  4731   ;
  4732   return 0;
  4733 }
  4734 _ACEOF
  4735 rm -f conftest.$ac_objext
  4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4737   (eval $ac_compile) 2>conftest.er1
  4738   ac_status=$?
  4739   grep -v '^ *+' conftest.er1 >conftest.err
  4740   rm -f conftest.er1
  4741   cat conftest.err >&5
  4742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4743   (exit $ac_status); } &&
  4744 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
  4745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4746   (eval $ac_try) 2>&5
  4747   ac_status=$?
  4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4749   (exit $ac_status); }; } &&
  4750 	 { ac_try='test -s conftest.$ac_objext'
  4751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4752   (eval $ac_try) 2>&5
  4753   ac_status=$?
  4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4755   (exit $ac_status); }; }; then
  4756   ac_cv_prog_cxx_g=yes
  4757 else
  4758   echo "$as_me: failed program was:" >&5
  4759 sed 's/^/| /' conftest.$ac_ext >&5
  4760 
  4761 ac_cv_prog_cxx_g=no
  4762 fi
  4763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4764 fi
  4765 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  4766 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
  4767 if test "$ac_test_CXXFLAGS" = set; then
  4768   CXXFLAGS=$ac_save_CXXFLAGS
  4769 elif test $ac_cv_prog_cxx_g = yes; then
  4770   if test "$GXX" = yes; then
  4771     CXXFLAGS="-g -O2"
  4772   else
  4773     CXXFLAGS="-g"
  4774   fi
  4775 else
  4776   if test "$GXX" = yes; then
  4777     CXXFLAGS="-O2"
  4778   else
  4779     CXXFLAGS=
  4780   fi
  4781 fi
  4782 for ac_declaration in \
  4783    '' \
  4784    'extern "C" void std::exit (int) throw (); using std::exit;' \
  4785    'extern "C" void std::exit (int); using std::exit;' \
  4786    'extern "C" void exit (int) throw ();' \
  4787    'extern "C" void exit (int);' \
  4788    'void exit (int);'
  4789 do
  4790   cat >conftest.$ac_ext <<_ACEOF
  4791 /* confdefs.h.  */
  4792 _ACEOF
  4793 cat confdefs.h >>conftest.$ac_ext
  4794 cat >>conftest.$ac_ext <<_ACEOF
  4795 /* end confdefs.h.  */
  4796 $ac_declaration
  4797 @%:@include <stdlib.h>
  4798 int
  4799 main ()
  4800 {
  4801 exit (42);
  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"			 || test ! -s conftest.err'
  4816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4817   (eval $ac_try) 2>&5
  4818   ac_status=$?
  4819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4820   (exit $ac_status); }; } &&
  4821 	 { ac_try='test -s conftest.$ac_objext'
  4822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4823   (eval $ac_try) 2>&5
  4824   ac_status=$?
  4825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4826   (exit $ac_status); }; }; then
  4827   :
  4828 else
  4829   echo "$as_me: failed program was:" >&5
  4830 sed 's/^/| /' conftest.$ac_ext >&5
  4831 
  4832 continue
  4833 fi
  4834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4835   cat >conftest.$ac_ext <<_ACEOF
  4836 /* confdefs.h.  */
  4837 _ACEOF
  4838 cat confdefs.h >>conftest.$ac_ext
  4839 cat >>conftest.$ac_ext <<_ACEOF
  4840 /* end confdefs.h.  */
  4841 $ac_declaration
  4842 int
  4843 main ()
  4844 {
  4845 exit (42);
  4846   ;
  4847   return 0;
  4848 }
  4849 _ACEOF
  4850 rm -f conftest.$ac_objext
  4851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4852   (eval $ac_compile) 2>conftest.er1
  4853   ac_status=$?
  4854   grep -v '^ *+' conftest.er1 >conftest.err
  4855   rm -f conftest.er1
  4856   cat conftest.err >&5
  4857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4858   (exit $ac_status); } &&
  4859 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
  4860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4861   (eval $ac_try) 2>&5
  4862   ac_status=$?
  4863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4864   (exit $ac_status); }; } &&
  4865 	 { ac_try='test -s conftest.$ac_objext'
  4866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4867   (eval $ac_try) 2>&5
  4868   ac_status=$?
  4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4870   (exit $ac_status); }; }; then
  4871   break
  4872 else
  4873   echo "$as_me: failed program was:" >&5
  4874 sed 's/^/| /' conftest.$ac_ext >&5
  4875 
  4876 fi
  4877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4878 done
  4879 rm -f conftest*
  4880 if test -n "$ac_declaration"; then
  4881   echo '#ifdef __cplusplus' >>confdefs.h
  4882   echo $ac_declaration      >>confdefs.h
  4883   echo '#endif'             >>confdefs.h
  4884 fi
  4885 
  4886 ac_ext=cc
  4887 ac_cpp='$CXXCPP $CPPFLAGS'
  4888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4891 
  4892 depcc="$CXX"  am_compiler_list=
  4893 
  4894 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4895 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  4896 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  4897   echo $ECHO_N "(cached) $ECHO_C" >&6
  4898 else
  4899   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4900   # We make a subdir and do the tests there.  Otherwise we can end up
  4901   # making bogus files that we don't know about and never remove.  For
  4902   # instance it was reported that on HP-UX the gcc test will end up
  4903   # making a dummy file named `D' -- because `-MD' means `put the output
  4904   # in D'.
  4905   mkdir conftest.dir
  4906   # Copy depcomp to subdir because otherwise we won't find it if we're
  4907   # using a relative directory.
  4908   cp "$am_depcomp" conftest.dir
  4909   cd conftest.dir
  4910   # We will build objects and dependencies in a subdirectory because
  4911   # it helps to detect inapplicable dependency modes.  For instance
  4912   # both Tru64's cc and ICC support -MD to output dependencies as a
  4913   # side effect of compilation, but ICC will put the dependencies in
  4914   # the current directory while Tru64 will put them in the object
  4915   # directory.
  4916   mkdir sub
  4917 
  4918   am_cv_CXX_dependencies_compiler_type=none
  4919   if test "$am_compiler_list" = ""; then
  4920      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4921   fi
  4922   for depmode in $am_compiler_list; do
  4923     # Setup a source with many dependencies, because some compilers
  4924     # like to wrap large dependency lists on column 80 (with \), and
  4925     # we should not choose a depcomp mode which is confused by this.
  4926     #
  4927     # We need to recreate these files for each test, as the compiler may
  4928     # overwrite some of them when testing with obscure command lines.
  4929     # This happens at least with the AIX C compiler.
  4930     : > sub/conftest.c
  4931     for i in 1 2 3 4 5 6; do
  4932       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4933       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4934       # Solaris 8's {/usr,}/bin/sh.
  4935       touch sub/conftst$i.h
  4936     done
  4937     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4938 
  4939     case $depmode in
  4940     nosideeffect)
  4941       # after this tag, mechanisms are not by side-effect, so they'll
  4942       # only be used when explicitly requested
  4943       if test "x$enable_dependency_tracking" = xyes; then
  4944 	continue
  4945       else
  4946 	break
  4947       fi
  4948       ;;
  4949     none) break ;;
  4950     esac
  4951     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4952     # mode.  It turns out that the SunPro C++ compiler does not properly
  4953     # handle `-M -o', and we need to detect this.
  4954     if depmode=$depmode \
  4955        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4956        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4957        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4958          >/dev/null 2>conftest.err &&
  4959        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4960        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4961        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4962       # icc doesn't choke on unknown options, it will just issue warnings
  4963       # or remarks (even with -Werror).  So we grep stderr for any message
  4964       # that says an option was ignored or not supported.
  4965       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4966       #   icc: Command line warning: ignoring option '-M'; no argument required
  4967       # The diagnosis changed in icc 8.0:
  4968       #   icc: Command line remark: option '-MP' not supported
  4969       if (grep 'ignoring option' conftest.err ||
  4970           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4971         am_cv_CXX_dependencies_compiler_type=$depmode
  4972         break
  4973       fi
  4974     fi
  4975   done
  4976 
  4977   cd ..
  4978   rm -rf conftest.dir
  4979 else
  4980   am_cv_CXX_dependencies_compiler_type=none
  4981 fi
  4982 
  4983 fi
  4984 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  4985 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
  4986 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  4987 
  4988  
  4989 
  4990 if 
  4991   test "x$enable_dependency_tracking" != xno \
  4992   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  4993   am__fastdepCXX_TRUE=
  4994   am__fastdepCXX_FALSE='#'
  4995 else
  4996   am__fastdepCXX_TRUE='#'
  4997   am__fastdepCXX_FALSE=
  4998 fi
  4999 
  5000 
  5001 
  5002 
  5003 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  5004     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  5005     (test "X$CXX" != "Xg++"))) ; then
  5006   ac_ext=cc
  5007 ac_cpp='$CXXCPP $CPPFLAGS'
  5008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5011 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  5012 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
  5013 if test -z "$CXXCPP"; then
  5014   if test "${ac_cv_prog_CXXCPP+set}" = set; then
  5015   echo $ECHO_N "(cached) $ECHO_C" >&6
  5016 else
  5017       # Double quotes because CXXCPP needs to be expanded
  5018     for CXXCPP in "$CXX -E" "/lib/cpp"
  5019     do
  5020       ac_preproc_ok=false
  5021 for ac_cxx_preproc_warn_flag in '' yes
  5022 do
  5023   # Use a header file that comes with gcc, so configuring glibc
  5024   # with a fresh cross-compiler works.
  5025   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5026   # <limits.h> exists even on freestanding compilers.
  5027   # On the NeXT, cc -E runs the code through the compiler's parser,
  5028   # not just through cpp. "Syntax error" is here to catch this case.
  5029   cat >conftest.$ac_ext <<_ACEOF
  5030 /* confdefs.h.  */
  5031 _ACEOF
  5032 cat confdefs.h >>conftest.$ac_ext
  5033 cat >>conftest.$ac_ext <<_ACEOF
  5034 /* end confdefs.h.  */
  5035 @%:@ifdef __STDC__
  5036 @%:@ include <limits.h>
  5037 @%:@else
  5038 @%:@ include <assert.h>
  5039 @%:@endif
  5040 		     Syntax error
  5041 _ACEOF
  5042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5043   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5044   ac_status=$?
  5045   grep -v '^ *+' conftest.er1 >conftest.err
  5046   rm -f conftest.er1
  5047   cat conftest.err >&5
  5048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5049   (exit $ac_status); } >/dev/null; then
  5050   if test -s conftest.err; then
  5051     ac_cpp_err=$ac_cxx_preproc_warn_flag
  5052     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  5053   else
  5054     ac_cpp_err=
  5055   fi
  5056 else
  5057   ac_cpp_err=yes
  5058 fi
  5059 if test -z "$ac_cpp_err"; then
  5060   :
  5061 else
  5062   echo "$as_me: failed program was:" >&5
  5063 sed 's/^/| /' conftest.$ac_ext >&5
  5064 
  5065   # Broken: fails on valid input.
  5066 continue
  5067 fi
  5068 rm -f conftest.err conftest.$ac_ext
  5069 
  5070   # OK, works on sane cases.  Now check whether non-existent headers
  5071   # can be detected and how.
  5072   cat >conftest.$ac_ext <<_ACEOF
  5073 /* confdefs.h.  */
  5074 _ACEOF
  5075 cat confdefs.h >>conftest.$ac_ext
  5076 cat >>conftest.$ac_ext <<_ACEOF
  5077 /* end confdefs.h.  */
  5078 @%:@include <ac_nonexistent.h>
  5079 _ACEOF
  5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5081   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5082   ac_status=$?
  5083   grep -v '^ *+' conftest.er1 >conftest.err
  5084   rm -f conftest.er1
  5085   cat conftest.err >&5
  5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5087   (exit $ac_status); } >/dev/null; then
  5088   if test -s conftest.err; then
  5089     ac_cpp_err=$ac_cxx_preproc_warn_flag
  5090     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  5091   else
  5092     ac_cpp_err=
  5093   fi
  5094 else
  5095   ac_cpp_err=yes
  5096 fi
  5097 if test -z "$ac_cpp_err"; then
  5098   # Broken: success on invalid input.
  5099 continue
  5100 else
  5101   echo "$as_me: failed program was:" >&5
  5102 sed 's/^/| /' conftest.$ac_ext >&5
  5103 
  5104   # Passes both tests.
  5105 ac_preproc_ok=:
  5106 break
  5107 fi
  5108 rm -f conftest.err conftest.$ac_ext
  5109 
  5110 done
  5111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5112 rm -f conftest.err conftest.$ac_ext
  5113 if $ac_preproc_ok; then
  5114   break
  5115 fi
  5116 
  5117     done
  5118     ac_cv_prog_CXXCPP=$CXXCPP
  5119   
  5120 fi
  5121   CXXCPP=$ac_cv_prog_CXXCPP
  5122 else
  5123   ac_cv_prog_CXXCPP=$CXXCPP
  5124 fi
  5125 echo "$as_me:$LINENO: result: $CXXCPP" >&5
  5126 echo "${ECHO_T}$CXXCPP" >&6
  5127 ac_preproc_ok=false
  5128 for ac_cxx_preproc_warn_flag in '' yes
  5129 do
  5130   # Use a header file that comes with gcc, so configuring glibc
  5131   # with a fresh cross-compiler works.
  5132   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5133   # <limits.h> exists even on freestanding compilers.
  5134   # On the NeXT, cc -E runs the code through the compiler's parser,
  5135   # not just through cpp. "Syntax error" is here to catch this case.
  5136   cat >conftest.$ac_ext <<_ACEOF
  5137 /* confdefs.h.  */
  5138 _ACEOF
  5139 cat confdefs.h >>conftest.$ac_ext
  5140 cat >>conftest.$ac_ext <<_ACEOF
  5141 /* end confdefs.h.  */
  5142 @%:@ifdef __STDC__
  5143 @%:@ include <limits.h>
  5144 @%:@else
  5145 @%:@ include <assert.h>
  5146 @%:@endif
  5147 		     Syntax error
  5148 _ACEOF
  5149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5150   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5151   ac_status=$?
  5152   grep -v '^ *+' conftest.er1 >conftest.err
  5153   rm -f conftest.er1
  5154   cat conftest.err >&5
  5155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5156   (exit $ac_status); } >/dev/null; then
  5157   if test -s conftest.err; then
  5158     ac_cpp_err=$ac_cxx_preproc_warn_flag
  5159     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  5160   else
  5161     ac_cpp_err=
  5162   fi
  5163 else
  5164   ac_cpp_err=yes
  5165 fi
  5166 if test -z "$ac_cpp_err"; then
  5167   :
  5168 else
  5169   echo "$as_me: failed program was:" >&5
  5170 sed 's/^/| /' conftest.$ac_ext >&5
  5171 
  5172   # Broken: fails on valid input.
  5173 continue
  5174 fi
  5175 rm -f conftest.err conftest.$ac_ext
  5176 
  5177   # OK, works on sane cases.  Now check whether non-existent headers
  5178   # can be detected and how.
  5179   cat >conftest.$ac_ext <<_ACEOF
  5180 /* confdefs.h.  */
  5181 _ACEOF
  5182 cat confdefs.h >>conftest.$ac_ext
  5183 cat >>conftest.$ac_ext <<_ACEOF
  5184 /* end confdefs.h.  */
  5185 @%:@include <ac_nonexistent.h>
  5186 _ACEOF
  5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5189   ac_status=$?
  5190   grep -v '^ *+' conftest.er1 >conftest.err
  5191   rm -f conftest.er1
  5192   cat conftest.err >&5
  5193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5194   (exit $ac_status); } >/dev/null; then
  5195   if test -s conftest.err; then
  5196     ac_cpp_err=$ac_cxx_preproc_warn_flag
  5197     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  5198   else
  5199     ac_cpp_err=
  5200   fi
  5201 else
  5202   ac_cpp_err=yes
  5203 fi
  5204 if test -z "$ac_cpp_err"; then
  5205   # Broken: success on invalid input.
  5206 continue
  5207 else
  5208   echo "$as_me: failed program was:" >&5
  5209 sed 's/^/| /' conftest.$ac_ext >&5
  5210 
  5211   # Passes both tests.
  5212 ac_preproc_ok=:
  5213 break
  5214 fi
  5215 rm -f conftest.err conftest.$ac_ext
  5216 
  5217 done
  5218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5219 rm -f conftest.err conftest.$ac_ext
  5220 if $ac_preproc_ok; then
  5221   :
  5222 else
  5223   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  5224 See \`config.log' for more details." >&5
  5225 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  5226 See \`config.log' for more details." >&2;}
  5227    { (exit 1); exit 1; }; }
  5228 fi
  5229 
  5230 ac_ext=cc
  5231 ac_cpp='$CXXCPP $CPPFLAGS'
  5232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5235 
  5236 fi
  5237 
  5238 
  5239 ac_ext=f
  5240 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  5241 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5242 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  5243 if test -n "$ac_tool_prefix"; then
  5244   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
  5245   do
  5246     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5248 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5250 if test "${ac_cv_prog_F77+set}" = set; then
  5251   echo $ECHO_N "(cached) $ECHO_C" >&6
  5252 else
  5253   if test -n "$F77"; then
  5254   ac_cv_prog_F77="$F77" # Let the user override the test.
  5255 else
  5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5257 for as_dir in $PATH
  5258 do
  5259   IFS=$as_save_IFS
  5260   test -z "$as_dir" && as_dir=.
  5261   for ac_exec_ext in '' $ac_executable_extensions; do
  5262   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5263     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  5264     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5265     break 2
  5266   fi
  5267 done
  5268 done
  5269 
  5270 fi
  5271 fi
  5272 F77=$ac_cv_prog_F77
  5273 if test -n "$F77"; then
  5274   echo "$as_me:$LINENO: result: $F77" >&5
  5275 echo "${ECHO_T}$F77" >&6
  5276 else
  5277   echo "$as_me:$LINENO: result: no" >&5
  5278 echo "${ECHO_T}no" >&6
  5279 fi
  5280 
  5281     test -n "$F77" && break
  5282   done
  5283 fi
  5284 if test -z "$F77"; then
  5285   ac_ct_F77=$F77
  5286   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
  5287 do
  5288   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5289 set dummy $ac_prog; ac_word=$2
  5290 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5292 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  5293   echo $ECHO_N "(cached) $ECHO_C" >&6
  5294 else
  5295   if test -n "$ac_ct_F77"; then
  5296   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  5297 else
  5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5299 for as_dir in $PATH
  5300 do
  5301   IFS=$as_save_IFS
  5302   test -z "$as_dir" && as_dir=.
  5303   for ac_exec_ext in '' $ac_executable_extensions; do
  5304   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5305     ac_cv_prog_ac_ct_F77="$ac_prog"
  5306     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5307     break 2
  5308   fi
  5309 done
  5310 done
  5311 
  5312 fi
  5313 fi
  5314 ac_ct_F77=$ac_cv_prog_ac_ct_F77
  5315 if test -n "$ac_ct_F77"; then
  5316   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  5317 echo "${ECHO_T}$ac_ct_F77" >&6
  5318 else
  5319   echo "$as_me:$LINENO: result: no" >&5
  5320 echo "${ECHO_T}no" >&6
  5321 fi
  5322 
  5323   test -n "$ac_ct_F77" && break
  5324 done
  5325 
  5326   F77=$ac_ct_F77
  5327 fi
  5328 
  5329 
  5330 # Provide some information about the compiler.
  5331 echo "$as_me:__oline__:" \
  5332      "checking for Fortran 77 compiler version" >&5
  5333 ac_compiler=`set X $ac_compile; echo $2`
  5334 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  5335   (eval $ac_compiler --version </dev/null >&5) 2>&5
  5336   ac_status=$?
  5337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5338   (exit $ac_status); }
  5339 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  5340   (eval $ac_compiler -v </dev/null >&5) 2>&5
  5341   ac_status=$?
  5342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5343   (exit $ac_status); }
  5344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  5345   (eval $ac_compiler -V </dev/null >&5) 2>&5
  5346   ac_status=$?
  5347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5348   (exit $ac_status); }
  5349 rm -f a.out
  5350 
  5351 # If we don't use `.F' as extension, the preprocessor is not run on the
  5352 # input file.  (Note that this only needs to work for GNU compilers.)
  5353 ac_save_ext=$ac_ext
  5354 ac_ext=F
  5355 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  5356 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
  5357 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  5358   echo $ECHO_N "(cached) $ECHO_C" >&6
  5359 else
  5360   cat >conftest.$ac_ext <<_ACEOF
  5361       program main
  5362 #ifndef __GNUC__
  5363        choke me
  5364 #endif
  5365 
  5366       end
  5367 _ACEOF
  5368 rm -f conftest.$ac_objext
  5369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5370   (eval $ac_compile) 2>conftest.er1
  5371   ac_status=$?
  5372   grep -v '^ *+' conftest.er1 >conftest.err
  5373   rm -f conftest.er1
  5374   cat conftest.err >&5
  5375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5376   (exit $ac_status); } &&
  5377 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
  5378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5379   (eval $ac_try) 2>&5
  5380   ac_status=$?
  5381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5382   (exit $ac_status); }; } &&
  5383 	 { ac_try='test -s conftest.$ac_objext'
  5384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5385   (eval $ac_try) 2>&5
  5386   ac_status=$?
  5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5388   (exit $ac_status); }; }; then
  5389   ac_compiler_gnu=yes
  5390 else
  5391   echo "$as_me: failed program was:" >&5
  5392 sed 's/^/| /' conftest.$ac_ext >&5
  5393 
  5394 ac_compiler_gnu=no
  5395 fi
  5396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5397 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  5398 
  5399 fi
  5400 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  5401 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
  5402 ac_ext=$ac_save_ext
  5403 ac_test_FFLAGS=${FFLAGS+set}
  5404 ac_save_FFLAGS=$FFLAGS
  5405 FFLAGS=
  5406 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  5407 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
  5408 if test "${ac_cv_prog_f77_g+set}" = set; then
  5409   echo $ECHO_N "(cached) $ECHO_C" >&6
  5410 else
  5411   FFLAGS=-g
  5412 cat >conftest.$ac_ext <<_ACEOF
  5413       program main
  5414 
  5415       end
  5416 _ACEOF
  5417 rm -f conftest.$ac_objext
  5418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5419   (eval $ac_compile) 2>conftest.er1
  5420   ac_status=$?
  5421   grep -v '^ *+' conftest.er1 >conftest.err
  5422   rm -f conftest.er1
  5423   cat conftest.err >&5
  5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5425   (exit $ac_status); } &&
  5426 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
  5427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5428   (eval $ac_try) 2>&5
  5429   ac_status=$?
  5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5431   (exit $ac_status); }; } &&
  5432 	 { ac_try='test -s conftest.$ac_objext'
  5433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5434   (eval $ac_try) 2>&5
  5435   ac_status=$?
  5436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5437   (exit $ac_status); }; }; then
  5438   ac_cv_prog_f77_g=yes
  5439 else
  5440   echo "$as_me: failed program was:" >&5
  5441 sed 's/^/| /' conftest.$ac_ext >&5
  5442 
  5443 ac_cv_prog_f77_g=no
  5444 fi
  5445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5446 
  5447 fi
  5448 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  5449 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
  5450 if test "$ac_test_FFLAGS" = set; then
  5451   FFLAGS=$ac_save_FFLAGS
  5452 elif test $ac_cv_prog_f77_g = yes; then
  5453   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  5454     FFLAGS="-g -O2"
  5455   else
  5456     FFLAGS="-g"
  5457   fi
  5458 else
  5459   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  5460     FFLAGS="-O2"
  5461   else
  5462     FFLAGS=
  5463   fi
  5464 fi
  5465 
  5466 G77=`test $ac_compiler_gnu = yes && echo yes`
  5467 ac_ext=c
  5468 ac_cpp='$CPP $CPPFLAGS'
  5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5472 
  5473 
  5474 
  5475 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  5476 
  5477 # find the maximum length of command line arguments
  5478 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  5479 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
  5480 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  5481   echo $ECHO_N "(cached) $ECHO_C" >&6
  5482 else
  5483     i=0
  5484   teststring="ABCD"
  5485 
  5486   case $build_os in
  5487   msdosdjgpp*)
  5488     # On DJGPP, this test can blow up pretty badly due to problems in libc
  5489     # (any single argument exceeding 2000 bytes causes a buffer overrun
  5490     # during glob expansion).  Even if it were fixed, the result of this
  5491     # check would be larger than it should be.
  5492     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5493     ;;
  5494 
  5495   gnu*)
  5496     # Under GNU Hurd, this test is not required because there is
  5497     # no limit to the length of command line arguments.
  5498     # Libtool will interpret -1 as no limit whatsoever
  5499     lt_cv_sys_max_cmd_len=-1;
  5500     ;;
  5501 
  5502   cygwin* | mingw*)
  5503     # On Win9x/ME, this test blows up -- it succeeds, but takes
  5504     # about 5 minutes as the teststring grows exponentially.
  5505     # Worse, since 9x/ME are not pre-emptively multitasking,
  5506     # you end up with a "frozen" computer, even though with patience
  5507     # the test eventually succeeds (with a max line length of 256k).
  5508     # Instead, let's just punt: use the minimum linelength reported by
  5509     # all of the supported platforms: 8192 (on NT/2K/XP).
  5510     lt_cv_sys_max_cmd_len=8192;
  5511     ;;
  5512 
  5513   amigaos*)
  5514     # On AmigaOS with pdksh, this test takes hours, literally.
  5515     # So we just punt and use a minimum line length of 8192.
  5516     lt_cv_sys_max_cmd_len=8192;
  5517     ;;
  5518 
  5519   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5520     # This has been around since 386BSD, at least.  Likely further.
  5521     if test -x /sbin/sysctl; then
  5522       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5523     elif test -x /usr/sbin/sysctl; then
  5524       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5525     else
  5526       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  5527     fi
  5528     # And add a safety zone
  5529     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5530     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5531     ;;
  5532   osf*)
  5533     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5534     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5535     # nice to cause kernel panics so lets avoid the loop below.
  5536     # First set a reasonable default.
  5537     lt_cv_sys_max_cmd_len=16384
  5538     #
  5539     if test -x /sbin/sysconfig; then
  5540       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5541         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5542       esac
  5543     fi
  5544     ;;
  5545   *)
  5546     # If test is not a shell built-in, we'll probably end up computing a
  5547     # maximum length that is only half of the actual maximum length, but
  5548     # we can't tell.
  5549     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5550     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  5551 	       = "XX$teststring") >/dev/null 2>&1 &&
  5552 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
  5553 	    lt_cv_sys_max_cmd_len=$new_result &&
  5554 	    test $i != 17 # 1/2 MB should be enough
  5555     do
  5556       i=`expr $i + 1`
  5557       teststring=$teststring$teststring
  5558     done
  5559     teststring=
  5560     # Add a significant safety factor because C++ compilers can tack on massive
  5561     # amounts of additional arguments before passing them to the linker.
  5562     # It appears as though 1/2 is a usable value.
  5563     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5564     ;;
  5565   esac
  5566 
  5567 fi
  5568 
  5569 if test -n $lt_cv_sys_max_cmd_len ; then
  5570   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  5571 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
  5572 else
  5573   echo "$as_me:$LINENO: result: none" >&5
  5574 echo "${ECHO_T}none" >&6
  5575 fi
  5576 
  5577 
  5578 
  5579 
  5580 # Check for command to grab the raw symbol name followed by C symbol from nm.
  5581 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  5582 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
  5583 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  5584   echo $ECHO_N "(cached) $ECHO_C" >&6
  5585 else
  5586   
  5587 # These are sane defaults that work on at least a few old systems.
  5588 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  5589 
  5590 # Character class describing NM global symbol codes.
  5591 symcode='[BCDEGRST]'
  5592 
  5593 # Regexp to match symbols that can be accessed directly from C.
  5594 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5595 
  5596 # Transform an extracted symbol line into a proper C declaration
  5597 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  5598 
  5599 # Transform an extracted symbol line into symbol name and symbol address
  5600 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'"
  5601 
  5602 # Define system-specific variables.
  5603 case $host_os in
  5604 aix*)
  5605   symcode='[BCDT]'
  5606   ;;
  5607 cygwin* | mingw* | pw32*)
  5608   symcode='[ABCDGISTW]'
  5609   ;;
  5610 hpux*) # Its linker distinguishes data from code symbols
  5611   if test "$host_cpu" = ia64; then
  5612     symcode='[ABCDEGRST]'
  5613   fi
  5614   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5615   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'"
  5616   ;;
  5617 linux*)
  5618   if test "$host_cpu" = ia64; then
  5619     symcode='[ABCDGIRSTW]'
  5620     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5621     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'"
  5622   fi
  5623   ;;
  5624 irix* | nonstopux*)
  5625   symcode='[BCDEGRST]'
  5626   ;;
  5627 osf*)
  5628   symcode='[BCDEGQRST]'
  5629   ;;
  5630 solaris* | sysv5*)
  5631   symcode='[BDRT]'
  5632   ;;
  5633 sysv4)
  5634   symcode='[DFNSTU]'
  5635   ;;
  5636 esac
  5637 
  5638 # Handle CRLF in mingw tool chain
  5639 opt_cr=
  5640 case $build_os in
  5641 mingw*)
  5642   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5643   ;;
  5644 esac
  5645 
  5646 # If we're using GNU nm, then use its standard symbol codes.
  5647 case `$NM -V 2>&1` in
  5648 *GNU* | *'with BFD'*)
  5649   symcode='[ABCDGIRSTW]' ;;
  5650 esac
  5651 
  5652 # Try without a prefix undercore, then with it.
  5653 for ac_symprfx in "" "_"; do
  5654 
  5655   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5656   symxfrm="\\1 $ac_symprfx\\2 \\2"
  5657 
  5658   # Write the raw and C identifiers.
  5659   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5660 
  5661   # Check to see that the pipe works correctly.
  5662   pipe_works=no
  5663 
  5664   rm -f conftest*
  5665   cat > conftest.$ac_ext <<EOF
  5666 #ifdef __cplusplus
  5667 extern "C" {
  5668 #endif
  5669 char nm_test_var;
  5670 void nm_test_func(){}
  5671 #ifdef __cplusplus
  5672 }
  5673 #endif
  5674 int main(){nm_test_var='a';nm_test_func();return(0);}
  5675 EOF
  5676 
  5677   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5678   (eval $ac_compile) 2>&5
  5679   ac_status=$?
  5680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5681   (exit $ac_status); }; then
  5682     # Now try to grab the symbols.
  5683     nlist=conftest.nm
  5684     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  5685   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  5686   ac_status=$?
  5687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5688   (exit $ac_status); } && test -s "$nlist"; then
  5689       # Try sorting and uniquifying the output.
  5690       if sort "$nlist" | uniq > "$nlist"T; then
  5691 	mv -f "$nlist"T "$nlist"
  5692       else
  5693 	rm -f "$nlist"T
  5694       fi
  5695 
  5696       # Make sure that we snagged all the symbols we need.
  5697       if grep ' nm_test_var$' "$nlist" >/dev/null; then
  5698 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
  5699 	  cat <<EOF > conftest.$ac_ext
  5700 #ifdef __cplusplus
  5701 extern "C" {
  5702 #endif
  5703 
  5704 EOF
  5705 	  # Now generate the symbol file.
  5706 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  5707 
  5708 	  cat <<EOF >> conftest.$ac_ext
  5709 #if defined (__STDC__) && __STDC__
  5710 # define lt_ptr_t void *
  5711 #else
  5712 # define lt_ptr_t char *
  5713 # define const
  5714 #endif
  5715 
  5716 /* The mapping between symbol names and symbols. */
  5717 const struct {
  5718   const char *name;
  5719   lt_ptr_t address;
  5720 }
  5721 lt_preloaded_symbols[] =
  5722 {
  5723 EOF
  5724 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  5725 	  cat <<\EOF >> conftest.$ac_ext
  5726   {0, (lt_ptr_t) 0}
  5727 };
  5728 
  5729 #ifdef __cplusplus
  5730 }
  5731 #endif
  5732 EOF
  5733 	  # Now try linking the two files.
  5734 	  mv conftest.$ac_objext conftstm.$ac_objext
  5735 	  lt_save_LIBS="$LIBS"
  5736 	  lt_save_CFLAGS="$CFLAGS"
  5737 	  LIBS="conftstm.$ac_objext"
  5738 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5739 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5740   (eval $ac_link) 2>&5
  5741   ac_status=$?
  5742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5743   (exit $ac_status); } && test -s conftest${ac_exeext}; then
  5744 	    pipe_works=yes
  5745 	  fi
  5746 	  LIBS="$lt_save_LIBS"
  5747 	  CFLAGS="$lt_save_CFLAGS"
  5748 	else
  5749 	  echo "cannot find nm_test_func in $nlist" >&5
  5750 	fi
  5751       else
  5752 	echo "cannot find nm_test_var in $nlist" >&5
  5753       fi
  5754     else
  5755       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5756     fi
  5757   else
  5758     echo "$progname: failed program was:" >&5
  5759     cat conftest.$ac_ext >&5
  5760   fi
  5761   rm -f conftest* conftst*
  5762 
  5763   # Do not use the global_symbol_pipe unless it works.
  5764   if test "$pipe_works" = yes; then
  5765     break
  5766   else
  5767     lt_cv_sys_global_symbol_pipe=
  5768   fi
  5769 done
  5770 
  5771 fi
  5772 
  5773 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5774   lt_cv_sys_global_symbol_to_cdecl=
  5775 fi
  5776 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5777   echo "$as_me:$LINENO: result: failed" >&5
  5778 echo "${ECHO_T}failed" >&6
  5779 else
  5780   echo "$as_me:$LINENO: result: ok" >&5
  5781 echo "${ECHO_T}ok" >&6
  5782 fi
  5783 
  5784 echo "$as_me:$LINENO: checking for objdir" >&5
  5785 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
  5786 if test "${lt_cv_objdir+set}" = set; then
  5787   echo $ECHO_N "(cached) $ECHO_C" >&6
  5788 else
  5789   rm -f .libs 2>/dev/null
  5790 mkdir .libs 2>/dev/null
  5791 if test -d .libs; then
  5792   lt_cv_objdir=.libs
  5793 else
  5794   # MS-DOS does not allow filenames that begin with a dot.
  5795   lt_cv_objdir=_libs
  5796 fi
  5797 rmdir .libs 2>/dev/null
  5798 fi
  5799 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  5800 echo "${ECHO_T}$lt_cv_objdir" >&6
  5801 objdir=$lt_cv_objdir
  5802 
  5803 
  5804 
  5805 
  5806 
  5807 case $host_os in
  5808 aix3*)
  5809   # AIX sometimes has problems with the GCC collect2 program.  For some
  5810   # reason, if we set the COLLECT_NAMES environment variable, the problems
  5811   # vanish in a puff of smoke.
  5812   if test "X${COLLECT_NAMES+set}" != Xset; then
  5813     COLLECT_NAMES=
  5814     export COLLECT_NAMES
  5815   fi
  5816   ;;
  5817 esac
  5818 
  5819 # Sed substitution that helps us do robust quoting.  It backslashifies
  5820 # metacharacters that are still active within double-quoted strings.
  5821 Xsed='sed -e 1s/^X//'
  5822 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  5823 
  5824 # Same as above, but do not quote variable references.
  5825 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  5826 
  5827 # Sed substitution to delay expansion of an escaped shell variable in a
  5828 # double_quote_subst'ed string.
  5829 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5830 
  5831 # Sed substitution to avoid accidental globbing in evaled expressions
  5832 no_glob_subst='s/\*/\\\*/g'
  5833 
  5834 # Constants:
  5835 rm="rm -f"
  5836 
  5837 # Global variables:
  5838 default_ofile=libtool
  5839 can_build_shared=yes
  5840 
  5841 # All known linkers require a `.a' archive for static linking (except MSVC,
  5842 # which needs '.lib').
  5843 libext=a
  5844 ltmain="$ac_aux_dir/ltmain.sh"
  5845 ofile="$default_ofile"
  5846 with_gnu_ld="$lt_cv_prog_gnu_ld"
  5847 
  5848 if test -n "$ac_tool_prefix"; then
  5849   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5850 set dummy ${ac_tool_prefix}ar; ac_word=$2
  5851 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5853 if test "${ac_cv_prog_AR+set}" = set; then
  5854   echo $ECHO_N "(cached) $ECHO_C" >&6
  5855 else
  5856   if test -n "$AR"; then
  5857   ac_cv_prog_AR="$AR" # Let the user override the test.
  5858 else
  5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5860 for as_dir in $PATH
  5861 do
  5862   IFS=$as_save_IFS
  5863   test -z "$as_dir" && as_dir=.
  5864   for ac_exec_ext in '' $ac_executable_extensions; do
  5865   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5866     ac_cv_prog_AR="${ac_tool_prefix}ar"
  5867     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5868     break 2
  5869   fi
  5870 done
  5871 done
  5872 
  5873 fi
  5874 fi
  5875 AR=$ac_cv_prog_AR
  5876 if test -n "$AR"; then
  5877   echo "$as_me:$LINENO: result: $AR" >&5
  5878 echo "${ECHO_T}$AR" >&6
  5879 else
  5880   echo "$as_me:$LINENO: result: no" >&5
  5881 echo "${ECHO_T}no" >&6
  5882 fi
  5883 
  5884 fi
  5885 if test -z "$ac_cv_prog_AR"; then
  5886   ac_ct_AR=$AR
  5887   # Extract the first word of "ar", so it can be a program name with args.
  5888 set dummy ar; ac_word=$2
  5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5891 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5892   echo $ECHO_N "(cached) $ECHO_C" >&6
  5893 else
  5894   if test -n "$ac_ct_AR"; then
  5895   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5896 else
  5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5898 for as_dir in $PATH
  5899 do
  5900   IFS=$as_save_IFS
  5901   test -z "$as_dir" && as_dir=.
  5902   for ac_exec_ext in '' $ac_executable_extensions; do
  5903   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5904     ac_cv_prog_ac_ct_AR="ar"
  5905     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5906     break 2
  5907   fi
  5908 done
  5909 done
  5910 
  5911   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
  5912 fi
  5913 fi
  5914 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5915 if test -n "$ac_ct_AR"; then
  5916   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5917 echo "${ECHO_T}$ac_ct_AR" >&6
  5918 else
  5919   echo "$as_me:$LINENO: result: no" >&5
  5920 echo "${ECHO_T}no" >&6
  5921 fi
  5922 
  5923   AR=$ac_ct_AR
  5924 else
  5925   AR="$ac_cv_prog_AR"
  5926 fi
  5927 
  5928 if test -n "$ac_tool_prefix"; then
  5929   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5931 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5933 if test "${ac_cv_prog_RANLIB+set}" = set; then
  5934   echo $ECHO_N "(cached) $ECHO_C" >&6
  5935 else
  5936   if test -n "$RANLIB"; then
  5937   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5938 else
  5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5940 for as_dir in $PATH
  5941 do
  5942   IFS=$as_save_IFS
  5943   test -z "$as_dir" && as_dir=.
  5944   for ac_exec_ext in '' $ac_executable_extensions; do
  5945   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5946     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5948     break 2
  5949   fi
  5950 done
  5951 done
  5952 
  5953 fi
  5954 fi
  5955 RANLIB=$ac_cv_prog_RANLIB
  5956 if test -n "$RANLIB"; then
  5957   echo "$as_me:$LINENO: result: $RANLIB" >&5
  5958 echo "${ECHO_T}$RANLIB" >&6
  5959 else
  5960   echo "$as_me:$LINENO: result: no" >&5
  5961 echo "${ECHO_T}no" >&6
  5962 fi
  5963 
  5964 fi
  5965 if test -z "$ac_cv_prog_RANLIB"; then
  5966   ac_ct_RANLIB=$RANLIB
  5967   # Extract the first word of "ranlib", so it can be a program name with args.
  5968 set dummy ranlib; ac_word=$2
  5969 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  5972   echo $ECHO_N "(cached) $ECHO_C" >&6
  5973 else
  5974   if test -n "$ac_ct_RANLIB"; then
  5975   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5976 else
  5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5978 for as_dir in $PATH
  5979 do
  5980   IFS=$as_save_IFS
  5981   test -z "$as_dir" && as_dir=.
  5982   for ac_exec_ext in '' $ac_executable_extensions; do
  5983   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5984     ac_cv_prog_ac_ct_RANLIB="ranlib"
  5985     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5986     break 2
  5987   fi
  5988 done
  5989 done
  5990 
  5991   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
  5992 fi
  5993 fi
  5994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5995 if test -n "$ac_ct_RANLIB"; then
  5996   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  5997 echo "${ECHO_T}$ac_ct_RANLIB" >&6
  5998 else
  5999   echo "$as_me:$LINENO: result: no" >&5
  6000 echo "${ECHO_T}no" >&6
  6001 fi
  6002 
  6003   RANLIB=$ac_ct_RANLIB
  6004 else
  6005   RANLIB="$ac_cv_prog_RANLIB"
  6006 fi
  6007 
  6008 if test -n "$ac_tool_prefix"; then
  6009   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6010 set dummy ${ac_tool_prefix}strip; ac_word=$2
  6011 echo "$as_me:$LINENO: checking for $ac_word" >&5
  6012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  6013 if test "${ac_cv_prog_STRIP+set}" = set; then
  6014   echo $ECHO_N "(cached) $ECHO_C" >&6
  6015 else
  6016   if test -n "$STRIP"; then
  6017   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6018 else
  6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6020 for as_dir in $PATH
  6021 do
  6022   IFS=$as_save_IFS
  6023   test -z "$as_dir" && as_dir=.
  6024   for ac_exec_ext in '' $ac_executable_extensions; do
  6025   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6026     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6027     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6028     break 2
  6029   fi
  6030 done
  6031 done
  6032 
  6033 fi
  6034 fi
  6035 STRIP=$ac_cv_prog_STRIP
  6036 if test -n "$STRIP"; then
  6037   echo "$as_me:$LINENO: result: $STRIP" >&5
  6038 echo "${ECHO_T}$STRIP" >&6
  6039 else
  6040   echo "$as_me:$LINENO: result: no" >&5
  6041 echo "${ECHO_T}no" >&6
  6042 fi
  6043 
  6044 fi
  6045 if test -z "$ac_cv_prog_STRIP"; then
  6046   ac_ct_STRIP=$STRIP
  6047   # Extract the first word of "strip", so it can be a program name with args.
  6048 set dummy strip; ac_word=$2
  6049 echo "$as_me:$LINENO: checking for $ac_word" >&5
  6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  6051 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  6052   echo $ECHO_N "(cached) $ECHO_C" >&6
  6053 else
  6054   if test -n "$ac_ct_STRIP"; then
  6055   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6056 else
  6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6058 for as_dir in $PATH
  6059 do
  6060   IFS=$as_save_IFS
  6061   test -z "$as_dir" && as_dir=.
  6062   for ac_exec_ext in '' $ac_executable_extensions; do
  6063   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6064     ac_cv_prog_ac_ct_STRIP="strip"
  6065     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6066     break 2
  6067   fi
  6068 done
  6069 done
  6070 
  6071   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  6072 fi
  6073 fi
  6074 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6075 if test -n "$ac_ct_STRIP"; then
  6076   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  6077 echo "${ECHO_T}$ac_ct_STRIP" >&6
  6078 else
  6079   echo "$as_me:$LINENO: result: no" >&5
  6080 echo "${ECHO_T}no" >&6
  6081 fi
  6082 
  6083   STRIP=$ac_ct_STRIP
  6084 else
  6085   STRIP="$ac_cv_prog_STRIP"
  6086 fi
  6087 
  6088 
  6089 old_CC="$CC"
  6090 old_CFLAGS="$CFLAGS"
  6091 
  6092 # Set sane defaults for various variables
  6093 test -z "$AR" && AR=ar
  6094 test -z "$AR_FLAGS" && AR_FLAGS=cru
  6095 test -z "$AS" && AS=as
  6096 test -z "$CC" && CC=cc
  6097 test -z "$LTCC" && LTCC=$CC
  6098 test -z "$DLLTOOL" && DLLTOOL=dlltool
  6099 test -z "$LD" && LD=ld
  6100 test -z "$LN_S" && LN_S="ln -s"
  6101 test -z "$MAGIC_CMD" && MAGIC_CMD=file
  6102 test -z "$NM" && NM=nm
  6103 test -z "$SED" && SED=sed
  6104 test -z "$OBJDUMP" && OBJDUMP=objdump
  6105 test -z "$RANLIB" && RANLIB=:
  6106 test -z "$STRIP" && STRIP=:
  6107 test -z "$ac_objext" && ac_objext=o
  6108 
  6109 # Determine commands to create old-style static archives.
  6110 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  6111 old_postinstall_cmds='chmod 644 $oldlib'
  6112 old_postuninstall_cmds=
  6113 
  6114 if test -n "$RANLIB"; then
  6115   case $host_os in
  6116   openbsd*)
  6117     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
  6118     ;;
  6119   *)
  6120     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
  6121     ;;
  6122   esac
  6123   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6124 fi
  6125 
  6126 for cc_temp in $compiler""; do
  6127   case $cc_temp in
  6128     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6129     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6130     \-*) ;;
  6131     *) break;;
  6132   esac
  6133 done
  6134 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  6135 
  6136 
  6137 # Only perform the check for file, if the check method requires it
  6138 case $deplibs_check_method in
  6139 file_magic*)
  6140   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  6141     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  6142 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
  6143 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  6144   echo $ECHO_N "(cached) $ECHO_C" >&6
  6145 else
  6146   case $MAGIC_CMD in
  6147 [\\/*] |  ?:[\\/]*)
  6148   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6149   ;;
  6150 *)
  6151   lt_save_MAGIC_CMD="$MAGIC_CMD"
  6152   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6153   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6154   for ac_dir in $ac_dummy; do
  6155     IFS="$lt_save_ifs"
  6156     test -z "$ac_dir" && ac_dir=.
  6157     if test -f $ac_dir/${ac_tool_prefix}file; then
  6158       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  6159       if test -n "$file_magic_test_file"; then
  6160 	case $deplibs_check_method in
  6161 	"file_magic "*)
  6162 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6163 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6164 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6165 	    $EGREP "$file_magic_regex" > /dev/null; then
  6166 	    :
  6167 	  else
  6168 	    cat <<EOF 1>&2
  6169 
  6170 *** Warning: the command libtool uses to detect shared libraries,
  6171 *** $file_magic_cmd, produces output that libtool cannot recognize.
  6172 *** The result is that libtool may fail to recognize shared libraries
  6173 *** as such.  This will affect the creation of libtool libraries that
  6174 *** depend on shared libraries, but programs linked with such libtool
  6175 *** libraries will work regardless of this problem.  Nevertheless, you
  6176 *** may want to report the problem to your system manager and/or to
  6177 *** bug-libtool@gnu.org
  6178 
  6179 EOF
  6180 	  fi ;;
  6181 	esac
  6182       fi
  6183       break
  6184     fi
  6185   done
  6186   IFS="$lt_save_ifs"
  6187   MAGIC_CMD="$lt_save_MAGIC_CMD"
  6188   ;;
  6189 esac
  6190 fi
  6191 
  6192 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6193 if test -n "$MAGIC_CMD"; then
  6194   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  6195 echo "${ECHO_T}$MAGIC_CMD" >&6
  6196 else
  6197   echo "$as_me:$LINENO: result: no" >&5
  6198 echo "${ECHO_T}no" >&6
  6199 fi
  6200 
  6201 if test -z "$lt_cv_path_MAGIC_CMD"; then
  6202   if test -n "$ac_tool_prefix"; then
  6203     echo "$as_me:$LINENO: checking for file" >&5
  6204 echo $ECHO_N "checking for file... $ECHO_C" >&6
  6205 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  6206   echo $ECHO_N "(cached) $ECHO_C" >&6
  6207 else
  6208   case $MAGIC_CMD in
  6209 [\\/*] |  ?:[\\/]*)
  6210   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6211   ;;
  6212 *)
  6213   lt_save_MAGIC_CMD="$MAGIC_CMD"
  6214   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6215   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6216   for ac_dir in $ac_dummy; do
  6217     IFS="$lt_save_ifs"
  6218     test -z "$ac_dir" && ac_dir=.
  6219     if test -f $ac_dir/file; then
  6220       lt_cv_path_MAGIC_CMD="$ac_dir/file"
  6221       if test -n "$file_magic_test_file"; then
  6222 	case $deplibs_check_method in
  6223 	"file_magic "*)
  6224 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6225 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6226 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6227 	    $EGREP "$file_magic_regex" > /dev/null; then
  6228 	    :
  6229 	  else
  6230 	    cat <<EOF 1>&2
  6231 
  6232 *** Warning: the command libtool uses to detect shared libraries,
  6233 *** $file_magic_cmd, produces output that libtool cannot recognize.
  6234 *** The result is that libtool may fail to recognize shared libraries
  6235 *** as such.  This will affect the creation of libtool libraries that
  6236 *** depend on shared libraries, but programs linked with such libtool
  6237 *** libraries will work regardless of this problem.  Nevertheless, you
  6238 *** may want to report the problem to your system manager and/or to
  6239 *** bug-libtool@gnu.org
  6240 
  6241 EOF
  6242 	  fi ;;
  6243 	esac
  6244       fi
  6245       break
  6246     fi
  6247   done
  6248   IFS="$lt_save_ifs"
  6249   MAGIC_CMD="$lt_save_MAGIC_CMD"
  6250   ;;
  6251 esac
  6252 fi
  6253 
  6254 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6255 if test -n "$MAGIC_CMD"; then
  6256   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  6257 echo "${ECHO_T}$MAGIC_CMD" >&6
  6258 else
  6259   echo "$as_me:$LINENO: result: no" >&5
  6260 echo "${ECHO_T}no" >&6
  6261 fi
  6262 
  6263   else
  6264     MAGIC_CMD=:
  6265   fi
  6266 fi
  6267 
  6268   fi
  6269   ;;
  6270 esac
  6271 
  6272 enable_dlopen=no
  6273 enable_win32_dll=no
  6274 
  6275 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  6276 if test "${enable_libtool_lock+set}" = set; then
  6277   enableval="$enable_libtool_lock"
  6278   
  6279 fi; 
  6280 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6281 
  6282 
  6283 # Check whether --with-pic or --without-pic was given.
  6284 if test "${with_pic+set}" = set; then
  6285   withval="$with_pic"
  6286   pic_mode="$withval"
  6287 else
  6288   pic_mode=default
  6289 fi; 
  6290 test -z "$pic_mode" && pic_mode=default
  6291 
  6292 # Use C for the default configuration in the libtool script
  6293 tagname=
  6294 lt_save_CC="$CC"
  6295 ac_ext=c
  6296 ac_cpp='$CPP $CPPFLAGS'
  6297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6300 
  6301 
  6302 # Source file extension for C test sources.
  6303 ac_ext=c
  6304 
  6305 # Object file extension for compiled C test sources.
  6306 objext=o
  6307 objext=$objext
  6308 
  6309 # Code to be used in simple compile tests
  6310 lt_simple_compile_test_code="int some_variable = 0;\n"
  6311 
  6312 # Code to be used in simple link tests
  6313 lt_simple_link_test_code='int main(){return(0);}\n'
  6314 
  6315 
  6316 # If no C compiler was specified, use CC.
  6317 LTCC=${LTCC-"$CC"}
  6318 
  6319 # Allow CC to be a program name with arguments.
  6320 compiler=$CC
  6321 
  6322 
  6323 # save warnings/boilerplate of simple test code
  6324 ac_outfile=conftest.$ac_objext
  6325 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  6326 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  6327 _lt_compiler_boilerplate=`cat conftest.err`
  6328 $rm conftest*
  6329 
  6330 ac_outfile=conftest.$ac_objext
  6331 printf "$lt_simple_link_test_code" >conftest.$ac_ext
  6332 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  6333 _lt_linker_boilerplate=`cat conftest.err`
  6334 $rm conftest*
  6335 
  6336 
  6337 #
  6338 # Check for any special shared library compilation flags.
  6339 #
  6340 lt_prog_cc_shlib=
  6341 if test "$GCC" = no; then
  6342   case $host_os in
  6343   sco3.2v5*)
  6344     lt_prog_cc_shlib='-belf'
  6345     ;;
  6346   esac
  6347 fi
  6348 if test -n "$lt_prog_cc_shlib"; then
  6349   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
  6350 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
  6351   if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
  6352   else
  6353     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
  6354 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
  6355     lt_cv_prog_cc_can_build_shared=no
  6356   fi
  6357 fi
  6358 
  6359 
  6360 #
  6361 # Check to make sure the static flag actually works.
  6362 #
  6363 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
  6364 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
  6365 if test "${lt_prog_compiler_static_works+set}" = set; then
  6366   echo $ECHO_N "(cached) $ECHO_C" >&6
  6367 else
  6368   lt_prog_compiler_static_works=no
  6369    save_LDFLAGS="$LDFLAGS"
  6370    LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
  6371    printf "$lt_simple_link_test_code" > conftest.$ac_ext
  6372    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  6373      # The linker can only warn and ignore the option if not recognized
  6374      # So say no if there are warnings
  6375      if test -s conftest.err; then
  6376        # Append any errors to the config.log.
  6377        cat conftest.err 1>&5
  6378        $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
  6379        $SED '/^$/d' conftest.err >conftest.er2
  6380        if diff conftest.exp conftest.er2 >/dev/null; then
  6381          lt_prog_compiler_static_works=yes
  6382        fi
  6383      else
  6384        lt_prog_compiler_static_works=yes
  6385      fi
  6386    fi
  6387    $rm conftest*
  6388    LDFLAGS="$save_LDFLAGS"
  6389 
  6390 fi
  6391 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
  6392 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
  6393 
  6394 if test x"$lt_prog_compiler_static_works" = xyes; then
  6395     :
  6396 else
  6397     lt_prog_compiler_static=
  6398 fi
  6399 
  6400 
  6401 
  6402 ## CAVEAT EMPTOR:
  6403 ## There is no encapsulation within the following macros, do not change
  6404 ## the running order or otherwise move them around unless you know exactly
  6405 ## what you are doing...
  6406 
  6407 lt_prog_compiler_no_builtin_flag=
  6408 
  6409 if test "$GCC" = yes; then
  6410   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  6411 
  6412   
  6413 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  6414 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
  6415 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  6416   echo $ECHO_N "(cached) $ECHO_C" >&6
  6417 else
  6418   lt_cv_prog_compiler_rtti_exceptions=no
  6419   ac_outfile=conftest.$ac_objext
  6420    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6421    lt_compiler_flag="-fno-rtti -fno-exceptions"
  6422    # Insert the option either (1) after the last *FLAGS variable, or
  6423    # (2) before a word containing "conftest.", or (3) at the end.
  6424    # Note that $ac_compile itself does not contain backslashes and begins
  6425    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6426    # The option is referenced via a variable to avoid confusing sed.
  6427    lt_compile=`echo "$ac_compile" | $SED \
  6428    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6429    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6430    -e 's:$: $lt_compiler_flag:'`
  6431    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  6432    (eval "$lt_compile" 2>conftest.err)
  6433    ac_status=$?
  6434    cat conftest.err >&5
  6435    echo "$as_me:__oline__: \$? = $ac_status" >&5
  6436    if (exit $ac_status) && test -s "$ac_outfile"; then
  6437      # The compiler can only warn and ignore the option if not recognized
  6438      # So say no if there are warnings other than the usual output.
  6439      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
  6440      $SED '/^$/d' conftest.err >conftest.er2
  6441      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
  6442        lt_cv_prog_compiler_rtti_exceptions=yes
  6443      fi
  6444    fi
  6445    $rm conftest*
  6446 
  6447 fi
  6448 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  6449 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
  6450 
  6451 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  6452     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  6453 else
  6454     :
  6455 fi
  6456 
  6457 fi
  6458 
  6459 lt_prog_compiler_wl=
  6460 lt_prog_compiler_pic=
  6461 lt_prog_compiler_static=
  6462 
  6463 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  6464 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
  6465  
  6466   if test "$GCC" = yes; then
  6467     lt_prog_compiler_wl='-Wl,'
  6468     lt_prog_compiler_static='-static'
  6469 
  6470     case $host_os in
  6471       aix*)
  6472       # All AIX code is PIC.
  6473       if test "$host_cpu" = ia64; then
  6474 	# AIX 5 now supports IA64 processor
  6475 	lt_prog_compiler_static='-Bstatic'
  6476       fi
  6477       ;;
  6478 
  6479     amigaos*)
  6480       # FIXME: we need at least 68020 code to build shared libraries, but
  6481       # adding the `-m68020' flag to GCC prevents building anything better,
  6482       # like `-m68040'.
  6483       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  6484       ;;
  6485 
  6486     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  6487       # PIC is the default for these OSes.
  6488       ;;
  6489 
  6490     mingw* | pw32* | os2*)
  6491       # This hack is so that the source file can tell whether it is being
  6492       # built for inclusion in a dll (and should export symbols for example).
  6493       lt_prog_compiler_pic='-DDLL_EXPORT'
  6494       ;;
  6495 
  6496     darwin* | rhapsody*)
  6497       # PIC is the default on this platform
  6498       # Common symbols not allowed in MH_DYLIB files
  6499       lt_prog_compiler_pic='-fno-common'
  6500       ;;
  6501 
  6502     msdosdjgpp*)
  6503       # Just because we use GCC doesn't mean we suddenly get shared libraries
  6504       # on systems that don't support them.
  6505       lt_prog_compiler_can_build_shared=no
  6506       enable_shared=no
  6507       ;;
  6508 
  6509     sysv4*MP*)
  6510       if test -d /usr/nec; then
  6511 	lt_prog_compiler_pic=-Kconform_pic
  6512       fi
  6513       ;;
  6514 
  6515     hpux*)
  6516       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6517       # not for PA HP-UX.
  6518       case $host_cpu in
  6519       hppa*64*|ia64*)
  6520 	# +Z the default
  6521 	;;
  6522       *)
  6523 	lt_prog_compiler_pic='-fPIC'
  6524 	;;
  6525       esac
  6526       ;;
  6527 
  6528     *)
  6529       lt_prog_compiler_pic='-fPIC'
  6530       ;;
  6531     esac
  6532   else
  6533     # PORTME Check for flag to pass linker flags through the system compiler.
  6534     case $host_os in
  6535     aix*)
  6536       lt_prog_compiler_wl='-Wl,'
  6537       if test "$host_cpu" = ia64; then
  6538 	# AIX 5 now supports IA64 processor
  6539 	lt_prog_compiler_static='-Bstatic'
  6540       else
  6541 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  6542       fi
  6543       ;;
  6544       darwin*)
  6545         # PIC is the default on this platform
  6546         # Common symbols not allowed in MH_DYLIB files
  6547        case $cc_basename in
  6548          xlc*)
  6549          lt_prog_compiler_pic='-qnocommon'
  6550          lt_prog_compiler_wl='-Wl,'
  6551          ;;
  6552        esac
  6553        ;;
  6554 
  6555     mingw* | pw32* | os2*)
  6556       # This hack is so that the source file can tell whether it is being
  6557       # built for inclusion in a dll (and should export symbols for example).
  6558       lt_prog_compiler_pic='-DDLL_EXPORT'
  6559       ;;
  6560 
  6561     hpux9* | hpux10* | hpux11*)
  6562       lt_prog_compiler_wl='-Wl,'
  6563       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6564       # not for PA HP-UX.
  6565       case $host_cpu in
  6566       hppa*64*|ia64*)
  6567 	# +Z the default
  6568 	;;
  6569       *)
  6570 	lt_prog_compiler_pic='+Z'
  6571 	;;
  6572       esac
  6573       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  6574       lt_prog_compiler_static='${wl}-a ${wl}archive'
  6575       ;;
  6576 
  6577     irix5* | irix6* | nonstopux*)
  6578       lt_prog_compiler_wl='-Wl,'
  6579       # PIC (with -KPIC) is the default.
  6580       lt_prog_compiler_static='-non_shared'
  6581       ;;
  6582 
  6583     newsos6)
  6584       lt_prog_compiler_pic='-KPIC'
  6585       lt_prog_compiler_static='-Bstatic'
  6586       ;;
  6587 
  6588     linux*)
  6589       case $cc_basename in
  6590       icc* | ecc*)
  6591 	lt_prog_compiler_wl='-Wl,'
  6592 	lt_prog_compiler_pic='-KPIC'
  6593 	lt_prog_compiler_static='-static'
  6594         ;;
  6595       pgcc* | pgf77* | pgf90* | pgf95*)
  6596         # Portland Group compilers (*not* the Pentium gcc compiler,
  6597 	# which looks to be a dead project)
  6598 	lt_prog_compiler_wl='-Wl,'
  6599 	lt_prog_compiler_pic='-fpic'
  6600 	lt_prog_compiler_static='-Bstatic'
  6601         ;;
  6602       ccc*)
  6603         lt_prog_compiler_wl='-Wl,'
  6604         # All Alpha code is PIC.
  6605         lt_prog_compiler_static='-non_shared'
  6606         ;;
  6607       esac
  6608       ;;
  6609 
  6610     osf3* | osf4* | osf5*)
  6611       lt_prog_compiler_wl='-Wl,'
  6612       # All OSF/1 code is PIC.
  6613       lt_prog_compiler_static='-non_shared'
  6614       ;;
  6615 
  6616     sco3.2v5*)
  6617       lt_prog_compiler_pic='-Kpic'
  6618       lt_prog_compiler_static='-dn'
  6619       ;;
  6620 
  6621     solaris*)
  6622       lt_prog_compiler_pic='-KPIC'
  6623       lt_prog_compiler_static='-Bstatic'
  6624       case $cc_basename in
  6625       f77* | f90* | f95*)
  6626 	lt_prog_compiler_wl='-Qoption ld ';;
  6627       *)
  6628 	lt_prog_compiler_wl='-Wl,';;
  6629       esac
  6630       ;;
  6631 
  6632     sunos4*)
  6633       lt_prog_compiler_wl='-Qoption ld '
  6634       lt_prog_compiler_pic='-PIC'
  6635       lt_prog_compiler_static='-Bstatic'
  6636       ;;
  6637 
  6638     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  6639       lt_prog_compiler_wl='-Wl,'
  6640       lt_prog_compiler_pic='-KPIC'
  6641       lt_prog_compiler_static='-Bstatic'
  6642       ;;
  6643 
  6644     sysv4*MP*)
  6645       if test -d /usr/nec ;then
  6646 	lt_prog_compiler_pic='-Kconform_pic'
  6647 	lt_prog_compiler_static='-Bstatic'
  6648       fi
  6649       ;;
  6650 
  6651     unicos*)
  6652       lt_prog_compiler_wl='-Wl,'
  6653       lt_prog_compiler_can_build_shared=no
  6654       ;;
  6655 
  6656     uts4*)
  6657       lt_prog_compiler_pic='-pic'
  6658       lt_prog_compiler_static='-Bstatic'
  6659       ;;
  6660 
  6661     *)
  6662       lt_prog_compiler_can_build_shared=no
  6663       ;;
  6664     esac
  6665   fi
  6666 
  6667 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  6668 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
  6669 
  6670 #
  6671 # Check to make sure the PIC flag actually works.
  6672 #
  6673 if test -n "$lt_prog_compiler_pic"; then
  6674   
  6675 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  6676 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
  6677 if test "${lt_prog_compiler_pic_works+set}" = set; then
  6678   echo $ECHO_N "(cached) $ECHO_C" >&6
  6679 else
  6680   lt_prog_compiler_pic_works=no
  6681   ac_outfile=conftest.$ac_objext
  6682    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6683    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  6684    # Insert the option either (1) after the last *FLAGS variable, or
  6685    # (2) before a word containing "conftest.", or (3) at the end.
  6686    # Note that $ac_compile itself does not contain backslashes and begins
  6687    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6688    # The option is referenced via a variable to avoid confusing sed.
  6689    lt_compile=`echo "$ac_compile" | $SED \
  6690    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6691    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6692    -e 's:$: $lt_compiler_flag:'`
  6693    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  6694    (eval "$lt_compile" 2>conftest.err)
  6695    ac_status=$?
  6696    cat conftest.err >&5
  6697    echo "$as_me:__oline__: \$? = $ac_status" >&5
  6698    if (exit $ac_status) && test -s "$ac_outfile"; then
  6699      # The compiler can only warn and ignore the option if not recognized
  6700      # So say no if there are warnings other than the usual output.
  6701      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
  6702      $SED '/^$/d' conftest.err >conftest.er2
  6703      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
  6704        lt_prog_compiler_pic_works=yes
  6705      fi
  6706    fi
  6707    $rm conftest*
  6708 
  6709 fi
  6710 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
  6711 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
  6712 
  6713 if test x"$lt_prog_compiler_pic_works" = xyes; then
  6714     case $lt_prog_compiler_pic in
  6715      "" | " "*) ;;
  6716      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  6717      esac
  6718 else
  6719     lt_prog_compiler_pic=
  6720      lt_prog_compiler_can_build_shared=no
  6721 fi
  6722 
  6723 fi
  6724 case $host_os in
  6725   # For platforms which do not support PIC, -DPIC is meaningless:
  6726   *djgpp*)
  6727     lt_prog_compiler_pic=
  6728     ;;
  6729   *)
  6730     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  6731     ;;
  6732 esac
  6733 
  6734 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  6735 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
  6736 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  6737   echo $ECHO_N "(cached) $ECHO_C" >&6
  6738 else
  6739   lt_cv_prog_compiler_c_o=no
  6740    $rm -r conftest 2>/dev/null
  6741    mkdir conftest
  6742    cd conftest
  6743    mkdir out
  6744    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6745 
  6746    lt_compiler_flag="-o out/conftest2.$ac_objext"
  6747    # Insert the option either (1) after the last *FLAGS variable, or
  6748    # (2) before a word containing "conftest.", or (3) at the end.
  6749    # Note that $ac_compile itself does not contain backslashes and begins
  6750    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6751    lt_compile=`echo "$ac_compile" | $SED \
  6752    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6753    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6754    -e 's:$: $lt_compiler_flag:'`
  6755    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  6756    (eval "$lt_compile" 2>out/conftest.err)
  6757    ac_status=$?
  6758    cat out/conftest.err >&5
  6759    echo "$as_me:__oline__: \$? = $ac_status" >&5
  6760    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  6761    then
  6762      # The compiler can only warn and ignore the option if not recognized
  6763      # So say no if there are warnings
  6764      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
  6765      $SED '/^$/d' out/conftest.err >out/conftest.er2
  6766      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  6767        lt_cv_prog_compiler_c_o=yes
  6768      fi
  6769    fi
  6770    chmod u+w . 2>&5
  6771    $rm conftest*
  6772    # SGI C++ compiler will create directory out/ii_files/ for
  6773    # template instantiation
  6774    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  6775    $rm out/* && rmdir out
  6776    cd ..
  6777    rmdir conftest
  6778    $rm conftest*
  6779 
  6780 fi
  6781 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  6782 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
  6783 
  6784 
  6785 hard_links="nottested"
  6786 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  6787   # do not overwrite the value of need_locks provided by the user
  6788   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  6789 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
  6790   hard_links=yes
  6791   $rm conftest*
  6792   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6793   touch conftest.a
  6794   ln conftest.a conftest.b 2>&5 || hard_links=no
  6795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6796   echo "$as_me:$LINENO: result: $hard_links" >&5
  6797 echo "${ECHO_T}$hard_links" >&6
  6798   if test "$hard_links" = no; then
  6799     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  6800 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  6801     need_locks=warn
  6802   fi
  6803 else
  6804   need_locks=no
  6805 fi
  6806 
  6807 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  6808 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
  6809 
  6810   runpath_var=
  6811   allow_undefined_flag=
  6812   enable_shared_with_static_runtimes=no
  6813   archive_cmds=
  6814   archive_expsym_cmds=
  6815   old_archive_From_new_cmds=
  6816   old_archive_from_expsyms_cmds=
  6817   export_dynamic_flag_spec=
  6818   whole_archive_flag_spec=
  6819   thread_safe_flag_spec=
  6820   hardcode_libdir_flag_spec=
  6821   hardcode_libdir_flag_spec_ld=
  6822   hardcode_libdir_separator=
  6823   hardcode_direct=no
  6824   hardcode_minus_L=no
  6825   hardcode_shlibpath_var=unsupported
  6826   link_all_deplibs=unknown
  6827   hardcode_automatic=no
  6828   module_cmds=
  6829   module_expsym_cmds=
  6830   always_export_symbols=no
  6831   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  6832   # include_expsyms should be a list of space-separated symbols to be *always*
  6833   # included in the symbol list
  6834   include_expsyms=
  6835   # exclude_expsyms can be an extended regexp of symbols to exclude
  6836   # it will be wrapped by ` (' and `)$', so one must not match beginning or
  6837   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  6838   # as well as any symbol that contains `d'.
  6839   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  6840   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  6841   # platforms (ab)use it in PIC code, but their linkers get confused if
  6842   # the symbol is explicitly referenced.  Since portable code cannot
  6843   # rely on this symbol name, it's probably fine to never include it in
  6844   # preloaded symbol tables.
  6845   extract_expsyms_cmds=
  6846   # Just being paranoid about ensuring that cc_basename is set.
  6847   for cc_temp in $compiler""; do
  6848   case $cc_temp in
  6849     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6850     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6851     \-*) ;;
  6852     *) break;;
  6853   esac
  6854 done
  6855 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  6856 
  6857   case $host_os in
  6858   cygwin* | mingw* | pw32*)
  6859     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  6860     # When not using gcc, we currently assume that we are using
  6861     # Microsoft Visual C++.
  6862     if test "$GCC" != yes; then
  6863       with_gnu_ld=no
  6864     fi
  6865     ;;
  6866   openbsd*)
  6867     with_gnu_ld=no
  6868     ;;
  6869   esac
  6870 
  6871   ld_shlibs=yes
  6872   if test "$with_gnu_ld" = yes; then
  6873     # If archive_cmds runs LD, not CC, wlarc should be empty
  6874     wlarc='${wl}'
  6875 
  6876     # Set some defaults for GNU ld with shared library support. These
  6877     # are reset later if shared libraries are not supported. Putting them
  6878     # here allows them to be overridden if necessary.
  6879     runpath_var=LD_RUN_PATH
  6880     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  6881     export_dynamic_flag_spec='${wl}--export-dynamic'
  6882     # ancient GNU ld didn't support --whole-archive et. al.
  6883     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  6884 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6885       else
  6886   	whole_archive_flag_spec=
  6887     fi
  6888     supports_anon_versioning=no
  6889     case `$LD -v 2>/dev/null` in
  6890       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  6891       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  6892       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  6893       *\ 2.11.*) ;; # other 2.11 versions
  6894       *) supports_anon_versioning=yes ;;
  6895     esac
  6896 
  6897     # See if GNU ld supports shared libraries.
  6898     case $host_os in
  6899     aix3* | aix4* | aix5*)
  6900       # On AIX/PPC, the GNU linker is very broken
  6901       if test "$host_cpu" != ia64; then
  6902 	ld_shlibs=no
  6903 	cat <<EOF 1>&2
  6904 
  6905 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  6906 *** to be unable to reliably create shared libraries on AIX.
  6907 *** Therefore, libtool is disabling shared libraries support.  If you
  6908 *** really care for shared libraries, you may want to modify your PATH
  6909 *** so that a non-GNU linker is found, and then restart.
  6910 
  6911 EOF
  6912       fi
  6913       ;;
  6914 
  6915     amigaos*)
  6916       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)'
  6917       hardcode_libdir_flag_spec='-L$libdir'
  6918       hardcode_minus_L=yes
  6919 
  6920       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  6921       # that the semantics of dynamic libraries on AmigaOS, at least up
  6922       # to version 4, is to share data among multiple programs linked
  6923       # with the same dynamic library.  Since this doesn't match the
  6924       # behavior of shared libraries on other platforms, we can't use
  6925       # them.
  6926       ld_shlibs=no
  6927       ;;
  6928 
  6929     beos*)
  6930       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  6931 	allow_undefined_flag=unsupported
  6932 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  6933 	# support --undefined.  This deserves some investigation.  FIXME
  6934 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6935       else
  6936 	ld_shlibs=no
  6937       fi
  6938       ;;
  6939 
  6940     cygwin* | mingw* | pw32*)
  6941       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  6942       # as there is no search path for DLLs.
  6943       hardcode_libdir_flag_spec='-L$libdir'
  6944       allow_undefined_flag=unsupported
  6945       always_export_symbols=no
  6946       enable_shared_with_static_runtimes=yes
  6947       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  6948 
  6949       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  6950         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
  6951 	# If the export-symbols file already is a .def file (1st line
  6952 	# is EXPORTS), use it as is; otherwise, prepend...
  6953 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  6954 	  cp $export_symbols $output_objdir/$soname.def;
  6955 	else
  6956 	  echo EXPORTS > $output_objdir/$soname.def;
  6957 	  cat $export_symbols >> $output_objdir/$soname.def;
  6958 	fi~
  6959 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
  6960       else
  6961 	ld_shlibs=no
  6962       fi
  6963       ;;
  6964 
  6965     linux*)
  6966       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  6967 	tmp_addflag=
  6968 	case $cc_basename,$host_cpu in
  6969 	pgcc*)				# Portland Group C compiler
  6970 	  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'
  6971 	  tmp_addflag=' $pic_flag'
  6972 	  ;;
  6973 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  6974 	  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'
  6975 	  tmp_addflag=' $pic_flag -Mnomain' ;;
  6976 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
  6977 	  tmp_addflag=' -i_dynamic' ;;
  6978 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  6979 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  6980 	ifc* | ifort*)			# Intel Fortran compiler
  6981 	  tmp_addflag=' -nofor_main' ;;
  6982 	esac
  6983 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6984 
  6985 	if test $supports_anon_versioning = yes; then
  6986 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  6987   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  6988   $echo "local: *; };" >> $output_objdir/$libname.ver~
  6989 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  6990 	fi
  6991       else
  6992 	ld_shlibs=no
  6993       fi
  6994       ;;
  6995 
  6996     netbsd*)
  6997       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  6998 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  6999 	wlarc=
  7000       else
  7001 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7002 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7003       fi
  7004       ;;
  7005 
  7006     solaris* | sysv5*)
  7007       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  7008 	ld_shlibs=no
  7009 	cat <<EOF 1>&2
  7010 
  7011 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7012 *** create shared libraries on Solaris systems.  Therefore, libtool
  7013 *** is disabling shared libraries support.  We urge you to upgrade GNU
  7014 *** binutils to release 2.9.1 or newer.  Another option is to modify
  7015 *** your PATH or compiler configuration so that the native linker is
  7016 *** used, and then restart.
  7017 
  7018 EOF
  7019       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  7020 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7021 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7022       else
  7023 	ld_shlibs=no
  7024       fi
  7025       ;;
  7026 
  7027     sunos4*)
  7028       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7029       wlarc=
  7030       hardcode_direct=yes
  7031       hardcode_shlibpath_var=no
  7032       ;;
  7033 
  7034     *)
  7035       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  7036 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7037 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7038       else
  7039 	ld_shlibs=no
  7040       fi
  7041       ;;
  7042     esac
  7043 
  7044     if test "$ld_shlibs" = no; then
  7045       runpath_var=
  7046       hardcode_libdir_flag_spec=
  7047       export_dynamic_flag_spec=
  7048       whole_archive_flag_spec=
  7049     fi
  7050   else
  7051     # PORTME fill in a description of your system's linker (not GNU ld)
  7052     case $host_os in
  7053     aix3*)
  7054       allow_undefined_flag=unsupported
  7055       always_export_symbols=yes
  7056       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'
  7057       # Note: this linker hardcodes the directories in LIBPATH if there
  7058       # are no directories specified by -L.
  7059       hardcode_minus_L=yes
  7060       if test "$GCC" = yes && test -z "$link_static_flag"; then
  7061 	# Neither direct hardcoding nor static linking is supported with a
  7062 	# broken collect2.
  7063 	hardcode_direct=unsupported
  7064       fi
  7065       ;;
  7066 
  7067     aix4* | aix5*)
  7068       if test "$host_cpu" = ia64; then
  7069 	# On IA64, the linker does run time linking by default, so we don't
  7070 	# have to do anything special.
  7071 	aix_use_runtimelinking=no
  7072 	exp_sym_flag='-Bexport'
  7073 	no_entry_flag=""
  7074       else
  7075 	# If we're using GNU nm, then we don't want the "-C" option.
  7076 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  7077 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  7078 	  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'
  7079 	else
  7080 	  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'
  7081 	fi
  7082 	aix_use_runtimelinking=no
  7083 
  7084 	# Test if we are trying to use run time linking or normal
  7085 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7086 	# need to do runtime linking.
  7087 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  7088 	  for ld_flag in $LDFLAGS; do
  7089   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  7090   	    aix_use_runtimelinking=yes
  7091   	    break
  7092   	  fi
  7093 	  done
  7094 	esac
  7095 
  7096 	exp_sym_flag='-bexport'
  7097 	no_entry_flag='-bnoentry'
  7098       fi
  7099 
  7100       # When large executables or shared objects are built, AIX ld can
  7101       # have problems creating the table of contents.  If linking a library
  7102       # or program results in "error TOC overflow" add -mminimal-toc to
  7103       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  7104       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7105 
  7106       archive_cmds=''
  7107       hardcode_direct=yes
  7108       hardcode_libdir_separator=':'
  7109       link_all_deplibs=yes
  7110 
  7111       if test "$GCC" = yes; then
  7112 	case $host_os in aix4.[012]|aix4.[012].*)
  7113 	# We only want to do this on AIX 4.2 and lower, the check
  7114 	# below for broken collect2 doesn't work under 4.3+
  7115 	  collect2name=`${CC} -print-prog-name=collect2`
  7116 	  if test -f "$collect2name" && \
  7117   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  7118 	  then
  7119   	  # We have reworked collect2
  7120   	  hardcode_direct=yes
  7121 	  else
  7122   	  # We have old collect2
  7123   	  hardcode_direct=unsupported
  7124   	  # It fails to find uninstalled libraries when the uninstalled
  7125   	  # path is not listed in the libpath.  Setting hardcode_minus_L
  7126   	  # to unsupported forces relinking
  7127   	  hardcode_minus_L=yes
  7128   	  hardcode_libdir_flag_spec='-L$libdir'
  7129   	  hardcode_libdir_separator=
  7130 	  fi
  7131 	esac
  7132 	shared_flag='-shared'
  7133 	if test "$aix_use_runtimelinking" = yes; then
  7134 	  shared_flag="$shared_flag "'${wl}-G'
  7135 	fi
  7136       else
  7137 	# not using gcc
  7138 	if test "$host_cpu" = ia64; then
  7139   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7140   	# chokes on -Wl,-G. The following line is correct:
  7141 	  shared_flag='-G'
  7142 	else
  7143   	if test "$aix_use_runtimelinking" = yes; then
  7144 	    shared_flag='${wl}-G'
  7145 	  else
  7146 	    shared_flag='${wl}-bM:SRE'
  7147   	fi
  7148 	fi
  7149       fi
  7150 
  7151       # It seems that -bexpall does not export symbols beginning with
  7152       # underscore (_), so it is better to generate a list of symbols to export.
  7153       always_export_symbols=yes
  7154       if test "$aix_use_runtimelinking" = yes; then
  7155 	# Warning - without using the other runtime loading flags (-brtl),
  7156 	# -berok will link without error, but may produce a broken library.
  7157 	allow_undefined_flag='-berok'
  7158        # Determine the default libpath from the value encoded in an empty executable.
  7159        cat >conftest.$ac_ext <<_ACEOF
  7160 /* confdefs.h.  */
  7161 _ACEOF
  7162 cat confdefs.h >>conftest.$ac_ext
  7163 cat >>conftest.$ac_ext <<_ACEOF
  7164 /* end confdefs.h.  */
  7165 
  7166 int
  7167 main ()
  7168 {
  7169 
  7170   ;
  7171   return 0;
  7172 }
  7173 _ACEOF
  7174 rm -f conftest.$ac_objext conftest$ac_exeext
  7175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7176   (eval $ac_link) 2>conftest.er1
  7177   ac_status=$?
  7178   grep -v '^ *+' conftest.er1 >conftest.err
  7179   rm -f conftest.er1
  7180   cat conftest.err >&5
  7181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7182   (exit $ac_status); } &&
  7183 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  7184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7185   (eval $ac_try) 2>&5
  7186   ac_status=$?
  7187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7188   (exit $ac_status); }; } &&
  7189 	 { ac_try='test -s conftest$ac_exeext'
  7190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7191   (eval $ac_try) 2>&5
  7192   ac_status=$?
  7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7194   (exit $ac_status); }; }; then
  7195   
  7196 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  7197 }'`
  7198 # Check for a 64-bit object if we didn't find anything.
  7199 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; }
  7200 }'`; fi
  7201 else
  7202   echo "$as_me: failed program was:" >&5
  7203 sed 's/^/| /' conftest.$ac_ext >&5
  7204 
  7205 fi
  7206 rm -f conftest.err conftest.$ac_objext \
  7207       conftest$ac_exeext conftest.$ac_ext
  7208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7209 
  7210        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7211 	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  7212        else
  7213 	if test "$host_cpu" = ia64; then
  7214 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  7215 	  allow_undefined_flag="-z nodefs"
  7216 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
  7217 	else
  7218 	 # Determine the default libpath from the value encoded in an empty executable.
  7219 	 cat >conftest.$ac_ext <<_ACEOF
  7220 /* confdefs.h.  */
  7221 _ACEOF
  7222 cat confdefs.h >>conftest.$ac_ext
  7223 cat >>conftest.$ac_ext <<_ACEOF
  7224 /* end confdefs.h.  */
  7225 
  7226 int
  7227 main ()
  7228 {
  7229 
  7230   ;
  7231   return 0;
  7232 }
  7233 _ACEOF
  7234 rm -f conftest.$ac_objext conftest$ac_exeext
  7235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7236   (eval $ac_link) 2>conftest.er1
  7237   ac_status=$?
  7238   grep -v '^ *+' conftest.er1 >conftest.err
  7239   rm -f conftest.er1
  7240   cat conftest.err >&5
  7241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7242   (exit $ac_status); } &&
  7243 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  7244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7245   (eval $ac_try) 2>&5
  7246   ac_status=$?
  7247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7248   (exit $ac_status); }; } &&
  7249 	 { ac_try='test -s conftest$ac_exeext'
  7250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7251   (eval $ac_try) 2>&5
  7252   ac_status=$?
  7253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7254   (exit $ac_status); }; }; then
  7255   
  7256 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  7257 }'`
  7258 # Check for a 64-bit object if we didn't find anything.
  7259 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; }
  7260 }'`; fi
  7261 else
  7262   echo "$as_me: failed program was:" >&5
  7263 sed 's/^/| /' conftest.$ac_ext >&5
  7264 
  7265 fi
  7266 rm -f conftest.err conftest.$ac_objext \
  7267       conftest$ac_exeext conftest.$ac_ext
  7268 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7269 
  7270 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7271 	  # Warning - without using the other run time loading flags,
  7272 	  # -berok will link without error, but may produce a broken library.
  7273 	  no_undefined_flag=' ${wl}-bernotok'
  7274 	  allow_undefined_flag=' ${wl}-berok'
  7275 	  # -bexpall does not export symbols beginning with underscore (_)
  7276 	  always_export_symbols=yes
  7277 	  # Exported symbols can be pulled into shared objects from archives
  7278 	  whole_archive_flag_spec=' '
  7279 	  archive_cmds_need_lc=yes
  7280 	  # This is similar to how AIX traditionally builds its shared libraries.
  7281 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  7282 	fi
  7283       fi
  7284       ;;
  7285 
  7286     amigaos*)
  7287       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)'
  7288       hardcode_libdir_flag_spec='-L$libdir'
  7289       hardcode_minus_L=yes
  7290       # see comment about different semantics on the GNU ld section
  7291       ld_shlibs=no
  7292       ;;
  7293 
  7294     bsdi[45]*)
  7295       export_dynamic_flag_spec=-rdynamic
  7296       ;;
  7297 
  7298     cygwin* | mingw* | pw32*)
  7299       # When not using gcc, we currently assume that we are using
  7300       # Microsoft Visual C++.
  7301       # hardcode_libdir_flag_spec is actually meaningless, as there is
  7302       # no search path for DLLs.
  7303       hardcode_libdir_flag_spec=' '
  7304       allow_undefined_flag=unsupported
  7305       # Tell ltmain to make .lib files, not .a files.
  7306       libext=lib
  7307       # Tell ltmain to make .dll files, not .so files.
  7308       shrext_cmds=".dll"
  7309       # FIXME: Setting linknames here is a bad hack.
  7310       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  7311       # The linker will automatically build a .lib file if we build a DLL.
  7312       old_archive_From_new_cmds='true'
  7313       # FIXME: Should let the user specify the lib program.
  7314       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  7315       fix_srcfile_path='`cygpath -w "$srcfile"`'
  7316       enable_shared_with_static_runtimes=yes
  7317       ;;
  7318 
  7319     darwin* | rhapsody*)
  7320       case $host_os in
  7321         rhapsody* | darwin1.[012])
  7322          allow_undefined_flag='${wl}-undefined ${wl}suppress'
  7323          ;;
  7324        *) # Darwin 1.3 on
  7325          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  7326            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  7327          else
  7328            case ${MACOSX_DEPLOYMENT_TARGET} in
  7329              10.[012])
  7330                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  7331                ;;
  7332              10.*)
  7333                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  7334                ;;
  7335            esac
  7336          fi
  7337          ;;
  7338       esac
  7339       archive_cmds_need_lc=no
  7340       hardcode_direct=no
  7341       hardcode_automatic=yes
  7342       hardcode_shlibpath_var=unsupported
  7343       whole_archive_flag_spec=''
  7344       link_all_deplibs=yes
  7345     if test "$GCC" = yes ; then
  7346     	output_verbose_link_cmd='echo'
  7347         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  7348       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  7349       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  7350       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}'
  7351       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}'
  7352     else
  7353       case $cc_basename in
  7354         xlc*)
  7355          output_verbose_link_cmd='echo'
  7356          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  7357          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  7358           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  7359          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}'
  7360           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}'
  7361           ;;
  7362        *)
  7363          ld_shlibs=no
  7364           ;;
  7365       esac
  7366     fi
  7367       ;;
  7368 
  7369     dgux*)
  7370       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7371       hardcode_libdir_flag_spec='-L$libdir'
  7372       hardcode_shlibpath_var=no
  7373       ;;
  7374 
  7375     freebsd1*)
  7376       ld_shlibs=no
  7377       ;;
  7378 
  7379     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  7380     # support.  Future versions do this automatically, but an explicit c++rt0.o
  7381     # does not break anything, and helps significantly (at the cost of a little
  7382     # extra space).
  7383     freebsd2.2*)
  7384       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  7385       hardcode_libdir_flag_spec='-R$libdir'
  7386       hardcode_direct=yes
  7387       hardcode_shlibpath_var=no
  7388       ;;
  7389 
  7390     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  7391     freebsd2*)
  7392       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7393       hardcode_direct=yes
  7394       hardcode_minus_L=yes
  7395       hardcode_shlibpath_var=no
  7396       ;;
  7397 
  7398     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  7399     freebsd* | kfreebsd*-gnu | dragonfly*)
  7400       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  7401       hardcode_libdir_flag_spec='-R$libdir'
  7402       hardcode_direct=yes
  7403       hardcode_shlibpath_var=no
  7404       ;;
  7405 
  7406     hpux9*)
  7407       if test "$GCC" = yes; then
  7408 	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'
  7409       else
  7410 	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'
  7411       fi
  7412       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7413       hardcode_libdir_separator=:
  7414       hardcode_direct=yes
  7415 
  7416       # hardcode_minus_L: Not really in the search PATH,
  7417       # but as the default location of the library.
  7418       hardcode_minus_L=yes
  7419       export_dynamic_flag_spec='${wl}-E'
  7420       ;;
  7421 
  7422     hpux10* | hpux11*)
  7423       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7424 	case $host_cpu in
  7425 	hppa*64*|ia64*)
  7426 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7427 	  ;;
  7428 	*)
  7429 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7430 	  ;;
  7431 	esac
  7432       else
  7433 	case $host_cpu in
  7434 	hppa*64*|ia64*)
  7435 	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
  7436 	  ;;
  7437 	*)
  7438 	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  7439 	  ;;
  7440 	esac
  7441       fi
  7442       if test "$with_gnu_ld" = no; then
  7443 	case $host_cpu in
  7444 	hppa*64*)
  7445 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7446 	  hardcode_libdir_flag_spec_ld='+b $libdir'
  7447 	  hardcode_libdir_separator=:
  7448 	  hardcode_direct=no
  7449 	  hardcode_shlibpath_var=no
  7450 	  ;;
  7451 	ia64*)
  7452 	  hardcode_libdir_flag_spec='-L$libdir'
  7453 	  hardcode_direct=no
  7454 	  hardcode_shlibpath_var=no
  7455 
  7456 	  # hardcode_minus_L: Not really in the search PATH,
  7457 	  # but as the default location of the library.
  7458 	  hardcode_minus_L=yes
  7459 	  ;;
  7460 	*)
  7461 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7462 	  hardcode_libdir_separator=:
  7463 	  hardcode_direct=yes
  7464 	  export_dynamic_flag_spec='${wl}-E'
  7465 
  7466 	  # hardcode_minus_L: Not really in the search PATH,
  7467 	  # but as the default location of the library.
  7468 	  hardcode_minus_L=yes
  7469 	  ;;
  7470 	esac
  7471       fi
  7472       ;;
  7473 
  7474     irix5* | irix6* | nonstopux*)
  7475       if test "$GCC" = yes; then
  7476 	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'
  7477       else
  7478 	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'
  7479 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7480       fi
  7481       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7482       hardcode_libdir_separator=:
  7483       link_all_deplibs=yes
  7484       ;;
  7485 
  7486     netbsd*)
  7487       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  7488 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  7489       else
  7490 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  7491       fi
  7492       hardcode_libdir_flag_spec='-R$libdir'
  7493       hardcode_direct=yes
  7494       hardcode_shlibpath_var=no
  7495       ;;
  7496 
  7497     newsos6)
  7498       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7499       hardcode_direct=yes
  7500       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7501       hardcode_libdir_separator=:
  7502       hardcode_shlibpath_var=no
  7503       ;;
  7504 
  7505     openbsd*)
  7506       hardcode_direct=yes
  7507       hardcode_shlibpath_var=no
  7508       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  7509 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7510 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  7511 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7512 	export_dynamic_flag_spec='${wl}-E'
  7513       else
  7514        case $host_os in
  7515 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  7516 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7517 	   hardcode_libdir_flag_spec='-R$libdir'
  7518 	   ;;
  7519 	 *)
  7520 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7521 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7522 	   ;;
  7523        esac
  7524       fi
  7525       ;;
  7526 
  7527     os2*)
  7528       hardcode_libdir_flag_spec='-L$libdir'
  7529       hardcode_minus_L=yes
  7530       allow_undefined_flag=unsupported
  7531       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'
  7532       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  7533       ;;
  7534 
  7535     osf3*)
  7536       if test "$GCC" = yes; then
  7537 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7538 	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'
  7539       else
  7540 	allow_undefined_flag=' -expect_unresolved \*'
  7541 	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'
  7542       fi
  7543       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7544       hardcode_libdir_separator=:
  7545       ;;
  7546 
  7547     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  7548       if test "$GCC" = yes; then
  7549 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7550 	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'
  7551 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7552       else
  7553 	allow_undefined_flag=' -expect_unresolved \*'
  7554 	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'
  7555 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  7556 	$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'
  7557 
  7558 	# Both c and cxx compiler support -rpath directly
  7559 	hardcode_libdir_flag_spec='-rpath $libdir'
  7560       fi
  7561       hardcode_libdir_separator=:
  7562       ;;
  7563 
  7564     sco3.2v5*)
  7565       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7566       hardcode_shlibpath_var=no
  7567       export_dynamic_flag_spec='${wl}-Bexport'
  7568       runpath_var=LD_RUN_PATH
  7569       hardcode_runpath_var=yes
  7570       ;;
  7571 
  7572     solaris*)
  7573       no_undefined_flag=' -z text'
  7574       if test "$GCC" = yes; then
  7575 	wlarc='${wl}'
  7576 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7577 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7578 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  7579       else
  7580 	wlarc=''
  7581 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7582 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7583   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  7584       fi
  7585       hardcode_libdir_flag_spec='-R$libdir'
  7586       hardcode_shlibpath_var=no
  7587       case $host_os in
  7588       solaris2.[0-5] | solaris2.[0-5].*) ;;
  7589       *)
  7590  	# The compiler driver will combine linker options so we
  7591  	# cannot just pass the convience library names through
  7592  	# without $wl, iff we do not link with $LD.
  7593  	# Luckily, gcc supports the same syntax we need for Sun Studio.
  7594  	# Supported since Solaris 2.6 (maybe 2.5.1?)
  7595  	case $wlarc in
  7596  	'')
  7597  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  7598  	*)
  7599  	  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' ;;
  7600  	esac ;;
  7601       esac
  7602       link_all_deplibs=yes
  7603       ;;
  7604 
  7605     sunos4*)
  7606       if test "x$host_vendor" = xsequent; then
  7607 	# Use $CC to link under sequent, because it throws in some extra .o
  7608 	# files that make .init and .fini sections work.
  7609 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  7610       else
  7611 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  7612       fi
  7613       hardcode_libdir_flag_spec='-L$libdir'
  7614       hardcode_direct=yes
  7615       hardcode_minus_L=yes
  7616       hardcode_shlibpath_var=no
  7617       ;;
  7618 
  7619     sysv4)
  7620       case $host_vendor in
  7621 	sni)
  7622 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7623 	  hardcode_direct=yes # is this really true???
  7624 	;;
  7625 	siemens)
  7626 	  ## LD is ld it makes a PLAMLIB
  7627 	  ## CC just makes a GrossModule.
  7628 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  7629 	  reload_cmds='$CC -r -o $output$reload_objs'
  7630 	  hardcode_direct=no
  7631         ;;
  7632 	motorola)
  7633 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7634 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  7635 	;;
  7636       esac
  7637       runpath_var='LD_RUN_PATH'
  7638       hardcode_shlibpath_var=no
  7639       ;;
  7640 
  7641     sysv4.3*)
  7642       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7643       hardcode_shlibpath_var=no
  7644       export_dynamic_flag_spec='-Bexport'
  7645       ;;
  7646 
  7647     sysv4*MP*)
  7648       if test -d /usr/nec; then
  7649 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7650 	hardcode_shlibpath_var=no
  7651 	runpath_var=LD_RUN_PATH
  7652 	hardcode_runpath_var=yes
  7653 	ld_shlibs=yes
  7654       fi
  7655       ;;
  7656 
  7657     sysv4.2uw2*)
  7658       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  7659       hardcode_direct=yes
  7660       hardcode_minus_L=no
  7661       hardcode_shlibpath_var=no
  7662       hardcode_runpath_var=yes
  7663       runpath_var=LD_RUN_PATH
  7664       ;;
  7665 
  7666    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
  7667       no_undefined_flag='${wl}-z ${wl}text'
  7668       if test "$GCC" = yes; then
  7669 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7670       else
  7671 	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7672       fi
  7673       runpath_var='LD_RUN_PATH'
  7674       hardcode_shlibpath_var=no
  7675       ;;
  7676 
  7677     sysv5*)
  7678       no_undefined_flag=' -z text'
  7679       # $CC -shared without GNU ld will not create a library from C++
  7680       # object files and a static libstdc++, better avoid it by now
  7681       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7682       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7683   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  7684       hardcode_libdir_flag_spec=
  7685       hardcode_shlibpath_var=no
  7686       runpath_var='LD_RUN_PATH'
  7687       ;;
  7688 
  7689     uts4*)
  7690       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7691       hardcode_libdir_flag_spec='-L$libdir'
  7692       hardcode_shlibpath_var=no
  7693       ;;
  7694 
  7695     *)
  7696       ld_shlibs=no
  7697       ;;
  7698     esac
  7699   fi
  7700 
  7701 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  7702 echo "${ECHO_T}$ld_shlibs" >&6
  7703 test "$ld_shlibs" = no && can_build_shared=no
  7704 
  7705 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  7706 if test "$GCC" = yes; then
  7707   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  7708 fi
  7709 
  7710 #
  7711 # Do we need to explicitly link libc?
  7712 #
  7713 case "x$archive_cmds_need_lc" in
  7714 x|xyes)
  7715   # Assume -lc should be added
  7716   archive_cmds_need_lc=yes
  7717 
  7718   if test "$enable_shared" = yes && test "$GCC" = yes; then
  7719     case $archive_cmds in
  7720     *'~'*)
  7721       # FIXME: we may have to deal with multi-command sequences.
  7722       ;;
  7723     '$CC '*)
  7724       # Test whether the compiler implicitly links with -lc since on some
  7725       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  7726       # to ld, don't add -lc before -lgcc.
  7727       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  7728 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
  7729       $rm conftest*
  7730       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  7731 
  7732       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7733   (eval $ac_compile) 2>&5
  7734   ac_status=$?
  7735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7736   (exit $ac_status); } 2>conftest.err; then
  7737         soname=conftest
  7738         lib=conftest
  7739         libobjs=conftest.$ac_objext
  7740         deplibs=
  7741         wl=$lt_prog_compiler_wl
  7742         compiler_flags=-v
  7743         linker_flags=-v
  7744         verstring=
  7745         output_objdir=.
  7746         libname=conftest
  7747         lt_save_allow_undefined_flag=$allow_undefined_flag
  7748         allow_undefined_flag=
  7749         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  7750   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  7751   ac_status=$?
  7752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7753   (exit $ac_status); }
  7754         then
  7755 	  archive_cmds_need_lc=no
  7756         else
  7757 	  archive_cmds_need_lc=yes
  7758         fi
  7759         allow_undefined_flag=$lt_save_allow_undefined_flag
  7760       else
  7761         cat conftest.err 1>&5
  7762       fi
  7763       $rm conftest*
  7764       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  7765 echo "${ECHO_T}$archive_cmds_need_lc" >&6
  7766       ;;
  7767     esac
  7768   fi
  7769   ;;
  7770 esac
  7771 
  7772 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  7773 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
  7774 library_names_spec=
  7775 libname_spec='lib$name'
  7776 soname_spec=
  7777 shrext_cmds=".so"
  7778 postinstall_cmds=
  7779 postuninstall_cmds=
  7780 finish_cmds=
  7781 finish_eval=
  7782 shlibpath_var=
  7783 shlibpath_overrides_runpath=unknown
  7784 version_type=none
  7785 dynamic_linker="$host_os ld.so"
  7786 sys_lib_dlsearch_path_spec="/lib /usr/lib"
  7787 if test "$GCC" = yes; then
  7788   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7789   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  7790     # if the path contains ";" then we assume it to be the separator
  7791     # otherwise default to the standard path separator (i.e. ":") - it is
  7792     # assumed that no part of a normal pathname contains ";" but that should
  7793     # okay in the real world where ";" in dirpaths is itself problematic.
  7794     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  7795   else
  7796     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  7797   fi
  7798 else
  7799   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  7800 fi
  7801 need_lib_prefix=unknown
  7802 hardcode_into_libs=no
  7803 
  7804 # when you set need_version to no, make sure it does not cause -set_version
  7805 # flags to be left without arguments
  7806 need_version=unknown
  7807 
  7808 case $host_os in
  7809 aix3*)
  7810   version_type=linux
  7811   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  7812   shlibpath_var=LIBPATH
  7813 
  7814   # AIX 3 has no versioning support, so we append a major version to the name.
  7815   soname_spec='${libname}${release}${shared_ext}$major'
  7816   ;;
  7817 
  7818 aix4* | aix5*)
  7819   version_type=linux
  7820   need_lib_prefix=no
  7821   need_version=no
  7822   hardcode_into_libs=yes
  7823   if test "$host_cpu" = ia64; then
  7824     # AIX 5 supports IA64
  7825     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  7826     shlibpath_var=LD_LIBRARY_PATH
  7827   else
  7828     # With GCC up to 2.95.x, collect2 would create an import file
  7829     # for dependence libraries.  The import file would start with
  7830     # the line `#! .'.  This would cause the generated library to
  7831     # depend on `.', always an invalid library.  This was fixed in
  7832     # development snapshots of GCC prior to 3.0.
  7833     case $host_os in
  7834       aix4 | aix4.[01] | aix4.[01].*)
  7835       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  7836 	   echo ' yes '
  7837 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  7838 	:
  7839       else
  7840 	can_build_shared=no
  7841       fi
  7842       ;;
  7843     esac
  7844     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  7845     # soname into executable. Probably we can add versioning support to
  7846     # collect2, so additional links can be useful in future.
  7847     if test "$aix_use_runtimelinking" = yes; then
  7848       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  7849       # instead of lib<name>.a to let people know that these are not
  7850       # typical AIX shared libraries.
  7851       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7852     else
  7853       # We preserve .a as extension for shared libraries through AIX4.2
  7854       # and later when we are not doing run time linking.
  7855       library_names_spec='${libname}${release}.a $libname.a'
  7856       soname_spec='${libname}${release}${shared_ext}$major'
  7857     fi
  7858     shlibpath_var=LIBPATH
  7859   fi
  7860   ;;
  7861 
  7862 amigaos*)
  7863   library_names_spec='$libname.ixlibrary $libname.a'
  7864   # Create ${libname}_ixlibrary.a entries in /sys/libs.
  7865   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'
  7866   ;;
  7867 
  7868 beos*)
  7869   library_names_spec='${libname}${shared_ext}'
  7870   dynamic_linker="$host_os ld.so"
  7871   shlibpath_var=LIBRARY_PATH
  7872   ;;
  7873 
  7874 bsdi[45]*)
  7875   version_type=linux
  7876   need_version=no
  7877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7878   soname_spec='${libname}${release}${shared_ext}$major'
  7879   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  7880   shlibpath_var=LD_LIBRARY_PATH
  7881   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  7882   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  7883   # the default ld.so.conf also contains /usr/contrib/lib and
  7884   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  7885   # libtool to hard-code these into programs
  7886   ;;
  7887 
  7888 cygwin* | mingw* | pw32*)
  7889   version_type=windows
  7890   shrext_cmds=".dll"
  7891   need_version=no
  7892   need_lib_prefix=no
  7893 
  7894   case $GCC,$host_os in
  7895   yes,cygwin* | yes,mingw* | yes,pw32*)
  7896     library_names_spec='$libname.dll.a'
  7897     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  7898     postinstall_cmds='base_file=`basename \${file}`~
  7899       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  7900       dldir=$destdir/`dirname \$dlpath`~
  7901       test -d \$dldir || mkdir -p \$dldir~
  7902       $install_prog $dir/$dlname \$dldir/$dlname~
  7903       chmod a+x \$dldir/$dlname'
  7904     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  7905       dlpath=$dir/\$dldll~
  7906        $rm \$dlpath'
  7907     shlibpath_overrides_runpath=yes
  7908 
  7909     case $host_os in
  7910     cygwin*)
  7911       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  7912       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7913       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  7914       ;;
  7915     mingw*)
  7916       # MinGW DLLs use traditional 'lib' prefix
  7917       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7918       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7919       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  7920         # It is most probably a Windows format PATH printed by
  7921         # mingw gcc, but we are running on Cygwin. Gcc prints its search
  7922         # path with ; separators, and with drive letters. We can handle the
  7923         # drive letters (cygwin fileutils understands them), so leave them,
  7924         # especially as we might pass files found there to a mingw objdump,
  7925         # which wouldn't understand a cygwinified path. Ahh.
  7926         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  7927       else
  7928         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  7929       fi
  7930       ;;
  7931     pw32*)
  7932       # pw32 DLLs use 'pw' prefix rather than 'lib'
  7933       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7934       ;;
  7935     esac
  7936     ;;
  7937 
  7938   *)
  7939     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  7940     ;;
  7941   esac
  7942   dynamic_linker='Win32 ld.exe'
  7943   # FIXME: first we should search . and the directory the executable is in
  7944   shlibpath_var=PATH
  7945   ;;
  7946 
  7947 darwin* | rhapsody*)
  7948   dynamic_linker="$host_os dyld"
  7949   version_type=darwin
  7950   need_lib_prefix=no
  7951   need_version=no
  7952   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  7953   soname_spec='${libname}${release}${major}$shared_ext'
  7954   shlibpath_overrides_runpath=yes
  7955   shlibpath_var=DYLD_LIBRARY_PATH
  7956   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  7957   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  7958   if test "$GCC" = yes; then
  7959     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"`
  7960   else
  7961     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  7962   fi
  7963   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  7964   ;;
  7965 
  7966 dgux*)
  7967   version_type=linux
  7968   need_lib_prefix=no
  7969   need_version=no
  7970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  7971   soname_spec='${libname}${release}${shared_ext}$major'
  7972   shlibpath_var=LD_LIBRARY_PATH
  7973   ;;
  7974 
  7975 freebsd1*)
  7976   dynamic_linker=no
  7977   ;;
  7978 
  7979 kfreebsd*-gnu)
  7980   version_type=linux
  7981   need_lib_prefix=no
  7982   need_version=no
  7983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  7984   soname_spec='${libname}${release}${shared_ext}$major'
  7985   shlibpath_var=LD_LIBRARY_PATH
  7986   shlibpath_overrides_runpath=no
  7987   hardcode_into_libs=yes
  7988   dynamic_linker='GNU ld.so'
  7989   ;;
  7990 
  7991 freebsd* | dragonfly*)
  7992   # DragonFly does not have aout.  When/if they implement a new
  7993   # versioning mechanism, adjust this.
  7994   if test -x /usr/bin/objformat; then
  7995     objformat=`/usr/bin/objformat`
  7996   else
  7997     case $host_os in
  7998     freebsd[123]*) objformat=aout ;;
  7999     *) objformat=elf ;;
  8000     esac
  8001   fi
  8002   version_type=freebsd-$objformat
  8003   case $version_type in
  8004     freebsd-elf*)
  8005       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8006       need_version=no
  8007       need_lib_prefix=no
  8008       ;;
  8009     freebsd-*)
  8010       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  8011       need_version=yes
  8012       ;;
  8013   esac
  8014   shlibpath_var=LD_LIBRARY_PATH
  8015   case $host_os in
  8016   freebsd2*)
  8017     shlibpath_overrides_runpath=yes
  8018     ;;
  8019   freebsd3.[01]* | freebsdelf3.[01]*)
  8020     shlibpath_overrides_runpath=yes
  8021     hardcode_into_libs=yes
  8022     ;;
  8023   *) # from 3.2 on
  8024     shlibpath_overrides_runpath=no
  8025     hardcode_into_libs=yes
  8026     ;;
  8027   esac
  8028   ;;
  8029 
  8030 gnu*)
  8031   version_type=linux
  8032   need_lib_prefix=no
  8033   need_version=no
  8034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8035   soname_spec='${libname}${release}${shared_ext}$major'
  8036   shlibpath_var=LD_LIBRARY_PATH
  8037   hardcode_into_libs=yes
  8038   ;;
  8039 
  8040 hpux9* | hpux10* | hpux11*)
  8041   # Give a soname corresponding to the major version so that dld.sl refuses to
  8042   # link against other versions.
  8043   version_type=sunos
  8044   need_lib_prefix=no
  8045   need_version=no
  8046   case $host_cpu in
  8047   ia64*)
  8048     shrext_cmds='.so'
  8049     hardcode_into_libs=yes
  8050     dynamic_linker="$host_os dld.so"
  8051     shlibpath_var=LD_LIBRARY_PATH
  8052     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8053     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8054     soname_spec='${libname}${release}${shared_ext}$major'
  8055     if test "X$HPUX_IA64_MODE" = X32; then
  8056       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  8057     else
  8058       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  8059     fi
  8060     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8061     ;;
  8062    hppa*64*)
  8063      shrext_cmds='.sl'
  8064      hardcode_into_libs=yes
  8065      dynamic_linker="$host_os dld.sl"
  8066      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  8067      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8068      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8069      soname_spec='${libname}${release}${shared_ext}$major'
  8070      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  8071      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8072      ;;
  8073    *)
  8074     shrext_cmds='.sl'
  8075     dynamic_linker="$host_os dld.sl"
  8076     shlibpath_var=SHLIB_PATH
  8077     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  8078     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8079     soname_spec='${libname}${release}${shared_ext}$major'
  8080     ;;
  8081   esac
  8082   # HP-UX runs *really* slowly unless shared libraries are mode 555.
  8083   postinstall_cmds='chmod 555 $lib'
  8084   ;;
  8085 
  8086 irix5* | irix6* | nonstopux*)
  8087   case $host_os in
  8088     nonstopux*) version_type=nonstopux ;;
  8089     *)
  8090 	if test "$lt_cv_prog_gnu_ld" = yes; then
  8091 		version_type=linux
  8092 	else
  8093 		version_type=irix
  8094 	fi ;;
  8095   esac
  8096   need_lib_prefix=no
  8097   need_version=no
  8098   soname_spec='${libname}${release}${shared_ext}$major'
  8099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  8100   case $host_os in
  8101   irix5* | nonstopux*)
  8102     libsuff= shlibsuff=
  8103     ;;
  8104   *)
  8105     case $LD in # libtool.m4 will add one of these switches to LD
  8106     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  8107       libsuff= shlibsuff= libmagic=32-bit;;
  8108     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  8109       libsuff=32 shlibsuff=N32 libmagic=N32;;
  8110     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  8111       libsuff=64 shlibsuff=64 libmagic=64-bit;;
  8112     *) libsuff= shlibsuff= libmagic=never-match;;
  8113     esac
  8114     ;;
  8115   esac
  8116   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  8117   shlibpath_overrides_runpath=no
  8118   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  8119   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  8120   hardcode_into_libs=yes
  8121   ;;
  8122 
  8123 # No shared lib support for Linux oldld, aout, or coff.
  8124 linux*oldld* | linux*aout* | linux*coff*)
  8125   dynamic_linker=no
  8126   ;;
  8127 
  8128 # This must be Linux ELF.
  8129 linux*)
  8130   version_type=linux
  8131   need_lib_prefix=no
  8132   need_version=no
  8133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8134   soname_spec='${libname}${release}${shared_ext}$major'
  8135   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8136   shlibpath_var=LD_LIBRARY_PATH
  8137   shlibpath_overrides_runpath=no
  8138   # This implies no fast_install, which is unacceptable.
  8139   # Some rework will be needed to allow for fast_install
  8140   # before this can be enabled.
  8141   hardcode_into_libs=yes
  8142 
  8143   # Append ld.so.conf contents to the search path
  8144   if test -f /etc/ld.so.conf; then
  8145     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' ' '`
  8146     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  8147   fi
  8148 
  8149   # We used to test for /lib/ld.so.1 and disable shared libraries on
  8150   # powerpc, because MkLinux only supported shared libraries with the
  8151   # GNU dynamic linker.  Since this was broken with cross compilers,
  8152   # most powerpc-linux boxes support dynamic linking these days and
  8153   # people can always --disable-shared, the test was removed, and we
  8154   # assume the GNU/Linux dynamic linker is in use.
  8155   dynamic_linker='GNU/Linux ld.so'
  8156   ;;
  8157 
  8158 knetbsd*-gnu)
  8159   version_type=linux
  8160   need_lib_prefix=no
  8161   need_version=no
  8162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8163   soname_spec='${libname}${release}${shared_ext}$major'
  8164   shlibpath_var=LD_LIBRARY_PATH
  8165   shlibpath_overrides_runpath=no
  8166   hardcode_into_libs=yes
  8167   dynamic_linker='GNU ld.so'
  8168   ;;
  8169 
  8170 netbsd*)
  8171   version_type=sunos
  8172   need_lib_prefix=no
  8173   need_version=no
  8174   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  8175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8176     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8177     dynamic_linker='NetBSD (a.out) ld.so'
  8178   else
  8179     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8180     soname_spec='${libname}${release}${shared_ext}$major'
  8181     dynamic_linker='NetBSD ld.elf_so'
  8182   fi
  8183   shlibpath_var=LD_LIBRARY_PATH
  8184   shlibpath_overrides_runpath=yes
  8185   hardcode_into_libs=yes
  8186   ;;
  8187 
  8188 newsos6)
  8189   version_type=linux
  8190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8191   shlibpath_var=LD_LIBRARY_PATH
  8192   shlibpath_overrides_runpath=yes
  8193   ;;
  8194 
  8195 nto-qnx*)
  8196   version_type=linux
  8197   need_lib_prefix=no
  8198   need_version=no
  8199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8200   soname_spec='${libname}${release}${shared_ext}$major'
  8201   shlibpath_var=LD_LIBRARY_PATH
  8202   shlibpath_overrides_runpath=yes
  8203   ;;
  8204 
  8205 openbsd*)
  8206   version_type=sunos
  8207   need_lib_prefix=no
  8208   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  8209   case $host_os in
  8210     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  8211     *)                         need_version=no  ;;
  8212   esac
  8213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8214   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8215   shlibpath_var=LD_LIBRARY_PATH
  8216   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8217     case $host_os in
  8218       openbsd2.[89] | openbsd2.[89].*)
  8219 	shlibpath_overrides_runpath=no
  8220 	;;
  8221       *)
  8222 	shlibpath_overrides_runpath=yes
  8223 	;;
  8224       esac
  8225   else
  8226     shlibpath_overrides_runpath=yes
  8227   fi
  8228   ;;
  8229 
  8230 os2*)
  8231   libname_spec='$name'
  8232   shrext_cmds=".dll"
  8233   need_lib_prefix=no
  8234   library_names_spec='$libname${shared_ext} $libname.a'
  8235   dynamic_linker='OS/2 ld.exe'
  8236   shlibpath_var=LIBPATH
  8237   ;;
  8238 
  8239 osf3* | osf4* | osf5*)
  8240   version_type=osf
  8241   need_lib_prefix=no
  8242   need_version=no
  8243   soname_spec='${libname}${release}${shared_ext}$major'
  8244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8245   shlibpath_var=LD_LIBRARY_PATH
  8246   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  8247   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  8248   ;;
  8249 
  8250 sco3.2v5*)
  8251   version_type=osf
  8252   soname_spec='${libname}${release}${shared_ext}$major'
  8253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8254   shlibpath_var=LD_LIBRARY_PATH
  8255   ;;
  8256 
  8257 solaris*)
  8258   version_type=linux
  8259   need_lib_prefix=no
  8260   need_version=no
  8261   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8262   soname_spec='${libname}${release}${shared_ext}$major'
  8263   shlibpath_var=LD_LIBRARY_PATH
  8264   shlibpath_overrides_runpath=yes
  8265   hardcode_into_libs=yes
  8266   # ldd complains unless libraries are executable
  8267   postinstall_cmds='chmod +x $lib'
  8268   ;;
  8269 
  8270 sunos4*)
  8271   version_type=sunos
  8272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8273   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  8274   shlibpath_var=LD_LIBRARY_PATH
  8275   shlibpath_overrides_runpath=yes
  8276   if test "$with_gnu_ld" = yes; then
  8277     need_lib_prefix=no
  8278   fi
  8279   need_version=yes
  8280   ;;
  8281 
  8282 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8283   version_type=linux
  8284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8285   soname_spec='${libname}${release}${shared_ext}$major'
  8286   shlibpath_var=LD_LIBRARY_PATH
  8287   case $host_vendor in
  8288     sni)
  8289       shlibpath_overrides_runpath=no
  8290       need_lib_prefix=no
  8291       export_dynamic_flag_spec='${wl}-Blargedynsym'
  8292       runpath_var=LD_RUN_PATH
  8293       ;;
  8294     siemens)
  8295       need_lib_prefix=no
  8296       ;;
  8297     motorola)
  8298       need_lib_prefix=no
  8299       need_version=no
  8300       shlibpath_overrides_runpath=no
  8301       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  8302       ;;
  8303   esac
  8304   ;;
  8305 
  8306 sysv4*MP*)
  8307   if test -d /usr/nec ;then
  8308     version_type=linux
  8309     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  8310     soname_spec='$libname${shared_ext}.$major'
  8311     shlibpath_var=LD_LIBRARY_PATH
  8312   fi
  8313   ;;
  8314 
  8315 uts4*)
  8316   version_type=linux
  8317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8318   soname_spec='${libname}${release}${shared_ext}$major'
  8319   shlibpath_var=LD_LIBRARY_PATH
  8320   ;;
  8321 
  8322 *)
  8323   dynamic_linker=no
  8324   ;;
  8325 esac
  8326 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  8327 echo "${ECHO_T}$dynamic_linker" >&6
  8328 test "$dynamic_linker" = no && can_build_shared=no
  8329 
  8330 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  8331 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
  8332 hardcode_action=
  8333 if test -n "$hardcode_libdir_flag_spec" || \
  8334    test -n "$runpath_var" || \
  8335    test "X$hardcode_automatic" = "Xyes" ; then
  8336 
  8337   # We can hardcode non-existant directories.
  8338   if test "$hardcode_direct" != no &&
  8339      # If the only mechanism to avoid hardcoding is shlibpath_var, we
  8340      # have to relink, otherwise we might link with an installed library
  8341      # when we should be linking with a yet-to-be-installed one
  8342      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  8343      test "$hardcode_minus_L" != no; then
  8344     # Linking always hardcodes the temporary library directory.
  8345     hardcode_action=relink
  8346   else
  8347     # We can link without hardcoding, and we can hardcode nonexisting dirs.
  8348     hardcode_action=immediate
  8349   fi
  8350 else
  8351   # We cannot hardcode anything, or else we can only hardcode existing
  8352   # directories.
  8353   hardcode_action=unsupported
  8354 fi
  8355 echo "$as_me:$LINENO: result: $hardcode_action" >&5
  8356 echo "${ECHO_T}$hardcode_action" >&6
  8357 
  8358 if test "$hardcode_action" = relink; then
  8359   # Fast installation is not supported
  8360   enable_fast_install=no
  8361 elif test "$shlibpath_overrides_runpath" = yes ||
  8362      test "$enable_shared" = no; then
  8363   # Fast installation is not necessary
  8364   enable_fast_install=needless
  8365 fi
  8366 
  8367 striplib=
  8368 old_striplib=
  8369 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  8370 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
  8371 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  8372   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  8373   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  8374   echo "$as_me:$LINENO: result: yes" >&5
  8375 echo "${ECHO_T}yes" >&6
  8376 else
  8377 # FIXME - insert some real tests, host_os isn't really good enough
  8378   case $host_os in
  8379    darwin*)
  8380        if test -n "$STRIP" ; then
  8381          striplib="$STRIP -x"
  8382          echo "$as_me:$LINENO: result: yes" >&5
  8383 echo "${ECHO_T}yes" >&6
  8384        else
  8385   echo "$as_me:$LINENO: result: no" >&5
  8386 echo "${ECHO_T}no" >&6
  8387 fi
  8388        ;;
  8389    *)
  8390   echo "$as_me:$LINENO: result: no" >&5
  8391 echo "${ECHO_T}no" >&6
  8392     ;;
  8393   esac
  8394 fi
  8395 
  8396 if test "x$enable_dlopen" != xyes; then
  8397   enable_dlopen=unknown
  8398   enable_dlopen_self=unknown
  8399   enable_dlopen_self_static=unknown
  8400 else
  8401   lt_cv_dlopen=no
  8402   lt_cv_dlopen_libs=
  8403 
  8404   case $host_os in
  8405   beos*)
  8406     lt_cv_dlopen="load_add_on"
  8407     lt_cv_dlopen_libs=
  8408     lt_cv_dlopen_self=yes
  8409     ;;
  8410 
  8411   mingw* | pw32*)
  8412     lt_cv_dlopen="LoadLibrary"
  8413     lt_cv_dlopen_libs=
  8414    ;;
  8415 
  8416   cygwin*)
  8417     lt_cv_dlopen="dlopen"
  8418     lt_cv_dlopen_libs=
  8419    ;;
  8420 
  8421   darwin*)
  8422   # if libdl is installed we need to link against it
  8423     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  8424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
  8425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  8426   echo $ECHO_N "(cached) $ECHO_C" >&6
  8427 else
  8428   ac_check_lib_save_LIBS=$LIBS
  8429 LIBS="-ldl  $LIBS"
  8430 cat >conftest.$ac_ext <<_ACEOF
  8431 /* confdefs.h.  */
  8432 _ACEOF
  8433 cat confdefs.h >>conftest.$ac_ext
  8434 cat >>conftest.$ac_ext <<_ACEOF
  8435 /* end confdefs.h.  */
  8436 
  8437 /* Override any gcc2 internal prototype to avoid an error.  */
  8438 #ifdef __cplusplus
  8439 extern "C"
  8440 #endif
  8441 /* We use char because int might match the return type of a gcc2
  8442    builtin and then its argument prototype would still apply.  */
  8443 char dlopen ();
  8444 int
  8445 main ()
  8446 {
  8447 dlopen ();
  8448   ;
  8449   return 0;
  8450 }
  8451 _ACEOF
  8452 rm -f conftest.$ac_objext conftest$ac_exeext
  8453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8454   (eval $ac_link) 2>conftest.er1
  8455   ac_status=$?
  8456   grep -v '^ *+' conftest.er1 >conftest.err
  8457   rm -f conftest.er1
  8458   cat conftest.err >&5
  8459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8460   (exit $ac_status); } &&
  8461 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8463   (eval $ac_try) 2>&5
  8464   ac_status=$?
  8465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8466   (exit $ac_status); }; } &&
  8467 	 { ac_try='test -s conftest$ac_exeext'
  8468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8469   (eval $ac_try) 2>&5
  8470   ac_status=$?
  8471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8472   (exit $ac_status); }; }; then
  8473   ac_cv_lib_dl_dlopen=yes
  8474 else
  8475   echo "$as_me: failed program was:" >&5
  8476 sed 's/^/| /' conftest.$ac_ext >&5
  8477 
  8478 ac_cv_lib_dl_dlopen=no
  8479 fi
  8480 rm -f conftest.err conftest.$ac_objext \
  8481       conftest$ac_exeext conftest.$ac_ext
  8482 LIBS=$ac_check_lib_save_LIBS
  8483 fi
  8484 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  8485 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
  8486 if test $ac_cv_lib_dl_dlopen = yes; then
  8487   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8488 else
  8489   
  8490     lt_cv_dlopen="dyld"
  8491     lt_cv_dlopen_libs=
  8492     lt_cv_dlopen_self=yes
  8493     
  8494 fi
  8495 
  8496    ;;
  8497 
  8498   *)
  8499     echo "$as_me:$LINENO: checking for shl_load" >&5
  8500 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
  8501 if test "${ac_cv_func_shl_load+set}" = set; then
  8502   echo $ECHO_N "(cached) $ECHO_C" >&6
  8503 else
  8504   cat >conftest.$ac_ext <<_ACEOF
  8505 /* confdefs.h.  */
  8506 _ACEOF
  8507 cat confdefs.h >>conftest.$ac_ext
  8508 cat >>conftest.$ac_ext <<_ACEOF
  8509 /* end confdefs.h.  */
  8510 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  8511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8512 #define shl_load innocuous_shl_load
  8513 
  8514 /* System header to define __stub macros and hopefully few prototypes,
  8515     which can conflict with char shl_load (); below.
  8516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8517     <limits.h> exists even on freestanding compilers.  */
  8518 
  8519 #ifdef __STDC__
  8520 # include <limits.h>
  8521 #else
  8522 # include <assert.h>
  8523 #endif
  8524 
  8525 #undef shl_load
  8526 
  8527 /* Override any gcc2 internal prototype to avoid an error.  */
  8528 #ifdef __cplusplus
  8529 extern "C"
  8530 {
  8531 #endif
  8532 /* We use char because int might match the return type of a gcc2
  8533    builtin and then its argument prototype would still apply.  */
  8534 char shl_load ();
  8535 /* The GNU C library defines this for functions which it implements
  8536     to always fail with ENOSYS.  Some functions are actually named
  8537     something starting with __ and the normal name is an alias.  */
  8538 #if defined (__stub_shl_load) || defined (__stub___shl_load)
  8539 choke me
  8540 #else
  8541 char (*f) () = shl_load;
  8542 #endif
  8543 #ifdef __cplusplus
  8544 }
  8545 #endif
  8546 
  8547 int
  8548 main ()
  8549 {
  8550 return f != shl_load;
  8551   ;
  8552   return 0;
  8553 }
  8554 _ACEOF
  8555 rm -f conftest.$ac_objext conftest$ac_exeext
  8556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8557   (eval $ac_link) 2>conftest.er1
  8558   ac_status=$?
  8559   grep -v '^ *+' conftest.er1 >conftest.err
  8560   rm -f conftest.er1
  8561   cat conftest.err >&5
  8562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8563   (exit $ac_status); } &&
  8564 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8566   (eval $ac_try) 2>&5
  8567   ac_status=$?
  8568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8569   (exit $ac_status); }; } &&
  8570 	 { ac_try='test -s conftest$ac_exeext'
  8571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8572   (eval $ac_try) 2>&5
  8573   ac_status=$?
  8574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8575   (exit $ac_status); }; }; then
  8576   ac_cv_func_shl_load=yes
  8577 else
  8578   echo "$as_me: failed program was:" >&5
  8579 sed 's/^/| /' conftest.$ac_ext >&5
  8580 
  8581 ac_cv_func_shl_load=no
  8582 fi
  8583 rm -f conftest.err conftest.$ac_objext \
  8584       conftest$ac_exeext conftest.$ac_ext
  8585 fi
  8586 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  8587 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
  8588 if test $ac_cv_func_shl_load = yes; then
  8589   lt_cv_dlopen="shl_load"
  8590 else
  8591   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  8592 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
  8593 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  8594   echo $ECHO_N "(cached) $ECHO_C" >&6
  8595 else
  8596   ac_check_lib_save_LIBS=$LIBS
  8597 LIBS="-ldld  $LIBS"
  8598 cat >conftest.$ac_ext <<_ACEOF
  8599 /* confdefs.h.  */
  8600 _ACEOF
  8601 cat confdefs.h >>conftest.$ac_ext
  8602 cat >>conftest.$ac_ext <<_ACEOF
  8603 /* end confdefs.h.  */
  8604 
  8605 /* Override any gcc2 internal prototype to avoid an error.  */
  8606 #ifdef __cplusplus
  8607 extern "C"
  8608 #endif
  8609 /* We use char because int might match the return type of a gcc2
  8610    builtin and then its argument prototype would still apply.  */
  8611 char shl_load ();
  8612 int
  8613 main ()
  8614 {
  8615 shl_load ();
  8616   ;
  8617   return 0;
  8618 }
  8619 _ACEOF
  8620 rm -f conftest.$ac_objext conftest$ac_exeext
  8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8622   (eval $ac_link) 2>conftest.er1
  8623   ac_status=$?
  8624   grep -v '^ *+' conftest.er1 >conftest.err
  8625   rm -f conftest.er1
  8626   cat conftest.err >&5
  8627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8628   (exit $ac_status); } &&
  8629 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8631   (eval $ac_try) 2>&5
  8632   ac_status=$?
  8633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8634   (exit $ac_status); }; } &&
  8635 	 { ac_try='test -s conftest$ac_exeext'
  8636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8637   (eval $ac_try) 2>&5
  8638   ac_status=$?
  8639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8640   (exit $ac_status); }; }; then
  8641   ac_cv_lib_dld_shl_load=yes
  8642 else
  8643   echo "$as_me: failed program was:" >&5
  8644 sed 's/^/| /' conftest.$ac_ext >&5
  8645 
  8646 ac_cv_lib_dld_shl_load=no
  8647 fi
  8648 rm -f conftest.err conftest.$ac_objext \
  8649       conftest$ac_exeext conftest.$ac_ext
  8650 LIBS=$ac_check_lib_save_LIBS
  8651 fi
  8652 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  8653 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
  8654 if test $ac_cv_lib_dld_shl_load = yes; then
  8655   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  8656 else
  8657   echo "$as_me:$LINENO: checking for dlopen" >&5
  8658 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
  8659 if test "${ac_cv_func_dlopen+set}" = set; then
  8660   echo $ECHO_N "(cached) $ECHO_C" >&6
  8661 else
  8662   cat >conftest.$ac_ext <<_ACEOF
  8663 /* confdefs.h.  */
  8664 _ACEOF
  8665 cat confdefs.h >>conftest.$ac_ext
  8666 cat >>conftest.$ac_ext <<_ACEOF
  8667 /* end confdefs.h.  */
  8668 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  8669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8670 #define dlopen innocuous_dlopen
  8671 
  8672 /* System header to define __stub macros and hopefully few prototypes,
  8673     which can conflict with char dlopen (); below.
  8674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8675     <limits.h> exists even on freestanding compilers.  */
  8676 
  8677 #ifdef __STDC__
  8678 # include <limits.h>
  8679 #else
  8680 # include <assert.h>
  8681 #endif
  8682 
  8683 #undef dlopen
  8684 
  8685 /* Override any gcc2 internal prototype to avoid an error.  */
  8686 #ifdef __cplusplus
  8687 extern "C"
  8688 {
  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 dlopen ();
  8693 /* The GNU C library defines this for functions which it implements
  8694     to always fail with ENOSYS.  Some functions are actually named
  8695     something starting with __ and the normal name is an alias.  */
  8696 #if defined (__stub_dlopen) || defined (__stub___dlopen)
  8697 choke me
  8698 #else
  8699 char (*f) () = dlopen;
  8700 #endif
  8701 #ifdef __cplusplus
  8702 }
  8703 #endif
  8704 
  8705 int
  8706 main ()
  8707 {
  8708 return f != dlopen;
  8709   ;
  8710   return 0;
  8711 }
  8712 _ACEOF
  8713 rm -f conftest.$ac_objext conftest$ac_exeext
  8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8715   (eval $ac_link) 2>conftest.er1
  8716   ac_status=$?
  8717   grep -v '^ *+' conftest.er1 >conftest.err
  8718   rm -f conftest.er1
  8719   cat conftest.err >&5
  8720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8721   (exit $ac_status); } &&
  8722 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8724   (eval $ac_try) 2>&5
  8725   ac_status=$?
  8726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8727   (exit $ac_status); }; } &&
  8728 	 { ac_try='test -s conftest$ac_exeext'
  8729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8730   (eval $ac_try) 2>&5
  8731   ac_status=$?
  8732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8733   (exit $ac_status); }; }; then
  8734   ac_cv_func_dlopen=yes
  8735 else
  8736   echo "$as_me: failed program was:" >&5
  8737 sed 's/^/| /' conftest.$ac_ext >&5
  8738 
  8739 ac_cv_func_dlopen=no
  8740 fi
  8741 rm -f conftest.err conftest.$ac_objext \
  8742       conftest$ac_exeext conftest.$ac_ext
  8743 fi
  8744 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  8745 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
  8746 if test $ac_cv_func_dlopen = yes; then
  8747   lt_cv_dlopen="dlopen"
  8748 else
  8749   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  8750 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
  8751 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  8752   echo $ECHO_N "(cached) $ECHO_C" >&6
  8753 else
  8754   ac_check_lib_save_LIBS=$LIBS
  8755 LIBS="-ldl  $LIBS"
  8756 cat >conftest.$ac_ext <<_ACEOF
  8757 /* confdefs.h.  */
  8758 _ACEOF
  8759 cat confdefs.h >>conftest.$ac_ext
  8760 cat >>conftest.$ac_ext <<_ACEOF
  8761 /* end confdefs.h.  */
  8762 
  8763 /* Override any gcc2 internal prototype to avoid an error.  */
  8764 #ifdef __cplusplus
  8765 extern "C"
  8766 #endif
  8767 /* We use char because int might match the return type of a gcc2
  8768    builtin and then its argument prototype would still apply.  */
  8769 char dlopen ();
  8770 int
  8771 main ()
  8772 {
  8773 dlopen ();
  8774   ;
  8775   return 0;
  8776 }
  8777 _ACEOF
  8778 rm -f conftest.$ac_objext conftest$ac_exeext
  8779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8780   (eval $ac_link) 2>conftest.er1
  8781   ac_status=$?
  8782   grep -v '^ *+' conftest.er1 >conftest.err
  8783   rm -f conftest.er1
  8784   cat conftest.err >&5
  8785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8786   (exit $ac_status); } &&
  8787 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8789   (eval $ac_try) 2>&5
  8790   ac_status=$?
  8791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8792   (exit $ac_status); }; } &&
  8793 	 { ac_try='test -s conftest$ac_exeext'
  8794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8795   (eval $ac_try) 2>&5
  8796   ac_status=$?
  8797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8798   (exit $ac_status); }; }; then
  8799   ac_cv_lib_dl_dlopen=yes
  8800 else
  8801   echo "$as_me: failed program was:" >&5
  8802 sed 's/^/| /' conftest.$ac_ext >&5
  8803 
  8804 ac_cv_lib_dl_dlopen=no
  8805 fi
  8806 rm -f conftest.err conftest.$ac_objext \
  8807       conftest$ac_exeext conftest.$ac_ext
  8808 LIBS=$ac_check_lib_save_LIBS
  8809 fi
  8810 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  8811 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
  8812 if test $ac_cv_lib_dl_dlopen = yes; then
  8813   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8814 else
  8815   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  8816 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
  8817 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  8818   echo $ECHO_N "(cached) $ECHO_C" >&6
  8819 else
  8820   ac_check_lib_save_LIBS=$LIBS
  8821 LIBS="-lsvld  $LIBS"
  8822 cat >conftest.$ac_ext <<_ACEOF
  8823 /* confdefs.h.  */
  8824 _ACEOF
  8825 cat confdefs.h >>conftest.$ac_ext
  8826 cat >>conftest.$ac_ext <<_ACEOF
  8827 /* end confdefs.h.  */
  8828 
  8829 /* Override any gcc2 internal prototype to avoid an error.  */
  8830 #ifdef __cplusplus
  8831 extern "C"
  8832 #endif
  8833 /* We use char because int might match the return type of a gcc2
  8834    builtin and then its argument prototype would still apply.  */
  8835 char dlopen ();
  8836 int
  8837 main ()
  8838 {
  8839 dlopen ();
  8840   ;
  8841   return 0;
  8842 }
  8843 _ACEOF
  8844 rm -f conftest.$ac_objext conftest$ac_exeext
  8845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8846   (eval $ac_link) 2>conftest.er1
  8847   ac_status=$?
  8848   grep -v '^ *+' conftest.er1 >conftest.err
  8849   rm -f conftest.er1
  8850   cat conftest.err >&5
  8851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8852   (exit $ac_status); } &&
  8853 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8855   (eval $ac_try) 2>&5
  8856   ac_status=$?
  8857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8858   (exit $ac_status); }; } &&
  8859 	 { ac_try='test -s conftest$ac_exeext'
  8860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8861   (eval $ac_try) 2>&5
  8862   ac_status=$?
  8863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8864   (exit $ac_status); }; }; then
  8865   ac_cv_lib_svld_dlopen=yes
  8866 else
  8867   echo "$as_me: failed program was:" >&5
  8868 sed 's/^/| /' conftest.$ac_ext >&5
  8869 
  8870 ac_cv_lib_svld_dlopen=no
  8871 fi
  8872 rm -f conftest.err conftest.$ac_objext \
  8873       conftest$ac_exeext conftest.$ac_ext
  8874 LIBS=$ac_check_lib_save_LIBS
  8875 fi
  8876 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  8877 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
  8878 if test $ac_cv_lib_svld_dlopen = yes; then
  8879   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  8880 else
  8881   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  8882 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
  8883 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  8884   echo $ECHO_N "(cached) $ECHO_C" >&6
  8885 else
  8886   ac_check_lib_save_LIBS=$LIBS
  8887 LIBS="-ldld  $LIBS"
  8888 cat >conftest.$ac_ext <<_ACEOF
  8889 /* confdefs.h.  */
  8890 _ACEOF
  8891 cat confdefs.h >>conftest.$ac_ext
  8892 cat >>conftest.$ac_ext <<_ACEOF
  8893 /* end confdefs.h.  */
  8894 
  8895 /* Override any gcc2 internal prototype to avoid an error.  */
  8896 #ifdef __cplusplus
  8897 extern "C"
  8898 #endif
  8899 /* We use char because int might match the return type of a gcc2
  8900    builtin and then its argument prototype would still apply.  */
  8901 char dld_link ();
  8902 int
  8903 main ()
  8904 {
  8905 dld_link ();
  8906   ;
  8907   return 0;
  8908 }
  8909 _ACEOF
  8910 rm -f conftest.$ac_objext conftest$ac_exeext
  8911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8912   (eval $ac_link) 2>conftest.er1
  8913   ac_status=$?
  8914   grep -v '^ *+' conftest.er1 >conftest.err
  8915   rm -f conftest.er1
  8916   cat conftest.err >&5
  8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8918   (exit $ac_status); } &&
  8919 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8921   (eval $ac_try) 2>&5
  8922   ac_status=$?
  8923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8924   (exit $ac_status); }; } &&
  8925 	 { ac_try='test -s conftest$ac_exeext'
  8926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8927   (eval $ac_try) 2>&5
  8928   ac_status=$?
  8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8930   (exit $ac_status); }; }; then
  8931   ac_cv_lib_dld_dld_link=yes
  8932 else
  8933   echo "$as_me: failed program was:" >&5
  8934 sed 's/^/| /' conftest.$ac_ext >&5
  8935 
  8936 ac_cv_lib_dld_dld_link=no
  8937 fi
  8938 rm -f conftest.err conftest.$ac_objext \
  8939       conftest$ac_exeext conftest.$ac_ext
  8940 LIBS=$ac_check_lib_save_LIBS
  8941 fi
  8942 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  8943 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
  8944 if test $ac_cv_lib_dld_dld_link = yes; then
  8945   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  8946 fi
  8947 
  8948 	      
  8949 fi
  8950 
  8951 	    
  8952 fi
  8953 
  8954 	  
  8955 fi
  8956 
  8957 	
  8958 fi
  8959 
  8960       
  8961 fi
  8962 
  8963     ;;
  8964   esac
  8965 
  8966   if test "x$lt_cv_dlopen" != xno; then
  8967     enable_dlopen=yes
  8968   else
  8969     enable_dlopen=no
  8970   fi
  8971 
  8972   case $lt_cv_dlopen in
  8973   dlopen)
  8974     save_CPPFLAGS="$CPPFLAGS"
  8975     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  8976 
  8977     save_LDFLAGS="$LDFLAGS"
  8978     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  8979 
  8980     save_LIBS="$LIBS"
  8981     LIBS="$lt_cv_dlopen_libs $LIBS"
  8982 
  8983     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  8984 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
  8985 if test "${lt_cv_dlopen_self+set}" = set; then
  8986   echo $ECHO_N "(cached) $ECHO_C" >&6
  8987 else
  8988   	  if test "$cross_compiling" = yes; then :
  8989   lt_cv_dlopen_self=cross
  8990 else
  8991   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8992   lt_status=$lt_dlunknown
  8993   cat > conftest.$ac_ext <<EOF
  8994 #line __oline__ "configure"
  8995 #include "confdefs.h"
  8996 
  8997 #if HAVE_DLFCN_H
  8998 #include <dlfcn.h>
  8999 #endif
  9000 
  9001 #include <stdio.h>
  9002 
  9003 #ifdef RTLD_GLOBAL
  9004 #  define LT_DLGLOBAL		RTLD_GLOBAL
  9005 #else
  9006 #  ifdef DL_GLOBAL
  9007 #    define LT_DLGLOBAL		DL_GLOBAL
  9008 #  else
  9009 #    define LT_DLGLOBAL		0
  9010 #  endif
  9011 #endif
  9012 
  9013 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9014    find out it does not work in some platform. */
  9015 #ifndef LT_DLLAZY_OR_NOW
  9016 #  ifdef RTLD_LAZY
  9017 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  9018 #  else
  9019 #    ifdef DL_LAZY
  9020 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  9021 #    else
  9022 #      ifdef RTLD_NOW
  9023 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  9024 #      else
  9025 #        ifdef DL_NOW
  9026 #          define LT_DLLAZY_OR_NOW	DL_NOW
  9027 #        else
  9028 #          define LT_DLLAZY_OR_NOW	0
  9029 #        endif
  9030 #      endif
  9031 #    endif
  9032 #  endif
  9033 #endif
  9034 
  9035 #ifdef __cplusplus
  9036 extern "C" void exit (int);
  9037 #endif
  9038 
  9039 void fnord() { int i=42;}
  9040 int main ()
  9041 {
  9042   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9043   int status = $lt_dlunknown;
  9044 
  9045   if (self)
  9046     {
  9047       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  9048       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9049       /* dlclose (self); */
  9050     }
  9051 
  9052     exit (status);
  9053 }
  9054 EOF
  9055   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9056   (eval $ac_link) 2>&5
  9057   ac_status=$?
  9058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9059   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  9060     (./conftest; exit; ) >&5 2>/dev/null
  9061     lt_status=$?
  9062     case x$lt_status in
  9063       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  9064       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  9065       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
  9066     esac
  9067   else :
  9068     # compilation failed
  9069     lt_cv_dlopen_self=no
  9070   fi
  9071 fi
  9072 rm -fr conftest*
  9073 
  9074     
  9075 fi
  9076 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  9077 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
  9078 
  9079     if test "x$lt_cv_dlopen_self" = xyes; then
  9080       LDFLAGS="$LDFLAGS $link_static_flag"
  9081       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  9082 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
  9083 if test "${lt_cv_dlopen_self_static+set}" = set; then
  9084   echo $ECHO_N "(cached) $ECHO_C" >&6
  9085 else
  9086   	  if test "$cross_compiling" = yes; then :
  9087   lt_cv_dlopen_self_static=cross
  9088 else
  9089   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9090   lt_status=$lt_dlunknown
  9091   cat > conftest.$ac_ext <<EOF
  9092 #line __oline__ "configure"
  9093 #include "confdefs.h"
  9094 
  9095 #if HAVE_DLFCN_H
  9096 #include <dlfcn.h>
  9097 #endif
  9098 
  9099 #include <stdio.h>
  9100 
  9101 #ifdef RTLD_GLOBAL
  9102 #  define LT_DLGLOBAL		RTLD_GLOBAL
  9103 #else
  9104 #  ifdef DL_GLOBAL
  9105 #    define LT_DLGLOBAL		DL_GLOBAL
  9106 #  else
  9107 #    define LT_DLGLOBAL		0
  9108 #  endif
  9109 #endif
  9110 
  9111 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9112    find out it does not work in some platform. */
  9113 #ifndef LT_DLLAZY_OR_NOW
  9114 #  ifdef RTLD_LAZY
  9115 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  9116 #  else
  9117 #    ifdef DL_LAZY
  9118 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  9119 #    else
  9120 #      ifdef RTLD_NOW
  9121 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  9122 #      else
  9123 #        ifdef DL_NOW
  9124 #          define LT_DLLAZY_OR_NOW	DL_NOW
  9125 #        else
  9126 #          define LT_DLLAZY_OR_NOW	0
  9127 #        endif
  9128 #      endif
  9129 #    endif
  9130 #  endif
  9131 #endif
  9132 
  9133 #ifdef __cplusplus
  9134 extern "C" void exit (int);
  9135 #endif
  9136 
  9137 void fnord() { int i=42;}
  9138 int main ()
  9139 {
  9140   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9141   int status = $lt_dlunknown;
  9142 
  9143   if (self)
  9144     {
  9145       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  9146       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9147       /* dlclose (self); */
  9148     }
  9149 
  9150     exit (status);
  9151 }
  9152 EOF
  9153   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9154   (eval $ac_link) 2>&5
  9155   ac_status=$?
  9156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9157   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  9158     (./conftest; exit; ) >&5 2>/dev/null
  9159     lt_status=$?
  9160     case x$lt_status in
  9161       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  9162       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  9163       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
  9164     esac
  9165   else :
  9166     # compilation failed
  9167     lt_cv_dlopen_self_static=no
  9168   fi
  9169 fi
  9170 rm -fr conftest*
  9171 
  9172       
  9173 fi
  9174 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  9175 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
  9176     fi
  9177 
  9178     CPPFLAGS="$save_CPPFLAGS"
  9179     LDFLAGS="$save_LDFLAGS"
  9180     LIBS="$save_LIBS"
  9181     ;;
  9182   esac
  9183 
  9184   case $lt_cv_dlopen_self in
  9185   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9186   *) enable_dlopen_self=unknown ;;
  9187   esac
  9188 
  9189   case $lt_cv_dlopen_self_static in
  9190   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9191   *) enable_dlopen_self_static=unknown ;;
  9192   esac
  9193 fi
  9194 
  9195 
  9196 # Report which librarie types wil actually be built
  9197 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  9198 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
  9199 echo "$as_me:$LINENO: result: $can_build_shared" >&5
  9200 echo "${ECHO_T}$can_build_shared" >&6
  9201 
  9202 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  9203 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
  9204 test "$can_build_shared" = "no" && enable_shared=no
  9205 
  9206 # On AIX, shared libraries and static libraries use the same namespace, and
  9207 # are all built from PIC.
  9208 case $host_os in
  9209 aix3*)
  9210   test "$enable_shared" = yes && enable_static=no
  9211   if test -n "$RANLIB"; then
  9212     archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9213     postinstall_cmds='$RANLIB $lib'
  9214   fi
  9215   ;;
  9216 
  9217 aix4* | aix5*)
  9218   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9219     test "$enable_shared" = yes && enable_static=no
  9220   fi
  9221     ;;
  9222 esac
  9223 echo "$as_me:$LINENO: result: $enable_shared" >&5
  9224 echo "${ECHO_T}$enable_shared" >&6
  9225 
  9226 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  9227 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
  9228 # Make sure either enable_shared or enable_static is yes.
  9229 test "$enable_shared" = yes || enable_static=yes
  9230 echo "$as_me:$LINENO: result: $enable_static" >&5
  9231 echo "${ECHO_T}$enable_static" >&6
  9232 
  9233 # The else clause should only fire when bootstrapping the
  9234 # libtool distribution, otherwise you forgot to ship ltmain.sh
  9235 # with your package, and you will get complaints that there are
  9236 # no rules to generate ltmain.sh.
  9237 if test -f "$ltmain"; then
  9238   # See if we are running on zsh, and set the options which allow our commands through
  9239   # without removal of \ escapes.
  9240   if test -n "${ZSH_VERSION+set}" ; then
  9241     setopt NO_GLOB_SUBST
  9242   fi
  9243   # Now quote all the things that may contain metacharacters while being
  9244   # careful not to overquote the AC_SUBSTed values.  We take copies of the
  9245   # variables and quote the copies for generation of the libtool script.
  9246   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
  9247     SED SHELL STRIP \
  9248     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  9249     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  9250     deplibs_check_method reload_flag reload_cmds need_locks \
  9251     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  9252     lt_cv_sys_global_symbol_to_c_name_address \
  9253     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  9254     old_postinstall_cmds old_postuninstall_cmds \
  9255     compiler \
  9256     CC \
  9257     LD \
  9258     lt_prog_compiler_wl \
  9259     lt_prog_compiler_pic \
  9260     lt_prog_compiler_static \
  9261     lt_prog_compiler_no_builtin_flag \
  9262     export_dynamic_flag_spec \
  9263     thread_safe_flag_spec \
  9264     whole_archive_flag_spec \
  9265     enable_shared_with_static_runtimes \
  9266     old_archive_cmds \
  9267     old_archive_from_new_cmds \
  9268     predep_objects \
  9269     postdep_objects \
  9270     predeps \
  9271     postdeps \
  9272     compiler_lib_search_path \
  9273     archive_cmds \
  9274     archive_expsym_cmds \
  9275     postinstall_cmds \
  9276     postuninstall_cmds \
  9277     old_archive_from_expsyms_cmds \
  9278     allow_undefined_flag \
  9279     no_undefined_flag \
  9280     export_symbols_cmds \
  9281     hardcode_libdir_flag_spec \
  9282     hardcode_libdir_flag_spec_ld \
  9283     hardcode_libdir_separator \
  9284     hardcode_automatic \
  9285     module_cmds \
  9286     module_expsym_cmds \
  9287     lt_cv_prog_compiler_c_o \
  9288     exclude_expsyms \
  9289     include_expsyms; do
  9290 
  9291     case $var in
  9292     old_archive_cmds | \
  9293     old_archive_from_new_cmds | \
  9294     archive_cmds | \
  9295     archive_expsym_cmds | \
  9296     module_cmds | \
  9297     module_expsym_cmds | \
  9298     old_archive_from_expsyms_cmds | \
  9299     export_symbols_cmds | \
  9300     extract_expsyms_cmds | reload_cmds | finish_cmds | \
  9301     postinstall_cmds | postuninstall_cmds | \
  9302     old_postinstall_cmds | old_postuninstall_cmds | \
  9303     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  9304       # Double-quote double-evaled strings.
  9305       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  9306       ;;
  9307     *)
  9308       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  9309       ;;
  9310     esac
  9311   done
  9312 
  9313   case $lt_echo in
  9314   *'\$0 --fallback-echo"')
  9315     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  9316     ;;
  9317   esac
  9318 
  9319 cfgfile="${ofile}T"
  9320   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  9321   $rm -f "$cfgfile"
  9322   { echo "$as_me:$LINENO: creating $ofile" >&5
  9323 echo "$as_me: creating $ofile" >&6;}
  9324 
  9325   cat <<__EOF__ >> "$cfgfile"
  9326 #! $SHELL
  9327 
  9328 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  9329 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  9330 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  9331 #
  9332 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  9333 # Free Software Foundation, Inc.
  9334 #
  9335 # This file is part of GNU Libtool:
  9336 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  9337 #
  9338 # This program is free software; you can redistribute it and/or modify
  9339 # it under the terms of the GNU General Public License as published by
  9340 # the Free Software Foundation; either version 2 of the License, or
  9341 # (at your option) any later version.
  9342 #
  9343 # This program is distributed in the hope that it will be useful, but
  9344 # WITHOUT ANY WARRANTY; without even the implied warranty of
  9345 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  9346 # General Public License for more details.
  9347 #
  9348 # You should have received a copy of the GNU General Public License
  9349 # along with this program; if not, write to the Free Software
  9350 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  9351 #
  9352 # As a special exception to the GNU General Public License, if you
  9353 # distribute this file as part of a program that contains a
  9354 # configuration script generated by Autoconf, you may include it under
  9355 # the same distribution terms that you use for the rest of that program.
  9356 
  9357 # A sed program that does not truncate output.
  9358 SED=$lt_SED
  9359 
  9360 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  9361 Xsed="$SED -e 1s/^X//"
  9362 
  9363 # The HP-UX ksh and POSIX shell print the target directory to stdout
  9364 # if CDPATH is set.
  9365 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9366 
  9367 # The names of the tagged configurations supported by this script.
  9368 available_tags=
  9369 
  9370 # ### BEGIN LIBTOOL CONFIG
  9371 
  9372 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  9373 
  9374 # Shell to use when invoking shell scripts.
  9375 SHELL=$lt_SHELL
  9376 
  9377 # Whether or not to build shared libraries.
  9378 build_libtool_libs=$enable_shared
  9379 
  9380 # Whether or not to build static libraries.
  9381 build_old_libs=$enable_static
  9382 
  9383 # Whether or not to add -lc for building shared libraries.
  9384 build_libtool_need_lc=$archive_cmds_need_lc
  9385 
  9386 # Whether or not to disallow shared libs when runtime libs are static
  9387 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  9388 
  9389 # Whether or not to optimize for fast installation.
  9390 fast_install=$enable_fast_install
  9391 
  9392 # The host system.
  9393 host_alias=$host_alias
  9394 host=$host
  9395 host_os=$host_os
  9396 
  9397 # The build system.
  9398 build_alias=$build_alias
  9399 build=$build
  9400 build_os=$build_os
  9401 
  9402 # An echo program that does not interpret backslashes.
  9403 echo=$lt_echo
  9404 
  9405 # The archiver.
  9406 AR=$lt_AR
  9407 AR_FLAGS=$lt_AR_FLAGS
  9408 
  9409 # A C compiler.
  9410 LTCC=$lt_LTCC
  9411 
  9412 # A language-specific compiler.
  9413 CC=$lt_compiler
  9414 
  9415 # Is the compiler the GNU C compiler?
  9416 with_gcc=$GCC
  9417 
  9418 # An ERE matcher.
  9419 EGREP=$lt_EGREP
  9420 
  9421 # The linker used to build libraries.
  9422 LD=$lt_LD
  9423 
  9424 # Whether we need hard or soft links.
  9425 LN_S=$lt_LN_S
  9426 
  9427 # A BSD-compatible nm program.
  9428 NM=$lt_NM
  9429 
  9430 # A symbol stripping program
  9431 STRIP=$lt_STRIP
  9432 
  9433 # Used to examine libraries when file_magic_cmd begins "file"
  9434 MAGIC_CMD=$MAGIC_CMD
  9435 
  9436 # Used on cygwin: DLL creation program.
  9437 DLLTOOL="$DLLTOOL"
  9438 
  9439 # Used on cygwin: object dumper.
  9440 OBJDUMP="$OBJDUMP"
  9441 
  9442 # Used on cygwin: assembler.
  9443 AS="$AS"
  9444 
  9445 # The name of the directory that contains temporary libtool files.
  9446 objdir=$objdir
  9447 
  9448 # How to create reloadable object files.
  9449 reload_flag=$lt_reload_flag
  9450 reload_cmds=$lt_reload_cmds
  9451 
  9452 # How to pass a linker flag through the compiler.
  9453 wl=$lt_lt_prog_compiler_wl
  9454 
  9455 # Object file suffix (normally "o").
  9456 objext="$ac_objext"
  9457 
  9458 # Old archive suffix (normally "a").
  9459 libext="$libext"
  9460 
  9461 # Shared library suffix (normally ".so").
  9462 shrext_cmds='$shrext_cmds'
  9463 
  9464 # Executable file suffix (normally "").
  9465 exeext="$exeext"
  9466 
  9467 # Additional compiler flags for building library objects.
  9468 pic_flag=$lt_lt_prog_compiler_pic
  9469 pic_mode=$pic_mode
  9470 
  9471 # What is the maximum length of a command?
  9472 max_cmd_len=$lt_cv_sys_max_cmd_len
  9473 
  9474 # Does compiler simultaneously support -c and -o options?
  9475 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  9476 
  9477 # Must we lock files when doing compilation?
  9478 need_locks=$lt_need_locks
  9479 
  9480 # Do we need the lib prefix for modules?
  9481 need_lib_prefix=$need_lib_prefix
  9482 
  9483 # Do we need a version for libraries?
  9484 need_version=$need_version
  9485 
  9486 # Whether dlopen is supported.
  9487 dlopen_support=$enable_dlopen
  9488 
  9489 # Whether dlopen of programs is supported.
  9490 dlopen_self=$enable_dlopen_self
  9491 
  9492 # Whether dlopen of statically linked programs is supported.
  9493 dlopen_self_static=$enable_dlopen_self_static
  9494 
  9495 # Compiler flag to prevent dynamic linking.
  9496 link_static_flag=$lt_lt_prog_compiler_static
  9497 
  9498 # Compiler flag to turn off builtin functions.
  9499 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  9500 
  9501 # Compiler flag to allow reflexive dlopens.
  9502 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  9503 
  9504 # Compiler flag to generate shared objects directly from archives.
  9505 whole_archive_flag_spec=$lt_whole_archive_flag_spec
  9506 
  9507 # Compiler flag to generate thread-safe objects.
  9508 thread_safe_flag_spec=$lt_thread_safe_flag_spec
  9509 
  9510 # Library versioning type.
  9511 version_type=$version_type
  9512 
  9513 # Format of library name prefix.
  9514 libname_spec=$lt_libname_spec
  9515 
  9516 # List of archive names.  First name is the real one, the rest are links.
  9517 # The last name is the one that the linker finds with -lNAME.
  9518 library_names_spec=$lt_library_names_spec
  9519 
  9520 # The coded name of the library, if different from the real name.
  9521 soname_spec=$lt_soname_spec
  9522 
  9523 # Commands used to build and install an old-style archive.
  9524 RANLIB=$lt_RANLIB
  9525 old_archive_cmds=$lt_old_archive_cmds
  9526 old_postinstall_cmds=$lt_old_postinstall_cmds
  9527 old_postuninstall_cmds=$lt_old_postuninstall_cmds
  9528 
  9529 # Create an old-style archive from a shared archive.
  9530 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  9531 
  9532 # Create a temporary old-style archive to link instead of a shared archive.
  9533 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  9534 
  9535 # Commands used to build and install a shared archive.
  9536 archive_cmds=$lt_archive_cmds
  9537 archive_expsym_cmds=$lt_archive_expsym_cmds
  9538 postinstall_cmds=$lt_postinstall_cmds
  9539 postuninstall_cmds=$lt_postuninstall_cmds
  9540 
  9541 # Commands used to build a loadable module (assumed same as above if empty)
  9542 module_cmds=$lt_module_cmds
  9543 module_expsym_cmds=$lt_module_expsym_cmds
  9544 
  9545 # Commands to strip libraries.
  9546 old_striplib=$lt_old_striplib
  9547 striplib=$lt_striplib
  9548 
  9549 # Dependencies to place before the objects being linked to create a
  9550 # shared library.
  9551 predep_objects=$lt_predep_objects
  9552 
  9553 # Dependencies to place after the objects being linked to create a
  9554 # shared library.
  9555 postdep_objects=$lt_postdep_objects
  9556 
  9557 # Dependencies to place before the objects being linked to create a
  9558 # shared library.
  9559 predeps=$lt_predeps
  9560 
  9561 # Dependencies to place after the objects being linked to create a
  9562 # shared library.
  9563 postdeps=$lt_postdeps
  9564 
  9565 # The library search path used internally by the compiler when linking
  9566 # a shared library.
  9567 compiler_lib_search_path=$lt_compiler_lib_search_path
  9568 
  9569 # Method to check whether dependent libraries are shared objects.
  9570 deplibs_check_method=$lt_deplibs_check_method
  9571 
  9572 # Command to use when deplibs_check_method == file_magic.
  9573 file_magic_cmd=$lt_file_magic_cmd
  9574 
  9575 # Flag that allows shared libraries with undefined symbols to be built.
  9576 allow_undefined_flag=$lt_allow_undefined_flag
  9577 
  9578 # Flag that forces no undefined symbols.
  9579 no_undefined_flag=$lt_no_undefined_flag
  9580 
  9581 # Commands used to finish a libtool library installation in a directory.
  9582 finish_cmds=$lt_finish_cmds
  9583 
  9584 # Same as above, but a single script fragment to be evaled but not shown.
  9585 finish_eval=$lt_finish_eval
  9586 
  9587 # Take the output of nm and produce a listing of raw symbols and C names.
  9588 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  9589 
  9590 # Transform the output of nm in a proper C declaration
  9591 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  9592 
  9593 # Transform the output of nm in a C name address pair
  9594 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  9595 
  9596 # This is the shared library runtime path variable.
  9597 runpath_var=$runpath_var
  9598 
  9599 # This is the shared library path variable.
  9600 shlibpath_var=$shlibpath_var
  9601 
  9602 # Is shlibpath searched before the hard-coded library search path?
  9603 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  9604 
  9605 # How to hardcode a shared library path into an executable.
  9606 hardcode_action=$hardcode_action
  9607 
  9608 # Whether we should hardcode library paths into libraries.
  9609 hardcode_into_libs=$hardcode_into_libs
  9610 
  9611 # Flag to hardcode \$libdir into a binary during linking.
  9612 # This must work even if \$libdir does not exist.
  9613 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  9614 
  9615 # If ld is used when linking, flag to hardcode \$libdir into
  9616 # a binary during linking. This must work even if \$libdir does
  9617 # not exist.
  9618 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  9619 
  9620 # Whether we need a single -rpath flag with a separated argument.
  9621 hardcode_libdir_separator=$lt_hardcode_libdir_separator
  9622 
  9623 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  9624 # resulting binary.
  9625 hardcode_direct=$hardcode_direct
  9626 
  9627 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  9628 # resulting binary.
  9629 hardcode_minus_L=$hardcode_minus_L
  9630 
  9631 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  9632 # the resulting binary.
  9633 hardcode_shlibpath_var=$hardcode_shlibpath_var
  9634 
  9635 # Set to yes if building a shared library automatically hardcodes DIR into the library
  9636 # and all subsequent libraries and executables linked against it.
  9637 hardcode_automatic=$hardcode_automatic
  9638 
  9639 # Variables whose values should be saved in libtool wrapper scripts and
  9640 # restored at relink time.
  9641 variables_saved_for_relink="$variables_saved_for_relink"
  9642 
  9643 # Whether libtool must link a program against all its dependency libraries.
  9644 link_all_deplibs=$link_all_deplibs
  9645 
  9646 # Compile-time system search path for libraries
  9647 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  9648 
  9649 # Run-time system search path for libraries
  9650 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  9651 
  9652 # Fix the shell variable \$srcfile for the compiler.
  9653 fix_srcfile_path="$fix_srcfile_path"
  9654 
  9655 # Set to yes if exported symbols are required.
  9656 always_export_symbols=$always_export_symbols
  9657 
  9658 # The commands to list exported symbols.
  9659 export_symbols_cmds=$lt_export_symbols_cmds
  9660 
  9661 # The commands to extract the exported symbol list from a shared archive.
  9662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
  9663 
  9664 # Symbols that should not be listed in the preloaded symbols.
  9665 exclude_expsyms=$lt_exclude_expsyms
  9666 
  9667 # Symbols that must always be exported.
  9668 include_expsyms=$lt_include_expsyms
  9669 
  9670 # ### END LIBTOOL CONFIG
  9671 
  9672 __EOF__
  9673 
  9674 
  9675   case $host_os in
  9676   aix3*)
  9677     cat <<\EOF >> "$cfgfile"
  9678 
  9679 # AIX sometimes has problems with the GCC collect2 program.  For some
  9680 # reason, if we set the COLLECT_NAMES environment variable, the problems
  9681 # vanish in a puff of smoke.
  9682 if test "X${COLLECT_NAMES+set}" != Xset; then
  9683   COLLECT_NAMES=
  9684   export COLLECT_NAMES
  9685 fi
  9686 EOF
  9687     ;;
  9688   esac
  9689 
  9690   # We use sed instead of cat because bash on DJGPP gets confused if
  9691   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  9692   # text mode, it properly converts lines to CR/LF.  This bash problem
  9693   # is reportedly fixed, but why not run on old versions too?
  9694   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  9695 
  9696   mv -f "$cfgfile" "$ofile" || \
  9697     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  9698   chmod +x "$ofile"
  9699 
  9700 else
  9701   # If there is no Makefile yet, we rely on a make rule to execute
  9702   # `config.status --recheck' to rerun these tests and create the
  9703   # libtool script then.
  9704   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  9705   if test -f "$ltmain_in"; then
  9706     test -f Makefile && make "$ltmain"
  9707   fi
  9708 fi
  9709 
  9710 
  9711 ac_ext=c
  9712 ac_cpp='$CPP $CPPFLAGS'
  9713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9716 
  9717 CC="$lt_save_CC"
  9718 
  9719 
  9720 # Check whether --with-tags or --without-tags was given.
  9721 if test "${with_tags+set}" = set; then
  9722   withval="$with_tags"
  9723   tagnames="$withval"
  9724 fi; 
  9725 
  9726 if test -f "$ltmain" && test -n "$tagnames"; then
  9727   if test ! -f "${ofile}"; then
  9728     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  9729 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  9730   fi
  9731 
  9732   if test -z "$LTCC"; then
  9733     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  9734     if test -z "$LTCC"; then
  9735       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
  9736 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
  9737     else
  9738       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
  9739 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
  9740     fi
  9741   fi
  9742 
  9743   # Extract list of available tagged configurations in $ofile.
  9744   # Note that this assumes the entire list is on one line.
  9745   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  9746 
  9747   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  9748   for tagname in $tagnames; do
  9749     IFS="$lt_save_ifs"
  9750     # Check whether tagname contains only valid characters
  9751     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
  9752     "") ;;
  9753     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
  9754 echo "$as_me: error: invalid tag name: $tagname" >&2;}
  9755    { (exit 1); exit 1; }; }
  9756 	;;
  9757     esac
  9758 
  9759     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  9760     then
  9761       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
  9762 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
  9763    { (exit 1); exit 1; }; }
  9764     fi
  9765 
  9766     # Update the list of available tags.
  9767     if test -n "$tagname"; then
  9768       echo appending configuration tag \"$tagname\" to $ofile
  9769 
  9770       case $tagname in
  9771       CXX)
  9772 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9773 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9774 	    (test "X$CXX" != "Xg++"))) ; then
  9775 	  ac_ext=cc
  9776 ac_cpp='$CXXCPP $CPPFLAGS'
  9777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  9780 
  9781 
  9782 
  9783 
  9784 archive_cmds_need_lc_CXX=no
  9785 allow_undefined_flag_CXX=
  9786 always_export_symbols_CXX=no
  9787 archive_expsym_cmds_CXX=
  9788 export_dynamic_flag_spec_CXX=
  9789 hardcode_direct_CXX=no
  9790 hardcode_libdir_flag_spec_CXX=
  9791 hardcode_libdir_flag_spec_ld_CXX=
  9792 hardcode_libdir_separator_CXX=
  9793 hardcode_minus_L_CXX=no
  9794 hardcode_automatic_CXX=no
  9795 module_cmds_CXX=
  9796 module_expsym_cmds_CXX=
  9797 link_all_deplibs_CXX=unknown
  9798 old_archive_cmds_CXX=$old_archive_cmds
  9799 no_undefined_flag_CXX=
  9800 whole_archive_flag_spec_CXX=
  9801 enable_shared_with_static_runtimes_CXX=no
  9802 
  9803 # Dependencies to place before and after the object being linked:
  9804 predep_objects_CXX=
  9805 postdep_objects_CXX=
  9806 predeps_CXX=
  9807 postdeps_CXX=
  9808 compiler_lib_search_path_CXX=
  9809 
  9810 # Source file extension for C++ test sources.
  9811 ac_ext=cpp
  9812 
  9813 # Object file extension for compiled C++ test sources.
  9814 objext=o
  9815 objext_CXX=$objext
  9816 
  9817 # Code to be used in simple compile tests
  9818 lt_simple_compile_test_code="int some_variable = 0;\n"
  9819 
  9820 # Code to be used in simple link tests
  9821 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
  9822 
  9823 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9824 
  9825 # If no C compiler was specified, use CC.
  9826 LTCC=${LTCC-"$CC"}
  9827 
  9828 # Allow CC to be a program name with arguments.
  9829 compiler=$CC
  9830 
  9831 
  9832 # save warnings/boilerplate of simple test code
  9833 ac_outfile=conftest.$ac_objext
  9834 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  9835 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  9836 _lt_compiler_boilerplate=`cat conftest.err`
  9837 $rm conftest*
  9838 
  9839 ac_outfile=conftest.$ac_objext
  9840 printf "$lt_simple_link_test_code" >conftest.$ac_ext
  9841 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  9842 _lt_linker_boilerplate=`cat conftest.err`
  9843 $rm conftest*
  9844 
  9845 
  9846 # Allow CC to be a program name with arguments.
  9847 lt_save_CC=$CC
  9848 lt_save_LD=$LD
  9849 lt_save_GCC=$GCC
  9850 GCC=$GXX
  9851 lt_save_with_gnu_ld=$with_gnu_ld
  9852 lt_save_path_LD=$lt_cv_path_LD
  9853 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  9854   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  9855 else
  9856   unset lt_cv_prog_gnu_ld
  9857 fi
  9858 if test -n "${lt_cv_path_LDCXX+set}"; then
  9859   lt_cv_path_LD=$lt_cv_path_LDCXX
  9860 else
  9861   unset lt_cv_path_LD
  9862 fi
  9863 test -z "${LDCXX+set}" || LD=$LDCXX
  9864 CC=${CXX-"c++"}
  9865 compiler=$CC
  9866 compiler_CXX=$CC
  9867 for cc_temp in $compiler""; do
  9868   case $cc_temp in
  9869     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  9870     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  9871     \-*) ;;
  9872     *) break;;
  9873   esac
  9874 done
  9875 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  9876 
  9877 
  9878 # We don't want -fno-exception wen compiling C++ code, so set the
  9879 # no_builtin_flag separately
  9880 if test "$GXX" = yes; then
  9881   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  9882 else
  9883   lt_prog_compiler_no_builtin_flag_CXX=
  9884 fi
  9885 
  9886 if test "$GXX" = yes; then
  9887   # Set up default GNU C++ configuration
  9888 
  9889   
  9890 # Check whether --with-gnu-ld or --without-gnu-ld was given.
  9891 if test "${with_gnu_ld+set}" = set; then
  9892   withval="$with_gnu_ld"
  9893   test "$withval" = no || with_gnu_ld=yes
  9894 else
  9895   with_gnu_ld=no
  9896 fi; 
  9897 ac_prog=ld
  9898 if test "$GCC" = yes; then
  9899   # Check if gcc -print-prog-name=ld gives a path.
  9900   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  9901 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
  9902   case $host in
  9903   *-*-mingw*)
  9904     # gcc leaves a trailing carriage return which upsets mingw
  9905     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9906   *)
  9907     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9908   esac
  9909   case $ac_prog in
  9910     # Accept absolute paths.
  9911     [\\/]* | ?:[\\/]*)
  9912       re_direlt='/[^/][^/]*/\.\./'
  9913       # Canonicalize the pathname of ld
  9914       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  9915       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  9916 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  9917       done
  9918       test -z "$LD" && LD="$ac_prog"
  9919       ;;
  9920   "")
  9921     # If it fails, then pretend we aren't using GCC.
  9922     ac_prog=ld
  9923     ;;
  9924   *)
  9925     # If it is relative, then search for the first ld in PATH.
  9926     with_gnu_ld=unknown
  9927     ;;
  9928   esac
  9929 elif test "$with_gnu_ld" = yes; then
  9930   echo "$as_me:$LINENO: checking for GNU ld" >&5
  9931 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
  9932 else
  9933   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  9934 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
  9935 fi
  9936 if test "${lt_cv_path_LD+set}" = set; then
  9937   echo $ECHO_N "(cached) $ECHO_C" >&6
  9938 else
  9939   if test -z "$LD"; then
  9940   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9941   for ac_dir in $PATH; do
  9942     IFS="$lt_save_ifs"
  9943     test -z "$ac_dir" && ac_dir=.
  9944     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  9945       lt_cv_path_LD="$ac_dir/$ac_prog"
  9946       # Check to see if the program is GNU ld.  I'd rather use --version,
  9947       # but apparently some variants of GNU ld only accept -v.
  9948       # Break only if it was the GNU/non-GNU ld that we prefer.
  9949       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  9950       *GNU* | *'with BFD'*)
  9951 	test "$with_gnu_ld" != no && break
  9952 	;;
  9953       *)
  9954 	test "$with_gnu_ld" != yes && break
  9955 	;;
  9956       esac
  9957     fi
  9958   done
  9959   IFS="$lt_save_ifs"
  9960 else
  9961   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  9962 fi
  9963 fi
  9964 
  9965 LD="$lt_cv_path_LD"
  9966 if test -n "$LD"; then
  9967   echo "$as_me:$LINENO: result: $LD" >&5
  9968 echo "${ECHO_T}$LD" >&6
  9969 else
  9970   echo "$as_me:$LINENO: result: no" >&5
  9971 echo "${ECHO_T}no" >&6
  9972 fi
  9973 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  9974 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  9975    { (exit 1); exit 1; }; }
  9976 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  9977 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
  9978 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  9979   echo $ECHO_N "(cached) $ECHO_C" >&6
  9980 else
  9981   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  9982 case `$LD -v 2>&1 </dev/null` in
  9983 *GNU* | *'with BFD'*)
  9984   lt_cv_prog_gnu_ld=yes
  9985   ;;
  9986 *)
  9987   lt_cv_prog_gnu_ld=no
  9988   ;;
  9989 esac
  9990 fi
  9991 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  9992 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
  9993 with_gnu_ld=$lt_cv_prog_gnu_ld
  9994 
  9995 
  9996 
  9997   # Check if GNU C++ uses GNU ld as the underlying linker, since the
  9998   # archiving commands below assume that GNU ld is being used.
  9999   if test "$with_gnu_ld" = yes; then
 10000     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10001     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'
 10002 
 10003     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 10004     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10005 
 10006     # If archive_cmds runs LD, not CC, wlarc should be empty
 10007     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 10008     #     investigate it a little bit more. (MM)
 10009     wlarc='${wl}'
 10010 
 10011     # ancient GNU ld didn't support --whole-archive et. al.
 10012     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 10013 	grep 'no-whole-archive' > /dev/null; then
 10014       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 10015     else
 10016       whole_archive_flag_spec_CXX=
 10017     fi
 10018   else
 10019     with_gnu_ld=no
 10020     wlarc=
 10021 
 10022     # A generic and very simple default shared library creation
 10023     # command for GNU C++ for the case where it uses the native
 10024     # linker, instead of GNU ld.  If possible, this setting should
 10025     # overridden to take advantage of the native linker features on
 10026     # the platform it is being used on.
 10027     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 10028   fi
 10029 
 10030   # Commands to make compiler produce verbose output that lists
 10031   # what "hidden" libraries, object files and flags are used when
 10032   # linking a shared library.
 10033   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10034 
 10035 else
 10036   GXX=no
 10037   with_gnu_ld=no
 10038   wlarc=
 10039 fi
 10040 
 10041 # PORTME: fill in a description of your system's C++ link characteristics
 10042 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 10043 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 10044 ld_shlibs_CXX=yes
 10045 case $host_os in
 10046   aix3*)
 10047     # FIXME: insert proper C++ library support
 10048     ld_shlibs_CXX=no
 10049     ;;
 10050   aix4* | aix5*)
 10051     if test "$host_cpu" = ia64; then
 10052       # On IA64, the linker does run time linking by default, so we don't
 10053       # have to do anything special.
 10054       aix_use_runtimelinking=no
 10055       exp_sym_flag='-Bexport'
 10056       no_entry_flag=""
 10057     else
 10058       aix_use_runtimelinking=no
 10059 
 10060       # Test if we are trying to use run time linking or normal
 10061       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 10062       # need to do runtime linking.
 10063       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 10064 	for ld_flag in $LDFLAGS; do
 10065 	  case $ld_flag in
 10066 	  *-brtl*)
 10067 	    aix_use_runtimelinking=yes
 10068 	    break
 10069 	    ;;
 10070 	  esac
 10071 	done
 10072       esac
 10073 
 10074       exp_sym_flag='-bexport'
 10075       no_entry_flag='-bnoentry'
 10076     fi
 10077 
 10078     # When large executables or shared objects are built, AIX ld can
 10079     # have problems creating the table of contents.  If linking a library
 10080     # or program results in "error TOC overflow" add -mminimal-toc to
 10081     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 10082     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 10083 
 10084     archive_cmds_CXX=''
 10085     hardcode_direct_CXX=yes
 10086     hardcode_libdir_separator_CXX=':'
 10087     link_all_deplibs_CXX=yes
 10088 
 10089     if test "$GXX" = yes; then
 10090       case $host_os in aix4.[012]|aix4.[012].*)
 10091       # We only want to do this on AIX 4.2 and lower, the check
 10092       # below for broken collect2 doesn't work under 4.3+
 10093 	collect2name=`${CC} -print-prog-name=collect2`
 10094 	if test -f "$collect2name" && \
 10095 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 10096 	then
 10097 	  # We have reworked collect2
 10098 	  hardcode_direct_CXX=yes
 10099 	else
 10100 	  # We have old collect2
 10101 	  hardcode_direct_CXX=unsupported
 10102 	  # It fails to find uninstalled libraries when the uninstalled
 10103 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 10104 	  # to unsupported forces relinking
 10105 	  hardcode_minus_L_CXX=yes
 10106 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
 10107 	  hardcode_libdir_separator_CXX=
 10108 	fi
 10109       esac
 10110       shared_flag='-shared'
 10111       if test "$aix_use_runtimelinking" = yes; then
 10112 	shared_flag="$shared_flag "'${wl}-G'
 10113       fi
 10114     else
 10115       # not using gcc
 10116       if test "$host_cpu" = ia64; then
 10117 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 10118 	# chokes on -Wl,-G. The following line is correct:
 10119 	shared_flag='-G'
 10120       else
 10121 	if test "$aix_use_runtimelinking" = yes; then
 10122 	  shared_flag='${wl}-G'
 10123 	else
 10124 	  shared_flag='${wl}-bM:SRE'
 10125 	fi
 10126       fi
 10127     fi
 10128 
 10129     # It seems that -bexpall does not export symbols beginning with
 10130     # underscore (_), so it is better to generate a list of symbols to export.
 10131     always_export_symbols_CXX=yes
 10132     if test "$aix_use_runtimelinking" = yes; then
 10133       # Warning - without using the other runtime loading flags (-brtl),
 10134       # -berok will link without error, but may produce a broken library.
 10135       allow_undefined_flag_CXX='-berok'
 10136       # Determine the default libpath from the value encoded in an empty executable.
 10137       cat >conftest.$ac_ext <<_ACEOF
 10138 /* confdefs.h.  */
 10139 _ACEOF
 10140 cat confdefs.h >>conftest.$ac_ext
 10141 cat >>conftest.$ac_ext <<_ACEOF
 10142 /* end confdefs.h.  */
 10143 
 10144 int
 10145 main ()
 10146 {
 10147 
 10148   ;
 10149   return 0;
 10150 }
 10151 _ACEOF
 10152 rm -f conftest.$ac_objext conftest$ac_exeext
 10153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 10154   (eval $ac_link) 2>conftest.er1
 10155   ac_status=$?
 10156   grep -v '^ *+' conftest.er1 >conftest.err
 10157   rm -f conftest.er1
 10158   cat conftest.err >&5
 10159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10160   (exit $ac_status); } &&
 10161 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 10162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10163   (eval $ac_try) 2>&5
 10164   ac_status=$?
 10165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10166   (exit $ac_status); }; } &&
 10167 	 { ac_try='test -s conftest$ac_exeext'
 10168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10169   (eval $ac_try) 2>&5
 10170   ac_status=$?
 10171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10172   (exit $ac_status); }; }; then
 10173   
 10174 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 10175 }'`
 10176 # Check for a 64-bit object if we didn't find anything.
 10177 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; }
 10178 }'`; fi
 10179 else
 10180   echo "$as_me: failed program was:" >&5
 10181 sed 's/^/| /' conftest.$ac_ext >&5
 10182 
 10183 fi
 10184 rm -f conftest.err conftest.$ac_objext \
 10185       conftest$ac_exeext conftest.$ac_ext
 10186 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 10187 
 10188       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 10189 
 10190       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 10191      else
 10192       if test "$host_cpu" = ia64; then
 10193 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 10194 	allow_undefined_flag_CXX="-z nodefs"
 10195 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 10196       else
 10197 	# Determine the default libpath from the value encoded in an empty executable.
 10198 	cat >conftest.$ac_ext <<_ACEOF
 10199 /* confdefs.h.  */
 10200 _ACEOF
 10201 cat confdefs.h >>conftest.$ac_ext
 10202 cat >>conftest.$ac_ext <<_ACEOF
 10203 /* end confdefs.h.  */
 10204 
 10205 int
 10206 main ()
 10207 {
 10208 
 10209   ;
 10210   return 0;
 10211 }
 10212 _ACEOF
 10213 rm -f conftest.$ac_objext conftest$ac_exeext
 10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 10215   (eval $ac_link) 2>conftest.er1
 10216   ac_status=$?
 10217   grep -v '^ *+' conftest.er1 >conftest.err
 10218   rm -f conftest.er1
 10219   cat conftest.err >&5
 10220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10221   (exit $ac_status); } &&
 10222 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 10223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10224   (eval $ac_try) 2>&5
 10225   ac_status=$?
 10226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10227   (exit $ac_status); }; } &&
 10228 	 { ac_try='test -s conftest$ac_exeext'
 10229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10230   (eval $ac_try) 2>&5
 10231   ac_status=$?
 10232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10233   (exit $ac_status); }; }; then
 10234   
 10235 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 10236 }'`
 10237 # Check for a 64-bit object if we didn't find anything.
 10238 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; }
 10239 }'`; fi
 10240 else
 10241   echo "$as_me: failed program was:" >&5
 10242 sed 's/^/| /' conftest.$ac_ext >&5
 10243 
 10244 fi
 10245 rm -f conftest.err conftest.$ac_objext \
 10246       conftest$ac_exeext conftest.$ac_ext
 10247 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 10248 
 10249 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 10250 	# Warning - without using the other run time loading flags,
 10251 	# -berok will link without error, but may produce a broken library.
 10252 	no_undefined_flag_CXX=' ${wl}-bernotok'
 10253 	allow_undefined_flag_CXX=' ${wl}-berok'
 10254 	# -bexpall does not export symbols beginning with underscore (_)
 10255 	always_export_symbols_CXX=yes
 10256 	# Exported symbols can be pulled into shared objects from archives
 10257 	whole_archive_flag_spec_CXX=' '
 10258 	archive_cmds_need_lc_CXX=yes
 10259 	# This is similar to how AIX traditionally builds its shared libraries.
 10260 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 10261       fi
 10262     fi
 10263     ;;
 10264   chorus*)
 10265     case $cc_basename in
 10266       *)
 10267 	# FIXME: insert proper C++ library support
 10268 	ld_shlibs_CXX=no
 10269 	;;
 10270     esac
 10271     ;;
 10272 
 10273 
 10274   cygwin* | mingw* | pw32*)
 10275     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 10276     # as there is no search path for DLLs.
 10277     hardcode_libdir_flag_spec_CXX='-L$libdir'
 10278     allow_undefined_flag_CXX=unsupported
 10279     always_export_symbols_CXX=no
 10280     enable_shared_with_static_runtimes_CXX=yes
 10281 
 10282     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 10283       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 10284       # If the export-symbols file already is a .def file (1st line
 10285       # is EXPORTS), use it as is; otherwise, prepend...
 10286       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 10287 	cp $export_symbols $output_objdir/$soname.def;
 10288       else
 10289 	echo EXPORTS > $output_objdir/$soname.def;
 10290 	cat $export_symbols >> $output_objdir/$soname.def;
 10291       fi~
 10292       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 10293     else
 10294       ld_shlibs_CXX=no
 10295     fi
 10296   ;;
 10297       darwin* | rhapsody*)
 10298         case $host_os in
 10299         rhapsody* | darwin1.[012])
 10300          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 10301          ;;
 10302        *) # Darwin 1.3 on
 10303          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 10304            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 10305          else
 10306            case ${MACOSX_DEPLOYMENT_TARGET} in
 10307              10.[012])
 10308                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 10309                ;;
 10310              10.*)
 10311                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 10312                ;;
 10313            esac
 10314          fi
 10315          ;;
 10316         esac
 10317       archive_cmds_need_lc_CXX=no
 10318       hardcode_direct_CXX=no
 10319       hardcode_automatic_CXX=yes
 10320       hardcode_shlibpath_var_CXX=unsupported
 10321       whole_archive_flag_spec_CXX=''
 10322       link_all_deplibs_CXX=yes
 10323 
 10324     if test "$GXX" = yes ; then
 10325       lt_int_apple_cc_single_mod=no
 10326       output_verbose_link_cmd='echo'
 10327       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 10328        lt_int_apple_cc_single_mod=yes
 10329       fi
 10330       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 10331        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 10332       else
 10333           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'
 10334         fi
 10335         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 10336         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 10337           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 10338             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}'
 10339           else
 10340             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}'
 10341           fi
 10342             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}'
 10343       else
 10344       case $cc_basename in
 10345         xlc*)
 10346          output_verbose_link_cmd='echo'
 10347           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'
 10348           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 10349           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 10350           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}'
 10351           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}'
 10352           ;;
 10353        *)
 10354          ld_shlibs_CXX=no
 10355           ;;
 10356       esac
 10357       fi
 10358         ;;
 10359 
 10360   dgux*)
 10361     case $cc_basename in
 10362       ec++*)
 10363 	# FIXME: insert proper C++ library support
 10364 	ld_shlibs_CXX=no
 10365 	;;
 10366       ghcx*)
 10367 	# Green Hills C++ Compiler
 10368 	# FIXME: insert proper C++ library support
 10369 	ld_shlibs_CXX=no
 10370 	;;
 10371       *)
 10372 	# FIXME: insert proper C++ library support
 10373 	ld_shlibs_CXX=no
 10374 	;;
 10375     esac
 10376     ;;
 10377   freebsd[12]*)
 10378     # C++ shared libraries reported to be fairly broken before switch to ELF
 10379     ld_shlibs_CXX=no
 10380     ;;
 10381   freebsd-elf*)
 10382     archive_cmds_need_lc_CXX=no
 10383     ;;
 10384   freebsd* | kfreebsd*-gnu | dragonfly*)
 10385     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 10386     # conventions
 10387     ld_shlibs_CXX=yes
 10388     ;;
 10389   gnu*)
 10390     ;;
 10391   hpux9*)
 10392     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10393     hardcode_libdir_separator_CXX=:
 10394     export_dynamic_flag_spec_CXX='${wl}-E'
 10395     hardcode_direct_CXX=yes
 10396     hardcode_minus_L_CXX=yes # Not in the search PATH,
 10397 				# but as the default
 10398 				# location of the library.
 10399 
 10400     case $cc_basename in
 10401     CC*)
 10402       # FIXME: insert proper C++ library support
 10403       ld_shlibs_CXX=no
 10404       ;;
 10405     aCC*)
 10406       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'
 10407       # Commands to make compiler produce verbose output that lists
 10408       # what "hidden" libraries, object files and flags are used when
 10409       # linking a shared library.
 10410       #
 10411       # There doesn't appear to be a way to prevent this compiler from
 10412       # explicitly linking system object files so we need to strip them
 10413       # from the output so that they don't get included in the library
 10414       # dependencies.
 10415       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'
 10416       ;;
 10417     *)
 10418       if test "$GXX" = yes; then
 10419         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'
 10420       else
 10421         # FIXME: insert proper C++ library support
 10422         ld_shlibs_CXX=no
 10423       fi
 10424       ;;
 10425     esac
 10426     ;;
 10427   hpux10*|hpux11*)
 10428     if test $with_gnu_ld = no; then
 10429       case $host_cpu in
 10430       hppa*64*)
 10431 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10432 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
 10433 	hardcode_libdir_separator_CXX=:
 10434         ;;
 10435       ia64*)
 10436 	hardcode_libdir_flag_spec_CXX='-L$libdir'
 10437         ;;
 10438       *)
 10439 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10440 	hardcode_libdir_separator_CXX=:
 10441 	export_dynamic_flag_spec_CXX='${wl}-E'
 10442         ;;
 10443       esac
 10444     fi
 10445     case $host_cpu in
 10446     hppa*64*)
 10447       hardcode_direct_CXX=no
 10448       hardcode_shlibpath_var_CXX=no
 10449       ;;
 10450     ia64*)
 10451       hardcode_direct_CXX=no
 10452       hardcode_shlibpath_var_CXX=no
 10453       hardcode_minus_L_CXX=yes # Not in the search PATH,
 10454 					      # but as the default
 10455 					      # location of the library.
 10456       ;;
 10457     *)
 10458       hardcode_direct_CXX=yes
 10459       hardcode_minus_L_CXX=yes # Not in the search PATH,
 10460 					      # but as the default
 10461 					      # location of the library.
 10462       ;;
 10463     esac
 10464 
 10465     case $cc_basename in
 10466       CC*)
 10467 	# FIXME: insert proper C++ library support
 10468 	ld_shlibs_CXX=no
 10469 	;;
 10470       aCC*)
 10471 	case $host_cpu in
 10472 	hppa*64*|ia64*)
 10473 	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 10474 	  ;;
 10475 	*)
 10476 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 10477 	  ;;
 10478 	esac
 10479 	# Commands to make compiler produce verbose output that lists
 10480 	# what "hidden" libraries, object files and flags are used when
 10481 	# linking a shared library.
 10482 	#
 10483 	# There doesn't appear to be a way to prevent this compiler from
 10484 	# explicitly linking system object files so we need to strip them
 10485 	# from the output so that they don't get included in the library
 10486 	# dependencies.
 10487 	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'
 10488 	;;
 10489       *)
 10490 	if test "$GXX" = yes; then
 10491 	  if test $with_gnu_ld = no; then
 10492 	    case $host_cpu in
 10493 	    ia64*|hppa*64*)
 10494 	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 10495 	      ;;
 10496 	    *)
 10497 	      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'
 10498 	      ;;
 10499 	    esac
 10500 	  fi
 10501 	else
 10502 	  # FIXME: insert proper C++ library support
 10503 	  ld_shlibs_CXX=no
 10504 	fi
 10505 	;;
 10506     esac
 10507     ;;
 10508   irix5* | irix6*)
 10509     case $cc_basename in
 10510       CC*)
 10511 	# SGI C++
 10512 	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'
 10513 
 10514 	# Archives containing C++ object files must be created using
 10515 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 10516 	# necessary to make sure instantiated templates are included
 10517 	# in the archive.
 10518 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 10519 	;;
 10520       *)
 10521 	if test "$GXX" = yes; then
 10522 	  if test "$with_gnu_ld" = no; then
 10523 	    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'
 10524 	  else
 10525 	    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'
 10526 	  fi
 10527 	fi
 10528 	link_all_deplibs_CXX=yes
 10529 	;;
 10530     esac
 10531     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10532     hardcode_libdir_separator_CXX=:
 10533     ;;
 10534   linux*)
 10535     case $cc_basename in
 10536       KCC*)
 10537 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10538 
 10539 	# KCC will only create a shared library if the output file
 10540 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10541 	# to its proper name (with version) after linking.
 10542 	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'
 10543 	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'
 10544 	# Commands to make compiler produce verbose output that lists
 10545 	# what "hidden" libraries, object files and flags are used when
 10546 	# linking a shared library.
 10547 	#
 10548 	# There doesn't appear to be a way to prevent this compiler from
 10549 	# explicitly linking system object files so we need to strip them
 10550 	# from the output so that they don't get included in the library
 10551 	# dependencies.
 10552 	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'
 10553 
 10554 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 10555 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10556 
 10557 	# Archives containing C++ object files must be created using
 10558 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 10559 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 10560 	;;
 10561       icpc*)
 10562 	# Intel C++
 10563 	with_gnu_ld=yes
 10564 	# version 8.0 and above of icpc choke on multiply defined symbols
 10565 	# if we add $predep_objects and $postdep_objects, however 7.1 and
 10566 	# earlier do not add the objects themselves.
 10567 	case `$CC -V 2>&1` in
 10568 	*"Version 7."*)
 10569   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10570   	  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'
 10571 	  ;;
 10572 	*)  # Version 8.0 or newer
 10573 	  tmp_idyn=
 10574 	  case $host_cpu in
 10575 	    ia64*) tmp_idyn=' -i_dynamic';;
 10576 	  esac
 10577   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10578 	  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'
 10579 	  ;;
 10580 	esac
 10581 	archive_cmds_need_lc_CXX=no
 10582 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10583 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10584 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 10585 	;;
 10586       pgCC*)
 10587         # Portland Group C++ compiler
 10588 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 10589   	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'
 10590 
 10591 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 10592 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10593 	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'
 10594         ;;
 10595       cxx*)
 10596 	# Compaq C++
 10597 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10598 	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'
 10599 
 10600 	runpath_var=LD_RUN_PATH
 10601 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 10602 	hardcode_libdir_separator_CXX=:
 10603 
 10604 	# Commands to make compiler produce verbose output that lists
 10605 	# what "hidden" libraries, object files and flags are used when
 10606 	# linking a shared library.
 10607 	#
 10608 	# There doesn't appear to be a way to prevent this compiler from
 10609 	# explicitly linking system object files so we need to strip them
 10610 	# from the output so that they don't get included in the library
 10611 	# dependencies.
 10612 	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'
 10613 	;;
 10614     esac
 10615     ;;
 10616   lynxos*)
 10617     # FIXME: insert proper C++ library support
 10618     ld_shlibs_CXX=no
 10619     ;;
 10620   m88k*)
 10621     # FIXME: insert proper C++ library support
 10622     ld_shlibs_CXX=no
 10623     ;;
 10624   mvs*)
 10625     case $cc_basename in
 10626       cxx*)
 10627 	# FIXME: insert proper C++ library support
 10628 	ld_shlibs_CXX=no
 10629 	;;
 10630       *)
 10631 	# FIXME: insert proper C++ library support
 10632 	ld_shlibs_CXX=no
 10633 	;;
 10634     esac
 10635     ;;
 10636   netbsd*)
 10637     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 10638       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 10639       wlarc=
 10640       hardcode_libdir_flag_spec_CXX='-R$libdir'
 10641       hardcode_direct_CXX=yes
 10642       hardcode_shlibpath_var_CXX=no
 10643     fi
 10644     # Workaround some broken pre-1.5 toolchains
 10645     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 10646     ;;
 10647   openbsd2*)
 10648     # C++ shared libraries are fairly broken
 10649     ld_shlibs_CXX=no
 10650     ;;
 10651   openbsd*)
 10652     hardcode_direct_CXX=yes
 10653     hardcode_shlibpath_var_CXX=no
 10654     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 10655     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10656     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10657       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 10658       export_dynamic_flag_spec_CXX='${wl}-E'
 10659       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 10660     fi
 10661     output_verbose_link_cmd='echo'
 10662     ;;
 10663   osf3*)
 10664     case $cc_basename in
 10665       KCC*)
 10666 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10667 
 10668 	# KCC will only create a shared library if the output file
 10669 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10670 	# to its proper name (with version) after linking.
 10671 	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'
 10672 
 10673 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10674 	hardcode_libdir_separator_CXX=:
 10675 
 10676 	# Archives containing C++ object files must be created using
 10677 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 10678 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 10679 
 10680 	;;
 10681       RCC*)
 10682 	# Rational C++ 2.4.1
 10683 	# FIXME: insert proper C++ library support
 10684 	ld_shlibs_CXX=no
 10685 	;;
 10686       cxx*)
 10687 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10688 	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'
 10689 
 10690 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10691 	hardcode_libdir_separator_CXX=:
 10692 
 10693 	# Commands to make compiler produce verbose output that lists
 10694 	# what "hidden" libraries, object files and flags are used when
 10695 	# linking a shared library.
 10696 	#
 10697 	# There doesn't appear to be a way to prevent this compiler from
 10698 	# explicitly linking system object files so we need to strip them
 10699 	# from the output so that they don't get included in the library
 10700 	# dependencies.
 10701 	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'
 10702 	;;
 10703       *)
 10704 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10705 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10706 	  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'
 10707 
 10708 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10709 	  hardcode_libdir_separator_CXX=:
 10710 
 10711 	  # Commands to make compiler produce verbose output that lists
 10712 	  # what "hidden" libraries, object files and flags are used when
 10713 	  # linking a shared library.
 10714 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10715 
 10716 	else
 10717 	  # FIXME: insert proper C++ library support
 10718 	  ld_shlibs_CXX=no
 10719 	fi
 10720 	;;
 10721     esac
 10722     ;;
 10723   osf4* | osf5*)
 10724     case $cc_basename in
 10725       KCC*)
 10726 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10727 
 10728 	# KCC will only create a shared library if the output file
 10729 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10730 	# to its proper name (with version) after linking.
 10731 	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'
 10732 
 10733 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10734 	hardcode_libdir_separator_CXX=:
 10735 
 10736 	# Archives containing C++ object files must be created using
 10737 	# the KAI C++ compiler.
 10738 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 10739 	;;
 10740       RCC*)
 10741 	# Rational C++ 2.4.1
 10742 	# FIXME: insert proper C++ library support
 10743 	ld_shlibs_CXX=no
 10744 	;;
 10745       cxx*)
 10746 	allow_undefined_flag_CXX=' -expect_unresolved \*'
 10747 	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'
 10748 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 10749 	  echo "-hidden">> $lib.exp~
 10750 	  $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~
 10751 	  $rm $lib.exp'
 10752 
 10753 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 10754 	hardcode_libdir_separator_CXX=:
 10755 
 10756 	# Commands to make compiler produce verbose output that lists
 10757 	# what "hidden" libraries, object files and flags are used when
 10758 	# linking a shared library.
 10759 	#
 10760 	# There doesn't appear to be a way to prevent this compiler from
 10761 	# explicitly linking system object files so we need to strip them
 10762 	# from the output so that they don't get included in the library
 10763 	# dependencies.
 10764 	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'
 10765 	;;
 10766       *)
 10767 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10768 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10769 	 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'
 10770 
 10771 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10772 	  hardcode_libdir_separator_CXX=:
 10773 
 10774 	  # Commands to make compiler produce verbose output that lists
 10775 	  # what "hidden" libraries, object files and flags are used when
 10776 	  # linking a shared library.
 10777 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10778 
 10779 	else
 10780 	  # FIXME: insert proper C++ library support
 10781 	  ld_shlibs_CXX=no
 10782 	fi
 10783 	;;
 10784     esac
 10785     ;;
 10786   psos*)
 10787     # FIXME: insert proper C++ library support
 10788     ld_shlibs_CXX=no
 10789     ;;
 10790   sco*)
 10791     archive_cmds_need_lc_CXX=no
 10792     case $cc_basename in
 10793       CC*)
 10794 	# FIXME: insert proper C++ library support
 10795 	ld_shlibs_CXX=no
 10796 	;;
 10797       *)
 10798 	# FIXME: insert proper C++ library support
 10799 	ld_shlibs_CXX=no
 10800 	;;
 10801     esac
 10802     ;;
 10803   sunos4*)
 10804     case $cc_basename in
 10805       CC*)
 10806 	# Sun C++ 4.x
 10807 	# FIXME: insert proper C++ library support
 10808 	ld_shlibs_CXX=no
 10809 	;;
 10810       lcc*)
 10811 	# Lucid
 10812 	# FIXME: insert proper C++ library support
 10813 	ld_shlibs_CXX=no
 10814 	;;
 10815       *)
 10816 	# FIXME: insert proper C++ library support
 10817 	ld_shlibs_CXX=no
 10818 	;;
 10819     esac
 10820     ;;
 10821   solaris*)
 10822     case $cc_basename in
 10823       CC*)
 10824 	# Sun C++ 4.2, 5.x and Centerline C++
 10825         archive_cmds_need_lc_CXX=yes
 10826 	no_undefined_flag_CXX=' -zdefs'
 10827 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 10828 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10829 	$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'
 10830 
 10831 	hardcode_libdir_flag_spec_CXX='-R$libdir'
 10832 	hardcode_shlibpath_var_CXX=no
 10833 	case $host_os in
 10834 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
 10835 	  *)
 10836 	    # The C++ compiler is used as linker so we must use $wl
 10837 	    # flag to pass the commands to the underlying system
 10838 	    # linker. We must also pass each convience library through
 10839 	    # to the system linker between allextract/defaultextract.
 10840 	    # The C++ compiler will combine linker options so we
 10841 	    # cannot just pass the convience library names through
 10842 	    # without $wl.
 10843 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
 10844 	    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'
 10845 	    ;;
 10846 	esac
 10847 	link_all_deplibs_CXX=yes
 10848 
 10849 	output_verbose_link_cmd='echo'
 10850 
 10851 	# Archives containing C++ object files must be created using
 10852 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
 10853 	# necessary to make sure instantiated templates are included
 10854 	# in the archive.
 10855 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 10856 	;;
 10857       gcx*)
 10858 	# Green Hills C++ Compiler
 10859 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10860 
 10861 	# The C++ compiler must be used to create the archive.
 10862 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 10863 	;;
 10864       *)
 10865 	# GNU C++ compiler with Solaris linker
 10866 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10867 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 10868 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
 10869 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10870 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10871 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 10872 
 10873 	    # Commands to make compiler produce verbose output that lists
 10874 	    # what "hidden" libraries, object files and flags are used when
 10875 	    # linking a shared library.
 10876 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 10877 	  else
 10878 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
 10879 	    # platform.
 10880 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10881 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10882 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 10883 
 10884 	    # Commands to make compiler produce verbose output that lists
 10885 	    # what "hidden" libraries, object files and flags are used when
 10886 	    # linking a shared library.
 10887 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 10888 	  fi
 10889 
 10890 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 10891 	fi
 10892 	;;
 10893     esac
 10894     ;;
 10895   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
 10896     archive_cmds_need_lc_CXX=no
 10897     ;;
 10898   tandem*)
 10899     case $cc_basename in
 10900       NCC*)
 10901 	# NonStop-UX NCC 3.20
 10902 	# FIXME: insert proper C++ library support
 10903 	ld_shlibs_CXX=no
 10904 	;;
 10905       *)
 10906 	# FIXME: insert proper C++ library support
 10907 	ld_shlibs_CXX=no
 10908 	;;
 10909     esac
 10910     ;;
 10911   vxworks*)
 10912     # FIXME: insert proper C++ library support
 10913     ld_shlibs_CXX=no
 10914     ;;
 10915   *)
 10916     # FIXME: insert proper C++ library support
 10917     ld_shlibs_CXX=no
 10918     ;;
 10919 esac
 10920 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 10921 echo "${ECHO_T}$ld_shlibs_CXX" >&6
 10922 test "$ld_shlibs_CXX" = no && can_build_shared=no
 10923 
 10924 GCC_CXX="$GXX"
 10925 LD_CXX="$LD"
 10926 
 10927 ## CAVEAT EMPTOR:
 10928 ## There is no encapsulation within the following macros, do not change
 10929 ## the running order or otherwise move them around unless you know exactly
 10930 ## what you are doing...
 10931 
 10932 cat > conftest.$ac_ext <<EOF
 10933 class Foo
 10934 {
 10935 public:
 10936   Foo (void) { a = 0; }
 10937 private:
 10938   int a;
 10939 };
 10940 EOF
 10941 
 10942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 10943   (eval $ac_compile) 2>&5
 10944   ac_status=$?
 10945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10946   (exit $ac_status); }; then
 10947   # Parse the compiler output and extract the necessary
 10948   # objects, libraries and library flags.
 10949 
 10950   # Sentinel used to keep track of whether or not we are before
 10951   # the conftest object file.
 10952   pre_test_object_deps_done=no
 10953 
 10954   # The `*' in the case matches for architectures that use `case' in
 10955   # $output_verbose_cmd can trigger glob expansion during the loop
 10956   # eval without this substitution.
 10957   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 10958 
 10959   for p in `eval $output_verbose_link_cmd`; do
 10960     case $p in
 10961 
 10962     -L* | -R* | -l*)
 10963        # Some compilers place space between "-{L,R}" and the path.
 10964        # Remove the space.
 10965        if test $p = "-L" \
 10966 	  || test $p = "-R"; then
 10967 	 prev=$p
 10968 	 continue
 10969        else
 10970 	 prev=
 10971        fi
 10972 
 10973        if test "$pre_test_object_deps_done" = no; then
 10974 	 case $p in
 10975 	 -L* | -R*)
 10976 	   # Internal compiler library paths should come after those
 10977 	   # provided the user.  The postdeps already come after the
 10978 	   # user supplied libs so there is no need to process them.
 10979 	   if test -z "$compiler_lib_search_path_CXX"; then
 10980 	     compiler_lib_search_path_CXX="${prev}${p}"
 10981 	   else
 10982 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 10983 	   fi
 10984 	   ;;
 10985 	 # The "-l" case would never come before the object being
 10986 	 # linked, so don't bother handling this case.
 10987 	 esac
 10988        else
 10989 	 if test -z "$postdeps_CXX"; then
 10990 	   postdeps_CXX="${prev}${p}"
 10991 	 else
 10992 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 10993 	 fi
 10994        fi
 10995        ;;
 10996 
 10997     *.$objext)
 10998        # This assumes that the test object file only shows up
 10999        # once in the compiler output.
 11000        if test "$p" = "conftest.$objext"; then
 11001 	 pre_test_object_deps_done=yes
 11002 	 continue
 11003        fi
 11004 
 11005        if test "$pre_test_object_deps_done" = no; then
 11006 	 if test -z "$predep_objects_CXX"; then
 11007 	   predep_objects_CXX="$p"
 11008 	 else
 11009 	   predep_objects_CXX="$predep_objects_CXX $p"
 11010 	 fi
 11011        else
 11012 	 if test -z "$postdep_objects_CXX"; then
 11013 	   postdep_objects_CXX="$p"
 11014 	 else
 11015 	   postdep_objects_CXX="$postdep_objects_CXX $p"
 11016 	 fi
 11017        fi
 11018        ;;
 11019 
 11020     *) ;; # Ignore the rest.
 11021 
 11022     esac
 11023   done
 11024 
 11025   # Clean up.
 11026   rm -f a.out a.exe
 11027 else
 11028   echo "libtool.m4: error: problem compiling CXX test program"
 11029 fi
 11030 
 11031 $rm -f confest.$objext
 11032 
 11033 # PORTME: override above test on systems where it is broken
 11034 case $host_os in
 11035 solaris*)
 11036   case $cc_basename in
 11037   CC*)
 11038     # Adding this requires a known-good setup of shared libraries for
 11039     # Sun compiler versions before 5.6, else PIC objects from an old
 11040     # archive will be linked into the output, leading to subtle bugs.
 11041     postdeps_CXX='-lCstd -lCrun'
 11042     ;;
 11043   esac
 11044 esac
 11045 
 11046 
 11047 case " $postdeps_CXX " in
 11048 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 11049 esac
 11050 
 11051 lt_prog_compiler_wl_CXX=
 11052 lt_prog_compiler_pic_CXX=
 11053 lt_prog_compiler_static_CXX=
 11054 
 11055 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 11056 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 11057  
 11058   # C++ specific cases for pic, static, wl, etc.
 11059   if test "$GXX" = yes; then
 11060     lt_prog_compiler_wl_CXX='-Wl,'
 11061     lt_prog_compiler_static_CXX='-static'
 11062 
 11063     case $host_os in
 11064     aix*)
 11065       # All AIX code is PIC.
 11066       if test "$host_cpu" = ia64; then
 11067 	# AIX 5 now supports IA64 processor
 11068 	lt_prog_compiler_static_CXX='-Bstatic'
 11069       fi
 11070       ;;
 11071     amigaos*)
 11072       # FIXME: we need at least 68020 code to build shared libraries, but
 11073       # adding the `-m68020' flag to GCC prevents building anything better,
 11074       # like `-m68040'.
 11075       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 11076       ;;
 11077     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 11078       # PIC is the default for these OSes.
 11079       ;;
 11080     mingw* | os2* | pw32*)
 11081       # This hack is so that the source file can tell whether it is being
 11082       # built for inclusion in a dll (and should export symbols for example).
 11083       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 11084       ;;
 11085     darwin* | rhapsody*)
 11086       # PIC is the default on this platform
 11087       # Common symbols not allowed in MH_DYLIB files
 11088       lt_prog_compiler_pic_CXX='-fno-common'
 11089       ;;
 11090     *djgpp*)
 11091       # DJGPP does not support shared libraries at all
 11092       lt_prog_compiler_pic_CXX=
 11093       ;;
 11094     sysv4*MP*)
 11095       if test -d /usr/nec; then
 11096 	lt_prog_compiler_pic_CXX=-Kconform_pic
 11097       fi
 11098       ;;
 11099     hpux*)
 11100       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 11101       # not for PA HP-UX.
 11102       case $host_cpu in
 11103       hppa*64*|ia64*)
 11104 	;;
 11105       *)
 11106 	lt_prog_compiler_pic_CXX='-fPIC'
 11107 	;;
 11108       esac
 11109       ;;
 11110     *)
 11111       lt_prog_compiler_pic_CXX='-fPIC'
 11112       ;;
 11113     esac
 11114   else
 11115     case $host_os in
 11116       aix4* | aix5*)
 11117 	# All AIX code is PIC.
 11118 	if test "$host_cpu" = ia64; then
 11119 	  # AIX 5 now supports IA64 processor
 11120 	  lt_prog_compiler_static_CXX='-Bstatic'
 11121 	else
 11122 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 11123 	fi
 11124 	;;
 11125       chorus*)
 11126 	case $cc_basename in
 11127 	cxch68*)
 11128 	  # Green Hills C++ Compiler
 11129 	  # _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"
 11130 	  ;;
 11131 	esac
 11132 	;;
 11133        darwin*)
 11134          # PIC is the default on this platform
 11135          # Common symbols not allowed in MH_DYLIB files
 11136          case $cc_basename in
 11137            xlc*)
 11138            lt_prog_compiler_pic_CXX='-qnocommon'
 11139            lt_prog_compiler_wl_CXX='-Wl,'
 11140            ;;
 11141          esac
 11142        ;;
 11143       dgux*)
 11144 	case $cc_basename in
 11145 	  ec++*)
 11146 	    lt_prog_compiler_pic_CXX='-KPIC'
 11147 	    ;;
 11148 	  ghcx*)
 11149 	    # Green Hills C++ Compiler
 11150 	    lt_prog_compiler_pic_CXX='-pic'
 11151 	    ;;
 11152 	  *)
 11153 	    ;;
 11154 	esac
 11155 	;;
 11156       freebsd* | kfreebsd*-gnu | dragonfly*)
 11157 	# FreeBSD uses GNU C++
 11158 	;;
 11159       hpux9* | hpux10* | hpux11*)
 11160 	case $cc_basename in
 11161 	  CC*)
 11162 	    lt_prog_compiler_wl_CXX='-Wl,'
 11163 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 11164 	    if test "$host_cpu" != ia64; then
 11165 	      lt_prog_compiler_pic_CXX='+Z'
 11166 	    fi
 11167 	    ;;
 11168 	  aCC*)
 11169 	    lt_prog_compiler_wl_CXX='-Wl,'
 11170 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 11171 	    case $host_cpu in
 11172 	    hppa*64*|ia64*)
 11173 	      # +Z the default
 11174 	      ;;
 11175 	    *)
 11176 	      lt_prog_compiler_pic_CXX='+Z'
 11177 	      ;;
 11178 	    esac
 11179 	    ;;
 11180 	  *)
 11181 	    ;;
 11182 	esac
 11183 	;;
 11184       irix5* | irix6* | nonstopux*)
 11185 	case $cc_basename in
 11186 	  CC*)
 11187 	    lt_prog_compiler_wl_CXX='-Wl,'
 11188 	    lt_prog_compiler_static_CXX='-non_shared'
 11189 	    # CC pic flag -KPIC is the default.
 11190 	    ;;
 11191 	  *)
 11192 	    ;;
 11193 	esac
 11194 	;;
 11195       linux*)
 11196 	case $cc_basename in
 11197 	  KCC*)
 11198 	    # KAI C++ Compiler
 11199 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 11200 	    lt_prog_compiler_pic_CXX='-fPIC'
 11201 	    ;;
 11202 	  icpc* | ecpc*)
 11203 	    # Intel C++
 11204 	    lt_prog_compiler_wl_CXX='-Wl,'
 11205 	    lt_prog_compiler_pic_CXX='-KPIC'
 11206 	    lt_prog_compiler_static_CXX='-static'
 11207 	    ;;
 11208 	  pgCC*)
 11209 	    # Portland Group C++ compiler.
 11210 	    lt_prog_compiler_wl_CXX='-Wl,'
 11211 	    lt_prog_compiler_pic_CXX='-fpic'
 11212 	    lt_prog_compiler_static_CXX='-Bstatic'
 11213 	    ;;
 11214 	  cxx*)
 11215 	    # Compaq C++
 11216 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 11217 	    # Linux and Compaq Tru64 Unix objects are PIC.
 11218 	    lt_prog_compiler_pic_CXX=
 11219 	    lt_prog_compiler_static_CXX='-non_shared'
 11220 	    ;;
 11221 	  *)
 11222 	    ;;
 11223 	esac
 11224 	;;
 11225       lynxos*)
 11226 	;;
 11227       m88k*)
 11228 	;;
 11229       mvs*)
 11230 	case $cc_basename in
 11231 	  cxx*)
 11232 	    lt_prog_compiler_pic_CXX='-W c,exportall'
 11233 	    ;;
 11234 	  *)
 11235 	    ;;
 11236 	esac
 11237 	;;
 11238       netbsd*)
 11239 	;;
 11240       osf3* | osf4* | osf5*)
 11241 	case $cc_basename in
 11242 	  KCC*)
 11243 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 11244 	    ;;
 11245 	  RCC*)
 11246 	    # Rational C++ 2.4.1
 11247 	    lt_prog_compiler_pic_CXX='-pic'
 11248 	    ;;
 11249 	  cxx*)
 11250 	    # Digital/Compaq C++
 11251 	    lt_prog_compiler_wl_CXX='-Wl,'
 11252 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 11253 	    # Linux and Compaq Tru64 Unix objects are PIC.
 11254 	    lt_prog_compiler_pic_CXX=
 11255 	    lt_prog_compiler_static_CXX='-non_shared'
 11256 	    ;;
 11257 	  *)
 11258 	    ;;
 11259 	esac
 11260 	;;
 11261       psos*)
 11262 	;;
 11263       sco*)
 11264 	case $cc_basename in
 11265 	  CC*)
 11266 	    lt_prog_compiler_pic_CXX='-fPIC'
 11267 	    ;;
 11268 	  *)
 11269 	    ;;
 11270 	esac
 11271 	;;
 11272       solaris*)
 11273 	case $cc_basename in
 11274 	  CC*)
 11275 	    # Sun C++ 4.2, 5.x and Centerline C++
 11276 	    lt_prog_compiler_pic_CXX='-KPIC'
 11277 	    lt_prog_compiler_static_CXX='-Bstatic'
 11278 	    lt_prog_compiler_wl_CXX='-Qoption ld '
 11279 	    ;;
 11280 	  gcx*)
 11281 	    # Green Hills C++ Compiler
 11282 	    lt_prog_compiler_pic_CXX='-PIC'
 11283 	    ;;
 11284 	  *)
 11285 	    ;;
 11286 	esac
 11287 	;;
 11288       sunos4*)
 11289 	case $cc_basename in
 11290 	  CC*)
 11291 	    # Sun C++ 4.x
 11292 	    lt_prog_compiler_pic_CXX='-pic'
 11293 	    lt_prog_compiler_static_CXX='-Bstatic'
 11294 	    ;;
 11295 	  lcc*)
 11296 	    # Lucid
 11297 	    lt_prog_compiler_pic_CXX='-pic'
 11298 	    ;;
 11299 	  *)
 11300 	    ;;
 11301 	esac
 11302 	;;
 11303       tandem*)
 11304 	case $cc_basename in
 11305 	  NCC*)
 11306 	    # NonStop-UX NCC 3.20
 11307 	    lt_prog_compiler_pic_CXX='-KPIC'
 11308 	    ;;
 11309 	  *)
 11310 	    ;;
 11311 	esac
 11312 	;;
 11313       unixware*)
 11314 	;;
 11315       vxworks*)
 11316 	;;
 11317       *)
 11318 	lt_prog_compiler_can_build_shared_CXX=no
 11319 	;;
 11320     esac
 11321   fi
 11322 
 11323 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 11324 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 11325 
 11326 #
 11327 # Check to make sure the PIC flag actually works.
 11328 #
 11329 if test -n "$lt_prog_compiler_pic_CXX"; then
 11330   
 11331 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 11332 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 11333 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 11334   echo $ECHO_N "(cached) $ECHO_C" >&6
 11335 else
 11336   lt_prog_compiler_pic_works_CXX=no
 11337   ac_outfile=conftest.$ac_objext
 11338    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11339    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 11340    # Insert the option either (1) after the last *FLAGS variable, or
 11341    # (2) before a word containing "conftest.", or (3) at the end.
 11342    # Note that $ac_compile itself does not contain backslashes and begins
 11343    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11344    # The option is referenced via a variable to avoid confusing sed.
 11345    lt_compile=`echo "$ac_compile" | $SED \
 11346    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11347    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11348    -e 's:$: $lt_compiler_flag:'`
 11349    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 11350    (eval "$lt_compile" 2>conftest.err)
 11351    ac_status=$?
 11352    cat conftest.err >&5
 11353    echo "$as_me:__oline__: \$? = $ac_status" >&5
 11354    if (exit $ac_status) && test -s "$ac_outfile"; then
 11355      # The compiler can only warn and ignore the option if not recognized
 11356      # So say no if there are warnings other than the usual output.
 11357      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 11358      $SED '/^$/d' conftest.err >conftest.er2
 11359      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 11360        lt_prog_compiler_pic_works_CXX=yes
 11361      fi
 11362    fi
 11363    $rm conftest*
 11364 
 11365 fi
 11366 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 11367 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 11368 
 11369 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 11370     case $lt_prog_compiler_pic_CXX in
 11371      "" | " "*) ;;
 11372      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 11373      esac
 11374 else
 11375     lt_prog_compiler_pic_CXX=
 11376      lt_prog_compiler_can_build_shared_CXX=no
 11377 fi
 11378 
 11379 fi
 11380 case $host_os in
 11381   # For platforms which do not support PIC, -DPIC is meaningless:
 11382   *djgpp*)
 11383     lt_prog_compiler_pic_CXX=
 11384     ;;
 11385   *)
 11386     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 11387     ;;
 11388 esac
 11389 
 11390 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 11391 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 11392 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 11393   echo $ECHO_N "(cached) $ECHO_C" >&6
 11394 else
 11395   lt_cv_prog_compiler_c_o_CXX=no
 11396    $rm -r conftest 2>/dev/null
 11397    mkdir conftest
 11398    cd conftest
 11399    mkdir out
 11400    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11401 
 11402    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11403    # Insert the option either (1) after the last *FLAGS variable, or
 11404    # (2) before a word containing "conftest.", or (3) at the end.
 11405    # Note that $ac_compile itself does not contain backslashes and begins
 11406    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11407    lt_compile=`echo "$ac_compile" | $SED \
 11408    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11409    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11410    -e 's:$: $lt_compiler_flag:'`
 11411    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 11412    (eval "$lt_compile" 2>out/conftest.err)
 11413    ac_status=$?
 11414    cat out/conftest.err >&5
 11415    echo "$as_me:__oline__: \$? = $ac_status" >&5
 11416    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11417    then
 11418      # The compiler can only warn and ignore the option if not recognized
 11419      # So say no if there are warnings
 11420      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 11421      $SED '/^$/d' out/conftest.err >out/conftest.er2
 11422      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11423        lt_cv_prog_compiler_c_o_CXX=yes
 11424      fi
 11425    fi
 11426    chmod u+w . 2>&5
 11427    $rm conftest*
 11428    # SGI C++ compiler will create directory out/ii_files/ for
 11429    # template instantiation
 11430    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 11431    $rm out/* && rmdir out
 11432    cd ..
 11433    rmdir conftest
 11434    $rm conftest*
 11435 
 11436 fi
 11437 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 11438 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 11439 
 11440 
 11441 hard_links="nottested"
 11442 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 11443   # do not overwrite the value of need_locks provided by the user
 11444   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 11445 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 11446   hard_links=yes
 11447   $rm conftest*
 11448   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11449   touch conftest.a
 11450   ln conftest.a conftest.b 2>&5 || hard_links=no
 11451   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11452   echo "$as_me:$LINENO: result: $hard_links" >&5
 11453 echo "${ECHO_T}$hard_links" >&6
 11454   if test "$hard_links" = no; then
 11455     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 11456 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 11457     need_locks=warn
 11458   fi
 11459 else
 11460   need_locks=no
 11461 fi
 11462 
 11463 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11464 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 11465 
 11466   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11467   case $host_os in
 11468   aix4* | aix5*)
 11469     # If we're using GNU nm, then we don't want the "-C" option.
 11470     # -C means demangle to AIX nm, but means don't demangle with GNU nm
 11471     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 11472       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'
 11473     else
 11474       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'
 11475     fi
 11476     ;;
 11477   pw32*)
 11478     export_symbols_cmds_CXX="$ltdll_cmds"
 11479   ;;
 11480   cygwin* | mingw*)
 11481     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'
 11482   ;;
 11483   *)
 11484     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11485   ;;
 11486   esac
 11487 
 11488 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 11489 echo "${ECHO_T}$ld_shlibs_CXX" >&6
 11490 test "$ld_shlibs_CXX" = no && can_build_shared=no
 11491 
 11492 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11493 if test "$GCC" = yes; then
 11494   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11495 fi
 11496 
 11497 #
 11498 # Do we need to explicitly link libc?
 11499 #
 11500 case "x$archive_cmds_need_lc_CXX" in
 11501 x|xyes)
 11502   # Assume -lc should be added
 11503   archive_cmds_need_lc_CXX=yes
 11504 
 11505   if test "$enable_shared" = yes && test "$GCC" = yes; then
 11506     case $archive_cmds_CXX in
 11507     *'~'*)
 11508       # FIXME: we may have to deal with multi-command sequences.
 11509       ;;
 11510     '$CC '*)
 11511       # Test whether the compiler implicitly links with -lc since on some
 11512       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 11513       # to ld, don't add -lc before -lgcc.
 11514       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 11515 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 11516       $rm conftest*
 11517       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11518 
 11519       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11520   (eval $ac_compile) 2>&5
 11521   ac_status=$?
 11522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11523   (exit $ac_status); } 2>conftest.err; then
 11524         soname=conftest
 11525         lib=conftest
 11526         libobjs=conftest.$ac_objext
 11527         deplibs=
 11528         wl=$lt_prog_compiler_wl_CXX
 11529         compiler_flags=-v
 11530         linker_flags=-v
 11531         verstring=
 11532         output_objdir=.
 11533         libname=conftest
 11534         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 11535         allow_undefined_flag_CXX=
 11536         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 11537   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 11538   ac_status=$?
 11539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11540   (exit $ac_status); }
 11541         then
 11542 	  archive_cmds_need_lc_CXX=no
 11543         else
 11544 	  archive_cmds_need_lc_CXX=yes
 11545         fi
 11546         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 11547       else
 11548         cat conftest.err 1>&5
 11549       fi
 11550       $rm conftest*
 11551       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 11552 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 11553       ;;
 11554     esac
 11555   fi
 11556   ;;
 11557 esac
 11558 
 11559 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 11560 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 11561 library_names_spec=
 11562 libname_spec='lib$name'
 11563 soname_spec=
 11564 shrext_cmds=".so"
 11565 postinstall_cmds=
 11566 postuninstall_cmds=
 11567 finish_cmds=
 11568 finish_eval=
 11569 shlibpath_var=
 11570 shlibpath_overrides_runpath=unknown
 11571 version_type=none
 11572 dynamic_linker="$host_os ld.so"
 11573 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 11574 if test "$GCC" = yes; then
 11575   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11576   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 11577     # if the path contains ";" then we assume it to be the separator
 11578     # otherwise default to the standard path separator (i.e. ":") - it is
 11579     # assumed that no part of a normal pathname contains ";" but that should
 11580     # okay in the real world where ";" in dirpaths is itself problematic.
 11581     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 11582   else
 11583     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11584   fi
 11585 else
 11586   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 11587 fi
 11588 need_lib_prefix=unknown
 11589 hardcode_into_libs=no
 11590 
 11591 # when you set need_version to no, make sure it does not cause -set_version
 11592 # flags to be left without arguments
 11593 need_version=unknown
 11594 
 11595 case $host_os in
 11596 aix3*)
 11597   version_type=linux
 11598   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 11599   shlibpath_var=LIBPATH
 11600 
 11601   # AIX 3 has no versioning support, so we append a major version to the name.
 11602   soname_spec='${libname}${release}${shared_ext}$major'
 11603   ;;
 11604 
 11605 aix4* | aix5*)
 11606   version_type=linux
 11607   need_lib_prefix=no
 11608   need_version=no
 11609   hardcode_into_libs=yes
 11610   if test "$host_cpu" = ia64; then
 11611     # AIX 5 supports IA64
 11612     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 11613     shlibpath_var=LD_LIBRARY_PATH
 11614   else
 11615     # With GCC up to 2.95.x, collect2 would create an import file
 11616     # for dependence libraries.  The import file would start with
 11617     # the line `#! .'.  This would cause the generated library to
 11618     # depend on `.', always an invalid library.  This was fixed in
 11619     # development snapshots of GCC prior to 3.0.
 11620     case $host_os in
 11621       aix4 | aix4.[01] | aix4.[01].*)
 11622       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 11623 	   echo ' yes '
 11624 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 11625 	:
 11626       else
 11627 	can_build_shared=no
 11628       fi
 11629       ;;
 11630     esac
 11631     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 11632     # soname into executable. Probably we can add versioning support to
 11633     # collect2, so additional links can be useful in future.
 11634     if test "$aix_use_runtimelinking" = yes; then
 11635       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 11636       # instead of lib<name>.a to let people know that these are not
 11637       # typical AIX shared libraries.
 11638       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11639     else
 11640       # We preserve .a as extension for shared libraries through AIX4.2
 11641       # and later when we are not doing run time linking.
 11642       library_names_spec='${libname}${release}.a $libname.a'
 11643       soname_spec='${libname}${release}${shared_ext}$major'
 11644     fi
 11645     shlibpath_var=LIBPATH
 11646   fi
 11647   ;;
 11648 
 11649 amigaos*)
 11650   library_names_spec='$libname.ixlibrary $libname.a'
 11651   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 11652   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'
 11653   ;;
 11654 
 11655 beos*)
 11656   library_names_spec='${libname}${shared_ext}'
 11657   dynamic_linker="$host_os ld.so"
 11658   shlibpath_var=LIBRARY_PATH
 11659   ;;
 11660 
 11661 bsdi[45]*)
 11662   version_type=linux
 11663   need_version=no
 11664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11665   soname_spec='${libname}${release}${shared_ext}$major'
 11666   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 11667   shlibpath_var=LD_LIBRARY_PATH
 11668   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 11669   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 11670   # the default ld.so.conf also contains /usr/contrib/lib and
 11671   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 11672   # libtool to hard-code these into programs
 11673   ;;
 11674 
 11675 cygwin* | mingw* | pw32*)
 11676   version_type=windows
 11677   shrext_cmds=".dll"
 11678   need_version=no
 11679   need_lib_prefix=no
 11680 
 11681   case $GCC,$host_os in
 11682   yes,cygwin* | yes,mingw* | yes,pw32*)
 11683     library_names_spec='$libname.dll.a'
 11684     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 11685     postinstall_cmds='base_file=`basename \${file}`~
 11686       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 11687       dldir=$destdir/`dirname \$dlpath`~
 11688       test -d \$dldir || mkdir -p \$dldir~
 11689       $install_prog $dir/$dlname \$dldir/$dlname~
 11690       chmod a+x \$dldir/$dlname'
 11691     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 11692       dlpath=$dir/\$dldll~
 11693        $rm \$dlpath'
 11694     shlibpath_overrides_runpath=yes
 11695 
 11696     case $host_os in
 11697     cygwin*)
 11698       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 11699       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11700       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 11701       ;;
 11702     mingw*)
 11703       # MinGW DLLs use traditional 'lib' prefix
 11704       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11705       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11706       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 11707         # It is most probably a Windows format PATH printed by
 11708         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 11709         # path with ; separators, and with drive letters. We can handle the
 11710         # drive letters (cygwin fileutils understands them), so leave them,
 11711         # especially as we might pass files found there to a mingw objdump,
 11712         # which wouldn't understand a cygwinified path. Ahh.
 11713         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 11714       else
 11715         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11716       fi
 11717       ;;
 11718     pw32*)
 11719       # pw32 DLLs use 'pw' prefix rather than 'lib'
 11720       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11721       ;;
 11722     esac
 11723     ;;
 11724 
 11725   *)
 11726     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 11727     ;;
 11728   esac
 11729   dynamic_linker='Win32 ld.exe'
 11730   # FIXME: first we should search . and the directory the executable is in
 11731   shlibpath_var=PATH
 11732   ;;
 11733 
 11734 darwin* | rhapsody*)
 11735   dynamic_linker="$host_os dyld"
 11736   version_type=darwin
 11737   need_lib_prefix=no
 11738   need_version=no
 11739   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 11740   soname_spec='${libname}${release}${major}$shared_ext'
 11741   shlibpath_overrides_runpath=yes
 11742   shlibpath_var=DYLD_LIBRARY_PATH
 11743   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 11744   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 11745   if test "$GCC" = yes; then
 11746     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"`
 11747   else
 11748     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 11749   fi
 11750   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 11751   ;;
 11752 
 11753 dgux*)
 11754   version_type=linux
 11755   need_lib_prefix=no
 11756   need_version=no
 11757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 11758   soname_spec='${libname}${release}${shared_ext}$major'
 11759   shlibpath_var=LD_LIBRARY_PATH
 11760   ;;
 11761 
 11762 freebsd1*)
 11763   dynamic_linker=no
 11764   ;;
 11765 
 11766 kfreebsd*-gnu)
 11767   version_type=linux
 11768   need_lib_prefix=no
 11769   need_version=no
 11770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11771   soname_spec='${libname}${release}${shared_ext}$major'
 11772   shlibpath_var=LD_LIBRARY_PATH
 11773   shlibpath_overrides_runpath=no
 11774   hardcode_into_libs=yes
 11775   dynamic_linker='GNU ld.so'
 11776   ;;
 11777 
 11778 freebsd* | dragonfly*)
 11779   # DragonFly does not have aout.  When/if they implement a new
 11780   # versioning mechanism, adjust this.
 11781   if test -x /usr/bin/objformat; then
 11782     objformat=`/usr/bin/objformat`
 11783   else
 11784     case $host_os in
 11785     freebsd[123]*) objformat=aout ;;
 11786     *) objformat=elf ;;
 11787     esac
 11788   fi
 11789   version_type=freebsd-$objformat
 11790   case $version_type in
 11791     freebsd-elf*)
 11792       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11793       need_version=no
 11794       need_lib_prefix=no
 11795       ;;
 11796     freebsd-*)
 11797       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 11798       need_version=yes
 11799       ;;
 11800   esac
 11801   shlibpath_var=LD_LIBRARY_PATH
 11802   case $host_os in
 11803   freebsd2*)
 11804     shlibpath_overrides_runpath=yes
 11805     ;;
 11806   freebsd3.[01]* | freebsdelf3.[01]*)
 11807     shlibpath_overrides_runpath=yes
 11808     hardcode_into_libs=yes
 11809     ;;
 11810   *) # from 3.2 on
 11811     shlibpath_overrides_runpath=no
 11812     hardcode_into_libs=yes
 11813     ;;
 11814   esac
 11815   ;;
 11816 
 11817 gnu*)
 11818   version_type=linux
 11819   need_lib_prefix=no
 11820   need_version=no
 11821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 11822   soname_spec='${libname}${release}${shared_ext}$major'
 11823   shlibpath_var=LD_LIBRARY_PATH
 11824   hardcode_into_libs=yes
 11825   ;;
 11826 
 11827 hpux9* | hpux10* | hpux11*)
 11828   # Give a soname corresponding to the major version so that dld.sl refuses to
 11829   # link against other versions.
 11830   version_type=sunos
 11831   need_lib_prefix=no
 11832   need_version=no
 11833   case $host_cpu in
 11834   ia64*)
 11835     shrext_cmds='.so'
 11836     hardcode_into_libs=yes
 11837     dynamic_linker="$host_os dld.so"
 11838     shlibpath_var=LD_LIBRARY_PATH
 11839     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11841     soname_spec='${libname}${release}${shared_ext}$major'
 11842     if test "X$HPUX_IA64_MODE" = X32; then
 11843       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 11844     else
 11845       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 11846     fi
 11847     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11848     ;;
 11849    hppa*64*)
 11850      shrext_cmds='.sl'
 11851      hardcode_into_libs=yes
 11852      dynamic_linker="$host_os dld.sl"
 11853      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 11854      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11855      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11856      soname_spec='${libname}${release}${shared_ext}$major'
 11857      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 11858      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11859      ;;
 11860    *)
 11861     shrext_cmds='.sl'
 11862     dynamic_linker="$host_os dld.sl"
 11863     shlibpath_var=SHLIB_PATH
 11864     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 11865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11866     soname_spec='${libname}${release}${shared_ext}$major'
 11867     ;;
 11868   esac
 11869   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 11870   postinstall_cmds='chmod 555 $lib'
 11871   ;;
 11872 
 11873 irix5* | irix6* | nonstopux*)
 11874   case $host_os in
 11875     nonstopux*) version_type=nonstopux ;;
 11876     *)
 11877 	if test "$lt_cv_prog_gnu_ld" = yes; then
 11878 		version_type=linux
 11879 	else
 11880 		version_type=irix
 11881 	fi ;;
 11882   esac
 11883   need_lib_prefix=no
 11884   need_version=no
 11885   soname_spec='${libname}${release}${shared_ext}$major'
 11886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 11887   case $host_os in
 11888   irix5* | nonstopux*)
 11889     libsuff= shlibsuff=
 11890     ;;
 11891   *)
 11892     case $LD in # libtool.m4 will add one of these switches to LD
 11893     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 11894       libsuff= shlibsuff= libmagic=32-bit;;
 11895     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 11896       libsuff=32 shlibsuff=N32 libmagic=N32;;
 11897     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 11898       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 11899     *) libsuff= shlibsuff= libmagic=never-match;;
 11900     esac
 11901     ;;
 11902   esac
 11903   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 11904   shlibpath_overrides_runpath=no
 11905   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 11906   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 11907   hardcode_into_libs=yes
 11908   ;;
 11909 
 11910 # No shared lib support for Linux oldld, aout, or coff.
 11911 linux*oldld* | linux*aout* | linux*coff*)
 11912   dynamic_linker=no
 11913   ;;
 11914 
 11915 # This must be Linux ELF.
 11916 linux*)
 11917   version_type=linux
 11918   need_lib_prefix=no
 11919   need_version=no
 11920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11921   soname_spec='${libname}${release}${shared_ext}$major'
 11922   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 11923   shlibpath_var=LD_LIBRARY_PATH
 11924   shlibpath_overrides_runpath=no
 11925   # This implies no fast_install, which is unacceptable.
 11926   # Some rework will be needed to allow for fast_install
 11927   # before this can be enabled.
 11928   hardcode_into_libs=yes
 11929 
 11930   # Append ld.so.conf contents to the search path
 11931   if test -f /etc/ld.so.conf; then
 11932     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' ' '`
 11933     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 11934   fi
 11935 
 11936   # We used to test for /lib/ld.so.1 and disable shared libraries on
 11937   # powerpc, because MkLinux only supported shared libraries with the
 11938   # GNU dynamic linker.  Since this was broken with cross compilers,
 11939   # most powerpc-linux boxes support dynamic linking these days and
 11940   # people can always --disable-shared, the test was removed, and we
 11941   # assume the GNU/Linux dynamic linker is in use.
 11942   dynamic_linker='GNU/Linux ld.so'
 11943   ;;
 11944 
 11945 knetbsd*-gnu)
 11946   version_type=linux
 11947   need_lib_prefix=no
 11948   need_version=no
 11949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11950   soname_spec='${libname}${release}${shared_ext}$major'
 11951   shlibpath_var=LD_LIBRARY_PATH
 11952   shlibpath_overrides_runpath=no
 11953   hardcode_into_libs=yes
 11954   dynamic_linker='GNU ld.so'
 11955   ;;
 11956 
 11957 netbsd*)
 11958   version_type=sunos
 11959   need_lib_prefix=no
 11960   need_version=no
 11961   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 11962     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11963     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11964     dynamic_linker='NetBSD (a.out) ld.so'
 11965   else
 11966     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11967     soname_spec='${libname}${release}${shared_ext}$major'
 11968     dynamic_linker='NetBSD ld.elf_so'
 11969   fi
 11970   shlibpath_var=LD_LIBRARY_PATH
 11971   shlibpath_overrides_runpath=yes
 11972   hardcode_into_libs=yes
 11973   ;;
 11974 
 11975 newsos6)
 11976   version_type=linux
 11977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11978   shlibpath_var=LD_LIBRARY_PATH
 11979   shlibpath_overrides_runpath=yes
 11980   ;;
 11981 
 11982 nto-qnx*)
 11983   version_type=linux
 11984   need_lib_prefix=no
 11985   need_version=no
 11986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11987   soname_spec='${libname}${release}${shared_ext}$major'
 11988   shlibpath_var=LD_LIBRARY_PATH
 11989   shlibpath_overrides_runpath=yes
 11990   ;;
 11991 
 11992 openbsd*)
 11993   version_type=sunos
 11994   need_lib_prefix=no
 11995   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 11996   case $host_os in
 11997     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 11998     *)                         need_version=no  ;;
 11999   esac
 12000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 12001   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 12002   shlibpath_var=LD_LIBRARY_PATH
 12003   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 12004     case $host_os in
 12005       openbsd2.[89] | openbsd2.[89].*)
 12006 	shlibpath_overrides_runpath=no
 12007 	;;
 12008       *)
 12009 	shlibpath_overrides_runpath=yes
 12010 	;;
 12011       esac
 12012   else
 12013     shlibpath_overrides_runpath=yes
 12014   fi
 12015   ;;
 12016 
 12017 os2*)
 12018   libname_spec='$name'
 12019   shrext_cmds=".dll"
 12020   need_lib_prefix=no
 12021   library_names_spec='$libname${shared_ext} $libname.a'
 12022   dynamic_linker='OS/2 ld.exe'
 12023   shlibpath_var=LIBPATH
 12024   ;;
 12025 
 12026 osf3* | osf4* | osf5*)
 12027   version_type=osf
 12028   need_lib_prefix=no
 12029   need_version=no
 12030   soname_spec='${libname}${release}${shared_ext}$major'
 12031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12032   shlibpath_var=LD_LIBRARY_PATH
 12033   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 12034   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 12035   ;;
 12036 
 12037 sco3.2v5*)
 12038   version_type=osf
 12039   soname_spec='${libname}${release}${shared_ext}$major'
 12040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12041   shlibpath_var=LD_LIBRARY_PATH
 12042   ;;
 12043 
 12044 solaris*)
 12045   version_type=linux
 12046   need_lib_prefix=no
 12047   need_version=no
 12048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12049   soname_spec='${libname}${release}${shared_ext}$major'
 12050   shlibpath_var=LD_LIBRARY_PATH
 12051   shlibpath_overrides_runpath=yes
 12052   hardcode_into_libs=yes
 12053   # ldd complains unless libraries are executable
 12054   postinstall_cmds='chmod +x $lib'
 12055   ;;
 12056 
 12057 sunos4*)
 12058   version_type=sunos
 12059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 12060   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 12061   shlibpath_var=LD_LIBRARY_PATH
 12062   shlibpath_overrides_runpath=yes
 12063   if test "$with_gnu_ld" = yes; then
 12064     need_lib_prefix=no
 12065   fi
 12066   need_version=yes
 12067   ;;
 12068 
 12069 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 12070   version_type=linux
 12071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12072   soname_spec='${libname}${release}${shared_ext}$major'
 12073   shlibpath_var=LD_LIBRARY_PATH
 12074   case $host_vendor in
 12075     sni)
 12076       shlibpath_overrides_runpath=no
 12077       need_lib_prefix=no
 12078       export_dynamic_flag_spec='${wl}-Blargedynsym'
 12079       runpath_var=LD_RUN_PATH
 12080       ;;
 12081     siemens)
 12082       need_lib_prefix=no
 12083       ;;
 12084     motorola)
 12085       need_lib_prefix=no
 12086       need_version=no
 12087       shlibpath_overrides_runpath=no
 12088       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 12089       ;;
 12090   esac
 12091   ;;
 12092 
 12093 sysv4*MP*)
 12094   if test -d /usr/nec ;then
 12095     version_type=linux
 12096     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 12097     soname_spec='$libname${shared_ext}.$major'
 12098     shlibpath_var=LD_LIBRARY_PATH
 12099   fi
 12100   ;;
 12101 
 12102 uts4*)
 12103   version_type=linux
 12104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12105   soname_spec='${libname}${release}${shared_ext}$major'
 12106   shlibpath_var=LD_LIBRARY_PATH
 12107   ;;
 12108 
 12109 *)
 12110   dynamic_linker=no
 12111   ;;
 12112 esac
 12113 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 12114 echo "${ECHO_T}$dynamic_linker" >&6
 12115 test "$dynamic_linker" = no && can_build_shared=no
 12116 
 12117 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 12118 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 12119 hardcode_action_CXX=
 12120 if test -n "$hardcode_libdir_flag_spec_CXX" || \
 12121    test -n "$runpath_var_CXX" || \
 12122    test "X$hardcode_automatic_CXX" = "Xyes" ; then
 12123 
 12124   # We can hardcode non-existant directories.
 12125   if test "$hardcode_direct_CXX" != no &&
 12126      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 12127      # have to relink, otherwise we might link with an installed library
 12128      # when we should be linking with a yet-to-be-installed one
 12129      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 12130      test "$hardcode_minus_L_CXX" != no; then
 12131     # Linking always hardcodes the temporary library directory.
 12132     hardcode_action_CXX=relink
 12133   else
 12134     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 12135     hardcode_action_CXX=immediate
 12136   fi
 12137 else
 12138   # We cannot hardcode anything, or else we can only hardcode existing
 12139   # directories.
 12140   hardcode_action_CXX=unsupported
 12141 fi
 12142 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 12143 echo "${ECHO_T}$hardcode_action_CXX" >&6
 12144 
 12145 if test "$hardcode_action_CXX" = relink; then
 12146   # Fast installation is not supported
 12147   enable_fast_install=no
 12148 elif test "$shlibpath_overrides_runpath" = yes ||
 12149      test "$enable_shared" = no; then
 12150   # Fast installation is not necessary
 12151   enable_fast_install=needless
 12152 fi
 12153 
 12154 striplib=
 12155 old_striplib=
 12156 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 12157 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 12158 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 12159   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 12160   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 12161   echo "$as_me:$LINENO: result: yes" >&5
 12162 echo "${ECHO_T}yes" >&6
 12163 else
 12164 # FIXME - insert some real tests, host_os isn't really good enough
 12165   case $host_os in
 12166    darwin*)
 12167        if test -n "$STRIP" ; then
 12168          striplib="$STRIP -x"
 12169          echo "$as_me:$LINENO: result: yes" >&5
 12170 echo "${ECHO_T}yes" >&6
 12171        else
 12172   echo "$as_me:$LINENO: result: no" >&5
 12173 echo "${ECHO_T}no" >&6
 12174 fi
 12175        ;;
 12176    *)
 12177   echo "$as_me:$LINENO: result: no" >&5
 12178 echo "${ECHO_T}no" >&6
 12179     ;;
 12180   esac
 12181 fi
 12182 
 12183 if test "x$enable_dlopen" != xyes; then
 12184   enable_dlopen=unknown
 12185   enable_dlopen_self=unknown
 12186   enable_dlopen_self_static=unknown
 12187 else
 12188   lt_cv_dlopen=no
 12189   lt_cv_dlopen_libs=
 12190 
 12191   case $host_os in
 12192   beos*)
 12193     lt_cv_dlopen="load_add_on"
 12194     lt_cv_dlopen_libs=
 12195     lt_cv_dlopen_self=yes
 12196     ;;
 12197 
 12198   mingw* | pw32*)
 12199     lt_cv_dlopen="LoadLibrary"
 12200     lt_cv_dlopen_libs=
 12201    ;;
 12202 
 12203   cygwin*)
 12204     lt_cv_dlopen="dlopen"
 12205     lt_cv_dlopen_libs=
 12206    ;;
 12207 
 12208   darwin*)
 12209   # if libdl is installed we need to link against it
 12210     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 12211 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 12212 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 12213   echo $ECHO_N "(cached) $ECHO_C" >&6
 12214 else
 12215   ac_check_lib_save_LIBS=$LIBS
 12216 LIBS="-ldl  $LIBS"
 12217 cat >conftest.$ac_ext <<_ACEOF
 12218 /* confdefs.h.  */
 12219 _ACEOF
 12220 cat confdefs.h >>conftest.$ac_ext
 12221 cat >>conftest.$ac_ext <<_ACEOF
 12222 /* end confdefs.h.  */
 12223 
 12224 /* Override any gcc2 internal prototype to avoid an error.  */
 12225 #ifdef __cplusplus
 12226 extern "C"
 12227 #endif
 12228 /* We use char because int might match the return type of a gcc2
 12229    builtin and then its argument prototype would still apply.  */
 12230 char dlopen ();
 12231 int
 12232 main ()
 12233 {
 12234 dlopen ();
 12235   ;
 12236   return 0;
 12237 }
 12238 _ACEOF
 12239 rm -f conftest.$ac_objext conftest$ac_exeext
 12240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12241   (eval $ac_link) 2>conftest.er1
 12242   ac_status=$?
 12243   grep -v '^ *+' conftest.er1 >conftest.err
 12244   rm -f conftest.er1
 12245   cat conftest.err >&5
 12246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12247   (exit $ac_status); } &&
 12248 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12250   (eval $ac_try) 2>&5
 12251   ac_status=$?
 12252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12253   (exit $ac_status); }; } &&
 12254 	 { ac_try='test -s conftest$ac_exeext'
 12255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12256   (eval $ac_try) 2>&5
 12257   ac_status=$?
 12258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12259   (exit $ac_status); }; }; then
 12260   ac_cv_lib_dl_dlopen=yes
 12261 else
 12262   echo "$as_me: failed program was:" >&5
 12263 sed 's/^/| /' conftest.$ac_ext >&5
 12264 
 12265 ac_cv_lib_dl_dlopen=no
 12266 fi
 12267 rm -f conftest.err conftest.$ac_objext \
 12268       conftest$ac_exeext conftest.$ac_ext
 12269 LIBS=$ac_check_lib_save_LIBS
 12270 fi
 12271 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 12272 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 12273 if test $ac_cv_lib_dl_dlopen = yes; then
 12274   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 12275 else
 12276   
 12277     lt_cv_dlopen="dyld"
 12278     lt_cv_dlopen_libs=
 12279     lt_cv_dlopen_self=yes
 12280     
 12281 fi
 12282 
 12283    ;;
 12284 
 12285   *)
 12286     echo "$as_me:$LINENO: checking for shl_load" >&5
 12287 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 12288 if test "${ac_cv_func_shl_load+set}" = set; then
 12289   echo $ECHO_N "(cached) $ECHO_C" >&6
 12290 else
 12291   cat >conftest.$ac_ext <<_ACEOF
 12292 /* confdefs.h.  */
 12293 _ACEOF
 12294 cat confdefs.h >>conftest.$ac_ext
 12295 cat >>conftest.$ac_ext <<_ACEOF
 12296 /* end confdefs.h.  */
 12297 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 12298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12299 #define shl_load innocuous_shl_load
 12300 
 12301 /* System header to define __stub macros and hopefully few prototypes,
 12302     which can conflict with char shl_load (); below.
 12303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12304     <limits.h> exists even on freestanding compilers.  */
 12305 
 12306 #ifdef __STDC__
 12307 # include <limits.h>
 12308 #else
 12309 # include <assert.h>
 12310 #endif
 12311 
 12312 #undef shl_load
 12313 
 12314 /* Override any gcc2 internal prototype to avoid an error.  */
 12315 #ifdef __cplusplus
 12316 extern "C"
 12317 {
 12318 #endif
 12319 /* We use char because int might match the return type of a gcc2
 12320    builtin and then its argument prototype would still apply.  */
 12321 char shl_load ();
 12322 /* The GNU C library defines this for functions which it implements
 12323     to always fail with ENOSYS.  Some functions are actually named
 12324     something starting with __ and the normal name is an alias.  */
 12325 #if defined (__stub_shl_load) || defined (__stub___shl_load)
 12326 choke me
 12327 #else
 12328 char (*f) () = shl_load;
 12329 #endif
 12330 #ifdef __cplusplus
 12331 }
 12332 #endif
 12333 
 12334 int
 12335 main ()
 12336 {
 12337 return f != shl_load;
 12338   ;
 12339   return 0;
 12340 }
 12341 _ACEOF
 12342 rm -f conftest.$ac_objext conftest$ac_exeext
 12343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12344   (eval $ac_link) 2>conftest.er1
 12345   ac_status=$?
 12346   grep -v '^ *+' conftest.er1 >conftest.err
 12347   rm -f conftest.er1
 12348   cat conftest.err >&5
 12349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12350   (exit $ac_status); } &&
 12351 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12353   (eval $ac_try) 2>&5
 12354   ac_status=$?
 12355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12356   (exit $ac_status); }; } &&
 12357 	 { ac_try='test -s conftest$ac_exeext'
 12358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12359   (eval $ac_try) 2>&5
 12360   ac_status=$?
 12361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12362   (exit $ac_status); }; }; then
 12363   ac_cv_func_shl_load=yes
 12364 else
 12365   echo "$as_me: failed program was:" >&5
 12366 sed 's/^/| /' conftest.$ac_ext >&5
 12367 
 12368 ac_cv_func_shl_load=no
 12369 fi
 12370 rm -f conftest.err conftest.$ac_objext \
 12371       conftest$ac_exeext conftest.$ac_ext
 12372 fi
 12373 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 12374 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 12375 if test $ac_cv_func_shl_load = yes; then
 12376   lt_cv_dlopen="shl_load"
 12377 else
 12378   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 12379 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 12380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 12381   echo $ECHO_N "(cached) $ECHO_C" >&6
 12382 else
 12383   ac_check_lib_save_LIBS=$LIBS
 12384 LIBS="-ldld  $LIBS"
 12385 cat >conftest.$ac_ext <<_ACEOF
 12386 /* confdefs.h.  */
 12387 _ACEOF
 12388 cat confdefs.h >>conftest.$ac_ext
 12389 cat >>conftest.$ac_ext <<_ACEOF
 12390 /* end confdefs.h.  */
 12391 
 12392 /* Override any gcc2 internal prototype to avoid an error.  */
 12393 #ifdef __cplusplus
 12394 extern "C"
 12395 #endif
 12396 /* We use char because int might match the return type of a gcc2
 12397    builtin and then its argument prototype would still apply.  */
 12398 char shl_load ();
 12399 int
 12400 main ()
 12401 {
 12402 shl_load ();
 12403   ;
 12404   return 0;
 12405 }
 12406 _ACEOF
 12407 rm -f conftest.$ac_objext conftest$ac_exeext
 12408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12409   (eval $ac_link) 2>conftest.er1
 12410   ac_status=$?
 12411   grep -v '^ *+' conftest.er1 >conftest.err
 12412   rm -f conftest.er1
 12413   cat conftest.err >&5
 12414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12415   (exit $ac_status); } &&
 12416 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12418   (eval $ac_try) 2>&5
 12419   ac_status=$?
 12420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12421   (exit $ac_status); }; } &&
 12422 	 { ac_try='test -s conftest$ac_exeext'
 12423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12424   (eval $ac_try) 2>&5
 12425   ac_status=$?
 12426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12427   (exit $ac_status); }; }; then
 12428   ac_cv_lib_dld_shl_load=yes
 12429 else
 12430   echo "$as_me: failed program was:" >&5
 12431 sed 's/^/| /' conftest.$ac_ext >&5
 12432 
 12433 ac_cv_lib_dld_shl_load=no
 12434 fi
 12435 rm -f conftest.err conftest.$ac_objext \
 12436       conftest$ac_exeext conftest.$ac_ext
 12437 LIBS=$ac_check_lib_save_LIBS
 12438 fi
 12439 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 12440 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 12441 if test $ac_cv_lib_dld_shl_load = yes; then
 12442   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 12443 else
 12444   echo "$as_me:$LINENO: checking for dlopen" >&5
 12445 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 12446 if test "${ac_cv_func_dlopen+set}" = set; then
 12447   echo $ECHO_N "(cached) $ECHO_C" >&6
 12448 else
 12449   cat >conftest.$ac_ext <<_ACEOF
 12450 /* confdefs.h.  */
 12451 _ACEOF
 12452 cat confdefs.h >>conftest.$ac_ext
 12453 cat >>conftest.$ac_ext <<_ACEOF
 12454 /* end confdefs.h.  */
 12455 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 12456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12457 #define dlopen innocuous_dlopen
 12458 
 12459 /* System header to define __stub macros and hopefully few prototypes,
 12460     which can conflict with char dlopen (); below.
 12461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12462     <limits.h> exists even on freestanding compilers.  */
 12463 
 12464 #ifdef __STDC__
 12465 # include <limits.h>
 12466 #else
 12467 # include <assert.h>
 12468 #endif
 12469 
 12470 #undef dlopen
 12471 
 12472 /* Override any gcc2 internal prototype to avoid an error.  */
 12473 #ifdef __cplusplus
 12474 extern "C"
 12475 {
 12476 #endif
 12477 /* We use char because int might match the return type of a gcc2
 12478    builtin and then its argument prototype would still apply.  */
 12479 char dlopen ();
 12480 /* The GNU C library defines this for functions which it implements
 12481     to always fail with ENOSYS.  Some functions are actually named
 12482     something starting with __ and the normal name is an alias.  */
 12483 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 12484 choke me
 12485 #else
 12486 char (*f) () = dlopen;
 12487 #endif
 12488 #ifdef __cplusplus
 12489 }
 12490 #endif
 12491 
 12492 int
 12493 main ()
 12494 {
 12495 return f != dlopen;
 12496   ;
 12497   return 0;
 12498 }
 12499 _ACEOF
 12500 rm -f conftest.$ac_objext conftest$ac_exeext
 12501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12502   (eval $ac_link) 2>conftest.er1
 12503   ac_status=$?
 12504   grep -v '^ *+' conftest.er1 >conftest.err
 12505   rm -f conftest.er1
 12506   cat conftest.err >&5
 12507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12508   (exit $ac_status); } &&
 12509 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12511   (eval $ac_try) 2>&5
 12512   ac_status=$?
 12513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12514   (exit $ac_status); }; } &&
 12515 	 { ac_try='test -s conftest$ac_exeext'
 12516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12517   (eval $ac_try) 2>&5
 12518   ac_status=$?
 12519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12520   (exit $ac_status); }; }; then
 12521   ac_cv_func_dlopen=yes
 12522 else
 12523   echo "$as_me: failed program was:" >&5
 12524 sed 's/^/| /' conftest.$ac_ext >&5
 12525 
 12526 ac_cv_func_dlopen=no
 12527 fi
 12528 rm -f conftest.err conftest.$ac_objext \
 12529       conftest$ac_exeext conftest.$ac_ext
 12530 fi
 12531 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 12532 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 12533 if test $ac_cv_func_dlopen = yes; then
 12534   lt_cv_dlopen="dlopen"
 12535 else
 12536   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 12537 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 12538 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 12539   echo $ECHO_N "(cached) $ECHO_C" >&6
 12540 else
 12541   ac_check_lib_save_LIBS=$LIBS
 12542 LIBS="-ldl  $LIBS"
 12543 cat >conftest.$ac_ext <<_ACEOF
 12544 /* confdefs.h.  */
 12545 _ACEOF
 12546 cat confdefs.h >>conftest.$ac_ext
 12547 cat >>conftest.$ac_ext <<_ACEOF
 12548 /* end confdefs.h.  */
 12549 
 12550 /* Override any gcc2 internal prototype to avoid an error.  */
 12551 #ifdef __cplusplus
 12552 extern "C"
 12553 #endif
 12554 /* We use char because int might match the return type of a gcc2
 12555    builtin and then its argument prototype would still apply.  */
 12556 char dlopen ();
 12557 int
 12558 main ()
 12559 {
 12560 dlopen ();
 12561   ;
 12562   return 0;
 12563 }
 12564 _ACEOF
 12565 rm -f conftest.$ac_objext conftest$ac_exeext
 12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12567   (eval $ac_link) 2>conftest.er1
 12568   ac_status=$?
 12569   grep -v '^ *+' conftest.er1 >conftest.err
 12570   rm -f conftest.er1
 12571   cat conftest.err >&5
 12572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12573   (exit $ac_status); } &&
 12574 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12576   (eval $ac_try) 2>&5
 12577   ac_status=$?
 12578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12579   (exit $ac_status); }; } &&
 12580 	 { ac_try='test -s conftest$ac_exeext'
 12581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12582   (eval $ac_try) 2>&5
 12583   ac_status=$?
 12584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12585   (exit $ac_status); }; }; then
 12586   ac_cv_lib_dl_dlopen=yes
 12587 else
 12588   echo "$as_me: failed program was:" >&5
 12589 sed 's/^/| /' conftest.$ac_ext >&5
 12590 
 12591 ac_cv_lib_dl_dlopen=no
 12592 fi
 12593 rm -f conftest.err conftest.$ac_objext \
 12594       conftest$ac_exeext conftest.$ac_ext
 12595 LIBS=$ac_check_lib_save_LIBS
 12596 fi
 12597 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 12598 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 12599 if test $ac_cv_lib_dl_dlopen = yes; then
 12600   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 12601 else
 12602   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 12603 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 12604 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 12605   echo $ECHO_N "(cached) $ECHO_C" >&6
 12606 else
 12607   ac_check_lib_save_LIBS=$LIBS
 12608 LIBS="-lsvld  $LIBS"
 12609 cat >conftest.$ac_ext <<_ACEOF
 12610 /* confdefs.h.  */
 12611 _ACEOF
 12612 cat confdefs.h >>conftest.$ac_ext
 12613 cat >>conftest.$ac_ext <<_ACEOF
 12614 /* end confdefs.h.  */
 12615 
 12616 /* Override any gcc2 internal prototype to avoid an error.  */
 12617 #ifdef __cplusplus
 12618 extern "C"
 12619 #endif
 12620 /* We use char because int might match the return type of a gcc2
 12621    builtin and then its argument prototype would still apply.  */
 12622 char dlopen ();
 12623 int
 12624 main ()
 12625 {
 12626 dlopen ();
 12627   ;
 12628   return 0;
 12629 }
 12630 _ACEOF
 12631 rm -f conftest.$ac_objext conftest$ac_exeext
 12632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12633   (eval $ac_link) 2>conftest.er1
 12634   ac_status=$?
 12635   grep -v '^ *+' conftest.er1 >conftest.err
 12636   rm -f conftest.er1
 12637   cat conftest.err >&5
 12638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12639   (exit $ac_status); } &&
 12640 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12642   (eval $ac_try) 2>&5
 12643   ac_status=$?
 12644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12645   (exit $ac_status); }; } &&
 12646 	 { ac_try='test -s conftest$ac_exeext'
 12647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12648   (eval $ac_try) 2>&5
 12649   ac_status=$?
 12650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12651   (exit $ac_status); }; }; then
 12652   ac_cv_lib_svld_dlopen=yes
 12653 else
 12654   echo "$as_me: failed program was:" >&5
 12655 sed 's/^/| /' conftest.$ac_ext >&5
 12656 
 12657 ac_cv_lib_svld_dlopen=no
 12658 fi
 12659 rm -f conftest.err conftest.$ac_objext \
 12660       conftest$ac_exeext conftest.$ac_ext
 12661 LIBS=$ac_check_lib_save_LIBS
 12662 fi
 12663 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 12664 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 12665 if test $ac_cv_lib_svld_dlopen = yes; then
 12666   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 12667 else
 12668   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 12669 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 12670 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 12671   echo $ECHO_N "(cached) $ECHO_C" >&6
 12672 else
 12673   ac_check_lib_save_LIBS=$LIBS
 12674 LIBS="-ldld  $LIBS"
 12675 cat >conftest.$ac_ext <<_ACEOF
 12676 /* confdefs.h.  */
 12677 _ACEOF
 12678 cat confdefs.h >>conftest.$ac_ext
 12679 cat >>conftest.$ac_ext <<_ACEOF
 12680 /* end confdefs.h.  */
 12681 
 12682 /* Override any gcc2 internal prototype to avoid an error.  */
 12683 #ifdef __cplusplus
 12684 extern "C"
 12685 #endif
 12686 /* We use char because int might match the return type of a gcc2
 12687    builtin and then its argument prototype would still apply.  */
 12688 char dld_link ();
 12689 int
 12690 main ()
 12691 {
 12692 dld_link ();
 12693   ;
 12694   return 0;
 12695 }
 12696 _ACEOF
 12697 rm -f conftest.$ac_objext conftest$ac_exeext
 12698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12699   (eval $ac_link) 2>conftest.er1
 12700   ac_status=$?
 12701   grep -v '^ *+' conftest.er1 >conftest.err
 12702   rm -f conftest.er1
 12703   cat conftest.err >&5
 12704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12705   (exit $ac_status); } &&
 12706 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12708   (eval $ac_try) 2>&5
 12709   ac_status=$?
 12710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12711   (exit $ac_status); }; } &&
 12712 	 { ac_try='test -s conftest$ac_exeext'
 12713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12714   (eval $ac_try) 2>&5
 12715   ac_status=$?
 12716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12717   (exit $ac_status); }; }; then
 12718   ac_cv_lib_dld_dld_link=yes
 12719 else
 12720   echo "$as_me: failed program was:" >&5
 12721 sed 's/^/| /' conftest.$ac_ext >&5
 12722 
 12723 ac_cv_lib_dld_dld_link=no
 12724 fi
 12725 rm -f conftest.err conftest.$ac_objext \
 12726       conftest$ac_exeext conftest.$ac_ext
 12727 LIBS=$ac_check_lib_save_LIBS
 12728 fi
 12729 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 12730 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 12731 if test $ac_cv_lib_dld_dld_link = yes; then
 12732   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 12733 fi
 12734 
 12735 	      
 12736 fi
 12737 
 12738 	    
 12739 fi
 12740 
 12741 	  
 12742 fi
 12743 
 12744 	
 12745 fi
 12746 
 12747       
 12748 fi
 12749 
 12750     ;;
 12751   esac
 12752 
 12753   if test "x$lt_cv_dlopen" != xno; then
 12754     enable_dlopen=yes
 12755   else
 12756     enable_dlopen=no
 12757   fi
 12758 
 12759   case $lt_cv_dlopen in
 12760   dlopen)
 12761     save_CPPFLAGS="$CPPFLAGS"
 12762     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 12763 
 12764     save_LDFLAGS="$LDFLAGS"
 12765     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 12766 
 12767     save_LIBS="$LIBS"
 12768     LIBS="$lt_cv_dlopen_libs $LIBS"
 12769 
 12770     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 12771 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 12772 if test "${lt_cv_dlopen_self+set}" = set; then
 12773   echo $ECHO_N "(cached) $ECHO_C" >&6
 12774 else
 12775   	  if test "$cross_compiling" = yes; then :
 12776   lt_cv_dlopen_self=cross
 12777 else
 12778   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12779   lt_status=$lt_dlunknown
 12780   cat > conftest.$ac_ext <<EOF
 12781 #line __oline__ "configure"
 12782 #include "confdefs.h"
 12783 
 12784 #if HAVE_DLFCN_H
 12785 #include <dlfcn.h>
 12786 #endif
 12787 
 12788 #include <stdio.h>
 12789 
 12790 #ifdef RTLD_GLOBAL
 12791 #  define LT_DLGLOBAL		RTLD_GLOBAL
 12792 #else
 12793 #  ifdef DL_GLOBAL
 12794 #    define LT_DLGLOBAL		DL_GLOBAL
 12795 #  else
 12796 #    define LT_DLGLOBAL		0
 12797 #  endif
 12798 #endif
 12799 
 12800 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12801    find out it does not work in some platform. */
 12802 #ifndef LT_DLLAZY_OR_NOW
 12803 #  ifdef RTLD_LAZY
 12804 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12805 #  else
 12806 #    ifdef DL_LAZY
 12807 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12808 #    else
 12809 #      ifdef RTLD_NOW
 12810 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12811 #      else
 12812 #        ifdef DL_NOW
 12813 #          define LT_DLLAZY_OR_NOW	DL_NOW
 12814 #        else
 12815 #          define LT_DLLAZY_OR_NOW	0
 12816 #        endif
 12817 #      endif
 12818 #    endif
 12819 #  endif
 12820 #endif
 12821 
 12822 #ifdef __cplusplus
 12823 extern "C" void exit (int);
 12824 #endif
 12825 
 12826 void fnord() { int i=42;}
 12827 int main ()
 12828 {
 12829   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12830   int status = $lt_dlunknown;
 12831 
 12832   if (self)
 12833     {
 12834       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12835       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12836       /* dlclose (self); */
 12837     }
 12838 
 12839     exit (status);
 12840 }
 12841 EOF
 12842   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12843   (eval $ac_link) 2>&5
 12844   ac_status=$?
 12845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12846   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12847     (./conftest; exit; ) >&5 2>/dev/null
 12848     lt_status=$?
 12849     case x$lt_status in
 12850       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 12851       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 12852       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 12853     esac
 12854   else :
 12855     # compilation failed
 12856     lt_cv_dlopen_self=no
 12857   fi
 12858 fi
 12859 rm -fr conftest*
 12860 
 12861     
 12862 fi
 12863 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 12864 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 12865 
 12866     if test "x$lt_cv_dlopen_self" = xyes; then
 12867       LDFLAGS="$LDFLAGS $link_static_flag"
 12868       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 12869 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 12870 if test "${lt_cv_dlopen_self_static+set}" = set; then
 12871   echo $ECHO_N "(cached) $ECHO_C" >&6
 12872 else
 12873   	  if test "$cross_compiling" = yes; then :
 12874   lt_cv_dlopen_self_static=cross
 12875 else
 12876   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12877   lt_status=$lt_dlunknown
 12878   cat > conftest.$ac_ext <<EOF
 12879 #line __oline__ "configure"
 12880 #include "confdefs.h"
 12881 
 12882 #if HAVE_DLFCN_H
 12883 #include <dlfcn.h>
 12884 #endif
 12885 
 12886 #include <stdio.h>
 12887 
 12888 #ifdef RTLD_GLOBAL
 12889 #  define LT_DLGLOBAL		RTLD_GLOBAL
 12890 #else
 12891 #  ifdef DL_GLOBAL
 12892 #    define LT_DLGLOBAL		DL_GLOBAL
 12893 #  else
 12894 #    define LT_DLGLOBAL		0
 12895 #  endif
 12896 #endif
 12897 
 12898 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12899    find out it does not work in some platform. */
 12900 #ifndef LT_DLLAZY_OR_NOW
 12901 #  ifdef RTLD_LAZY
 12902 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12903 #  else
 12904 #    ifdef DL_LAZY
 12905 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12906 #    else
 12907 #      ifdef RTLD_NOW
 12908 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12909 #      else
 12910 #        ifdef DL_NOW
 12911 #          define LT_DLLAZY_OR_NOW	DL_NOW
 12912 #        else
 12913 #          define LT_DLLAZY_OR_NOW	0
 12914 #        endif
 12915 #      endif
 12916 #    endif
 12917 #  endif
 12918 #endif
 12919 
 12920 #ifdef __cplusplus
 12921 extern "C" void exit (int);
 12922 #endif
 12923 
 12924 void fnord() { int i=42;}
 12925 int main ()
 12926 {
 12927   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12928   int status = $lt_dlunknown;
 12929 
 12930   if (self)
 12931     {
 12932       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12933       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12934       /* dlclose (self); */
 12935     }
 12936 
 12937     exit (status);
 12938 }
 12939 EOF
 12940   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12941   (eval $ac_link) 2>&5
 12942   ac_status=$?
 12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12944   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12945     (./conftest; exit; ) >&5 2>/dev/null
 12946     lt_status=$?
 12947     case x$lt_status in
 12948       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 12949       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 12950       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 12951     esac
 12952   else :
 12953     # compilation failed
 12954     lt_cv_dlopen_self_static=no
 12955   fi
 12956 fi
 12957 rm -fr conftest*
 12958 
 12959       
 12960 fi
 12961 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 12962 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 12963     fi
 12964 
 12965     CPPFLAGS="$save_CPPFLAGS"
 12966     LDFLAGS="$save_LDFLAGS"
 12967     LIBS="$save_LIBS"
 12968     ;;
 12969   esac
 12970 
 12971   case $lt_cv_dlopen_self in
 12972   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 12973   *) enable_dlopen_self=unknown ;;
 12974   esac
 12975 
 12976   case $lt_cv_dlopen_self_static in
 12977   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 12978   *) enable_dlopen_self_static=unknown ;;
 12979   esac
 12980 fi
 12981 
 12982 
 12983 # The else clause should only fire when bootstrapping the
 12984 # libtool distribution, otherwise you forgot to ship ltmain.sh
 12985 # with your package, and you will get complaints that there are
 12986 # no rules to generate ltmain.sh.
 12987 if test -f "$ltmain"; then
 12988   # See if we are running on zsh, and set the options which allow our commands through
 12989   # without removal of \ escapes.
 12990   if test -n "${ZSH_VERSION+set}" ; then
 12991     setopt NO_GLOB_SUBST
 12992   fi
 12993   # Now quote all the things that may contain metacharacters while being
 12994   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 12995   # variables and quote the copies for generation of the libtool script.
 12996   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 12997     SED SHELL STRIP \
 12998     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 12999     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 13000     deplibs_check_method reload_flag reload_cmds need_locks \
 13001     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 13002     lt_cv_sys_global_symbol_to_c_name_address \
 13003     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 13004     old_postinstall_cmds old_postuninstall_cmds \
 13005     compiler_CXX \
 13006     CC_CXX \
 13007     LD_CXX \
 13008     lt_prog_compiler_wl_CXX \
 13009     lt_prog_compiler_pic_CXX \
 13010     lt_prog_compiler_static_CXX \
 13011     lt_prog_compiler_no_builtin_flag_CXX \
 13012     export_dynamic_flag_spec_CXX \
 13013     thread_safe_flag_spec_CXX \
 13014     whole_archive_flag_spec_CXX \
 13015     enable_shared_with_static_runtimes_CXX \
 13016     old_archive_cmds_CXX \
 13017     old_archive_from_new_cmds_CXX \
 13018     predep_objects_CXX \
 13019     postdep_objects_CXX \
 13020     predeps_CXX \
 13021     postdeps_CXX \
 13022     compiler_lib_search_path_CXX \
 13023     archive_cmds_CXX \
 13024     archive_expsym_cmds_CXX \
 13025     postinstall_cmds_CXX \
 13026     postuninstall_cmds_CXX \
 13027     old_archive_from_expsyms_cmds_CXX \
 13028     allow_undefined_flag_CXX \
 13029     no_undefined_flag_CXX \
 13030     export_symbols_cmds_CXX \
 13031     hardcode_libdir_flag_spec_CXX \
 13032     hardcode_libdir_flag_spec_ld_CXX \
 13033     hardcode_libdir_separator_CXX \
 13034     hardcode_automatic_CXX \
 13035     module_cmds_CXX \
 13036     module_expsym_cmds_CXX \
 13037     lt_cv_prog_compiler_c_o_CXX \
 13038     exclude_expsyms_CXX \
 13039     include_expsyms_CXX; do
 13040 
 13041     case $var in
 13042     old_archive_cmds_CXX | \
 13043     old_archive_from_new_cmds_CXX | \
 13044     archive_cmds_CXX | \
 13045     archive_expsym_cmds_CXX | \
 13046     module_cmds_CXX | \
 13047     module_expsym_cmds_CXX | \
 13048     old_archive_from_expsyms_cmds_CXX | \
 13049     export_symbols_cmds_CXX | \
 13050     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 13051     postinstall_cmds | postuninstall_cmds | \
 13052     old_postinstall_cmds | old_postuninstall_cmds | \
 13053     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 13054       # Double-quote double-evaled strings.
 13055       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 13056       ;;
 13057     *)
 13058       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 13059       ;;
 13060     esac
 13061   done
 13062 
 13063   case $lt_echo in
 13064   *'\$0 --fallback-echo"')
 13065     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 13066     ;;
 13067   esac
 13068 
 13069 cfgfile="$ofile"
 13070 
 13071   cat <<__EOF__ >> "$cfgfile"
 13072 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 13073 
 13074 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 13075 
 13076 # Shell to use when invoking shell scripts.
 13077 SHELL=$lt_SHELL
 13078 
 13079 # Whether or not to build shared libraries.
 13080 build_libtool_libs=$enable_shared
 13081 
 13082 # Whether or not to build static libraries.
 13083 build_old_libs=$enable_static
 13084 
 13085 # Whether or not to add -lc for building shared libraries.
 13086 build_libtool_need_lc=$archive_cmds_need_lc_CXX
 13087 
 13088 # Whether or not to disallow shared libs when runtime libs are static
 13089 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 13090 
 13091 # Whether or not to optimize for fast installation.
 13092 fast_install=$enable_fast_install
 13093 
 13094 # The host system.
 13095 host_alias=$host_alias
 13096 host=$host
 13097 host_os=$host_os
 13098 
 13099 # The build system.
 13100 build_alias=$build_alias
 13101 build=$build
 13102 build_os=$build_os
 13103 
 13104 # An echo program that does not interpret backslashes.
 13105 echo=$lt_echo
 13106 
 13107 # The archiver.
 13108 AR=$lt_AR
 13109 AR_FLAGS=$lt_AR_FLAGS
 13110 
 13111 # A C compiler.
 13112 LTCC=$lt_LTCC
 13113 
 13114 # A language-specific compiler.
 13115 CC=$lt_compiler_CXX
 13116 
 13117 # Is the compiler the GNU C compiler?
 13118 with_gcc=$GCC_CXX
 13119 
 13120 # An ERE matcher.
 13121 EGREP=$lt_EGREP
 13122 
 13123 # The linker used to build libraries.
 13124 LD=$lt_LD_CXX
 13125 
 13126 # Whether we need hard or soft links.
 13127 LN_S=$lt_LN_S
 13128 
 13129 # A BSD-compatible nm program.
 13130 NM=$lt_NM
 13131 
 13132 # A symbol stripping program
 13133 STRIP=$lt_STRIP
 13134 
 13135 # Used to examine libraries when file_magic_cmd begins "file"
 13136 MAGIC_CMD=$MAGIC_CMD
 13137 
 13138 # Used on cygwin: DLL creation program.
 13139 DLLTOOL="$DLLTOOL"
 13140 
 13141 # Used on cygwin: object dumper.
 13142 OBJDUMP="$OBJDUMP"
 13143 
 13144 # Used on cygwin: assembler.
 13145 AS="$AS"
 13146 
 13147 # The name of the directory that contains temporary libtool files.
 13148 objdir=$objdir
 13149 
 13150 # How to create reloadable object files.
 13151 reload_flag=$lt_reload_flag
 13152 reload_cmds=$lt_reload_cmds
 13153 
 13154 # How to pass a linker flag through the compiler.
 13155 wl=$lt_lt_prog_compiler_wl_CXX
 13156 
 13157 # Object file suffix (normally "o").
 13158 objext="$ac_objext"
 13159 
 13160 # Old archive suffix (normally "a").
 13161 libext="$libext"
 13162 
 13163 # Shared library suffix (normally ".so").
 13164 shrext_cmds='$shrext_cmds'
 13165 
 13166 # Executable file suffix (normally "").
 13167 exeext="$exeext"
 13168 
 13169 # Additional compiler flags for building library objects.
 13170 pic_flag=$lt_lt_prog_compiler_pic_CXX
 13171 pic_mode=$pic_mode
 13172 
 13173 # What is the maximum length of a command?
 13174 max_cmd_len=$lt_cv_sys_max_cmd_len
 13175 
 13176 # Does compiler simultaneously support -c and -o options?
 13177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 13178 
 13179 # Must we lock files when doing compilation?
 13180 need_locks=$lt_need_locks
 13181 
 13182 # Do we need the lib prefix for modules?
 13183 need_lib_prefix=$need_lib_prefix
 13184 
 13185 # Do we need a version for libraries?
 13186 need_version=$need_version
 13187 
 13188 # Whether dlopen is supported.
 13189 dlopen_support=$enable_dlopen
 13190 
 13191 # Whether dlopen of programs is supported.
 13192 dlopen_self=$enable_dlopen_self
 13193 
 13194 # Whether dlopen of statically linked programs is supported.
 13195 dlopen_self_static=$enable_dlopen_self_static
 13196 
 13197 # Compiler flag to prevent dynamic linking.
 13198 link_static_flag=$lt_lt_prog_compiler_static_CXX
 13199 
 13200 # Compiler flag to turn off builtin functions.
 13201 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 13202 
 13203 # Compiler flag to allow reflexive dlopens.
 13204 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 13205 
 13206 # Compiler flag to generate shared objects directly from archives.
 13207 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 13208 
 13209 # Compiler flag to generate thread-safe objects.
 13210 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 13211 
 13212 # Library versioning type.
 13213 version_type=$version_type
 13214 
 13215 # Format of library name prefix.
 13216 libname_spec=$lt_libname_spec
 13217 
 13218 # List of archive names.  First name is the real one, the rest are links.
 13219 # The last name is the one that the linker finds with -lNAME.
 13220 library_names_spec=$lt_library_names_spec
 13221 
 13222 # The coded name of the library, if different from the real name.
 13223 soname_spec=$lt_soname_spec
 13224 
 13225 # Commands used to build and install an old-style archive.
 13226 RANLIB=$lt_RANLIB
 13227 old_archive_cmds=$lt_old_archive_cmds_CXX
 13228 old_postinstall_cmds=$lt_old_postinstall_cmds
 13229 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 13230 
 13231 # Create an old-style archive from a shared archive.
 13232 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 13233 
 13234 # Create a temporary old-style archive to link instead of a shared archive.
 13235 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 13236 
 13237 # Commands used to build and install a shared archive.
 13238 archive_cmds=$lt_archive_cmds_CXX
 13239 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 13240 postinstall_cmds=$lt_postinstall_cmds
 13241 postuninstall_cmds=$lt_postuninstall_cmds
 13242 
 13243 # Commands used to build a loadable module (assumed same as above if empty)
 13244 module_cmds=$lt_module_cmds_CXX
 13245 module_expsym_cmds=$lt_module_expsym_cmds_CXX
 13246 
 13247 # Commands to strip libraries.
 13248 old_striplib=$lt_old_striplib
 13249 striplib=$lt_striplib
 13250 
 13251 # Dependencies to place before the objects being linked to create a
 13252 # shared library.
 13253 predep_objects=$lt_predep_objects_CXX
 13254 
 13255 # Dependencies to place after the objects being linked to create a
 13256 # shared library.
 13257 postdep_objects=$lt_postdep_objects_CXX
 13258 
 13259 # Dependencies to place before the objects being linked to create a
 13260 # shared library.
 13261 predeps=$lt_predeps_CXX
 13262 
 13263 # Dependencies to place after the objects being linked to create a
 13264 # shared library.
 13265 postdeps=$lt_postdeps_CXX
 13266 
 13267 # The library search path used internally by the compiler when linking
 13268 # a shared library.
 13269 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 13270 
 13271 # Method to check whether dependent libraries are shared objects.
 13272 deplibs_check_method=$lt_deplibs_check_method
 13273 
 13274 # Command to use when deplibs_check_method == file_magic.
 13275 file_magic_cmd=$lt_file_magic_cmd
 13276 
 13277 # Flag that allows shared libraries with undefined symbols to be built.
 13278 allow_undefined_flag=$lt_allow_undefined_flag_CXX
 13279 
 13280 # Flag that forces no undefined symbols.
 13281 no_undefined_flag=$lt_no_undefined_flag_CXX
 13282 
 13283 # Commands used to finish a libtool library installation in a directory.
 13284 finish_cmds=$lt_finish_cmds
 13285 
 13286 # Same as above, but a single script fragment to be evaled but not shown.
 13287 finish_eval=$lt_finish_eval
 13288 
 13289 # Take the output of nm and produce a listing of raw symbols and C names.
 13290 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 13291 
 13292 # Transform the output of nm in a proper C declaration
 13293 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 13294 
 13295 # Transform the output of nm in a C name address pair
 13296 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 13297 
 13298 # This is the shared library runtime path variable.
 13299 runpath_var=$runpath_var
 13300 
 13301 # This is the shared library path variable.
 13302 shlibpath_var=$shlibpath_var
 13303 
 13304 # Is shlibpath searched before the hard-coded library search path?
 13305 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 13306 
 13307 # How to hardcode a shared library path into an executable.
 13308 hardcode_action=$hardcode_action_CXX
 13309 
 13310 # Whether we should hardcode library paths into libraries.
 13311 hardcode_into_libs=$hardcode_into_libs
 13312 
 13313 # Flag to hardcode \$libdir into a binary during linking.
 13314 # This must work even if \$libdir does not exist.
 13315 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 13316 
 13317 # If ld is used when linking, flag to hardcode \$libdir into
 13318 # a binary during linking. This must work even if \$libdir does
 13319 # not exist.
 13320 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 13321 
 13322 # Whether we need a single -rpath flag with a separated argument.
 13323 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 13324 
 13325 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 13326 # resulting binary.
 13327 hardcode_direct=$hardcode_direct_CXX
 13328 
 13329 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 13330 # resulting binary.
 13331 hardcode_minus_L=$hardcode_minus_L_CXX
 13332 
 13333 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 13334 # the resulting binary.
 13335 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 13336 
 13337 # Set to yes if building a shared library automatically hardcodes DIR into the library
 13338 # and all subsequent libraries and executables linked against it.
 13339 hardcode_automatic=$hardcode_automatic_CXX
 13340 
 13341 # Variables whose values should be saved in libtool wrapper scripts and
 13342 # restored at relink time.
 13343 variables_saved_for_relink="$variables_saved_for_relink"
 13344 
 13345 # Whether libtool must link a program against all its dependency libraries.
 13346 link_all_deplibs=$link_all_deplibs_CXX
 13347 
 13348 # Compile-time system search path for libraries
 13349 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 13350 
 13351 # Run-time system search path for libraries
 13352 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 13353 
 13354 # Fix the shell variable \$srcfile for the compiler.
 13355 fix_srcfile_path="$fix_srcfile_path_CXX"
 13356 
 13357 # Set to yes if exported symbols are required.
 13358 always_export_symbols=$always_export_symbols_CXX
 13359 
 13360 # The commands to list exported symbols.
 13361 export_symbols_cmds=$lt_export_symbols_cmds_CXX
 13362 
 13363 # The commands to extract the exported symbol list from a shared archive.
 13364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 13365 
 13366 # Symbols that should not be listed in the preloaded symbols.
 13367 exclude_expsyms=$lt_exclude_expsyms_CXX
 13368 
 13369 # Symbols that must always be exported.
 13370 include_expsyms=$lt_include_expsyms_CXX
 13371 
 13372 # ### END LIBTOOL TAG CONFIG: $tagname
 13373 
 13374 __EOF__
 13375 
 13376 
 13377 else
 13378   # If there is no Makefile yet, we rely on a make rule to execute
 13379   # `config.status --recheck' to rerun these tests and create the
 13380   # libtool script then.
 13381   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 13382   if test -f "$ltmain_in"; then
 13383     test -f Makefile && make "$ltmain"
 13384   fi
 13385 fi
 13386 
 13387 
 13388 ac_ext=c
 13389 ac_cpp='$CPP $CPPFLAGS'
 13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 13393 
 13394 CC=$lt_save_CC
 13395 LDCXX=$LD
 13396 LD=$lt_save_LD
 13397 GCC=$lt_save_GCC
 13398 with_gnu_ldcxx=$with_gnu_ld
 13399 with_gnu_ld=$lt_save_with_gnu_ld
 13400 lt_cv_path_LDCXX=$lt_cv_path_LD
 13401 lt_cv_path_LD=$lt_save_path_LD
 13402 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 13403 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 13404 
 13405 	else
 13406 	  tagname=""
 13407 	fi
 13408 	;;
 13409 
 13410       F77)
 13411 	if test -n "$F77" && test "X$F77" != "Xno"; then
 13412 	  
 13413 ac_ext=f
 13414 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 13415 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 13416 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 13417 
 13418 
 13419 archive_cmds_need_lc_F77=no
 13420 allow_undefined_flag_F77=
 13421 always_export_symbols_F77=no
 13422 archive_expsym_cmds_F77=
 13423 export_dynamic_flag_spec_F77=
 13424 hardcode_direct_F77=no
 13425 hardcode_libdir_flag_spec_F77=
 13426 hardcode_libdir_flag_spec_ld_F77=
 13427 hardcode_libdir_separator_F77=
 13428 hardcode_minus_L_F77=no
 13429 hardcode_automatic_F77=no
 13430 module_cmds_F77=
 13431 module_expsym_cmds_F77=
 13432 link_all_deplibs_F77=unknown
 13433 old_archive_cmds_F77=$old_archive_cmds
 13434 no_undefined_flag_F77=
 13435 whole_archive_flag_spec_F77=
 13436 enable_shared_with_static_runtimes_F77=no
 13437 
 13438 # Source file extension for f77 test sources.
 13439 ac_ext=f
 13440 
 13441 # Object file extension for compiled f77 test sources.
 13442 objext=o
 13443 objext_F77=$objext
 13444 
 13445 # Code to be used in simple compile tests
 13446 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 13447 
 13448 # Code to be used in simple link tests
 13449 lt_simple_link_test_code="      program t\n      end\n"
 13450 
 13451 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 13452 
 13453 # If no C compiler was specified, use CC.
 13454 LTCC=${LTCC-"$CC"}
 13455 
 13456 # Allow CC to be a program name with arguments.
 13457 compiler=$CC
 13458 
 13459 
 13460 # save warnings/boilerplate of simple test code
 13461 ac_outfile=conftest.$ac_objext
 13462 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 13463 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 13464 _lt_compiler_boilerplate=`cat conftest.err`
 13465 $rm conftest*
 13466 
 13467 ac_outfile=conftest.$ac_objext
 13468 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 13469 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 13470 _lt_linker_boilerplate=`cat conftest.err`
 13471 $rm conftest*
 13472 
 13473 
 13474 # Allow CC to be a program name with arguments.
 13475 lt_save_CC="$CC"
 13476 CC=${F77-"f77"}
 13477 compiler=$CC
 13478 compiler_F77=$CC
 13479 for cc_temp in $compiler""; do
 13480   case $cc_temp in
 13481     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 13482     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 13483     \-*) ;;
 13484     *) break;;
 13485   esac
 13486 done
 13487 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 13488 
 13489 
 13490 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 13491 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 13492 echo "$as_me:$LINENO: result: $can_build_shared" >&5
 13493 echo "${ECHO_T}$can_build_shared" >&6
 13494 
 13495 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 13496 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 13497 test "$can_build_shared" = "no" && enable_shared=no
 13498 
 13499 # On AIX, shared libraries and static libraries use the same namespace, and
 13500 # are all built from PIC.
 13501 case $host_os in
 13502 aix3*)
 13503   test "$enable_shared" = yes && enable_static=no
 13504   if test -n "$RANLIB"; then
 13505     archive_cmds="$archive_cmds~\$RANLIB \$lib"
 13506     postinstall_cmds='$RANLIB $lib'
 13507   fi
 13508   ;;
 13509 aix4* | aix5*)
 13510   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 13511     test "$enable_shared" = yes && enable_static=no
 13512   fi
 13513   ;;
 13514 esac
 13515 echo "$as_me:$LINENO: result: $enable_shared" >&5
 13516 echo "${ECHO_T}$enable_shared" >&6
 13517 
 13518 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 13519 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 13520 # Make sure either enable_shared or enable_static is yes.
 13521 test "$enable_shared" = yes || enable_static=yes
 13522 echo "$as_me:$LINENO: result: $enable_static" >&5
 13523 echo "${ECHO_T}$enable_static" >&6
 13524 
 13525 test "$ld_shlibs_F77" = no && can_build_shared=no
 13526 
 13527 GCC_F77="$G77"
 13528 LD_F77="$LD"
 13529 
 13530 lt_prog_compiler_wl_F77=
 13531 lt_prog_compiler_pic_F77=
 13532 lt_prog_compiler_static_F77=
 13533 
 13534 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 13535 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 13536  
 13537   if test "$GCC" = yes; then
 13538     lt_prog_compiler_wl_F77='-Wl,'
 13539     lt_prog_compiler_static_F77='-static'
 13540 
 13541     case $host_os in
 13542       aix*)
 13543       # All AIX code is PIC.
 13544       if test "$host_cpu" = ia64; then
 13545 	# AIX 5 now supports IA64 processor
 13546 	lt_prog_compiler_static_F77='-Bstatic'
 13547       fi
 13548       ;;
 13549 
 13550     amigaos*)
 13551       # FIXME: we need at least 68020 code to build shared libraries, but
 13552       # adding the `-m68020' flag to GCC prevents building anything better,
 13553       # like `-m68040'.
 13554       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 13555       ;;
 13556 
 13557     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 13558       # PIC is the default for these OSes.
 13559       ;;
 13560 
 13561     mingw* | pw32* | os2*)
 13562       # This hack is so that the source file can tell whether it is being
 13563       # built for inclusion in a dll (and should export symbols for example).
 13564       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 13565       ;;
 13566 
 13567     darwin* | rhapsody*)
 13568       # PIC is the default on this platform
 13569       # Common symbols not allowed in MH_DYLIB files
 13570       lt_prog_compiler_pic_F77='-fno-common'
 13571       ;;
 13572 
 13573     msdosdjgpp*)
 13574       # Just because we use GCC doesn't mean we suddenly get shared libraries
 13575       # on systems that don't support them.
 13576       lt_prog_compiler_can_build_shared_F77=no
 13577       enable_shared=no
 13578       ;;
 13579 
 13580     sysv4*MP*)
 13581       if test -d /usr/nec; then
 13582 	lt_prog_compiler_pic_F77=-Kconform_pic
 13583       fi
 13584       ;;
 13585 
 13586     hpux*)
 13587       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 13588       # not for PA HP-UX.
 13589       case $host_cpu in
 13590       hppa*64*|ia64*)
 13591 	# +Z the default
 13592 	;;
 13593       *)
 13594 	lt_prog_compiler_pic_F77='-fPIC'
 13595 	;;
 13596       esac
 13597       ;;
 13598 
 13599     *)
 13600       lt_prog_compiler_pic_F77='-fPIC'
 13601       ;;
 13602     esac
 13603   else
 13604     # PORTME Check for flag to pass linker flags through the system compiler.
 13605     case $host_os in
 13606     aix*)
 13607       lt_prog_compiler_wl_F77='-Wl,'
 13608       if test "$host_cpu" = ia64; then
 13609 	# AIX 5 now supports IA64 processor
 13610 	lt_prog_compiler_static_F77='-Bstatic'
 13611       else
 13612 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 13613       fi
 13614       ;;
 13615       darwin*)
 13616         # PIC is the default on this platform
 13617         # Common symbols not allowed in MH_DYLIB files
 13618        case $cc_basename in
 13619          xlc*)
 13620          lt_prog_compiler_pic_F77='-qnocommon'
 13621          lt_prog_compiler_wl_F77='-Wl,'
 13622          ;;
 13623        esac
 13624        ;;
 13625 
 13626     mingw* | pw32* | os2*)
 13627       # This hack is so that the source file can tell whether it is being
 13628       # built for inclusion in a dll (and should export symbols for example).
 13629       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 13630       ;;
 13631 
 13632     hpux9* | hpux10* | hpux11*)
 13633       lt_prog_compiler_wl_F77='-Wl,'
 13634       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 13635       # not for PA HP-UX.
 13636       case $host_cpu in
 13637       hppa*64*|ia64*)
 13638 	# +Z the default
 13639 	;;
 13640       *)
 13641 	lt_prog_compiler_pic_F77='+Z'
 13642 	;;
 13643       esac
 13644       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 13645       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 13646       ;;
 13647 
 13648     irix5* | irix6* | nonstopux*)
 13649       lt_prog_compiler_wl_F77='-Wl,'
 13650       # PIC (with -KPIC) is the default.
 13651       lt_prog_compiler_static_F77='-non_shared'
 13652       ;;
 13653 
 13654     newsos6)
 13655       lt_prog_compiler_pic_F77='-KPIC'
 13656       lt_prog_compiler_static_F77='-Bstatic'
 13657       ;;
 13658 
 13659     linux*)
 13660       case $cc_basename in
 13661       icc* | ecc*)
 13662 	lt_prog_compiler_wl_F77='-Wl,'
 13663 	lt_prog_compiler_pic_F77='-KPIC'
 13664 	lt_prog_compiler_static_F77='-static'
 13665         ;;
 13666       pgcc* | pgf77* | pgf90* | pgf95*)
 13667         # Portland Group compilers (*not* the Pentium gcc compiler,
 13668 	# which looks to be a dead project)
 13669 	lt_prog_compiler_wl_F77='-Wl,'
 13670 	lt_prog_compiler_pic_F77='-fpic'
 13671 	lt_prog_compiler_static_F77='-Bstatic'
 13672         ;;
 13673       ccc*)
 13674         lt_prog_compiler_wl_F77='-Wl,'
 13675         # All Alpha code is PIC.
 13676         lt_prog_compiler_static_F77='-non_shared'
 13677         ;;
 13678       esac
 13679       ;;
 13680 
 13681     osf3* | osf4* | osf5*)
 13682       lt_prog_compiler_wl_F77='-Wl,'
 13683       # All OSF/1 code is PIC.
 13684       lt_prog_compiler_static_F77='-non_shared'
 13685       ;;
 13686 
 13687     sco3.2v5*)
 13688       lt_prog_compiler_pic_F77='-Kpic'
 13689       lt_prog_compiler_static_F77='-dn'
 13690       ;;
 13691 
 13692     solaris*)
 13693       lt_prog_compiler_pic_F77='-KPIC'
 13694       lt_prog_compiler_static_F77='-Bstatic'
 13695       case $cc_basename in
 13696       f77* | f90* | f95*)
 13697 	lt_prog_compiler_wl_F77='-Qoption ld ';;
 13698       *)
 13699 	lt_prog_compiler_wl_F77='-Wl,';;
 13700       esac
 13701       ;;
 13702 
 13703     sunos4*)
 13704       lt_prog_compiler_wl_F77='-Qoption ld '
 13705       lt_prog_compiler_pic_F77='-PIC'
 13706       lt_prog_compiler_static_F77='-Bstatic'
 13707       ;;
 13708 
 13709     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 13710       lt_prog_compiler_wl_F77='-Wl,'
 13711       lt_prog_compiler_pic_F77='-KPIC'
 13712       lt_prog_compiler_static_F77='-Bstatic'
 13713       ;;
 13714 
 13715     sysv4*MP*)
 13716       if test -d /usr/nec ;then
 13717 	lt_prog_compiler_pic_F77='-Kconform_pic'
 13718 	lt_prog_compiler_static_F77='-Bstatic'
 13719       fi
 13720       ;;
 13721 
 13722     unicos*)
 13723       lt_prog_compiler_wl_F77='-Wl,'
 13724       lt_prog_compiler_can_build_shared_F77=no
 13725       ;;
 13726 
 13727     uts4*)
 13728       lt_prog_compiler_pic_F77='-pic'
 13729       lt_prog_compiler_static_F77='-Bstatic'
 13730       ;;
 13731 
 13732     *)
 13733       lt_prog_compiler_can_build_shared_F77=no
 13734       ;;
 13735     esac
 13736   fi
 13737 
 13738 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 13739 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 13740 
 13741 #
 13742 # Check to make sure the PIC flag actually works.
 13743 #
 13744 if test -n "$lt_prog_compiler_pic_F77"; then
 13745   
 13746 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 13747 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 13748 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 13749   echo $ECHO_N "(cached) $ECHO_C" >&6
 13750 else
 13751   lt_prog_compiler_pic_works_F77=no
 13752   ac_outfile=conftest.$ac_objext
 13753    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 13754    lt_compiler_flag="$lt_prog_compiler_pic_F77"
 13755    # Insert the option either (1) after the last *FLAGS variable, or
 13756    # (2) before a word containing "conftest.", or (3) at the end.
 13757    # Note that $ac_compile itself does not contain backslashes and begins
 13758    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13759    # The option is referenced via a variable to avoid confusing sed.
 13760    lt_compile=`echo "$ac_compile" | $SED \
 13761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13763    -e 's:$: $lt_compiler_flag:'`
 13764    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 13765    (eval "$lt_compile" 2>conftest.err)
 13766    ac_status=$?
 13767    cat conftest.err >&5
 13768    echo "$as_me:__oline__: \$? = $ac_status" >&5
 13769    if (exit $ac_status) && test -s "$ac_outfile"; then
 13770      # The compiler can only warn and ignore the option if not recognized
 13771      # So say no if there are warnings other than the usual output.
 13772      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 13773      $SED '/^$/d' conftest.err >conftest.er2
 13774      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 13775        lt_prog_compiler_pic_works_F77=yes
 13776      fi
 13777    fi
 13778    $rm conftest*
 13779 
 13780 fi
 13781 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 13782 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 13783 
 13784 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 13785     case $lt_prog_compiler_pic_F77 in
 13786      "" | " "*) ;;
 13787      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 13788      esac
 13789 else
 13790     lt_prog_compiler_pic_F77=
 13791      lt_prog_compiler_can_build_shared_F77=no
 13792 fi
 13793 
 13794 fi
 13795 case $host_os in
 13796   # For platforms which do not support PIC, -DPIC is meaningless:
 13797   *djgpp*)
 13798     lt_prog_compiler_pic_F77=
 13799     ;;
 13800   *)
 13801     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 13802     ;;
 13803 esac
 13804 
 13805 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 13806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 13807 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 13808   echo $ECHO_N "(cached) $ECHO_C" >&6
 13809 else
 13810   lt_cv_prog_compiler_c_o_F77=no
 13811    $rm -r conftest 2>/dev/null
 13812    mkdir conftest
 13813    cd conftest
 13814    mkdir out
 13815    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 13816 
 13817    lt_compiler_flag="-o out/conftest2.$ac_objext"
 13818    # Insert the option either (1) after the last *FLAGS variable, or
 13819    # (2) before a word containing "conftest.", or (3) at the end.
 13820    # Note that $ac_compile itself does not contain backslashes and begins
 13821    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13822    lt_compile=`echo "$ac_compile" | $SED \
 13823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13825    -e 's:$: $lt_compiler_flag:'`
 13826    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 13827    (eval "$lt_compile" 2>out/conftest.err)
 13828    ac_status=$?
 13829    cat out/conftest.err >&5
 13830    echo "$as_me:__oline__: \$? = $ac_status" >&5
 13831    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 13832    then
 13833      # The compiler can only warn and ignore the option if not recognized
 13834      # So say no if there are warnings
 13835      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 13836      $SED '/^$/d' out/conftest.err >out/conftest.er2
 13837      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 13838        lt_cv_prog_compiler_c_o_F77=yes
 13839      fi
 13840    fi
 13841    chmod u+w . 2>&5
 13842    $rm conftest*
 13843    # SGI C++ compiler will create directory out/ii_files/ for
 13844    # template instantiation
 13845    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 13846    $rm out/* && rmdir out
 13847    cd ..
 13848    rmdir conftest
 13849    $rm conftest*
 13850 
 13851 fi
 13852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 13853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 13854 
 13855 
 13856 hard_links="nottested"
 13857 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 13858   # do not overwrite the value of need_locks provided by the user
 13859   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 13860 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 13861   hard_links=yes
 13862   $rm conftest*
 13863   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13864   touch conftest.a
 13865   ln conftest.a conftest.b 2>&5 || hard_links=no
 13866   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13867   echo "$as_me:$LINENO: result: $hard_links" >&5
 13868 echo "${ECHO_T}$hard_links" >&6
 13869   if test "$hard_links" = no; then
 13870     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 13871 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 13872     need_locks=warn
 13873   fi
 13874 else
 13875   need_locks=no
 13876 fi
 13877 
 13878 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 13879 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 13880 
 13881   runpath_var=
 13882   allow_undefined_flag_F77=
 13883   enable_shared_with_static_runtimes_F77=no
 13884   archive_cmds_F77=
 13885   archive_expsym_cmds_F77=
 13886   old_archive_From_new_cmds_F77=
 13887   old_archive_from_expsyms_cmds_F77=
 13888   export_dynamic_flag_spec_F77=
 13889   whole_archive_flag_spec_F77=
 13890   thread_safe_flag_spec_F77=
 13891   hardcode_libdir_flag_spec_F77=
 13892   hardcode_libdir_flag_spec_ld_F77=
 13893   hardcode_libdir_separator_F77=
 13894   hardcode_direct_F77=no
 13895   hardcode_minus_L_F77=no
 13896   hardcode_shlibpath_var_F77=unsupported
 13897   link_all_deplibs_F77=unknown
 13898   hardcode_automatic_F77=no
 13899   module_cmds_F77=
 13900   module_expsym_cmds_F77=
 13901   always_export_symbols_F77=no
 13902   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 13903   # include_expsyms should be a list of space-separated symbols to be *always*
 13904   # included in the symbol list
 13905   include_expsyms_F77=
 13906   # exclude_expsyms can be an extended regexp of symbols to exclude
 13907   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 13908   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 13909   # as well as any symbol that contains `d'.
 13910   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 13911   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 13912   # platforms (ab)use it in PIC code, but their linkers get confused if
 13913   # the symbol is explicitly referenced.  Since portable code cannot
 13914   # rely on this symbol name, it's probably fine to never include it in
 13915   # preloaded symbol tables.
 13916   extract_expsyms_cmds=
 13917   # Just being paranoid about ensuring that cc_basename is set.
 13918   for cc_temp in $compiler""; do
 13919   case $cc_temp in
 13920     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 13921     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 13922     \-*) ;;
 13923     *) break;;
 13924   esac
 13925 done
 13926 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 13927 
 13928   case $host_os in
 13929   cygwin* | mingw* | pw32*)
 13930     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 13931     # When not using gcc, we currently assume that we are using
 13932     # Microsoft Visual C++.
 13933     if test "$GCC" != yes; then
 13934       with_gnu_ld=no
 13935     fi
 13936     ;;
 13937   openbsd*)
 13938     with_gnu_ld=no
 13939     ;;
 13940   esac
 13941 
 13942   ld_shlibs_F77=yes
 13943   if test "$with_gnu_ld" = yes; then
 13944     # If archive_cmds runs LD, not CC, wlarc should be empty
 13945     wlarc='${wl}'
 13946 
 13947     # Set some defaults for GNU ld with shared library support. These
 13948     # are reset later if shared libraries are not supported. Putting them
 13949     # here allows them to be overridden if necessary.
 13950     runpath_var=LD_RUN_PATH
 13951     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 13952     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 13953     # ancient GNU ld didn't support --whole-archive et. al.
 13954     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 13955 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 13956       else
 13957   	whole_archive_flag_spec_F77=
 13958     fi
 13959     supports_anon_versioning=no
 13960     case `$LD -v 2>/dev/null` in
 13961       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 13962       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 13963       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 13964       *\ 2.11.*) ;; # other 2.11 versions
 13965       *) supports_anon_versioning=yes ;;
 13966     esac
 13967 
 13968     # See if GNU ld supports shared libraries.
 13969     case $host_os in
 13970     aix3* | aix4* | aix5*)
 13971       # On AIX/PPC, the GNU linker is very broken
 13972       if test "$host_cpu" != ia64; then
 13973 	ld_shlibs_F77=no
 13974 	cat <<EOF 1>&2
 13975 
 13976 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 13977 *** to be unable to reliably create shared libraries on AIX.
 13978 *** Therefore, libtool is disabling shared libraries support.  If you
 13979 *** really care for shared libraries, you may want to modify your PATH
 13980 *** so that a non-GNU linker is found, and then restart.
 13981 
 13982 EOF
 13983       fi
 13984       ;;
 13985 
 13986     amigaos*)
 13987       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)'
 13988       hardcode_libdir_flag_spec_F77='-L$libdir'
 13989       hardcode_minus_L_F77=yes
 13990 
 13991       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 13992       # that the semantics of dynamic libraries on AmigaOS, at least up
 13993       # to version 4, is to share data among multiple programs linked
 13994       # with the same dynamic library.  Since this doesn't match the
 13995       # behavior of shared libraries on other platforms, we can't use
 13996       # them.
 13997       ld_shlibs_F77=no
 13998       ;;
 13999 
 14000     beos*)
 14001       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14002 	allow_undefined_flag_F77=unsupported
 14003 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 14004 	# support --undefined.  This deserves some investigation.  FIXME
 14005 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14006       else
 14007 	ld_shlibs_F77=no
 14008       fi
 14009       ;;
 14010 
 14011     cygwin* | mingw* | pw32*)
 14012       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 14013       # as there is no search path for DLLs.
 14014       hardcode_libdir_flag_spec_F77='-L$libdir'
 14015       allow_undefined_flag_F77=unsupported
 14016       always_export_symbols_F77=no
 14017       enable_shared_with_static_runtimes_F77=yes
 14018       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 14019 
 14020       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 14021         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 14022 	# If the export-symbols file already is a .def file (1st line
 14023 	# is EXPORTS), use it as is; otherwise, prepend...
 14024 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 14025 	  cp $export_symbols $output_objdir/$soname.def;
 14026 	else
 14027 	  echo EXPORTS > $output_objdir/$soname.def;
 14028 	  cat $export_symbols >> $output_objdir/$soname.def;
 14029 	fi~
 14030 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 14031       else
 14032 	ld_shlibs_F77=no
 14033       fi
 14034       ;;
 14035 
 14036     linux*)
 14037       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14038 	tmp_addflag=
 14039 	case $cc_basename,$host_cpu in
 14040 	pgcc*)				# Portland Group C compiler
 14041 	  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'
 14042 	  tmp_addflag=' $pic_flag'
 14043 	  ;;
 14044 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 14045 	  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'
 14046 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 14047 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 14048 	  tmp_addflag=' -i_dynamic' ;;
 14049 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 14050 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 14051 	ifc* | ifort*)			# Intel Fortran compiler
 14052 	  tmp_addflag=' -nofor_main' ;;
 14053 	esac
 14054 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14055 
 14056 	if test $supports_anon_versioning = yes; then
 14057 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 14058   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 14059   $echo "local: *; };" >> $output_objdir/$libname.ver~
 14060 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 14061 	fi
 14062       else
 14063 	ld_shlibs_F77=no
 14064       fi
 14065       ;;
 14066 
 14067     netbsd*)
 14068       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 14069 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 14070 	wlarc=
 14071       else
 14072 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14073 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14074       fi
 14075       ;;
 14076 
 14077     solaris* | sysv5*)
 14078       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 14079 	ld_shlibs_F77=no
 14080 	cat <<EOF 1>&2
 14081 
 14082 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 14083 *** create shared libraries on Solaris systems.  Therefore, libtool
 14084 *** is disabling shared libraries support.  We urge you to upgrade GNU
 14085 *** binutils to release 2.9.1 or newer.  Another option is to modify
 14086 *** your PATH or compiler configuration so that the native linker is
 14087 *** used, and then restart.
 14088 
 14089 EOF
 14090       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14091 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14092 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14093       else
 14094 	ld_shlibs_F77=no
 14095       fi
 14096       ;;
 14097 
 14098     sunos4*)
 14099       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14100       wlarc=
 14101       hardcode_direct_F77=yes
 14102       hardcode_shlibpath_var_F77=no
 14103       ;;
 14104 
 14105     *)
 14106       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14107 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14108 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14109       else
 14110 	ld_shlibs_F77=no
 14111       fi
 14112       ;;
 14113     esac
 14114 
 14115     if test "$ld_shlibs_F77" = no; then
 14116       runpath_var=
 14117       hardcode_libdir_flag_spec_F77=
 14118       export_dynamic_flag_spec_F77=
 14119       whole_archive_flag_spec_F77=
 14120     fi
 14121   else
 14122     # PORTME fill in a description of your system's linker (not GNU ld)
 14123     case $host_os in
 14124     aix3*)
 14125       allow_undefined_flag_F77=unsupported
 14126       always_export_symbols_F77=yes
 14127       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'
 14128       # Note: this linker hardcodes the directories in LIBPATH if there
 14129       # are no directories specified by -L.
 14130       hardcode_minus_L_F77=yes
 14131       if test "$GCC" = yes && test -z "$link_static_flag"; then
 14132 	# Neither direct hardcoding nor static linking is supported with a
 14133 	# broken collect2.
 14134 	hardcode_direct_F77=unsupported
 14135       fi
 14136       ;;
 14137 
 14138     aix4* | aix5*)
 14139       if test "$host_cpu" = ia64; then
 14140 	# On IA64, the linker does run time linking by default, so we don't
 14141 	# have to do anything special.
 14142 	aix_use_runtimelinking=no
 14143 	exp_sym_flag='-Bexport'
 14144 	no_entry_flag=""
 14145       else
 14146 	# If we're using GNU nm, then we don't want the "-C" option.
 14147 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 14148 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 14149 	  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'
 14150 	else
 14151 	  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'
 14152 	fi
 14153 	aix_use_runtimelinking=no
 14154 
 14155 	# Test if we are trying to use run time linking or normal
 14156 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 14157 	# need to do runtime linking.
 14158 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 14159 	  for ld_flag in $LDFLAGS; do
 14160   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 14161   	    aix_use_runtimelinking=yes
 14162   	    break
 14163   	  fi
 14164 	  done
 14165 	esac
 14166 
 14167 	exp_sym_flag='-bexport'
 14168 	no_entry_flag='-bnoentry'
 14169       fi
 14170 
 14171       # When large executables or shared objects are built, AIX ld can
 14172       # have problems creating the table of contents.  If linking a library
 14173       # or program results in "error TOC overflow" add -mminimal-toc to
 14174       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 14175       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 14176 
 14177       archive_cmds_F77=''
 14178       hardcode_direct_F77=yes
 14179       hardcode_libdir_separator_F77=':'
 14180       link_all_deplibs_F77=yes
 14181 
 14182       if test "$GCC" = yes; then
 14183 	case $host_os in aix4.[012]|aix4.[012].*)
 14184 	# We only want to do this on AIX 4.2 and lower, the check
 14185 	# below for broken collect2 doesn't work under 4.3+
 14186 	  collect2name=`${CC} -print-prog-name=collect2`
 14187 	  if test -f "$collect2name" && \
 14188   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 14189 	  then
 14190   	  # We have reworked collect2
 14191   	  hardcode_direct_F77=yes
 14192 	  else
 14193   	  # We have old collect2
 14194   	  hardcode_direct_F77=unsupported
 14195   	  # It fails to find uninstalled libraries when the uninstalled
 14196   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 14197   	  # to unsupported forces relinking
 14198   	  hardcode_minus_L_F77=yes
 14199   	  hardcode_libdir_flag_spec_F77='-L$libdir'
 14200   	  hardcode_libdir_separator_F77=
 14201 	  fi
 14202 	esac
 14203 	shared_flag='-shared'
 14204 	if test "$aix_use_runtimelinking" = yes; then
 14205 	  shared_flag="$shared_flag "'${wl}-G'
 14206 	fi
 14207       else
 14208 	# not using gcc
 14209 	if test "$host_cpu" = ia64; then
 14210   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 14211   	# chokes on -Wl,-G. The following line is correct:
 14212 	  shared_flag='-G'
 14213 	else
 14214   	if test "$aix_use_runtimelinking" = yes; then
 14215 	    shared_flag='${wl}-G'
 14216 	  else
 14217 	    shared_flag='${wl}-bM:SRE'
 14218   	fi
 14219 	fi
 14220       fi
 14221 
 14222       # It seems that -bexpall does not export symbols beginning with
 14223       # underscore (_), so it is better to generate a list of symbols to export.
 14224       always_export_symbols_F77=yes
 14225       if test "$aix_use_runtimelinking" = yes; then
 14226 	# Warning - without using the other runtime loading flags (-brtl),
 14227 	# -berok will link without error, but may produce a broken library.
 14228 	allow_undefined_flag_F77='-berok'
 14229        # Determine the default libpath from the value encoded in an empty executable.
 14230        cat >conftest.$ac_ext <<_ACEOF
 14231       program main
 14232 
 14233       end
 14234 _ACEOF
 14235 rm -f conftest.$ac_objext conftest$ac_exeext
 14236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 14237   (eval $ac_link) 2>conftest.er1
 14238   ac_status=$?
 14239   grep -v '^ *+' conftest.er1 >conftest.err
 14240   rm -f conftest.er1
 14241   cat conftest.err >&5
 14242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14243   (exit $ac_status); } &&
 14244 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 14245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14246   (eval $ac_try) 2>&5
 14247   ac_status=$?
 14248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14249   (exit $ac_status); }; } &&
 14250 	 { ac_try='test -s conftest$ac_exeext'
 14251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14252   (eval $ac_try) 2>&5
 14253   ac_status=$?
 14254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14255   (exit $ac_status); }; }; then
 14256   
 14257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 14258 }'`
 14259 # Check for a 64-bit object if we didn't find anything.
 14260 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; }
 14261 }'`; fi
 14262 else
 14263   echo "$as_me: failed program was:" >&5
 14264 sed 's/^/| /' conftest.$ac_ext >&5
 14265 
 14266 fi
 14267 rm -f conftest.err conftest.$ac_objext \
 14268       conftest$ac_exeext conftest.$ac_ext
 14269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 14270 
 14271        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 14272 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 14273        else
 14274 	if test "$host_cpu" = ia64; then
 14275 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 14276 	  allow_undefined_flag_F77="-z nodefs"
 14277 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 14278 	else
 14279 	 # Determine the default libpath from the value encoded in an empty executable.
 14280 	 cat >conftest.$ac_ext <<_ACEOF
 14281       program main
 14282 
 14283       end
 14284 _ACEOF
 14285 rm -f conftest.$ac_objext conftest$ac_exeext
 14286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 14287   (eval $ac_link) 2>conftest.er1
 14288   ac_status=$?
 14289   grep -v '^ *+' conftest.er1 >conftest.err
 14290   rm -f conftest.er1
 14291   cat conftest.err >&5
 14292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14293   (exit $ac_status); } &&
 14294 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 14295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14296   (eval $ac_try) 2>&5
 14297   ac_status=$?
 14298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14299   (exit $ac_status); }; } &&
 14300 	 { ac_try='test -s conftest$ac_exeext'
 14301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14302   (eval $ac_try) 2>&5
 14303   ac_status=$?
 14304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14305   (exit $ac_status); }; }; then
 14306   
 14307 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 14308 }'`
 14309 # Check for a 64-bit object if we didn't find anything.
 14310 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; }
 14311 }'`; fi
 14312 else
 14313   echo "$as_me: failed program was:" >&5
 14314 sed 's/^/| /' conftest.$ac_ext >&5
 14315 
 14316 fi
 14317 rm -f conftest.err conftest.$ac_objext \
 14318       conftest$ac_exeext conftest.$ac_ext
 14319 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 14320 
 14321 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 14322 	  # Warning - without using the other run time loading flags,
 14323 	  # -berok will link without error, but may produce a broken library.
 14324 	  no_undefined_flag_F77=' ${wl}-bernotok'
 14325 	  allow_undefined_flag_F77=' ${wl}-berok'
 14326 	  # -bexpall does not export symbols beginning with underscore (_)
 14327 	  always_export_symbols_F77=yes
 14328 	  # Exported symbols can be pulled into shared objects from archives
 14329 	  whole_archive_flag_spec_F77=' '
 14330 	  archive_cmds_need_lc_F77=yes
 14331 	  # This is similar to how AIX traditionally builds its shared libraries.
 14332 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 14333 	fi
 14334       fi
 14335       ;;
 14336 
 14337     amigaos*)
 14338       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)'
 14339       hardcode_libdir_flag_spec_F77='-L$libdir'
 14340       hardcode_minus_L_F77=yes
 14341       # see comment about different semantics on the GNU ld section
 14342       ld_shlibs_F77=no
 14343       ;;
 14344 
 14345     bsdi[45]*)
 14346       export_dynamic_flag_spec_F77=-rdynamic
 14347       ;;
 14348 
 14349     cygwin* | mingw* | pw32*)
 14350       # When not using gcc, we currently assume that we are using
 14351       # Microsoft Visual C++.
 14352       # hardcode_libdir_flag_spec is actually meaningless, as there is
 14353       # no search path for DLLs.
 14354       hardcode_libdir_flag_spec_F77=' '
 14355       allow_undefined_flag_F77=unsupported
 14356       # Tell ltmain to make .lib files, not .a files.
 14357       libext=lib
 14358       # Tell ltmain to make .dll files, not .so files.
 14359       shrext_cmds=".dll"
 14360       # FIXME: Setting linknames here is a bad hack.
 14361       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 14362       # The linker will automatically build a .lib file if we build a DLL.
 14363       old_archive_From_new_cmds_F77='true'
 14364       # FIXME: Should let the user specify the lib program.
 14365       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 14366       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 14367       enable_shared_with_static_runtimes_F77=yes
 14368       ;;
 14369 
 14370     darwin* | rhapsody*)
 14371       case $host_os in
 14372         rhapsody* | darwin1.[012])
 14373          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 14374          ;;
 14375        *) # Darwin 1.3 on
 14376          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 14377            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 14378          else
 14379            case ${MACOSX_DEPLOYMENT_TARGET} in
 14380              10.[012])
 14381                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 14382                ;;
 14383              10.*)
 14384                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 14385                ;;
 14386            esac
 14387          fi
 14388          ;;
 14389       esac
 14390       archive_cmds_need_lc_F77=no
 14391       hardcode_direct_F77=no
 14392       hardcode_automatic_F77=yes
 14393       hardcode_shlibpath_var_F77=unsupported
 14394       whole_archive_flag_spec_F77=''
 14395       link_all_deplibs_F77=yes
 14396     if test "$GCC" = yes ; then
 14397     	output_verbose_link_cmd='echo'
 14398         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 14399       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 14400       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 14401       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}'
 14402       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}'
 14403     else
 14404       case $cc_basename in
 14405         xlc*)
 14406          output_verbose_link_cmd='echo'
 14407          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 14408          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 14409           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 14410          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}'
 14411           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}'
 14412           ;;
 14413        *)
 14414          ld_shlibs_F77=no
 14415           ;;
 14416       esac
 14417     fi
 14418       ;;
 14419 
 14420     dgux*)
 14421       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14422       hardcode_libdir_flag_spec_F77='-L$libdir'
 14423       hardcode_shlibpath_var_F77=no
 14424       ;;
 14425 
 14426     freebsd1*)
 14427       ld_shlibs_F77=no
 14428       ;;
 14429 
 14430     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 14431     # support.  Future versions do this automatically, but an explicit c++rt0.o
 14432     # does not break anything, and helps significantly (at the cost of a little
 14433     # extra space).
 14434     freebsd2.2*)
 14435       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 14436       hardcode_libdir_flag_spec_F77='-R$libdir'
 14437       hardcode_direct_F77=yes
 14438       hardcode_shlibpath_var_F77=no
 14439       ;;
 14440 
 14441     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 14442     freebsd2*)
 14443       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14444       hardcode_direct_F77=yes
 14445       hardcode_minus_L_F77=yes
 14446       hardcode_shlibpath_var_F77=no
 14447       ;;
 14448 
 14449     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 14450     freebsd* | kfreebsd*-gnu | dragonfly*)
 14451       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 14452       hardcode_libdir_flag_spec_F77='-R$libdir'
 14453       hardcode_direct_F77=yes
 14454       hardcode_shlibpath_var_F77=no
 14455       ;;
 14456 
 14457     hpux9*)
 14458       if test "$GCC" = yes; then
 14459 	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'
 14460       else
 14461 	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'
 14462       fi
 14463       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14464       hardcode_libdir_separator_F77=:
 14465       hardcode_direct_F77=yes
 14466 
 14467       # hardcode_minus_L: Not really in the search PATH,
 14468       # but as the default location of the library.
 14469       hardcode_minus_L_F77=yes
 14470       export_dynamic_flag_spec_F77='${wl}-E'
 14471       ;;
 14472 
 14473     hpux10* | hpux11*)
 14474       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 14475 	case $host_cpu in
 14476 	hppa*64*|ia64*)
 14477 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14478 	  ;;
 14479 	*)
 14480 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 14481 	  ;;
 14482 	esac
 14483       else
 14484 	case $host_cpu in
 14485 	hppa*64*|ia64*)
 14486 	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 14487 	  ;;
 14488 	*)
 14489 	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 14490 	  ;;
 14491 	esac
 14492       fi
 14493       if test "$with_gnu_ld" = no; then
 14494 	case $host_cpu in
 14495 	hppa*64*)
 14496 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14497 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 14498 	  hardcode_libdir_separator_F77=:
 14499 	  hardcode_direct_F77=no
 14500 	  hardcode_shlibpath_var_F77=no
 14501 	  ;;
 14502 	ia64*)
 14503 	  hardcode_libdir_flag_spec_F77='-L$libdir'
 14504 	  hardcode_direct_F77=no
 14505 	  hardcode_shlibpath_var_F77=no
 14506 
 14507 	  # hardcode_minus_L: Not really in the search PATH,
 14508 	  # but as the default location of the library.
 14509 	  hardcode_minus_L_F77=yes
 14510 	  ;;
 14511 	*)
 14512 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14513 	  hardcode_libdir_separator_F77=:
 14514 	  hardcode_direct_F77=yes
 14515 	  export_dynamic_flag_spec_F77='${wl}-E'
 14516 
 14517 	  # hardcode_minus_L: Not really in the search PATH,
 14518 	  # but as the default location of the library.
 14519 	  hardcode_minus_L_F77=yes
 14520 	  ;;
 14521 	esac
 14522       fi
 14523       ;;
 14524 
 14525     irix5* | irix6* | nonstopux*)
 14526       if test "$GCC" = yes; then
 14527 	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'
 14528       else
 14529 	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'
 14530 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 14531       fi
 14532       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14533       hardcode_libdir_separator_F77=:
 14534       link_all_deplibs_F77=yes
 14535       ;;
 14536 
 14537     netbsd*)
 14538       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 14539 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 14540       else
 14541 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 14542       fi
 14543       hardcode_libdir_flag_spec_F77='-R$libdir'
 14544       hardcode_direct_F77=yes
 14545       hardcode_shlibpath_var_F77=no
 14546       ;;
 14547 
 14548     newsos6)
 14549       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14550       hardcode_direct_F77=yes
 14551       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14552       hardcode_libdir_separator_F77=:
 14553       hardcode_shlibpath_var_F77=no
 14554       ;;
 14555 
 14556     openbsd*)
 14557       hardcode_direct_F77=yes
 14558       hardcode_shlibpath_var_F77=no
 14559       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 14560 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 14561 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 14562 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 14563 	export_dynamic_flag_spec_F77='${wl}-E'
 14564       else
 14565        case $host_os in
 14566 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 14567 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14568 	   hardcode_libdir_flag_spec_F77='-R$libdir'
 14569 	   ;;
 14570 	 *)
 14571 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 14572 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 14573 	   ;;
 14574        esac
 14575       fi
 14576       ;;
 14577 
 14578     os2*)
 14579       hardcode_libdir_flag_spec_F77='-L$libdir'
 14580       hardcode_minus_L_F77=yes
 14581       allow_undefined_flag_F77=unsupported
 14582       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'
 14583       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 14584       ;;
 14585 
 14586     osf3*)
 14587       if test "$GCC" = yes; then
 14588 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 14589 	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'
 14590       else
 14591 	allow_undefined_flag_F77=' -expect_unresolved \*'
 14592 	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'
 14593       fi
 14594       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14595       hardcode_libdir_separator_F77=:
 14596       ;;
 14597 
 14598     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 14599       if test "$GCC" = yes; then
 14600 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 14601 	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'
 14602 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14603       else
 14604 	allow_undefined_flag_F77=' -expect_unresolved \*'
 14605 	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'
 14606 	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~
 14607 	$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'
 14608 
 14609 	# Both c and cxx compiler support -rpath directly
 14610 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
 14611       fi
 14612       hardcode_libdir_separator_F77=:
 14613       ;;
 14614 
 14615     sco3.2v5*)
 14616       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14617       hardcode_shlibpath_var_F77=no
 14618       export_dynamic_flag_spec_F77='${wl}-Bexport'
 14619       runpath_var=LD_RUN_PATH
 14620       hardcode_runpath_var=yes
 14621       ;;
 14622 
 14623     solaris*)
 14624       no_undefined_flag_F77=' -z text'
 14625       if test "$GCC" = yes; then
 14626 	wlarc='${wl}'
 14627 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14628 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14629 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 14630       else
 14631 	wlarc=''
 14632 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14633 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14634   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 14635       fi
 14636       hardcode_libdir_flag_spec_F77='-R$libdir'
 14637       hardcode_shlibpath_var_F77=no
 14638       case $host_os in
 14639       solaris2.[0-5] | solaris2.[0-5].*) ;;
 14640       *)
 14641  	# The compiler driver will combine linker options so we
 14642  	# cannot just pass the convience library names through
 14643  	# without $wl, iff we do not link with $LD.
 14644  	# Luckily, gcc supports the same syntax we need for Sun Studio.
 14645  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 14646  	case $wlarc in
 14647  	'')
 14648  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 14649  	*)
 14650  	  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' ;;
 14651  	esac ;;
 14652       esac
 14653       link_all_deplibs_F77=yes
 14654       ;;
 14655 
 14656     sunos4*)
 14657       if test "x$host_vendor" = xsequent; then
 14658 	# Use $CC to link under sequent, because it throws in some extra .o
 14659 	# files that make .init and .fini sections work.
 14660 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 14661       else
 14662 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 14663       fi
 14664       hardcode_libdir_flag_spec_F77='-L$libdir'
 14665       hardcode_direct_F77=yes
 14666       hardcode_minus_L_F77=yes
 14667       hardcode_shlibpath_var_F77=no
 14668       ;;
 14669 
 14670     sysv4)
 14671       case $host_vendor in
 14672 	sni)
 14673 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14674 	  hardcode_direct_F77=yes # is this really true???
 14675 	;;
 14676 	siemens)
 14677 	  ## LD is ld it makes a PLAMLIB
 14678 	  ## CC just makes a GrossModule.
 14679 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 14680 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
 14681 	  hardcode_direct_F77=no
 14682         ;;
 14683 	motorola)
 14684 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14685 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 14686 	;;
 14687       esac
 14688       runpath_var='LD_RUN_PATH'
 14689       hardcode_shlibpath_var_F77=no
 14690       ;;
 14691 
 14692     sysv4.3*)
 14693       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14694       hardcode_shlibpath_var_F77=no
 14695       export_dynamic_flag_spec_F77='-Bexport'
 14696       ;;
 14697 
 14698     sysv4*MP*)
 14699       if test -d /usr/nec; then
 14700 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14701 	hardcode_shlibpath_var_F77=no
 14702 	runpath_var=LD_RUN_PATH
 14703 	hardcode_runpath_var=yes
 14704 	ld_shlibs_F77=yes
 14705       fi
 14706       ;;
 14707 
 14708     sysv4.2uw2*)
 14709       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 14710       hardcode_direct_F77=yes
 14711       hardcode_minus_L_F77=no
 14712       hardcode_shlibpath_var_F77=no
 14713       hardcode_runpath_var=yes
 14714       runpath_var=LD_RUN_PATH
 14715       ;;
 14716 
 14717    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 14718       no_undefined_flag_F77='${wl}-z ${wl}text'
 14719       if test "$GCC" = yes; then
 14720 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14721       else
 14722 	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14723       fi
 14724       runpath_var='LD_RUN_PATH'
 14725       hardcode_shlibpath_var_F77=no
 14726       ;;
 14727 
 14728     sysv5*)
 14729       no_undefined_flag_F77=' -z text'
 14730       # $CC -shared without GNU ld will not create a library from C++
 14731       # object files and a static libstdc++, better avoid it by now
 14732       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14733       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14734   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 14735       hardcode_libdir_flag_spec_F77=
 14736       hardcode_shlibpath_var_F77=no
 14737       runpath_var='LD_RUN_PATH'
 14738       ;;
 14739 
 14740     uts4*)
 14741       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14742       hardcode_libdir_flag_spec_F77='-L$libdir'
 14743       hardcode_shlibpath_var_F77=no
 14744       ;;
 14745 
 14746     *)
 14747       ld_shlibs_F77=no
 14748       ;;
 14749     esac
 14750   fi
 14751 
 14752 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 14753 echo "${ECHO_T}$ld_shlibs_F77" >&6
 14754 test "$ld_shlibs_F77" = no && can_build_shared=no
 14755 
 14756 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 14757 if test "$GCC" = yes; then
 14758   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 14759 fi
 14760 
 14761 #
 14762 # Do we need to explicitly link libc?
 14763 #
 14764 case "x$archive_cmds_need_lc_F77" in
 14765 x|xyes)
 14766   # Assume -lc should be added
 14767   archive_cmds_need_lc_F77=yes
 14768 
 14769   if test "$enable_shared" = yes && test "$GCC" = yes; then
 14770     case $archive_cmds_F77 in
 14771     *'~'*)
 14772       # FIXME: we may have to deal with multi-command sequences.
 14773       ;;
 14774     '$CC '*)
 14775       # Test whether the compiler implicitly links with -lc since on some
 14776       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 14777       # to ld, don't add -lc before -lgcc.
 14778       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 14779 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 14780       $rm conftest*
 14781       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 14782 
 14783       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 14784   (eval $ac_compile) 2>&5
 14785   ac_status=$?
 14786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14787   (exit $ac_status); } 2>conftest.err; then
 14788         soname=conftest
 14789         lib=conftest
 14790         libobjs=conftest.$ac_objext
 14791         deplibs=
 14792         wl=$lt_prog_compiler_wl_F77
 14793         compiler_flags=-v
 14794         linker_flags=-v
 14795         verstring=
 14796         output_objdir=.
 14797         libname=conftest
 14798         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 14799         allow_undefined_flag_F77=
 14800         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 14801   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 14802   ac_status=$?
 14803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14804   (exit $ac_status); }
 14805         then
 14806 	  archive_cmds_need_lc_F77=no
 14807         else
 14808 	  archive_cmds_need_lc_F77=yes
 14809         fi
 14810         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 14811       else
 14812         cat conftest.err 1>&5
 14813       fi
 14814       $rm conftest*
 14815       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 14816 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 14817       ;;
 14818     esac
 14819   fi
 14820   ;;
 14821 esac
 14822 
 14823 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 14824 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 14825 library_names_spec=
 14826 libname_spec='lib$name'
 14827 soname_spec=
 14828 shrext_cmds=".so"
 14829 postinstall_cmds=
 14830 postuninstall_cmds=
 14831 finish_cmds=
 14832 finish_eval=
 14833 shlibpath_var=
 14834 shlibpath_overrides_runpath=unknown
 14835 version_type=none
 14836 dynamic_linker="$host_os ld.so"
 14837 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 14838 if test "$GCC" = yes; then
 14839   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 14840   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 14841     # if the path contains ";" then we assume it to be the separator
 14842     # otherwise default to the standard path separator (i.e. ":") - it is
 14843     # assumed that no part of a normal pathname contains ";" but that should
 14844     # okay in the real world where ";" in dirpaths is itself problematic.
 14845     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 14846   else
 14847     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 14848   fi
 14849 else
 14850   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 14851 fi
 14852 need_lib_prefix=unknown
 14853 hardcode_into_libs=no
 14854 
 14855 # when you set need_version to no, make sure it does not cause -set_version
 14856 # flags to be left without arguments
 14857 need_version=unknown
 14858 
 14859 case $host_os in
 14860 aix3*)
 14861   version_type=linux
 14862   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 14863   shlibpath_var=LIBPATH
 14864 
 14865   # AIX 3 has no versioning support, so we append a major version to the name.
 14866   soname_spec='${libname}${release}${shared_ext}$major'
 14867   ;;
 14868 
 14869 aix4* | aix5*)
 14870   version_type=linux
 14871   need_lib_prefix=no
 14872   need_version=no
 14873   hardcode_into_libs=yes
 14874   if test "$host_cpu" = ia64; then
 14875     # AIX 5 supports IA64
 14876     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 14877     shlibpath_var=LD_LIBRARY_PATH
 14878   else
 14879     # With GCC up to 2.95.x, collect2 would create an import file
 14880     # for dependence libraries.  The import file would start with
 14881     # the line `#! .'.  This would cause the generated library to
 14882     # depend on `.', always an invalid library.  This was fixed in
 14883     # development snapshots of GCC prior to 3.0.
 14884     case $host_os in
 14885       aix4 | aix4.[01] | aix4.[01].*)
 14886       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 14887 	   echo ' yes '
 14888 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 14889 	:
 14890       else
 14891 	can_build_shared=no
 14892       fi
 14893       ;;
 14894     esac
 14895     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 14896     # soname into executable. Probably we can add versioning support to
 14897     # collect2, so additional links can be useful in future.
 14898     if test "$aix_use_runtimelinking" = yes; then
 14899       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 14900       # instead of lib<name>.a to let people know that these are not
 14901       # typical AIX shared libraries.
 14902       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14903     else
 14904       # We preserve .a as extension for shared libraries through AIX4.2
 14905       # and later when we are not doing run time linking.
 14906       library_names_spec='${libname}${release}.a $libname.a'
 14907       soname_spec='${libname}${release}${shared_ext}$major'
 14908     fi
 14909     shlibpath_var=LIBPATH
 14910   fi
 14911   ;;
 14912 
 14913 amigaos*)
 14914   library_names_spec='$libname.ixlibrary $libname.a'
 14915   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 14916   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'
 14917   ;;
 14918 
 14919 beos*)
 14920   library_names_spec='${libname}${shared_ext}'
 14921   dynamic_linker="$host_os ld.so"
 14922   shlibpath_var=LIBRARY_PATH
 14923   ;;
 14924 
 14925 bsdi[45]*)
 14926   version_type=linux
 14927   need_version=no
 14928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14929   soname_spec='${libname}${release}${shared_ext}$major'
 14930   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 14931   shlibpath_var=LD_LIBRARY_PATH
 14932   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 14933   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 14934   # the default ld.so.conf also contains /usr/contrib/lib and
 14935   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 14936   # libtool to hard-code these into programs
 14937   ;;
 14938 
 14939 cygwin* | mingw* | pw32*)
 14940   version_type=windows
 14941   shrext_cmds=".dll"
 14942   need_version=no
 14943   need_lib_prefix=no
 14944 
 14945   case $GCC,$host_os in
 14946   yes,cygwin* | yes,mingw* | yes,pw32*)
 14947     library_names_spec='$libname.dll.a'
 14948     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 14949     postinstall_cmds='base_file=`basename \${file}`~
 14950       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 14951       dldir=$destdir/`dirname \$dlpath`~
 14952       test -d \$dldir || mkdir -p \$dldir~
 14953       $install_prog $dir/$dlname \$dldir/$dlname~
 14954       chmod a+x \$dldir/$dlname'
 14955     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 14956       dlpath=$dir/\$dldll~
 14957        $rm \$dlpath'
 14958     shlibpath_overrides_runpath=yes
 14959 
 14960     case $host_os in
 14961     cygwin*)
 14962       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 14963       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14964       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 14965       ;;
 14966     mingw*)
 14967       # MinGW DLLs use traditional 'lib' prefix
 14968       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14969       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 14970       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 14971         # It is most probably a Windows format PATH printed by
 14972         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 14973         # path with ; separators, and with drive letters. We can handle the
 14974         # drive letters (cygwin fileutils understands them), so leave them,
 14975         # especially as we might pass files found there to a mingw objdump,
 14976         # which wouldn't understand a cygwinified path. Ahh.
 14977         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 14978       else
 14979         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 14980       fi
 14981       ;;
 14982     pw32*)
 14983       # pw32 DLLs use 'pw' prefix rather than 'lib'
 14984       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14985       ;;
 14986     esac
 14987     ;;
 14988 
 14989   *)
 14990     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 14991     ;;
 14992   esac
 14993   dynamic_linker='Win32 ld.exe'
 14994   # FIXME: first we should search . and the directory the executable is in
 14995   shlibpath_var=PATH
 14996   ;;
 14997 
 14998 darwin* | rhapsody*)
 14999   dynamic_linker="$host_os dyld"
 15000   version_type=darwin
 15001   need_lib_prefix=no
 15002   need_version=no
 15003   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 15004   soname_spec='${libname}${release}${major}$shared_ext'
 15005   shlibpath_overrides_runpath=yes
 15006   shlibpath_var=DYLD_LIBRARY_PATH
 15007   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 15008   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 15009   if test "$GCC" = yes; then
 15010     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"`
 15011   else
 15012     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 15013   fi
 15014   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 15015   ;;
 15016 
 15017 dgux*)
 15018   version_type=linux
 15019   need_lib_prefix=no
 15020   need_version=no
 15021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 15022   soname_spec='${libname}${release}${shared_ext}$major'
 15023   shlibpath_var=LD_LIBRARY_PATH
 15024   ;;
 15025 
 15026 freebsd1*)
 15027   dynamic_linker=no
 15028   ;;
 15029 
 15030 kfreebsd*-gnu)
 15031   version_type=linux
 15032   need_lib_prefix=no
 15033   need_version=no
 15034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15035   soname_spec='${libname}${release}${shared_ext}$major'
 15036   shlibpath_var=LD_LIBRARY_PATH
 15037   shlibpath_overrides_runpath=no
 15038   hardcode_into_libs=yes
 15039   dynamic_linker='GNU ld.so'
 15040   ;;
 15041 
 15042 freebsd* | dragonfly*)
 15043   # DragonFly does not have aout.  When/if they implement a new
 15044   # versioning mechanism, adjust this.
 15045   if test -x /usr/bin/objformat; then
 15046     objformat=`/usr/bin/objformat`
 15047   else
 15048     case $host_os in
 15049     freebsd[123]*) objformat=aout ;;
 15050     *) objformat=elf ;;
 15051     esac
 15052   fi
 15053   version_type=freebsd-$objformat
 15054   case $version_type in
 15055     freebsd-elf*)
 15056       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 15057       need_version=no
 15058       need_lib_prefix=no
 15059       ;;
 15060     freebsd-*)
 15061       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 15062       need_version=yes
 15063       ;;
 15064   esac
 15065   shlibpath_var=LD_LIBRARY_PATH
 15066   case $host_os in
 15067   freebsd2*)
 15068     shlibpath_overrides_runpath=yes
 15069     ;;
 15070   freebsd3.[01]* | freebsdelf3.[01]*)
 15071     shlibpath_overrides_runpath=yes
 15072     hardcode_into_libs=yes
 15073     ;;
 15074   *) # from 3.2 on
 15075     shlibpath_overrides_runpath=no
 15076     hardcode_into_libs=yes
 15077     ;;
 15078   esac
 15079   ;;
 15080 
 15081 gnu*)
 15082   version_type=linux
 15083   need_lib_prefix=no
 15084   need_version=no
 15085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 15086   soname_spec='${libname}${release}${shared_ext}$major'
 15087   shlibpath_var=LD_LIBRARY_PATH
 15088   hardcode_into_libs=yes
 15089   ;;
 15090 
 15091 hpux9* | hpux10* | hpux11*)
 15092   # Give a soname corresponding to the major version so that dld.sl refuses to
 15093   # link against other versions.
 15094   version_type=sunos
 15095   need_lib_prefix=no
 15096   need_version=no
 15097   case $host_cpu in
 15098   ia64*)
 15099     shrext_cmds='.so'
 15100     hardcode_into_libs=yes
 15101     dynamic_linker="$host_os dld.so"
 15102     shlibpath_var=LD_LIBRARY_PATH
 15103     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 15104     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15105     soname_spec='${libname}${release}${shared_ext}$major'
 15106     if test "X$HPUX_IA64_MODE" = X32; then
 15107       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 15108     else
 15109       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 15110     fi
 15111     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 15112     ;;
 15113    hppa*64*)
 15114      shrext_cmds='.sl'
 15115      hardcode_into_libs=yes
 15116      dynamic_linker="$host_os dld.sl"
 15117      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 15118      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 15119      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15120      soname_spec='${libname}${release}${shared_ext}$major'
 15121      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 15122      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 15123      ;;
 15124    *)
 15125     shrext_cmds='.sl'
 15126     dynamic_linker="$host_os dld.sl"
 15127     shlibpath_var=SHLIB_PATH
 15128     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 15129     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15130     soname_spec='${libname}${release}${shared_ext}$major'
 15131     ;;
 15132   esac
 15133   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 15134   postinstall_cmds='chmod 555 $lib'
 15135   ;;
 15136 
 15137 irix5* | irix6* | nonstopux*)
 15138   case $host_os in
 15139     nonstopux*) version_type=nonstopux ;;
 15140     *)
 15141 	if test "$lt_cv_prog_gnu_ld" = yes; then
 15142 		version_type=linux
 15143 	else
 15144 		version_type=irix
 15145 	fi ;;
 15146   esac
 15147   need_lib_prefix=no
 15148   need_version=no
 15149   soname_spec='${libname}${release}${shared_ext}$major'
 15150   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 15151   case $host_os in
 15152   irix5* | nonstopux*)
 15153     libsuff= shlibsuff=
 15154     ;;
 15155   *)
 15156     case $LD in # libtool.m4 will add one of these switches to LD
 15157     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 15158       libsuff= shlibsuff= libmagic=32-bit;;
 15159     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 15160       libsuff=32 shlibsuff=N32 libmagic=N32;;
 15161     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 15162       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 15163     *) libsuff= shlibsuff= libmagic=never-match;;
 15164     esac
 15165     ;;
 15166   esac
 15167   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 15168   shlibpath_overrides_runpath=no
 15169   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 15170   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 15171   hardcode_into_libs=yes
 15172   ;;
 15173 
 15174 # No shared lib support for Linux oldld, aout, or coff.
 15175 linux*oldld* | linux*aout* | linux*coff*)
 15176   dynamic_linker=no
 15177   ;;
 15178 
 15179 # This must be Linux ELF.
 15180 linux*)
 15181   version_type=linux
 15182   need_lib_prefix=no
 15183   need_version=no
 15184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15185   soname_spec='${libname}${release}${shared_ext}$major'
 15186   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 15187   shlibpath_var=LD_LIBRARY_PATH
 15188   shlibpath_overrides_runpath=no
 15189   # This implies no fast_install, which is unacceptable.
 15190   # Some rework will be needed to allow for fast_install
 15191   # before this can be enabled.
 15192   hardcode_into_libs=yes
 15193 
 15194   # Append ld.so.conf contents to the search path
 15195   if test -f /etc/ld.so.conf; then
 15196     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' ' '`
 15197     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 15198   fi
 15199 
 15200   # We used to test for /lib/ld.so.1 and disable shared libraries on
 15201   # powerpc, because MkLinux only supported shared libraries with the
 15202   # GNU dynamic linker.  Since this was broken with cross compilers,
 15203   # most powerpc-linux boxes support dynamic linking these days and
 15204   # people can always --disable-shared, the test was removed, and we
 15205   # assume the GNU/Linux dynamic linker is in use.
 15206   dynamic_linker='GNU/Linux ld.so'
 15207   ;;
 15208 
 15209 knetbsd*-gnu)
 15210   version_type=linux
 15211   need_lib_prefix=no
 15212   need_version=no
 15213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15214   soname_spec='${libname}${release}${shared_ext}$major'
 15215   shlibpath_var=LD_LIBRARY_PATH
 15216   shlibpath_overrides_runpath=no
 15217   hardcode_into_libs=yes
 15218   dynamic_linker='GNU ld.so'
 15219   ;;
 15220 
 15221 netbsd*)
 15222   version_type=sunos
 15223   need_lib_prefix=no
 15224   need_version=no
 15225   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 15226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15227     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15228     dynamic_linker='NetBSD (a.out) ld.so'
 15229   else
 15230     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15231     soname_spec='${libname}${release}${shared_ext}$major'
 15232     dynamic_linker='NetBSD ld.elf_so'
 15233   fi
 15234   shlibpath_var=LD_LIBRARY_PATH
 15235   shlibpath_overrides_runpath=yes
 15236   hardcode_into_libs=yes
 15237   ;;
 15238 
 15239 newsos6)
 15240   version_type=linux
 15241   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15242   shlibpath_var=LD_LIBRARY_PATH
 15243   shlibpath_overrides_runpath=yes
 15244   ;;
 15245 
 15246 nto-qnx*)
 15247   version_type=linux
 15248   need_lib_prefix=no
 15249   need_version=no
 15250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15251   soname_spec='${libname}${release}${shared_ext}$major'
 15252   shlibpath_var=LD_LIBRARY_PATH
 15253   shlibpath_overrides_runpath=yes
 15254   ;;
 15255 
 15256 openbsd*)
 15257   version_type=sunos
 15258   need_lib_prefix=no
 15259   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 15260   case $host_os in
 15261     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 15262     *)                         need_version=no  ;;
 15263   esac
 15264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15265   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15266   shlibpath_var=LD_LIBRARY_PATH
 15267   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 15268     case $host_os in
 15269       openbsd2.[89] | openbsd2.[89].*)
 15270 	shlibpath_overrides_runpath=no
 15271 	;;
 15272       *)
 15273 	shlibpath_overrides_runpath=yes
 15274 	;;
 15275       esac
 15276   else
 15277     shlibpath_overrides_runpath=yes
 15278   fi
 15279   ;;
 15280 
 15281 os2*)
 15282   libname_spec='$name'
 15283   shrext_cmds=".dll"
 15284   need_lib_prefix=no
 15285   library_names_spec='$libname${shared_ext} $libname.a'
 15286   dynamic_linker='OS/2 ld.exe'
 15287   shlibpath_var=LIBPATH
 15288   ;;
 15289 
 15290 osf3* | osf4* | osf5*)
 15291   version_type=osf
 15292   need_lib_prefix=no
 15293   need_version=no
 15294   soname_spec='${libname}${release}${shared_ext}$major'
 15295   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15296   shlibpath_var=LD_LIBRARY_PATH
 15297   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 15298   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 15299   ;;
 15300 
 15301 sco3.2v5*)
 15302   version_type=osf
 15303   soname_spec='${libname}${release}${shared_ext}$major'
 15304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15305   shlibpath_var=LD_LIBRARY_PATH
 15306   ;;
 15307 
 15308 solaris*)
 15309   version_type=linux
 15310   need_lib_prefix=no
 15311   need_version=no
 15312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15313   soname_spec='${libname}${release}${shared_ext}$major'
 15314   shlibpath_var=LD_LIBRARY_PATH
 15315   shlibpath_overrides_runpath=yes
 15316   hardcode_into_libs=yes
 15317   # ldd complains unless libraries are executable
 15318   postinstall_cmds='chmod +x $lib'
 15319   ;;
 15320 
 15321 sunos4*)
 15322   version_type=sunos
 15323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15324   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 15325   shlibpath_var=LD_LIBRARY_PATH
 15326   shlibpath_overrides_runpath=yes
 15327   if test "$with_gnu_ld" = yes; then
 15328     need_lib_prefix=no
 15329   fi
 15330   need_version=yes
 15331   ;;
 15332 
 15333 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 15334   version_type=linux
 15335   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15336   soname_spec='${libname}${release}${shared_ext}$major'
 15337   shlibpath_var=LD_LIBRARY_PATH
 15338   case $host_vendor in
 15339     sni)
 15340       shlibpath_overrides_runpath=no
 15341       need_lib_prefix=no
 15342       export_dynamic_flag_spec='${wl}-Blargedynsym'
 15343       runpath_var=LD_RUN_PATH
 15344       ;;
 15345     siemens)
 15346       need_lib_prefix=no
 15347       ;;
 15348     motorola)
 15349       need_lib_prefix=no
 15350       need_version=no
 15351       shlibpath_overrides_runpath=no
 15352       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 15353       ;;
 15354   esac
 15355   ;;
 15356 
 15357 sysv4*MP*)
 15358   if test -d /usr/nec ;then
 15359     version_type=linux
 15360     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 15361     soname_spec='$libname${shared_ext}.$major'
 15362     shlibpath_var=LD_LIBRARY_PATH
 15363   fi
 15364   ;;
 15365 
 15366 uts4*)
 15367   version_type=linux
 15368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15369   soname_spec='${libname}${release}${shared_ext}$major'
 15370   shlibpath_var=LD_LIBRARY_PATH
 15371   ;;
 15372 
 15373 *)
 15374   dynamic_linker=no
 15375   ;;
 15376 esac
 15377 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 15378 echo "${ECHO_T}$dynamic_linker" >&6
 15379 test "$dynamic_linker" = no && can_build_shared=no
 15380 
 15381 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 15382 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 15383 hardcode_action_F77=
 15384 if test -n "$hardcode_libdir_flag_spec_F77" || \
 15385    test -n "$runpath_var_F77" || \
 15386    test "X$hardcode_automatic_F77" = "Xyes" ; then
 15387 
 15388   # We can hardcode non-existant directories.
 15389   if test "$hardcode_direct_F77" != no &&
 15390      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 15391      # have to relink, otherwise we might link with an installed library
 15392      # when we should be linking with a yet-to-be-installed one
 15393      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 15394      test "$hardcode_minus_L_F77" != no; then
 15395     # Linking always hardcodes the temporary library directory.
 15396     hardcode_action_F77=relink
 15397   else
 15398     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 15399     hardcode_action_F77=immediate
 15400   fi
 15401 else
 15402   # We cannot hardcode anything, or else we can only hardcode existing
 15403   # directories.
 15404   hardcode_action_F77=unsupported
 15405 fi
 15406 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 15407 echo "${ECHO_T}$hardcode_action_F77" >&6
 15408 
 15409 if test "$hardcode_action_F77" = relink; then
 15410   # Fast installation is not supported
 15411   enable_fast_install=no
 15412 elif test "$shlibpath_overrides_runpath" = yes ||
 15413      test "$enable_shared" = no; then
 15414   # Fast installation is not necessary
 15415   enable_fast_install=needless
 15416 fi
 15417 
 15418 striplib=
 15419 old_striplib=
 15420 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 15421 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 15422 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 15423   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 15424   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 15425   echo "$as_me:$LINENO: result: yes" >&5
 15426 echo "${ECHO_T}yes" >&6
 15427 else
 15428 # FIXME - insert some real tests, host_os isn't really good enough
 15429   case $host_os in
 15430    darwin*)
 15431        if test -n "$STRIP" ; then
 15432          striplib="$STRIP -x"
 15433          echo "$as_me:$LINENO: result: yes" >&5
 15434 echo "${ECHO_T}yes" >&6
 15435        else
 15436   echo "$as_me:$LINENO: result: no" >&5
 15437 echo "${ECHO_T}no" >&6
 15438 fi
 15439        ;;
 15440    *)
 15441   echo "$as_me:$LINENO: result: no" >&5
 15442 echo "${ECHO_T}no" >&6
 15443     ;;
 15444   esac
 15445 fi
 15446 
 15447 
 15448 
 15449 # The else clause should only fire when bootstrapping the
 15450 # libtool distribution, otherwise you forgot to ship ltmain.sh
 15451 # with your package, and you will get complaints that there are
 15452 # no rules to generate ltmain.sh.
 15453 if test -f "$ltmain"; then
 15454   # See if we are running on zsh, and set the options which allow our commands through
 15455   # without removal of \ escapes.
 15456   if test -n "${ZSH_VERSION+set}" ; then
 15457     setopt NO_GLOB_SUBST
 15458   fi
 15459   # Now quote all the things that may contain metacharacters while being
 15460   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 15461   # variables and quote the copies for generation of the libtool script.
 15462   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 15463     SED SHELL STRIP \
 15464     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 15465     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 15466     deplibs_check_method reload_flag reload_cmds need_locks \
 15467     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 15468     lt_cv_sys_global_symbol_to_c_name_address \
 15469     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 15470     old_postinstall_cmds old_postuninstall_cmds \
 15471     compiler_F77 \
 15472     CC_F77 \
 15473     LD_F77 \
 15474     lt_prog_compiler_wl_F77 \
 15475     lt_prog_compiler_pic_F77 \
 15476     lt_prog_compiler_static_F77 \
 15477     lt_prog_compiler_no_builtin_flag_F77 \
 15478     export_dynamic_flag_spec_F77 \
 15479     thread_safe_flag_spec_F77 \
 15480     whole_archive_flag_spec_F77 \
 15481     enable_shared_with_static_runtimes_F77 \
 15482     old_archive_cmds_F77 \
 15483     old_archive_from_new_cmds_F77 \
 15484     predep_objects_F77 \
 15485     postdep_objects_F77 \
 15486     predeps_F77 \
 15487     postdeps_F77 \
 15488     compiler_lib_search_path_F77 \
 15489     archive_cmds_F77 \
 15490     archive_expsym_cmds_F77 \
 15491     postinstall_cmds_F77 \
 15492     postuninstall_cmds_F77 \
 15493     old_archive_from_expsyms_cmds_F77 \
 15494     allow_undefined_flag_F77 \
 15495     no_undefined_flag_F77 \
 15496     export_symbols_cmds_F77 \
 15497     hardcode_libdir_flag_spec_F77 \
 15498     hardcode_libdir_flag_spec_ld_F77 \
 15499     hardcode_libdir_separator_F77 \
 15500     hardcode_automatic_F77 \
 15501     module_cmds_F77 \
 15502     module_expsym_cmds_F77 \
 15503     lt_cv_prog_compiler_c_o_F77 \
 15504     exclude_expsyms_F77 \
 15505     include_expsyms_F77; do
 15506 
 15507     case $var in
 15508     old_archive_cmds_F77 | \
 15509     old_archive_from_new_cmds_F77 | \
 15510     archive_cmds_F77 | \
 15511     archive_expsym_cmds_F77 | \
 15512     module_cmds_F77 | \
 15513     module_expsym_cmds_F77 | \
 15514     old_archive_from_expsyms_cmds_F77 | \
 15515     export_symbols_cmds_F77 | \
 15516     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 15517     postinstall_cmds | postuninstall_cmds | \
 15518     old_postinstall_cmds | old_postuninstall_cmds | \
 15519     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 15520       # Double-quote double-evaled strings.
 15521       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 15522       ;;
 15523     *)
 15524       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 15525       ;;
 15526     esac
 15527   done
 15528 
 15529   case $lt_echo in
 15530   *'\$0 --fallback-echo"')
 15531     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 15532     ;;
 15533   esac
 15534 
 15535 cfgfile="$ofile"
 15536 
 15537   cat <<__EOF__ >> "$cfgfile"
 15538 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 15539 
 15540 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 15541 
 15542 # Shell to use when invoking shell scripts.
 15543 SHELL=$lt_SHELL
 15544 
 15545 # Whether or not to build shared libraries.
 15546 build_libtool_libs=$enable_shared
 15547 
 15548 # Whether or not to build static libraries.
 15549 build_old_libs=$enable_static
 15550 
 15551 # Whether or not to add -lc for building shared libraries.
 15552 build_libtool_need_lc=$archive_cmds_need_lc_F77
 15553 
 15554 # Whether or not to disallow shared libs when runtime libs are static
 15555 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 15556 
 15557 # Whether or not to optimize for fast installation.
 15558 fast_install=$enable_fast_install
 15559 
 15560 # The host system.
 15561 host_alias=$host_alias
 15562 host=$host
 15563 host_os=$host_os
 15564 
 15565 # The build system.
 15566 build_alias=$build_alias
 15567 build=$build
 15568 build_os=$build_os
 15569 
 15570 # An echo program that does not interpret backslashes.
 15571 echo=$lt_echo
 15572 
 15573 # The archiver.
 15574 AR=$lt_AR
 15575 AR_FLAGS=$lt_AR_FLAGS
 15576 
 15577 # A C compiler.
 15578 LTCC=$lt_LTCC
 15579 
 15580 # A language-specific compiler.
 15581 CC=$lt_compiler_F77
 15582 
 15583 # Is the compiler the GNU C compiler?
 15584 with_gcc=$GCC_F77
 15585 
 15586 # An ERE matcher.
 15587 EGREP=$lt_EGREP
 15588 
 15589 # The linker used to build libraries.
 15590 LD=$lt_LD_F77
 15591 
 15592 # Whether we need hard or soft links.
 15593 LN_S=$lt_LN_S
 15594 
 15595 # A BSD-compatible nm program.
 15596 NM=$lt_NM
 15597 
 15598 # A symbol stripping program
 15599 STRIP=$lt_STRIP
 15600 
 15601 # Used to examine libraries when file_magic_cmd begins "file"
 15602 MAGIC_CMD=$MAGIC_CMD
 15603 
 15604 # Used on cygwin: DLL creation program.
 15605 DLLTOOL="$DLLTOOL"
 15606 
 15607 # Used on cygwin: object dumper.
 15608 OBJDUMP="$OBJDUMP"
 15609 
 15610 # Used on cygwin: assembler.
 15611 AS="$AS"
 15612 
 15613 # The name of the directory that contains temporary libtool files.
 15614 objdir=$objdir
 15615 
 15616 # How to create reloadable object files.
 15617 reload_flag=$lt_reload_flag
 15618 reload_cmds=$lt_reload_cmds
 15619 
 15620 # How to pass a linker flag through the compiler.
 15621 wl=$lt_lt_prog_compiler_wl_F77
 15622 
 15623 # Object file suffix (normally "o").
 15624 objext="$ac_objext"
 15625 
 15626 # Old archive suffix (normally "a").
 15627 libext="$libext"
 15628 
 15629 # Shared library suffix (normally ".so").
 15630 shrext_cmds='$shrext_cmds'
 15631 
 15632 # Executable file suffix (normally "").
 15633 exeext="$exeext"
 15634 
 15635 # Additional compiler flags for building library objects.
 15636 pic_flag=$lt_lt_prog_compiler_pic_F77
 15637 pic_mode=$pic_mode
 15638 
 15639 # What is the maximum length of a command?
 15640 max_cmd_len=$lt_cv_sys_max_cmd_len
 15641 
 15642 # Does compiler simultaneously support -c and -o options?
 15643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 15644 
 15645 # Must we lock files when doing compilation?
 15646 need_locks=$lt_need_locks
 15647 
 15648 # Do we need the lib prefix for modules?
 15649 need_lib_prefix=$need_lib_prefix
 15650 
 15651 # Do we need a version for libraries?
 15652 need_version=$need_version
 15653 
 15654 # Whether dlopen is supported.
 15655 dlopen_support=$enable_dlopen
 15656 
 15657 # Whether dlopen of programs is supported.
 15658 dlopen_self=$enable_dlopen_self
 15659 
 15660 # Whether dlopen of statically linked programs is supported.
 15661 dlopen_self_static=$enable_dlopen_self_static
 15662 
 15663 # Compiler flag to prevent dynamic linking.
 15664 link_static_flag=$lt_lt_prog_compiler_static_F77
 15665 
 15666 # Compiler flag to turn off builtin functions.
 15667 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 15668 
 15669 # Compiler flag to allow reflexive dlopens.
 15670 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 15671 
 15672 # Compiler flag to generate shared objects directly from archives.
 15673 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 15674 
 15675 # Compiler flag to generate thread-safe objects.
 15676 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 15677 
 15678 # Library versioning type.
 15679 version_type=$version_type
 15680 
 15681 # Format of library name prefix.
 15682 libname_spec=$lt_libname_spec
 15683 
 15684 # List of archive names.  First name is the real one, the rest are links.
 15685 # The last name is the one that the linker finds with -lNAME.
 15686 library_names_spec=$lt_library_names_spec
 15687 
 15688 # The coded name of the library, if different from the real name.
 15689 soname_spec=$lt_soname_spec
 15690 
 15691 # Commands used to build and install an old-style archive.
 15692 RANLIB=$lt_RANLIB
 15693 old_archive_cmds=$lt_old_archive_cmds_F77
 15694 old_postinstall_cmds=$lt_old_postinstall_cmds
 15695 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 15696 
 15697 # Create an old-style archive from a shared archive.
 15698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 15699 
 15700 # Create a temporary old-style archive to link instead of a shared archive.
 15701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 15702 
 15703 # Commands used to build and install a shared archive.
 15704 archive_cmds=$lt_archive_cmds_F77
 15705 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 15706 postinstall_cmds=$lt_postinstall_cmds
 15707 postuninstall_cmds=$lt_postuninstall_cmds
 15708 
 15709 # Commands used to build a loadable module (assumed same as above if empty)
 15710 module_cmds=$lt_module_cmds_F77
 15711 module_expsym_cmds=$lt_module_expsym_cmds_F77
 15712 
 15713 # Commands to strip libraries.
 15714 old_striplib=$lt_old_striplib
 15715 striplib=$lt_striplib
 15716 
 15717 # Dependencies to place before the objects being linked to create a
 15718 # shared library.
 15719 predep_objects=$lt_predep_objects_F77
 15720 
 15721 # Dependencies to place after the objects being linked to create a
 15722 # shared library.
 15723 postdep_objects=$lt_postdep_objects_F77
 15724 
 15725 # Dependencies to place before the objects being linked to create a
 15726 # shared library.
 15727 predeps=$lt_predeps_F77
 15728 
 15729 # Dependencies to place after the objects being linked to create a
 15730 # shared library.
 15731 postdeps=$lt_postdeps_F77
 15732 
 15733 # The library search path used internally by the compiler when linking
 15734 # a shared library.
 15735 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 15736 
 15737 # Method to check whether dependent libraries are shared objects.
 15738 deplibs_check_method=$lt_deplibs_check_method
 15739 
 15740 # Command to use when deplibs_check_method == file_magic.
 15741 file_magic_cmd=$lt_file_magic_cmd
 15742 
 15743 # Flag that allows shared libraries with undefined symbols to be built.
 15744 allow_undefined_flag=$lt_allow_undefined_flag_F77
 15745 
 15746 # Flag that forces no undefined symbols.
 15747 no_undefined_flag=$lt_no_undefined_flag_F77
 15748 
 15749 # Commands used to finish a libtool library installation in a directory.
 15750 finish_cmds=$lt_finish_cmds
 15751 
 15752 # Same as above, but a single script fragment to be evaled but not shown.
 15753 finish_eval=$lt_finish_eval
 15754 
 15755 # Take the output of nm and produce a listing of raw symbols and C names.
 15756 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 15757 
 15758 # Transform the output of nm in a proper C declaration
 15759 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 15760 
 15761 # Transform the output of nm in a C name address pair
 15762 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 15763 
 15764 # This is the shared library runtime path variable.
 15765 runpath_var=$runpath_var
 15766 
 15767 # This is the shared library path variable.
 15768 shlibpath_var=$shlibpath_var
 15769 
 15770 # Is shlibpath searched before the hard-coded library search path?
 15771 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 15772 
 15773 # How to hardcode a shared library path into an executable.
 15774 hardcode_action=$hardcode_action_F77
 15775 
 15776 # Whether we should hardcode library paths into libraries.
 15777 hardcode_into_libs=$hardcode_into_libs
 15778 
 15779 # Flag to hardcode \$libdir into a binary during linking.
 15780 # This must work even if \$libdir does not exist.
 15781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 15782 
 15783 # If ld is used when linking, flag to hardcode \$libdir into
 15784 # a binary during linking. This must work even if \$libdir does
 15785 # not exist.
 15786 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 15787 
 15788 # Whether we need a single -rpath flag with a separated argument.
 15789 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 15790 
 15791 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 15792 # resulting binary.
 15793 hardcode_direct=$hardcode_direct_F77
 15794 
 15795 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 15796 # resulting binary.
 15797 hardcode_minus_L=$hardcode_minus_L_F77
 15798 
 15799 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 15800 # the resulting binary.
 15801 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 15802 
 15803 # Set to yes if building a shared library automatically hardcodes DIR into the library
 15804 # and all subsequent libraries and executables linked against it.
 15805 hardcode_automatic=$hardcode_automatic_F77
 15806 
 15807 # Variables whose values should be saved in libtool wrapper scripts and
 15808 # restored at relink time.
 15809 variables_saved_for_relink="$variables_saved_for_relink"
 15810 
 15811 # Whether libtool must link a program against all its dependency libraries.
 15812 link_all_deplibs=$link_all_deplibs_F77
 15813 
 15814 # Compile-time system search path for libraries
 15815 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 15816 
 15817 # Run-time system search path for libraries
 15818 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 15819 
 15820 # Fix the shell variable \$srcfile for the compiler.
 15821 fix_srcfile_path="$fix_srcfile_path_F77"
 15822 
 15823 # Set to yes if exported symbols are required.
 15824 always_export_symbols=$always_export_symbols_F77
 15825 
 15826 # The commands to list exported symbols.
 15827 export_symbols_cmds=$lt_export_symbols_cmds_F77
 15828 
 15829 # The commands to extract the exported symbol list from a shared archive.
 15830 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 15831 
 15832 # Symbols that should not be listed in the preloaded symbols.
 15833 exclude_expsyms=$lt_exclude_expsyms_F77
 15834 
 15835 # Symbols that must always be exported.
 15836 include_expsyms=$lt_include_expsyms_F77
 15837 
 15838 # ### END LIBTOOL TAG CONFIG: $tagname
 15839 
 15840 __EOF__
 15841 
 15842 
 15843 else
 15844   # If there is no Makefile yet, we rely on a make rule to execute
 15845   # `config.status --recheck' to rerun these tests and create the
 15846   # libtool script then.
 15847   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 15848   if test -f "$ltmain_in"; then
 15849     test -f Makefile && make "$ltmain"
 15850   fi
 15851 fi
 15852 
 15853 
 15854 ac_ext=c
 15855 ac_cpp='$CPP $CPPFLAGS'
 15856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15859 
 15860 CC="$lt_save_CC"
 15861 
 15862 	else
 15863 	  tagname=""
 15864 	fi
 15865 	;;
 15866 
 15867       GCJ)
 15868 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 15869 	  
 15870 
 15871 
 15872 # Source file extension for Java test sources.
 15873 ac_ext=java
 15874 
 15875 # Object file extension for compiled Java test sources.
 15876 objext=o
 15877 objext_GCJ=$objext
 15878 
 15879 # Code to be used in simple compile tests
 15880 lt_simple_compile_test_code="class foo {}\n"
 15881 
 15882 # Code to be used in simple link tests
 15883 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 15884 
 15885 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 15886 
 15887 # If no C compiler was specified, use CC.
 15888 LTCC=${LTCC-"$CC"}
 15889 
 15890 # Allow CC to be a program name with arguments.
 15891 compiler=$CC
 15892 
 15893 
 15894 # save warnings/boilerplate of simple test code
 15895 ac_outfile=conftest.$ac_objext
 15896 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 15897 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 15898 _lt_compiler_boilerplate=`cat conftest.err`
 15899 $rm conftest*
 15900 
 15901 ac_outfile=conftest.$ac_objext
 15902 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 15903 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 15904 _lt_linker_boilerplate=`cat conftest.err`
 15905 $rm conftest*
 15906 
 15907 
 15908 # Allow CC to be a program name with arguments.
 15909 lt_save_CC="$CC"
 15910 CC=${GCJ-"gcj"}
 15911 compiler=$CC
 15912 compiler_GCJ=$CC
 15913 for cc_temp in $compiler""; do
 15914   case $cc_temp in
 15915     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 15916     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 15917     \-*) ;;
 15918     *) break;;
 15919   esac
 15920 done
 15921 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 15922 
 15923 
 15924 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 15925 archive_cmds_need_lc_GCJ=no
 15926 
 15927 old_archive_cmds_GCJ=$old_archive_cmds
 15928 
 15929 ## CAVEAT EMPTOR:
 15930 ## There is no encapsulation within the following macros, do not change
 15931 ## the running order or otherwise move them around unless you know exactly
 15932 ## what you are doing...
 15933 
 15934 lt_prog_compiler_no_builtin_flag_GCJ=
 15935 
 15936 if test "$GCC" = yes; then
 15937   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 15938 
 15939   
 15940 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 15941 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 15942 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 15943   echo $ECHO_N "(cached) $ECHO_C" >&6
 15944 else
 15945   lt_cv_prog_compiler_rtti_exceptions=no
 15946   ac_outfile=conftest.$ac_objext
 15947    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 15948    lt_compiler_flag="-fno-rtti -fno-exceptions"
 15949    # Insert the option either (1) after the last *FLAGS variable, or
 15950    # (2) before a word containing "conftest.", or (3) at the end.
 15951    # Note that $ac_compile itself does not contain backslashes and begins
 15952    # with a dollar sign (not a hyphen), so the echo should work correctly.
 15953    # The option is referenced via a variable to avoid confusing sed.
 15954    lt_compile=`echo "$ac_compile" | $SED \
 15955    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15956    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15957    -e 's:$: $lt_compiler_flag:'`
 15958    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 15959    (eval "$lt_compile" 2>conftest.err)
 15960    ac_status=$?
 15961    cat conftest.err >&5
 15962    echo "$as_me:__oline__: \$? = $ac_status" >&5
 15963    if (exit $ac_status) && test -s "$ac_outfile"; then
 15964      # The compiler can only warn and ignore the option if not recognized
 15965      # So say no if there are warnings other than the usual output.
 15966      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 15967      $SED '/^$/d' conftest.err >conftest.er2
 15968      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 15969        lt_cv_prog_compiler_rtti_exceptions=yes
 15970      fi
 15971    fi
 15972    $rm conftest*
 15973 
 15974 fi
 15975 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 15976 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 15977 
 15978 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 15979     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 15980 else
 15981     :
 15982 fi
 15983 
 15984 fi
 15985 
 15986 lt_prog_compiler_wl_GCJ=
 15987 lt_prog_compiler_pic_GCJ=
 15988 lt_prog_compiler_static_GCJ=
 15989 
 15990 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 15991 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 15992  
 15993   if test "$GCC" = yes; then
 15994     lt_prog_compiler_wl_GCJ='-Wl,'
 15995     lt_prog_compiler_static_GCJ='-static'
 15996 
 15997     case $host_os in
 15998       aix*)
 15999       # All AIX code is PIC.
 16000       if test "$host_cpu" = ia64; then
 16001 	# AIX 5 now supports IA64 processor
 16002 	lt_prog_compiler_static_GCJ='-Bstatic'
 16003       fi
 16004       ;;
 16005 
 16006     amigaos*)
 16007       # FIXME: we need at least 68020 code to build shared libraries, but
 16008       # adding the `-m68020' flag to GCC prevents building anything better,
 16009       # like `-m68040'.
 16010       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 16011       ;;
 16012 
 16013     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 16014       # PIC is the default for these OSes.
 16015       ;;
 16016 
 16017     mingw* | pw32* | os2*)
 16018       # This hack is so that the source file can tell whether it is being
 16019       # built for inclusion in a dll (and should export symbols for example).
 16020       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 16021       ;;
 16022 
 16023     darwin* | rhapsody*)
 16024       # PIC is the default on this platform
 16025       # Common symbols not allowed in MH_DYLIB files
 16026       lt_prog_compiler_pic_GCJ='-fno-common'
 16027       ;;
 16028 
 16029     msdosdjgpp*)
 16030       # Just because we use GCC doesn't mean we suddenly get shared libraries
 16031       # on systems that don't support them.
 16032       lt_prog_compiler_can_build_shared_GCJ=no
 16033       enable_shared=no
 16034       ;;
 16035 
 16036     sysv4*MP*)
 16037       if test -d /usr/nec; then
 16038 	lt_prog_compiler_pic_GCJ=-Kconform_pic
 16039       fi
 16040       ;;
 16041 
 16042     hpux*)
 16043       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 16044       # not for PA HP-UX.
 16045       case $host_cpu in
 16046       hppa*64*|ia64*)
 16047 	# +Z the default
 16048 	;;
 16049       *)
 16050 	lt_prog_compiler_pic_GCJ='-fPIC'
 16051 	;;
 16052       esac
 16053       ;;
 16054 
 16055     *)
 16056       lt_prog_compiler_pic_GCJ='-fPIC'
 16057       ;;
 16058     esac
 16059   else
 16060     # PORTME Check for flag to pass linker flags through the system compiler.
 16061     case $host_os in
 16062     aix*)
 16063       lt_prog_compiler_wl_GCJ='-Wl,'
 16064       if test "$host_cpu" = ia64; then
 16065 	# AIX 5 now supports IA64 processor
 16066 	lt_prog_compiler_static_GCJ='-Bstatic'
 16067       else
 16068 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 16069       fi
 16070       ;;
 16071       darwin*)
 16072         # PIC is the default on this platform
 16073         # Common symbols not allowed in MH_DYLIB files
 16074        case $cc_basename in
 16075          xlc*)
 16076          lt_prog_compiler_pic_GCJ='-qnocommon'
 16077          lt_prog_compiler_wl_GCJ='-Wl,'
 16078          ;;
 16079        esac
 16080        ;;
 16081 
 16082     mingw* | pw32* | os2*)
 16083       # This hack is so that the source file can tell whether it is being
 16084       # built for inclusion in a dll (and should export symbols for example).
 16085       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 16086       ;;
 16087 
 16088     hpux9* | hpux10* | hpux11*)
 16089       lt_prog_compiler_wl_GCJ='-Wl,'
 16090       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 16091       # not for PA HP-UX.
 16092       case $host_cpu in
 16093       hppa*64*|ia64*)
 16094 	# +Z the default
 16095 	;;
 16096       *)
 16097 	lt_prog_compiler_pic_GCJ='+Z'
 16098 	;;
 16099       esac
 16100       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 16101       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 16102       ;;
 16103 
 16104     irix5* | irix6* | nonstopux*)
 16105       lt_prog_compiler_wl_GCJ='-Wl,'
 16106       # PIC (with -KPIC) is the default.
 16107       lt_prog_compiler_static_GCJ='-non_shared'
 16108       ;;
 16109 
 16110     newsos6)
 16111       lt_prog_compiler_pic_GCJ='-KPIC'
 16112       lt_prog_compiler_static_GCJ='-Bstatic'
 16113       ;;
 16114 
 16115     linux*)
 16116       case $cc_basename in
 16117       icc* | ecc*)
 16118 	lt_prog_compiler_wl_GCJ='-Wl,'
 16119 	lt_prog_compiler_pic_GCJ='-KPIC'
 16120 	lt_prog_compiler_static_GCJ='-static'
 16121         ;;
 16122       pgcc* | pgf77* | pgf90* | pgf95*)
 16123         # Portland Group compilers (*not* the Pentium gcc compiler,
 16124 	# which looks to be a dead project)
 16125 	lt_prog_compiler_wl_GCJ='-Wl,'
 16126 	lt_prog_compiler_pic_GCJ='-fpic'
 16127 	lt_prog_compiler_static_GCJ='-Bstatic'
 16128         ;;
 16129       ccc*)
 16130         lt_prog_compiler_wl_GCJ='-Wl,'
 16131         # All Alpha code is PIC.
 16132         lt_prog_compiler_static_GCJ='-non_shared'
 16133         ;;
 16134       esac
 16135       ;;
 16136 
 16137     osf3* | osf4* | osf5*)
 16138       lt_prog_compiler_wl_GCJ='-Wl,'
 16139       # All OSF/1 code is PIC.
 16140       lt_prog_compiler_static_GCJ='-non_shared'
 16141       ;;
 16142 
 16143     sco3.2v5*)
 16144       lt_prog_compiler_pic_GCJ='-Kpic'
 16145       lt_prog_compiler_static_GCJ='-dn'
 16146       ;;
 16147 
 16148     solaris*)
 16149       lt_prog_compiler_pic_GCJ='-KPIC'
 16150       lt_prog_compiler_static_GCJ='-Bstatic'
 16151       case $cc_basename in
 16152       f77* | f90* | f95*)
 16153 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 16154       *)
 16155 	lt_prog_compiler_wl_GCJ='-Wl,';;
 16156       esac
 16157       ;;
 16158 
 16159     sunos4*)
 16160       lt_prog_compiler_wl_GCJ='-Qoption ld '
 16161       lt_prog_compiler_pic_GCJ='-PIC'
 16162       lt_prog_compiler_static_GCJ='-Bstatic'
 16163       ;;
 16164 
 16165     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 16166       lt_prog_compiler_wl_GCJ='-Wl,'
 16167       lt_prog_compiler_pic_GCJ='-KPIC'
 16168       lt_prog_compiler_static_GCJ='-Bstatic'
 16169       ;;
 16170 
 16171     sysv4*MP*)
 16172       if test -d /usr/nec ;then
 16173 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
 16174 	lt_prog_compiler_static_GCJ='-Bstatic'
 16175       fi
 16176       ;;
 16177 
 16178     unicos*)
 16179       lt_prog_compiler_wl_GCJ='-Wl,'
 16180       lt_prog_compiler_can_build_shared_GCJ=no
 16181       ;;
 16182 
 16183     uts4*)
 16184       lt_prog_compiler_pic_GCJ='-pic'
 16185       lt_prog_compiler_static_GCJ='-Bstatic'
 16186       ;;
 16187 
 16188     *)
 16189       lt_prog_compiler_can_build_shared_GCJ=no
 16190       ;;
 16191     esac
 16192   fi
 16193 
 16194 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 16195 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 16196 
 16197 #
 16198 # Check to make sure the PIC flag actually works.
 16199 #
 16200 if test -n "$lt_prog_compiler_pic_GCJ"; then
 16201   
 16202 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 16203 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 16204 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 16205   echo $ECHO_N "(cached) $ECHO_C" >&6
 16206 else
 16207   lt_prog_compiler_pic_works_GCJ=no
 16208   ac_outfile=conftest.$ac_objext
 16209    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 16210    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 16211    # Insert the option either (1) after the last *FLAGS variable, or
 16212    # (2) before a word containing "conftest.", or (3) at the end.
 16213    # Note that $ac_compile itself does not contain backslashes and begins
 16214    # with a dollar sign (not a hyphen), so the echo should work correctly.
 16215    # The option is referenced via a variable to avoid confusing sed.
 16216    lt_compile=`echo "$ac_compile" | $SED \
 16217    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 16218    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 16219    -e 's:$: $lt_compiler_flag:'`
 16220    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 16221    (eval "$lt_compile" 2>conftest.err)
 16222    ac_status=$?
 16223    cat conftest.err >&5
 16224    echo "$as_me:__oline__: \$? = $ac_status" >&5
 16225    if (exit $ac_status) && test -s "$ac_outfile"; then
 16226      # The compiler can only warn and ignore the option if not recognized
 16227      # So say no if there are warnings other than the usual output.
 16228      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 16229      $SED '/^$/d' conftest.err >conftest.er2
 16230      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 16231        lt_prog_compiler_pic_works_GCJ=yes
 16232      fi
 16233    fi
 16234    $rm conftest*
 16235 
 16236 fi
 16237 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 16238 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 16239 
 16240 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 16241     case $lt_prog_compiler_pic_GCJ in
 16242      "" | " "*) ;;
 16243      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 16244      esac
 16245 else
 16246     lt_prog_compiler_pic_GCJ=
 16247      lt_prog_compiler_can_build_shared_GCJ=no
 16248 fi
 16249 
 16250 fi
 16251 case $host_os in
 16252   # For platforms which do not support PIC, -DPIC is meaningless:
 16253   *djgpp*)
 16254     lt_prog_compiler_pic_GCJ=
 16255     ;;
 16256   *)
 16257     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 16258     ;;
 16259 esac
 16260 
 16261 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 16262 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 16263 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 16264   echo $ECHO_N "(cached) $ECHO_C" >&6
 16265 else
 16266   lt_cv_prog_compiler_c_o_GCJ=no
 16267    $rm -r conftest 2>/dev/null
 16268    mkdir conftest
 16269    cd conftest
 16270    mkdir out
 16271    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 16272 
 16273    lt_compiler_flag="-o out/conftest2.$ac_objext"
 16274    # Insert the option either (1) after the last *FLAGS variable, or
 16275    # (2) before a word containing "conftest.", or (3) at the end.
 16276    # Note that $ac_compile itself does not contain backslashes and begins
 16277    # with a dollar sign (not a hyphen), so the echo should work correctly.
 16278    lt_compile=`echo "$ac_compile" | $SED \
 16279    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 16280    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 16281    -e 's:$: $lt_compiler_flag:'`
 16282    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 16283    (eval "$lt_compile" 2>out/conftest.err)
 16284    ac_status=$?
 16285    cat out/conftest.err >&5
 16286    echo "$as_me:__oline__: \$? = $ac_status" >&5
 16287    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 16288    then
 16289      # The compiler can only warn and ignore the option if not recognized
 16290      # So say no if there are warnings
 16291      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 16292      $SED '/^$/d' out/conftest.err >out/conftest.er2
 16293      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 16294        lt_cv_prog_compiler_c_o_GCJ=yes
 16295      fi
 16296    fi
 16297    chmod u+w . 2>&5
 16298    $rm conftest*
 16299    # SGI C++ compiler will create directory out/ii_files/ for
 16300    # template instantiation
 16301    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 16302    $rm out/* && rmdir out
 16303    cd ..
 16304    rmdir conftest
 16305    $rm conftest*
 16306 
 16307 fi
 16308 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 16309 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 16310 
 16311 
 16312 hard_links="nottested"
 16313 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 16314   # do not overwrite the value of need_locks provided by the user
 16315   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 16316 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 16317   hard_links=yes
 16318   $rm conftest*
 16319   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 16320   touch conftest.a
 16321   ln conftest.a conftest.b 2>&5 || hard_links=no
 16322   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 16323   echo "$as_me:$LINENO: result: $hard_links" >&5
 16324 echo "${ECHO_T}$hard_links" >&6
 16325   if test "$hard_links" = no; then
 16326     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 16327 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 16328     need_locks=warn
 16329   fi
 16330 else
 16331   need_locks=no
 16332 fi
 16333 
 16334 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 16335 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 16336 
 16337   runpath_var=
 16338   allow_undefined_flag_GCJ=
 16339   enable_shared_with_static_runtimes_GCJ=no
 16340   archive_cmds_GCJ=
 16341   archive_expsym_cmds_GCJ=
 16342   old_archive_From_new_cmds_GCJ=
 16343   old_archive_from_expsyms_cmds_GCJ=
 16344   export_dynamic_flag_spec_GCJ=
 16345   whole_archive_flag_spec_GCJ=
 16346   thread_safe_flag_spec_GCJ=
 16347   hardcode_libdir_flag_spec_GCJ=
 16348   hardcode_libdir_flag_spec_ld_GCJ=
 16349   hardcode_libdir_separator_GCJ=
 16350   hardcode_direct_GCJ=no
 16351   hardcode_minus_L_GCJ=no
 16352   hardcode_shlibpath_var_GCJ=unsupported
 16353   link_all_deplibs_GCJ=unknown
 16354   hardcode_automatic_GCJ=no
 16355   module_cmds_GCJ=
 16356   module_expsym_cmds_GCJ=
 16357   always_export_symbols_GCJ=no
 16358   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 16359   # include_expsyms should be a list of space-separated symbols to be *always*
 16360   # included in the symbol list
 16361   include_expsyms_GCJ=
 16362   # exclude_expsyms can be an extended regexp of symbols to exclude
 16363   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 16364   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 16365   # as well as any symbol that contains `d'.
 16366   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 16367   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 16368   # platforms (ab)use it in PIC code, but their linkers get confused if
 16369   # the symbol is explicitly referenced.  Since portable code cannot
 16370   # rely on this symbol name, it's probably fine to never include it in
 16371   # preloaded symbol tables.
 16372   extract_expsyms_cmds=
 16373   # Just being paranoid about ensuring that cc_basename is set.
 16374   for cc_temp in $compiler""; do
 16375   case $cc_temp in
 16376     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 16377     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 16378     \-*) ;;
 16379     *) break;;
 16380   esac
 16381 done
 16382 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 16383 
 16384   case $host_os in
 16385   cygwin* | mingw* | pw32*)
 16386     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 16387     # When not using gcc, we currently assume that we are using
 16388     # Microsoft Visual C++.
 16389     if test "$GCC" != yes; then
 16390       with_gnu_ld=no
 16391     fi
 16392     ;;
 16393   openbsd*)
 16394     with_gnu_ld=no
 16395     ;;
 16396   esac
 16397 
 16398   ld_shlibs_GCJ=yes
 16399   if test "$with_gnu_ld" = yes; then
 16400     # If archive_cmds runs LD, not CC, wlarc should be empty
 16401     wlarc='${wl}'
 16402 
 16403     # Set some defaults for GNU ld with shared library support. These
 16404     # are reset later if shared libraries are not supported. Putting them
 16405     # here allows them to be overridden if necessary.
 16406     runpath_var=LD_RUN_PATH
 16407     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 16408     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 16409     # ancient GNU ld didn't support --whole-archive et. al.
 16410     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 16411 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 16412       else
 16413   	whole_archive_flag_spec_GCJ=
 16414     fi
 16415     supports_anon_versioning=no
 16416     case `$LD -v 2>/dev/null` in
 16417       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 16418       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 16419       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 16420       *\ 2.11.*) ;; # other 2.11 versions
 16421       *) supports_anon_versioning=yes ;;
 16422     esac
 16423 
 16424     # See if GNU ld supports shared libraries.
 16425     case $host_os in
 16426     aix3* | aix4* | aix5*)
 16427       # On AIX/PPC, the GNU linker is very broken
 16428       if test "$host_cpu" != ia64; then
 16429 	ld_shlibs_GCJ=no
 16430 	cat <<EOF 1>&2
 16431 
 16432 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 16433 *** to be unable to reliably create shared libraries on AIX.
 16434 *** Therefore, libtool is disabling shared libraries support.  If you
 16435 *** really care for shared libraries, you may want to modify your PATH
 16436 *** so that a non-GNU linker is found, and then restart.
 16437 
 16438 EOF
 16439       fi
 16440       ;;
 16441 
 16442     amigaos*)
 16443       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)'
 16444       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16445       hardcode_minus_L_GCJ=yes
 16446 
 16447       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 16448       # that the semantics of dynamic libraries on AmigaOS, at least up
 16449       # to version 4, is to share data among multiple programs linked
 16450       # with the same dynamic library.  Since this doesn't match the
 16451       # behavior of shared libraries on other platforms, we can't use
 16452       # them.
 16453       ld_shlibs_GCJ=no
 16454       ;;
 16455 
 16456     beos*)
 16457       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16458 	allow_undefined_flag_GCJ=unsupported
 16459 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 16460 	# support --undefined.  This deserves some investigation.  FIXME
 16461 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16462       else
 16463 	ld_shlibs_GCJ=no
 16464       fi
 16465       ;;
 16466 
 16467     cygwin* | mingw* | pw32*)
 16468       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 16469       # as there is no search path for DLLs.
 16470       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16471       allow_undefined_flag_GCJ=unsupported
 16472       always_export_symbols_GCJ=no
 16473       enable_shared_with_static_runtimes_GCJ=yes
 16474       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 16475 
 16476       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 16477         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 16478 	# If the export-symbols file already is a .def file (1st line
 16479 	# is EXPORTS), use it as is; otherwise, prepend...
 16480 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 16481 	  cp $export_symbols $output_objdir/$soname.def;
 16482 	else
 16483 	  echo EXPORTS > $output_objdir/$soname.def;
 16484 	  cat $export_symbols >> $output_objdir/$soname.def;
 16485 	fi~
 16486 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 16487       else
 16488 	ld_shlibs_GCJ=no
 16489       fi
 16490       ;;
 16491 
 16492     linux*)
 16493       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16494 	tmp_addflag=
 16495 	case $cc_basename,$host_cpu in
 16496 	pgcc*)				# Portland Group C compiler
 16497 	  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'
 16498 	  tmp_addflag=' $pic_flag'
 16499 	  ;;
 16500 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 16501 	  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'
 16502 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 16503 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 16504 	  tmp_addflag=' -i_dynamic' ;;
 16505 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 16506 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 16507 	ifc* | ifort*)			# Intel Fortran compiler
 16508 	  tmp_addflag=' -nofor_main' ;;
 16509 	esac
 16510 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16511 
 16512 	if test $supports_anon_versioning = yes; then
 16513 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 16514   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 16515   $echo "local: *; };" >> $output_objdir/$libname.ver~
 16516 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 16517 	fi
 16518       else
 16519 	ld_shlibs_GCJ=no
 16520       fi
 16521       ;;
 16522 
 16523     netbsd*)
 16524       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 16525 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 16526 	wlarc=
 16527       else
 16528 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16529 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16530       fi
 16531       ;;
 16532 
 16533     solaris* | sysv5*)
 16534       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 16535 	ld_shlibs_GCJ=no
 16536 	cat <<EOF 1>&2
 16537 
 16538 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 16539 *** create shared libraries on Solaris systems.  Therefore, libtool
 16540 *** is disabling shared libraries support.  We urge you to upgrade GNU
 16541 *** binutils to release 2.9.1 or newer.  Another option is to modify
 16542 *** your PATH or compiler configuration so that the native linker is
 16543 *** used, and then restart.
 16544 
 16545 EOF
 16546       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16547 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16548 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16549       else
 16550 	ld_shlibs_GCJ=no
 16551       fi
 16552       ;;
 16553 
 16554     sunos4*)
 16555       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 16556       wlarc=
 16557       hardcode_direct_GCJ=yes
 16558       hardcode_shlibpath_var_GCJ=no
 16559       ;;
 16560 
 16561     *)
 16562       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16563 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16564 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16565       else
 16566 	ld_shlibs_GCJ=no
 16567       fi
 16568       ;;
 16569     esac
 16570 
 16571     if test "$ld_shlibs_GCJ" = no; then
 16572       runpath_var=
 16573       hardcode_libdir_flag_spec_GCJ=
 16574       export_dynamic_flag_spec_GCJ=
 16575       whole_archive_flag_spec_GCJ=
 16576     fi
 16577   else
 16578     # PORTME fill in a description of your system's linker (not GNU ld)
 16579     case $host_os in
 16580     aix3*)
 16581       allow_undefined_flag_GCJ=unsupported
 16582       always_export_symbols_GCJ=yes
 16583       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'
 16584       # Note: this linker hardcodes the directories in LIBPATH if there
 16585       # are no directories specified by -L.
 16586       hardcode_minus_L_GCJ=yes
 16587       if test "$GCC" = yes && test -z "$link_static_flag"; then
 16588 	# Neither direct hardcoding nor static linking is supported with a
 16589 	# broken collect2.
 16590 	hardcode_direct_GCJ=unsupported
 16591       fi
 16592       ;;
 16593 
 16594     aix4* | aix5*)
 16595       if test "$host_cpu" = ia64; then
 16596 	# On IA64, the linker does run time linking by default, so we don't
 16597 	# have to do anything special.
 16598 	aix_use_runtimelinking=no
 16599 	exp_sym_flag='-Bexport'
 16600 	no_entry_flag=""
 16601       else
 16602 	# If we're using GNU nm, then we don't want the "-C" option.
 16603 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 16604 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 16605 	  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'
 16606 	else
 16607 	  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'
 16608 	fi
 16609 	aix_use_runtimelinking=no
 16610 
 16611 	# Test if we are trying to use run time linking or normal
 16612 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 16613 	# need to do runtime linking.
 16614 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 16615 	  for ld_flag in $LDFLAGS; do
 16616   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 16617   	    aix_use_runtimelinking=yes
 16618   	    break
 16619   	  fi
 16620 	  done
 16621 	esac
 16622 
 16623 	exp_sym_flag='-bexport'
 16624 	no_entry_flag='-bnoentry'
 16625       fi
 16626 
 16627       # When large executables or shared objects are built, AIX ld can
 16628       # have problems creating the table of contents.  If linking a library
 16629       # or program results in "error TOC overflow" add -mminimal-toc to
 16630       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 16631       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 16632 
 16633       archive_cmds_GCJ=''
 16634       hardcode_direct_GCJ=yes
 16635       hardcode_libdir_separator_GCJ=':'
 16636       link_all_deplibs_GCJ=yes
 16637 
 16638       if test "$GCC" = yes; then
 16639 	case $host_os in aix4.[012]|aix4.[012].*)
 16640 	# We only want to do this on AIX 4.2 and lower, the check
 16641 	# below for broken collect2 doesn't work under 4.3+
 16642 	  collect2name=`${CC} -print-prog-name=collect2`
 16643 	  if test -f "$collect2name" && \
 16644   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 16645 	  then
 16646   	  # We have reworked collect2
 16647   	  hardcode_direct_GCJ=yes
 16648 	  else
 16649   	  # We have old collect2
 16650   	  hardcode_direct_GCJ=unsupported
 16651   	  # It fails to find uninstalled libraries when the uninstalled
 16652   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 16653   	  # to unsupported forces relinking
 16654   	  hardcode_minus_L_GCJ=yes
 16655   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16656   	  hardcode_libdir_separator_GCJ=
 16657 	  fi
 16658 	esac
 16659 	shared_flag='-shared'
 16660 	if test "$aix_use_runtimelinking" = yes; then
 16661 	  shared_flag="$shared_flag "'${wl}-G'
 16662 	fi
 16663       else
 16664 	# not using gcc
 16665 	if test "$host_cpu" = ia64; then
 16666   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 16667   	# chokes on -Wl,-G. The following line is correct:
 16668 	  shared_flag='-G'
 16669 	else
 16670   	if test "$aix_use_runtimelinking" = yes; then
 16671 	    shared_flag='${wl}-G'
 16672 	  else
 16673 	    shared_flag='${wl}-bM:SRE'
 16674   	fi
 16675 	fi
 16676       fi
 16677 
 16678       # It seems that -bexpall does not export symbols beginning with
 16679       # underscore (_), so it is better to generate a list of symbols to export.
 16680       always_export_symbols_GCJ=yes
 16681       if test "$aix_use_runtimelinking" = yes; then
 16682 	# Warning - without using the other runtime loading flags (-brtl),
 16683 	# -berok will link without error, but may produce a broken library.
 16684 	allow_undefined_flag_GCJ='-berok'
 16685        # Determine the default libpath from the value encoded in an empty executable.
 16686        cat >conftest.$ac_ext <<_ACEOF
 16687 /* confdefs.h.  */
 16688 _ACEOF
 16689 cat confdefs.h >>conftest.$ac_ext
 16690 cat >>conftest.$ac_ext <<_ACEOF
 16691 /* end confdefs.h.  */
 16692 
 16693 int
 16694 main ()
 16695 {
 16696 
 16697   ;
 16698   return 0;
 16699 }
 16700 _ACEOF
 16701 rm -f conftest.$ac_objext conftest$ac_exeext
 16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16703   (eval $ac_link) 2>conftest.er1
 16704   ac_status=$?
 16705   grep -v '^ *+' conftest.er1 >conftest.err
 16706   rm -f conftest.er1
 16707   cat conftest.err >&5
 16708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16709   (exit $ac_status); } &&
 16710 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 16711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16712   (eval $ac_try) 2>&5
 16713   ac_status=$?
 16714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16715   (exit $ac_status); }; } &&
 16716 	 { ac_try='test -s conftest$ac_exeext'
 16717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16718   (eval $ac_try) 2>&5
 16719   ac_status=$?
 16720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16721   (exit $ac_status); }; }; then
 16722   
 16723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 16724 }'`
 16725 # Check for a 64-bit object if we didn't find anything.
 16726 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; }
 16727 }'`; fi
 16728 else
 16729   echo "$as_me: failed program was:" >&5
 16730 sed 's/^/| /' conftest.$ac_ext >&5
 16731 
 16732 fi
 16733 rm -f conftest.err conftest.$ac_objext \
 16734       conftest$ac_exeext conftest.$ac_ext
 16735 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 16736 
 16737        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 16738 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 16739        else
 16740 	if test "$host_cpu" = ia64; then
 16741 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 16742 	  allow_undefined_flag_GCJ="-z nodefs"
 16743 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 16744 	else
 16745 	 # Determine the default libpath from the value encoded in an empty executable.
 16746 	 cat >conftest.$ac_ext <<_ACEOF
 16747 /* confdefs.h.  */
 16748 _ACEOF
 16749 cat confdefs.h >>conftest.$ac_ext
 16750 cat >>conftest.$ac_ext <<_ACEOF
 16751 /* end confdefs.h.  */
 16752 
 16753 int
 16754 main ()
 16755 {
 16756 
 16757   ;
 16758   return 0;
 16759 }
 16760 _ACEOF
 16761 rm -f conftest.$ac_objext conftest$ac_exeext
 16762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16763   (eval $ac_link) 2>conftest.er1
 16764   ac_status=$?
 16765   grep -v '^ *+' conftest.er1 >conftest.err
 16766   rm -f conftest.er1
 16767   cat conftest.err >&5
 16768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16769   (exit $ac_status); } &&
 16770 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 16771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16772   (eval $ac_try) 2>&5
 16773   ac_status=$?
 16774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16775   (exit $ac_status); }; } &&
 16776 	 { ac_try='test -s conftest$ac_exeext'
 16777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16778   (eval $ac_try) 2>&5
 16779   ac_status=$?
 16780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16781   (exit $ac_status); }; }; then
 16782   
 16783 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 16784 }'`
 16785 # Check for a 64-bit object if we didn't find anything.
 16786 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; }
 16787 }'`; fi
 16788 else
 16789   echo "$as_me: failed program was:" >&5
 16790 sed 's/^/| /' conftest.$ac_ext >&5
 16791 
 16792 fi
 16793 rm -f conftest.err conftest.$ac_objext \
 16794       conftest$ac_exeext conftest.$ac_ext
 16795 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 16796 
 16797 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 16798 	  # Warning - without using the other run time loading flags,
 16799 	  # -berok will link without error, but may produce a broken library.
 16800 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
 16801 	  allow_undefined_flag_GCJ=' ${wl}-berok'
 16802 	  # -bexpall does not export symbols beginning with underscore (_)
 16803 	  always_export_symbols_GCJ=yes
 16804 	  # Exported symbols can be pulled into shared objects from archives
 16805 	  whole_archive_flag_spec_GCJ=' '
 16806 	  archive_cmds_need_lc_GCJ=yes
 16807 	  # This is similar to how AIX traditionally builds its shared libraries.
 16808 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 16809 	fi
 16810       fi
 16811       ;;
 16812 
 16813     amigaos*)
 16814       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)'
 16815       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16816       hardcode_minus_L_GCJ=yes
 16817       # see comment about different semantics on the GNU ld section
 16818       ld_shlibs_GCJ=no
 16819       ;;
 16820 
 16821     bsdi[45]*)
 16822       export_dynamic_flag_spec_GCJ=-rdynamic
 16823       ;;
 16824 
 16825     cygwin* | mingw* | pw32*)
 16826       # When not using gcc, we currently assume that we are using
 16827       # Microsoft Visual C++.
 16828       # hardcode_libdir_flag_spec is actually meaningless, as there is
 16829       # no search path for DLLs.
 16830       hardcode_libdir_flag_spec_GCJ=' '
 16831       allow_undefined_flag_GCJ=unsupported
 16832       # Tell ltmain to make .lib files, not .a files.
 16833       libext=lib
 16834       # Tell ltmain to make .dll files, not .so files.
 16835       shrext_cmds=".dll"
 16836       # FIXME: Setting linknames here is a bad hack.
 16837       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 16838       # The linker will automatically build a .lib file if we build a DLL.
 16839       old_archive_From_new_cmds_GCJ='true'
 16840       # FIXME: Should let the user specify the lib program.
 16841       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 16842       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 16843       enable_shared_with_static_runtimes_GCJ=yes
 16844       ;;
 16845 
 16846     darwin* | rhapsody*)
 16847       case $host_os in
 16848         rhapsody* | darwin1.[012])
 16849          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 16850          ;;
 16851        *) # Darwin 1.3 on
 16852          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 16853            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 16854          else
 16855            case ${MACOSX_DEPLOYMENT_TARGET} in
 16856              10.[012])
 16857                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 16858                ;;
 16859              10.*)
 16860                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 16861                ;;
 16862            esac
 16863          fi
 16864          ;;
 16865       esac
 16866       archive_cmds_need_lc_GCJ=no
 16867       hardcode_direct_GCJ=no
 16868       hardcode_automatic_GCJ=yes
 16869       hardcode_shlibpath_var_GCJ=unsupported
 16870       whole_archive_flag_spec_GCJ=''
 16871       link_all_deplibs_GCJ=yes
 16872     if test "$GCC" = yes ; then
 16873     	output_verbose_link_cmd='echo'
 16874         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 16875       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 16876       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 16877       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}'
 16878       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}'
 16879     else
 16880       case $cc_basename in
 16881         xlc*)
 16882          output_verbose_link_cmd='echo'
 16883          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 16884          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 16885           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 16886          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}'
 16887           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}'
 16888           ;;
 16889        *)
 16890          ld_shlibs_GCJ=no
 16891           ;;
 16892       esac
 16893     fi
 16894       ;;
 16895 
 16896     dgux*)
 16897       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16898       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16899       hardcode_shlibpath_var_GCJ=no
 16900       ;;
 16901 
 16902     freebsd1*)
 16903       ld_shlibs_GCJ=no
 16904       ;;
 16905 
 16906     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 16907     # support.  Future versions do this automatically, but an explicit c++rt0.o
 16908     # does not break anything, and helps significantly (at the cost of a little
 16909     # extra space).
 16910     freebsd2.2*)
 16911       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 16912       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 16913       hardcode_direct_GCJ=yes
 16914       hardcode_shlibpath_var_GCJ=no
 16915       ;;
 16916 
 16917     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 16918     freebsd2*)
 16919       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 16920       hardcode_direct_GCJ=yes
 16921       hardcode_minus_L_GCJ=yes
 16922       hardcode_shlibpath_var_GCJ=no
 16923       ;;
 16924 
 16925     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 16926     freebsd* | kfreebsd*-gnu | dragonfly*)
 16927       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 16928       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 16929       hardcode_direct_GCJ=yes
 16930       hardcode_shlibpath_var_GCJ=no
 16931       ;;
 16932 
 16933     hpux9*)
 16934       if test "$GCC" = yes; then
 16935 	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'
 16936       else
 16937 	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'
 16938       fi
 16939       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16940       hardcode_libdir_separator_GCJ=:
 16941       hardcode_direct_GCJ=yes
 16942 
 16943       # hardcode_minus_L: Not really in the search PATH,
 16944       # but as the default location of the library.
 16945       hardcode_minus_L_GCJ=yes
 16946       export_dynamic_flag_spec_GCJ='${wl}-E'
 16947       ;;
 16948 
 16949     hpux10* | hpux11*)
 16950       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 16951 	case $host_cpu in
 16952 	hppa*64*|ia64*)
 16953 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16954 	  ;;
 16955 	*)
 16956 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 16957 	  ;;
 16958 	esac
 16959       else
 16960 	case $host_cpu in
 16961 	hppa*64*|ia64*)
 16962 	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 16963 	  ;;
 16964 	*)
 16965 	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 16966 	  ;;
 16967 	esac
 16968       fi
 16969       if test "$with_gnu_ld" = no; then
 16970 	case $host_cpu in
 16971 	hppa*64*)
 16972 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16973 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 16974 	  hardcode_libdir_separator_GCJ=:
 16975 	  hardcode_direct_GCJ=no
 16976 	  hardcode_shlibpath_var_GCJ=no
 16977 	  ;;
 16978 	ia64*)
 16979 	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16980 	  hardcode_direct_GCJ=no
 16981 	  hardcode_shlibpath_var_GCJ=no
 16982 
 16983 	  # hardcode_minus_L: Not really in the search PATH,
 16984 	  # but as the default location of the library.
 16985 	  hardcode_minus_L_GCJ=yes
 16986 	  ;;
 16987 	*)
 16988 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16989 	  hardcode_libdir_separator_GCJ=:
 16990 	  hardcode_direct_GCJ=yes
 16991 	  export_dynamic_flag_spec_GCJ='${wl}-E'
 16992 
 16993 	  # hardcode_minus_L: Not really in the search PATH,
 16994 	  # but as the default location of the library.
 16995 	  hardcode_minus_L_GCJ=yes
 16996 	  ;;
 16997 	esac
 16998       fi
 16999       ;;
 17000 
 17001     irix5* | irix6* | nonstopux*)
 17002       if test "$GCC" = yes; then
 17003 	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'
 17004       else
 17005 	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'
 17006 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 17007       fi
 17008       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17009       hardcode_libdir_separator_GCJ=:
 17010       link_all_deplibs_GCJ=yes
 17011       ;;
 17012 
 17013     netbsd*)
 17014       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 17015 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 17016       else
 17017 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 17018       fi
 17019       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17020       hardcode_direct_GCJ=yes
 17021       hardcode_shlibpath_var_GCJ=no
 17022       ;;
 17023 
 17024     newsos6)
 17025       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17026       hardcode_direct_GCJ=yes
 17027       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17028       hardcode_libdir_separator_GCJ=:
 17029       hardcode_shlibpath_var_GCJ=no
 17030       ;;
 17031 
 17032     openbsd*)
 17033       hardcode_direct_GCJ=yes
 17034       hardcode_shlibpath_var_GCJ=no
 17035       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 17036 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 17037 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 17038 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 17039 	export_dynamic_flag_spec_GCJ='${wl}-E'
 17040       else
 17041        case $host_os in
 17042 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 17043 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 17044 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17045 	   ;;
 17046 	 *)
 17047 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 17048 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 17049 	   ;;
 17050        esac
 17051       fi
 17052       ;;
 17053 
 17054     os2*)
 17055       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17056       hardcode_minus_L_GCJ=yes
 17057       allow_undefined_flag_GCJ=unsupported
 17058       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'
 17059       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 17060       ;;
 17061 
 17062     osf3*)
 17063       if test "$GCC" = yes; then
 17064 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 17065 	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'
 17066       else
 17067 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 17068 	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'
 17069       fi
 17070       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17071       hardcode_libdir_separator_GCJ=:
 17072       ;;
 17073 
 17074     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 17075       if test "$GCC" = yes; then
 17076 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 17077 	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'
 17078 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17079       else
 17080 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 17081 	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'
 17082 	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~
 17083 	$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'
 17084 
 17085 	# Both c and cxx compiler support -rpath directly
 17086 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 17087       fi
 17088       hardcode_libdir_separator_GCJ=:
 17089       ;;
 17090 
 17091     sco3.2v5*)
 17092       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17093       hardcode_shlibpath_var_GCJ=no
 17094       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 17095       runpath_var=LD_RUN_PATH
 17096       hardcode_runpath_var=yes
 17097       ;;
 17098 
 17099     solaris*)
 17100       no_undefined_flag_GCJ=' -z text'
 17101       if test "$GCC" = yes; then
 17102 	wlarc='${wl}'
 17103 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17104 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17105 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 17106       else
 17107 	wlarc=''
 17108 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17109 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17110   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 17111       fi
 17112       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17113       hardcode_shlibpath_var_GCJ=no
 17114       case $host_os in
 17115       solaris2.[0-5] | solaris2.[0-5].*) ;;
 17116       *)
 17117  	# The compiler driver will combine linker options so we
 17118  	# cannot just pass the convience library names through
 17119  	# without $wl, iff we do not link with $LD.
 17120  	# Luckily, gcc supports the same syntax we need for Sun Studio.
 17121  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 17122  	case $wlarc in
 17123  	'')
 17124  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 17125  	*)
 17126  	  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' ;;
 17127  	esac ;;
 17128       esac
 17129       link_all_deplibs_GCJ=yes
 17130       ;;
 17131 
 17132     sunos4*)
 17133       if test "x$host_vendor" = xsequent; then
 17134 	# Use $CC to link under sequent, because it throws in some extra .o
 17135 	# files that make .init and .fini sections work.
 17136 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 17137       else
 17138 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 17139       fi
 17140       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17141       hardcode_direct_GCJ=yes
 17142       hardcode_minus_L_GCJ=yes
 17143       hardcode_shlibpath_var_GCJ=no
 17144       ;;
 17145 
 17146     sysv4)
 17147       case $host_vendor in
 17148 	sni)
 17149 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17150 	  hardcode_direct_GCJ=yes # is this really true???
 17151 	;;
 17152 	siemens)
 17153 	  ## LD is ld it makes a PLAMLIB
 17154 	  ## CC just makes a GrossModule.
 17155 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 17156 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 17157 	  hardcode_direct_GCJ=no
 17158         ;;
 17159 	motorola)
 17160 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17161 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 17162 	;;
 17163       esac
 17164       runpath_var='LD_RUN_PATH'
 17165       hardcode_shlibpath_var_GCJ=no
 17166       ;;
 17167 
 17168     sysv4.3*)
 17169       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17170       hardcode_shlibpath_var_GCJ=no
 17171       export_dynamic_flag_spec_GCJ='-Bexport'
 17172       ;;
 17173 
 17174     sysv4*MP*)
 17175       if test -d /usr/nec; then
 17176 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17177 	hardcode_shlibpath_var_GCJ=no
 17178 	runpath_var=LD_RUN_PATH
 17179 	hardcode_runpath_var=yes
 17180 	ld_shlibs_GCJ=yes
 17181       fi
 17182       ;;
 17183 
 17184     sysv4.2uw2*)
 17185       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 17186       hardcode_direct_GCJ=yes
 17187       hardcode_minus_L_GCJ=no
 17188       hardcode_shlibpath_var_GCJ=no
 17189       hardcode_runpath_var=yes
 17190       runpath_var=LD_RUN_PATH
 17191       ;;
 17192 
 17193    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 17194       no_undefined_flag_GCJ='${wl}-z ${wl}text'
 17195       if test "$GCC" = yes; then
 17196 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17197       else
 17198 	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17199       fi
 17200       runpath_var='LD_RUN_PATH'
 17201       hardcode_shlibpath_var_GCJ=no
 17202       ;;
 17203 
 17204     sysv5*)
 17205       no_undefined_flag_GCJ=' -z text'
 17206       # $CC -shared without GNU ld will not create a library from C++
 17207       # object files and a static libstdc++, better avoid it by now
 17208       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17209       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17210   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 17211       hardcode_libdir_flag_spec_GCJ=
 17212       hardcode_shlibpath_var_GCJ=no
 17213       runpath_var='LD_RUN_PATH'
 17214       ;;
 17215 
 17216     uts4*)
 17217       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17218       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17219       hardcode_shlibpath_var_GCJ=no
 17220       ;;
 17221 
 17222     *)
 17223       ld_shlibs_GCJ=no
 17224       ;;
 17225     esac
 17226   fi
 17227 
 17228 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 17229 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 17230 test "$ld_shlibs_GCJ" = no && can_build_shared=no
 17231 
 17232 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 17233 if test "$GCC" = yes; then
 17234   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 17235 fi
 17236 
 17237 #
 17238 # Do we need to explicitly link libc?
 17239 #
 17240 case "x$archive_cmds_need_lc_GCJ" in
 17241 x|xyes)
 17242   # Assume -lc should be added
 17243   archive_cmds_need_lc_GCJ=yes
 17244 
 17245   if test "$enable_shared" = yes && test "$GCC" = yes; then
 17246     case $archive_cmds_GCJ in
 17247     *'~'*)
 17248       # FIXME: we may have to deal with multi-command sequences.
 17249       ;;
 17250     '$CC '*)
 17251       # Test whether the compiler implicitly links with -lc since on some
 17252       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 17253       # to ld, don't add -lc before -lgcc.
 17254       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 17255 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 17256       $rm conftest*
 17257       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 17258 
 17259       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 17260   (eval $ac_compile) 2>&5
 17261   ac_status=$?
 17262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17263   (exit $ac_status); } 2>conftest.err; then
 17264         soname=conftest
 17265         lib=conftest
 17266         libobjs=conftest.$ac_objext
 17267         deplibs=
 17268         wl=$lt_prog_compiler_wl_GCJ
 17269         compiler_flags=-v
 17270         linker_flags=-v
 17271         verstring=
 17272         output_objdir=.
 17273         libname=conftest
 17274         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 17275         allow_undefined_flag_GCJ=
 17276         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 17277   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 17278   ac_status=$?
 17279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17280   (exit $ac_status); }
 17281         then
 17282 	  archive_cmds_need_lc_GCJ=no
 17283         else
 17284 	  archive_cmds_need_lc_GCJ=yes
 17285         fi
 17286         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 17287       else
 17288         cat conftest.err 1>&5
 17289       fi
 17290       $rm conftest*
 17291       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 17292 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 17293       ;;
 17294     esac
 17295   fi
 17296   ;;
 17297 esac
 17298 
 17299 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 17300 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 17301 library_names_spec=
 17302 libname_spec='lib$name'
 17303 soname_spec=
 17304 shrext_cmds=".so"
 17305 postinstall_cmds=
 17306 postuninstall_cmds=
 17307 finish_cmds=
 17308 finish_eval=
 17309 shlibpath_var=
 17310 shlibpath_overrides_runpath=unknown
 17311 version_type=none
 17312 dynamic_linker="$host_os ld.so"
 17313 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 17314 if test "$GCC" = yes; then
 17315   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 17316   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 17317     # if the path contains ";" then we assume it to be the separator
 17318     # otherwise default to the standard path separator (i.e. ":") - it is
 17319     # assumed that no part of a normal pathname contains ";" but that should
 17320     # okay in the real world where ";" in dirpaths is itself problematic.
 17321     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 17322   else
 17323     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 17324   fi
 17325 else
 17326   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 17327 fi
 17328 need_lib_prefix=unknown
 17329 hardcode_into_libs=no
 17330 
 17331 # when you set need_version to no, make sure it does not cause -set_version
 17332 # flags to be left without arguments
 17333 need_version=unknown
 17334 
 17335 case $host_os in
 17336 aix3*)
 17337   version_type=linux
 17338   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 17339   shlibpath_var=LIBPATH
 17340 
 17341   # AIX 3 has no versioning support, so we append a major version to the name.
 17342   soname_spec='${libname}${release}${shared_ext}$major'
 17343   ;;
 17344 
 17345 aix4* | aix5*)
 17346   version_type=linux
 17347   need_lib_prefix=no
 17348   need_version=no
 17349   hardcode_into_libs=yes
 17350   if test "$host_cpu" = ia64; then
 17351     # AIX 5 supports IA64
 17352     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 17353     shlibpath_var=LD_LIBRARY_PATH
 17354   else
 17355     # With GCC up to 2.95.x, collect2 would create an import file
 17356     # for dependence libraries.  The import file would start with
 17357     # the line `#! .'.  This would cause the generated library to
 17358     # depend on `.', always an invalid library.  This was fixed in
 17359     # development snapshots of GCC prior to 3.0.
 17360     case $host_os in
 17361       aix4 | aix4.[01] | aix4.[01].*)
 17362       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 17363 	   echo ' yes '
 17364 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 17365 	:
 17366       else
 17367 	can_build_shared=no
 17368       fi
 17369       ;;
 17370     esac
 17371     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 17372     # soname into executable. Probably we can add versioning support to
 17373     # collect2, so additional links can be useful in future.
 17374     if test "$aix_use_runtimelinking" = yes; then
 17375       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 17376       # instead of lib<name>.a to let people know that these are not
 17377       # typical AIX shared libraries.
 17378       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17379     else
 17380       # We preserve .a as extension for shared libraries through AIX4.2
 17381       # and later when we are not doing run time linking.
 17382       library_names_spec='${libname}${release}.a $libname.a'
 17383       soname_spec='${libname}${release}${shared_ext}$major'
 17384     fi
 17385     shlibpath_var=LIBPATH
 17386   fi
 17387   ;;
 17388 
 17389 amigaos*)
 17390   library_names_spec='$libname.ixlibrary $libname.a'
 17391   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 17392   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'
 17393   ;;
 17394 
 17395 beos*)
 17396   library_names_spec='${libname}${shared_ext}'
 17397   dynamic_linker="$host_os ld.so"
 17398   shlibpath_var=LIBRARY_PATH
 17399   ;;
 17400 
 17401 bsdi[45]*)
 17402   version_type=linux
 17403   need_version=no
 17404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17405   soname_spec='${libname}${release}${shared_ext}$major'
 17406   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 17407   shlibpath_var=LD_LIBRARY_PATH
 17408   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 17409   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 17410   # the default ld.so.conf also contains /usr/contrib/lib and
 17411   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 17412   # libtool to hard-code these into programs
 17413   ;;
 17414 
 17415 cygwin* | mingw* | pw32*)
 17416   version_type=windows
 17417   shrext_cmds=".dll"
 17418   need_version=no
 17419   need_lib_prefix=no
 17420 
 17421   case $GCC,$host_os in
 17422   yes,cygwin* | yes,mingw* | yes,pw32*)
 17423     library_names_spec='$libname.dll.a'
 17424     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 17425     postinstall_cmds='base_file=`basename \${file}`~
 17426       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 17427       dldir=$destdir/`dirname \$dlpath`~
 17428       test -d \$dldir || mkdir -p \$dldir~
 17429       $install_prog $dir/$dlname \$dldir/$dlname~
 17430       chmod a+x \$dldir/$dlname'
 17431     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 17432       dlpath=$dir/\$dldll~
 17433        $rm \$dlpath'
 17434     shlibpath_overrides_runpath=yes
 17435 
 17436     case $host_os in
 17437     cygwin*)
 17438       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 17439       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17440       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 17441       ;;
 17442     mingw*)
 17443       # MinGW DLLs use traditional 'lib' prefix
 17444       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17445       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 17446       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 17447         # It is most probably a Windows format PATH printed by
 17448         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 17449         # path with ; separators, and with drive letters. We can handle the
 17450         # drive letters (cygwin fileutils understands them), so leave them,
 17451         # especially as we might pass files found there to a mingw objdump,
 17452         # which wouldn't understand a cygwinified path. Ahh.
 17453         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 17454       else
 17455         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 17456       fi
 17457       ;;
 17458     pw32*)
 17459       # pw32 DLLs use 'pw' prefix rather than 'lib'
 17460       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17461       ;;
 17462     esac
 17463     ;;
 17464 
 17465   *)
 17466     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 17467     ;;
 17468   esac
 17469   dynamic_linker='Win32 ld.exe'
 17470   # FIXME: first we should search . and the directory the executable is in
 17471   shlibpath_var=PATH
 17472   ;;
 17473 
 17474 darwin* | rhapsody*)
 17475   dynamic_linker="$host_os dyld"
 17476   version_type=darwin
 17477   need_lib_prefix=no
 17478   need_version=no
 17479   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 17480   soname_spec='${libname}${release}${major}$shared_ext'
 17481   shlibpath_overrides_runpath=yes
 17482   shlibpath_var=DYLD_LIBRARY_PATH
 17483   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 17484   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 17485   if test "$GCC" = yes; then
 17486     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"`
 17487   else
 17488     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 17489   fi
 17490   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 17491   ;;
 17492 
 17493 dgux*)
 17494   version_type=linux
 17495   need_lib_prefix=no
 17496   need_version=no
 17497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 17498   soname_spec='${libname}${release}${shared_ext}$major'
 17499   shlibpath_var=LD_LIBRARY_PATH
 17500   ;;
 17501 
 17502 freebsd1*)
 17503   dynamic_linker=no
 17504   ;;
 17505 
 17506 kfreebsd*-gnu)
 17507   version_type=linux
 17508   need_lib_prefix=no
 17509   need_version=no
 17510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17511   soname_spec='${libname}${release}${shared_ext}$major'
 17512   shlibpath_var=LD_LIBRARY_PATH
 17513   shlibpath_overrides_runpath=no
 17514   hardcode_into_libs=yes
 17515   dynamic_linker='GNU ld.so'
 17516   ;;
 17517 
 17518 freebsd* | dragonfly*)
 17519   # DragonFly does not have aout.  When/if they implement a new
 17520   # versioning mechanism, adjust this.
 17521   if test -x /usr/bin/objformat; then
 17522     objformat=`/usr/bin/objformat`
 17523   else
 17524     case $host_os in
 17525     freebsd[123]*) objformat=aout ;;
 17526     *) objformat=elf ;;
 17527     esac
 17528   fi
 17529   version_type=freebsd-$objformat
 17530   case $version_type in
 17531     freebsd-elf*)
 17532       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 17533       need_version=no
 17534       need_lib_prefix=no
 17535       ;;
 17536     freebsd-*)
 17537       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 17538       need_version=yes
 17539       ;;
 17540   esac
 17541   shlibpath_var=LD_LIBRARY_PATH
 17542   case $host_os in
 17543   freebsd2*)
 17544     shlibpath_overrides_runpath=yes
 17545     ;;
 17546   freebsd3.[01]* | freebsdelf3.[01]*)
 17547     shlibpath_overrides_runpath=yes
 17548     hardcode_into_libs=yes
 17549     ;;
 17550   *) # from 3.2 on
 17551     shlibpath_overrides_runpath=no
 17552     hardcode_into_libs=yes
 17553     ;;
 17554   esac
 17555   ;;
 17556 
 17557 gnu*)
 17558   version_type=linux
 17559   need_lib_prefix=no
 17560   need_version=no
 17561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 17562   soname_spec='${libname}${release}${shared_ext}$major'
 17563   shlibpath_var=LD_LIBRARY_PATH
 17564   hardcode_into_libs=yes
 17565   ;;
 17566 
 17567 hpux9* | hpux10* | hpux11*)
 17568   # Give a soname corresponding to the major version so that dld.sl refuses to
 17569   # link against other versions.
 17570   version_type=sunos
 17571   need_lib_prefix=no
 17572   need_version=no
 17573   case $host_cpu in
 17574   ia64*)
 17575     shrext_cmds='.so'
 17576     hardcode_into_libs=yes
 17577     dynamic_linker="$host_os dld.so"
 17578     shlibpath_var=LD_LIBRARY_PATH
 17579     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 17580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17581     soname_spec='${libname}${release}${shared_ext}$major'
 17582     if test "X$HPUX_IA64_MODE" = X32; then
 17583       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 17584     else
 17585       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 17586     fi
 17587     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 17588     ;;
 17589    hppa*64*)
 17590      shrext_cmds='.sl'
 17591      hardcode_into_libs=yes
 17592      dynamic_linker="$host_os dld.sl"
 17593      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 17594      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 17595      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17596      soname_spec='${libname}${release}${shared_ext}$major'
 17597      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 17598      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 17599      ;;
 17600    *)
 17601     shrext_cmds='.sl'
 17602     dynamic_linker="$host_os dld.sl"
 17603     shlibpath_var=SHLIB_PATH
 17604     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 17605     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17606     soname_spec='${libname}${release}${shared_ext}$major'
 17607     ;;
 17608   esac
 17609   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 17610   postinstall_cmds='chmod 555 $lib'
 17611   ;;
 17612 
 17613 irix5* | irix6* | nonstopux*)
 17614   case $host_os in
 17615     nonstopux*) version_type=nonstopux ;;
 17616     *)
 17617 	if test "$lt_cv_prog_gnu_ld" = yes; then
 17618 		version_type=linux
 17619 	else
 17620 		version_type=irix
 17621 	fi ;;
 17622   esac
 17623   need_lib_prefix=no
 17624   need_version=no
 17625   soname_spec='${libname}${release}${shared_ext}$major'
 17626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 17627   case $host_os in
 17628   irix5* | nonstopux*)
 17629     libsuff= shlibsuff=
 17630     ;;
 17631   *)
 17632     case $LD in # libtool.m4 will add one of these switches to LD
 17633     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 17634       libsuff= shlibsuff= libmagic=32-bit;;
 17635     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 17636       libsuff=32 shlibsuff=N32 libmagic=N32;;
 17637     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 17638       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 17639     *) libsuff= shlibsuff= libmagic=never-match;;
 17640     esac
 17641     ;;
 17642   esac
 17643   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 17644   shlibpath_overrides_runpath=no
 17645   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 17646   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 17647   hardcode_into_libs=yes
 17648   ;;
 17649 
 17650 # No shared lib support for Linux oldld, aout, or coff.
 17651 linux*oldld* | linux*aout* | linux*coff*)
 17652   dynamic_linker=no
 17653   ;;
 17654 
 17655 # This must be Linux ELF.
 17656 linux*)
 17657   version_type=linux
 17658   need_lib_prefix=no
 17659   need_version=no
 17660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17661   soname_spec='${libname}${release}${shared_ext}$major'
 17662   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 17663   shlibpath_var=LD_LIBRARY_PATH
 17664   shlibpath_overrides_runpath=no
 17665   # This implies no fast_install, which is unacceptable.
 17666   # Some rework will be needed to allow for fast_install
 17667   # before this can be enabled.
 17668   hardcode_into_libs=yes
 17669 
 17670   # Append ld.so.conf contents to the search path
 17671   if test -f /etc/ld.so.conf; then
 17672     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' ' '`
 17673     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 17674   fi
 17675 
 17676   # We used to test for /lib/ld.so.1 and disable shared libraries on
 17677   # powerpc, because MkLinux only supported shared libraries with the
 17678   # GNU dynamic linker.  Since this was broken with cross compilers,
 17679   # most powerpc-linux boxes support dynamic linking these days and
 17680   # people can always --disable-shared, the test was removed, and we
 17681   # assume the GNU/Linux dynamic linker is in use.
 17682   dynamic_linker='GNU/Linux ld.so'
 17683   ;;
 17684 
 17685 knetbsd*-gnu)
 17686   version_type=linux
 17687   need_lib_prefix=no
 17688   need_version=no
 17689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17690   soname_spec='${libname}${release}${shared_ext}$major'
 17691   shlibpath_var=LD_LIBRARY_PATH
 17692   shlibpath_overrides_runpath=no
 17693   hardcode_into_libs=yes
 17694   dynamic_linker='GNU ld.so'
 17695   ;;
 17696 
 17697 netbsd*)
 17698   version_type=sunos
 17699   need_lib_prefix=no
 17700   need_version=no
 17701   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 17702     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17703     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 17704     dynamic_linker='NetBSD (a.out) ld.so'
 17705   else
 17706     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17707     soname_spec='${libname}${release}${shared_ext}$major'
 17708     dynamic_linker='NetBSD ld.elf_so'
 17709   fi
 17710   shlibpath_var=LD_LIBRARY_PATH
 17711   shlibpath_overrides_runpath=yes
 17712   hardcode_into_libs=yes
 17713   ;;
 17714 
 17715 newsos6)
 17716   version_type=linux
 17717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17718   shlibpath_var=LD_LIBRARY_PATH
 17719   shlibpath_overrides_runpath=yes
 17720   ;;
 17721 
 17722 nto-qnx*)
 17723   version_type=linux
 17724   need_lib_prefix=no
 17725   need_version=no
 17726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17727   soname_spec='${libname}${release}${shared_ext}$major'
 17728   shlibpath_var=LD_LIBRARY_PATH
 17729   shlibpath_overrides_runpath=yes
 17730   ;;
 17731 
 17732 openbsd*)
 17733   version_type=sunos
 17734   need_lib_prefix=no
 17735   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 17736   case $host_os in
 17737     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 17738     *)                         need_version=no  ;;
 17739   esac
 17740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17741   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 17742   shlibpath_var=LD_LIBRARY_PATH
 17743   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 17744     case $host_os in
 17745       openbsd2.[89] | openbsd2.[89].*)
 17746 	shlibpath_overrides_runpath=no
 17747 	;;
 17748       *)
 17749 	shlibpath_overrides_runpath=yes
 17750 	;;
 17751       esac
 17752   else
 17753     shlibpath_overrides_runpath=yes
 17754   fi
 17755   ;;
 17756 
 17757 os2*)
 17758   libname_spec='$name'
 17759   shrext_cmds=".dll"
 17760   need_lib_prefix=no
 17761   library_names_spec='$libname${shared_ext} $libname.a'
 17762   dynamic_linker='OS/2 ld.exe'
 17763   shlibpath_var=LIBPATH
 17764   ;;
 17765 
 17766 osf3* | osf4* | osf5*)
 17767   version_type=osf
 17768   need_lib_prefix=no
 17769   need_version=no
 17770   soname_spec='${libname}${release}${shared_ext}$major'
 17771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17772   shlibpath_var=LD_LIBRARY_PATH
 17773   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 17774   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 17775   ;;
 17776 
 17777 sco3.2v5*)
 17778   version_type=osf
 17779   soname_spec='${libname}${release}${shared_ext}$major'
 17780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17781   shlibpath_var=LD_LIBRARY_PATH
 17782   ;;
 17783 
 17784 solaris*)
 17785   version_type=linux
 17786   need_lib_prefix=no
 17787   need_version=no
 17788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17789   soname_spec='${libname}${release}${shared_ext}$major'
 17790   shlibpath_var=LD_LIBRARY_PATH
 17791   shlibpath_overrides_runpath=yes
 17792   hardcode_into_libs=yes
 17793   # ldd complains unless libraries are executable
 17794   postinstall_cmds='chmod +x $lib'
 17795   ;;
 17796 
 17797 sunos4*)
 17798   version_type=sunos
 17799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17800   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 17801   shlibpath_var=LD_LIBRARY_PATH
 17802   shlibpath_overrides_runpath=yes
 17803   if test "$with_gnu_ld" = yes; then
 17804     need_lib_prefix=no
 17805   fi
 17806   need_version=yes
 17807   ;;
 17808 
 17809 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 17810   version_type=linux
 17811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17812   soname_spec='${libname}${release}${shared_ext}$major'
 17813   shlibpath_var=LD_LIBRARY_PATH
 17814   case $host_vendor in
 17815     sni)
 17816       shlibpath_overrides_runpath=no
 17817       need_lib_prefix=no
 17818       export_dynamic_flag_spec='${wl}-Blargedynsym'
 17819       runpath_var=LD_RUN_PATH
 17820       ;;
 17821     siemens)
 17822       need_lib_prefix=no
 17823       ;;
 17824     motorola)
 17825       need_lib_prefix=no
 17826       need_version=no
 17827       shlibpath_overrides_runpath=no
 17828       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 17829       ;;
 17830   esac
 17831   ;;
 17832 
 17833 sysv4*MP*)
 17834   if test -d /usr/nec ;then
 17835     version_type=linux
 17836     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 17837     soname_spec='$libname${shared_ext}.$major'
 17838     shlibpath_var=LD_LIBRARY_PATH
 17839   fi
 17840   ;;
 17841 
 17842 uts4*)
 17843   version_type=linux
 17844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17845   soname_spec='${libname}${release}${shared_ext}$major'
 17846   shlibpath_var=LD_LIBRARY_PATH
 17847   ;;
 17848 
 17849 *)
 17850   dynamic_linker=no
 17851   ;;
 17852 esac
 17853 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 17854 echo "${ECHO_T}$dynamic_linker" >&6
 17855 test "$dynamic_linker" = no && can_build_shared=no
 17856 
 17857 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 17858 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 17859 hardcode_action_GCJ=
 17860 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 17861    test -n "$runpath_var_GCJ" || \
 17862    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 17863 
 17864   # We can hardcode non-existant directories.
 17865   if test "$hardcode_direct_GCJ" != no &&
 17866      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 17867      # have to relink, otherwise we might link with an installed library
 17868      # when we should be linking with a yet-to-be-installed one
 17869      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 17870      test "$hardcode_minus_L_GCJ" != no; then
 17871     # Linking always hardcodes the temporary library directory.
 17872     hardcode_action_GCJ=relink
 17873   else
 17874     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 17875     hardcode_action_GCJ=immediate
 17876   fi
 17877 else
 17878   # We cannot hardcode anything, or else we can only hardcode existing
 17879   # directories.
 17880   hardcode_action_GCJ=unsupported
 17881 fi
 17882 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 17883 echo "${ECHO_T}$hardcode_action_GCJ" >&6
 17884 
 17885 if test "$hardcode_action_GCJ" = relink; then
 17886   # Fast installation is not supported
 17887   enable_fast_install=no
 17888 elif test "$shlibpath_overrides_runpath" = yes ||
 17889      test "$enable_shared" = no; then
 17890   # Fast installation is not necessary
 17891   enable_fast_install=needless
 17892 fi
 17893 
 17894 striplib=
 17895 old_striplib=
 17896 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 17897 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 17898 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 17899   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 17900   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 17901   echo "$as_me:$LINENO: result: yes" >&5
 17902 echo "${ECHO_T}yes" >&6
 17903 else
 17904 # FIXME - insert some real tests, host_os isn't really good enough
 17905   case $host_os in
 17906    darwin*)
 17907        if test -n "$STRIP" ; then
 17908          striplib="$STRIP -x"
 17909          echo "$as_me:$LINENO: result: yes" >&5
 17910 echo "${ECHO_T}yes" >&6
 17911        else
 17912   echo "$as_me:$LINENO: result: no" >&5
 17913 echo "${ECHO_T}no" >&6
 17914 fi
 17915        ;;
 17916    *)
 17917   echo "$as_me:$LINENO: result: no" >&5
 17918 echo "${ECHO_T}no" >&6
 17919     ;;
 17920   esac
 17921 fi
 17922 
 17923 if test "x$enable_dlopen" != xyes; then
 17924   enable_dlopen=unknown
 17925   enable_dlopen_self=unknown
 17926   enable_dlopen_self_static=unknown
 17927 else
 17928   lt_cv_dlopen=no
 17929   lt_cv_dlopen_libs=
 17930 
 17931   case $host_os in
 17932   beos*)
 17933     lt_cv_dlopen="load_add_on"
 17934     lt_cv_dlopen_libs=
 17935     lt_cv_dlopen_self=yes
 17936     ;;
 17937 
 17938   mingw* | pw32*)
 17939     lt_cv_dlopen="LoadLibrary"
 17940     lt_cv_dlopen_libs=
 17941    ;;
 17942 
 17943   cygwin*)
 17944     lt_cv_dlopen="dlopen"
 17945     lt_cv_dlopen_libs=
 17946    ;;
 17947 
 17948   darwin*)
 17949   # if libdl is installed we need to link against it
 17950     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 17951 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 17952 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 17953   echo $ECHO_N "(cached) $ECHO_C" >&6
 17954 else
 17955   ac_check_lib_save_LIBS=$LIBS
 17956 LIBS="-ldl  $LIBS"
 17957 cat >conftest.$ac_ext <<_ACEOF
 17958 /* confdefs.h.  */
 17959 _ACEOF
 17960 cat confdefs.h >>conftest.$ac_ext
 17961 cat >>conftest.$ac_ext <<_ACEOF
 17962 /* end confdefs.h.  */
 17963 
 17964 /* Override any gcc2 internal prototype to avoid an error.  */
 17965 #ifdef __cplusplus
 17966 extern "C"
 17967 #endif
 17968 /* We use char because int might match the return type of a gcc2
 17969    builtin and then its argument prototype would still apply.  */
 17970 char dlopen ();
 17971 int
 17972 main ()
 17973 {
 17974 dlopen ();
 17975   ;
 17976   return 0;
 17977 }
 17978 _ACEOF
 17979 rm -f conftest.$ac_objext conftest$ac_exeext
 17980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 17981   (eval $ac_link) 2>conftest.er1
 17982   ac_status=$?
 17983   grep -v '^ *+' conftest.er1 >conftest.err
 17984   rm -f conftest.er1
 17985   cat conftest.err >&5
 17986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17987   (exit $ac_status); } &&
 17988 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 17989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 17990   (eval $ac_try) 2>&5
 17991   ac_status=$?
 17992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17993   (exit $ac_status); }; } &&
 17994 	 { ac_try='test -s conftest$ac_exeext'
 17995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 17996   (eval $ac_try) 2>&5
 17997   ac_status=$?
 17998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17999   (exit $ac_status); }; }; then
 18000   ac_cv_lib_dl_dlopen=yes
 18001 else
 18002   echo "$as_me: failed program was:" >&5
 18003 sed 's/^/| /' conftest.$ac_ext >&5
 18004 
 18005 ac_cv_lib_dl_dlopen=no
 18006 fi
 18007 rm -f conftest.err conftest.$ac_objext \
 18008       conftest$ac_exeext conftest.$ac_ext
 18009 LIBS=$ac_check_lib_save_LIBS
 18010 fi
 18011 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 18012 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 18013 if test $ac_cv_lib_dl_dlopen = yes; then
 18014   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 18015 else
 18016   
 18017     lt_cv_dlopen="dyld"
 18018     lt_cv_dlopen_libs=
 18019     lt_cv_dlopen_self=yes
 18020     
 18021 fi
 18022 
 18023    ;;
 18024 
 18025   *)
 18026     echo "$as_me:$LINENO: checking for shl_load" >&5
 18027 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 18028 if test "${ac_cv_func_shl_load+set}" = set; then
 18029   echo $ECHO_N "(cached) $ECHO_C" >&6
 18030 else
 18031   cat >conftest.$ac_ext <<_ACEOF
 18032 /* confdefs.h.  */
 18033 _ACEOF
 18034 cat confdefs.h >>conftest.$ac_ext
 18035 cat >>conftest.$ac_ext <<_ACEOF
 18036 /* end confdefs.h.  */
 18037 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 18038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 18039 #define shl_load innocuous_shl_load
 18040 
 18041 /* System header to define __stub macros and hopefully few prototypes,
 18042     which can conflict with char shl_load (); below.
 18043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 18044     <limits.h> exists even on freestanding compilers.  */
 18045 
 18046 #ifdef __STDC__
 18047 # include <limits.h>
 18048 #else
 18049 # include <assert.h>
 18050 #endif
 18051 
 18052 #undef shl_load
 18053 
 18054 /* Override any gcc2 internal prototype to avoid an error.  */
 18055 #ifdef __cplusplus
 18056 extern "C"
 18057 {
 18058 #endif
 18059 /* We use char because int might match the return type of a gcc2
 18060    builtin and then its argument prototype would still apply.  */
 18061 char shl_load ();
 18062 /* The GNU C library defines this for functions which it implements
 18063     to always fail with ENOSYS.  Some functions are actually named
 18064     something starting with __ and the normal name is an alias.  */
 18065 #if defined (__stub_shl_load) || defined (__stub___shl_load)
 18066 choke me
 18067 #else
 18068 char (*f) () = shl_load;
 18069 #endif
 18070 #ifdef __cplusplus
 18071 }
 18072 #endif
 18073 
 18074 int
 18075 main ()
 18076 {
 18077 return f != shl_load;
 18078   ;
 18079   return 0;
 18080 }
 18081 _ACEOF
 18082 rm -f conftest.$ac_objext conftest$ac_exeext
 18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18084   (eval $ac_link) 2>conftest.er1
 18085   ac_status=$?
 18086   grep -v '^ *+' conftest.er1 >conftest.err
 18087   rm -f conftest.er1
 18088   cat conftest.err >&5
 18089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18090   (exit $ac_status); } &&
 18091 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18093   (eval $ac_try) 2>&5
 18094   ac_status=$?
 18095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18096   (exit $ac_status); }; } &&
 18097 	 { ac_try='test -s conftest$ac_exeext'
 18098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18099   (eval $ac_try) 2>&5
 18100   ac_status=$?
 18101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18102   (exit $ac_status); }; }; then
 18103   ac_cv_func_shl_load=yes
 18104 else
 18105   echo "$as_me: failed program was:" >&5
 18106 sed 's/^/| /' conftest.$ac_ext >&5
 18107 
 18108 ac_cv_func_shl_load=no
 18109 fi
 18110 rm -f conftest.err conftest.$ac_objext \
 18111       conftest$ac_exeext conftest.$ac_ext
 18112 fi
 18113 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 18114 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 18115 if test $ac_cv_func_shl_load = yes; then
 18116   lt_cv_dlopen="shl_load"
 18117 else
 18118   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 18119 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 18120 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 18121   echo $ECHO_N "(cached) $ECHO_C" >&6
 18122 else
 18123   ac_check_lib_save_LIBS=$LIBS
 18124 LIBS="-ldld  $LIBS"
 18125 cat >conftest.$ac_ext <<_ACEOF
 18126 /* confdefs.h.  */
 18127 _ACEOF
 18128 cat confdefs.h >>conftest.$ac_ext
 18129 cat >>conftest.$ac_ext <<_ACEOF
 18130 /* end confdefs.h.  */
 18131 
 18132 /* Override any gcc2 internal prototype to avoid an error.  */
 18133 #ifdef __cplusplus
 18134 extern "C"
 18135 #endif
 18136 /* We use char because int might match the return type of a gcc2
 18137    builtin and then its argument prototype would still apply.  */
 18138 char shl_load ();
 18139 int
 18140 main ()
 18141 {
 18142 shl_load ();
 18143   ;
 18144   return 0;
 18145 }
 18146 _ACEOF
 18147 rm -f conftest.$ac_objext conftest$ac_exeext
 18148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18149   (eval $ac_link) 2>conftest.er1
 18150   ac_status=$?
 18151   grep -v '^ *+' conftest.er1 >conftest.err
 18152   rm -f conftest.er1
 18153   cat conftest.err >&5
 18154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18155   (exit $ac_status); } &&
 18156 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18158   (eval $ac_try) 2>&5
 18159   ac_status=$?
 18160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18161   (exit $ac_status); }; } &&
 18162 	 { ac_try='test -s conftest$ac_exeext'
 18163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18164   (eval $ac_try) 2>&5
 18165   ac_status=$?
 18166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18167   (exit $ac_status); }; }; then
 18168   ac_cv_lib_dld_shl_load=yes
 18169 else
 18170   echo "$as_me: failed program was:" >&5
 18171 sed 's/^/| /' conftest.$ac_ext >&5
 18172 
 18173 ac_cv_lib_dld_shl_load=no
 18174 fi
 18175 rm -f conftest.err conftest.$ac_objext \
 18176       conftest$ac_exeext conftest.$ac_ext
 18177 LIBS=$ac_check_lib_save_LIBS
 18178 fi
 18179 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 18180 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 18181 if test $ac_cv_lib_dld_shl_load = yes; then
 18182   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 18183 else
 18184   echo "$as_me:$LINENO: checking for dlopen" >&5
 18185 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 18186 if test "${ac_cv_func_dlopen+set}" = set; then
 18187   echo $ECHO_N "(cached) $ECHO_C" >&6
 18188 else
 18189   cat >conftest.$ac_ext <<_ACEOF
 18190 /* confdefs.h.  */
 18191 _ACEOF
 18192 cat confdefs.h >>conftest.$ac_ext
 18193 cat >>conftest.$ac_ext <<_ACEOF
 18194 /* end confdefs.h.  */
 18195 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 18196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 18197 #define dlopen innocuous_dlopen
 18198 
 18199 /* System header to define __stub macros and hopefully few prototypes,
 18200     which can conflict with char dlopen (); below.
 18201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 18202     <limits.h> exists even on freestanding compilers.  */
 18203 
 18204 #ifdef __STDC__
 18205 # include <limits.h>
 18206 #else
 18207 # include <assert.h>
 18208 #endif
 18209 
 18210 #undef dlopen
 18211 
 18212 /* Override any gcc2 internal prototype to avoid an error.  */
 18213 #ifdef __cplusplus
 18214 extern "C"
 18215 {
 18216 #endif
 18217 /* We use char because int might match the return type of a gcc2
 18218    builtin and then its argument prototype would still apply.  */
 18219 char dlopen ();
 18220 /* The GNU C library defines this for functions which it implements
 18221     to always fail with ENOSYS.  Some functions are actually named
 18222     something starting with __ and the normal name is an alias.  */
 18223 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 18224 choke me
 18225 #else
 18226 char (*f) () = dlopen;
 18227 #endif
 18228 #ifdef __cplusplus
 18229 }
 18230 #endif
 18231 
 18232 int
 18233 main ()
 18234 {
 18235 return f != dlopen;
 18236   ;
 18237   return 0;
 18238 }
 18239 _ACEOF
 18240 rm -f conftest.$ac_objext conftest$ac_exeext
 18241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18242   (eval $ac_link) 2>conftest.er1
 18243   ac_status=$?
 18244   grep -v '^ *+' conftest.er1 >conftest.err
 18245   rm -f conftest.er1
 18246   cat conftest.err >&5
 18247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18248   (exit $ac_status); } &&
 18249 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18251   (eval $ac_try) 2>&5
 18252   ac_status=$?
 18253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18254   (exit $ac_status); }; } &&
 18255 	 { ac_try='test -s conftest$ac_exeext'
 18256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18257   (eval $ac_try) 2>&5
 18258   ac_status=$?
 18259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18260   (exit $ac_status); }; }; then
 18261   ac_cv_func_dlopen=yes
 18262 else
 18263   echo "$as_me: failed program was:" >&5
 18264 sed 's/^/| /' conftest.$ac_ext >&5
 18265 
 18266 ac_cv_func_dlopen=no
 18267 fi
 18268 rm -f conftest.err conftest.$ac_objext \
 18269       conftest$ac_exeext conftest.$ac_ext
 18270 fi
 18271 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 18272 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 18273 if test $ac_cv_func_dlopen = yes; then
 18274   lt_cv_dlopen="dlopen"
 18275 else
 18276   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 18277 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 18278 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 18279   echo $ECHO_N "(cached) $ECHO_C" >&6
 18280 else
 18281   ac_check_lib_save_LIBS=$LIBS
 18282 LIBS="-ldl  $LIBS"
 18283 cat >conftest.$ac_ext <<_ACEOF
 18284 /* confdefs.h.  */
 18285 _ACEOF
 18286 cat confdefs.h >>conftest.$ac_ext
 18287 cat >>conftest.$ac_ext <<_ACEOF
 18288 /* end confdefs.h.  */
 18289 
 18290 /* Override any gcc2 internal prototype to avoid an error.  */
 18291 #ifdef __cplusplus
 18292 extern "C"
 18293 #endif
 18294 /* We use char because int might match the return type of a gcc2
 18295    builtin and then its argument prototype would still apply.  */
 18296 char dlopen ();
 18297 int
 18298 main ()
 18299 {
 18300 dlopen ();
 18301   ;
 18302   return 0;
 18303 }
 18304 _ACEOF
 18305 rm -f conftest.$ac_objext conftest$ac_exeext
 18306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18307   (eval $ac_link) 2>conftest.er1
 18308   ac_status=$?
 18309   grep -v '^ *+' conftest.er1 >conftest.err
 18310   rm -f conftest.er1
 18311   cat conftest.err >&5
 18312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18313   (exit $ac_status); } &&
 18314 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18316   (eval $ac_try) 2>&5
 18317   ac_status=$?
 18318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18319   (exit $ac_status); }; } &&
 18320 	 { ac_try='test -s conftest$ac_exeext'
 18321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18322   (eval $ac_try) 2>&5
 18323   ac_status=$?
 18324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18325   (exit $ac_status); }; }; then
 18326   ac_cv_lib_dl_dlopen=yes
 18327 else
 18328   echo "$as_me: failed program was:" >&5
 18329 sed 's/^/| /' conftest.$ac_ext >&5
 18330 
 18331 ac_cv_lib_dl_dlopen=no
 18332 fi
 18333 rm -f conftest.err conftest.$ac_objext \
 18334       conftest$ac_exeext conftest.$ac_ext
 18335 LIBS=$ac_check_lib_save_LIBS
 18336 fi
 18337 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 18338 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 18339 if test $ac_cv_lib_dl_dlopen = yes; then
 18340   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 18341 else
 18342   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 18343 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 18344 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 18345   echo $ECHO_N "(cached) $ECHO_C" >&6
 18346 else
 18347   ac_check_lib_save_LIBS=$LIBS
 18348 LIBS="-lsvld  $LIBS"
 18349 cat >conftest.$ac_ext <<_ACEOF
 18350 /* confdefs.h.  */
 18351 _ACEOF
 18352 cat confdefs.h >>conftest.$ac_ext
 18353 cat >>conftest.$ac_ext <<_ACEOF
 18354 /* end confdefs.h.  */
 18355 
 18356 /* Override any gcc2 internal prototype to avoid an error.  */
 18357 #ifdef __cplusplus
 18358 extern "C"
 18359 #endif
 18360 /* We use char because int might match the return type of a gcc2
 18361    builtin and then its argument prototype would still apply.  */
 18362 char dlopen ();
 18363 int
 18364 main ()
 18365 {
 18366 dlopen ();
 18367   ;
 18368   return 0;
 18369 }
 18370 _ACEOF
 18371 rm -f conftest.$ac_objext conftest$ac_exeext
 18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18373   (eval $ac_link) 2>conftest.er1
 18374   ac_status=$?
 18375   grep -v '^ *+' conftest.er1 >conftest.err
 18376   rm -f conftest.er1
 18377   cat conftest.err >&5
 18378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18379   (exit $ac_status); } &&
 18380 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18382   (eval $ac_try) 2>&5
 18383   ac_status=$?
 18384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18385   (exit $ac_status); }; } &&
 18386 	 { ac_try='test -s conftest$ac_exeext'
 18387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18388   (eval $ac_try) 2>&5
 18389   ac_status=$?
 18390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18391   (exit $ac_status); }; }; then
 18392   ac_cv_lib_svld_dlopen=yes
 18393 else
 18394   echo "$as_me: failed program was:" >&5
 18395 sed 's/^/| /' conftest.$ac_ext >&5
 18396 
 18397 ac_cv_lib_svld_dlopen=no
 18398 fi
 18399 rm -f conftest.err conftest.$ac_objext \
 18400       conftest$ac_exeext conftest.$ac_ext
 18401 LIBS=$ac_check_lib_save_LIBS
 18402 fi
 18403 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 18404 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 18405 if test $ac_cv_lib_svld_dlopen = yes; then
 18406   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 18407 else
 18408   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 18409 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 18410 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 18411   echo $ECHO_N "(cached) $ECHO_C" >&6
 18412 else
 18413   ac_check_lib_save_LIBS=$LIBS
 18414 LIBS="-ldld  $LIBS"
 18415 cat >conftest.$ac_ext <<_ACEOF
 18416 /* confdefs.h.  */
 18417 _ACEOF
 18418 cat confdefs.h >>conftest.$ac_ext
 18419 cat >>conftest.$ac_ext <<_ACEOF
 18420 /* end confdefs.h.  */
 18421 
 18422 /* Override any gcc2 internal prototype to avoid an error.  */
 18423 #ifdef __cplusplus
 18424 extern "C"
 18425 #endif
 18426 /* We use char because int might match the return type of a gcc2
 18427    builtin and then its argument prototype would still apply.  */
 18428 char dld_link ();
 18429 int
 18430 main ()
 18431 {
 18432 dld_link ();
 18433   ;
 18434   return 0;
 18435 }
 18436 _ACEOF
 18437 rm -f conftest.$ac_objext conftest$ac_exeext
 18438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18439   (eval $ac_link) 2>conftest.er1
 18440   ac_status=$?
 18441   grep -v '^ *+' conftest.er1 >conftest.err
 18442   rm -f conftest.er1
 18443   cat conftest.err >&5
 18444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18445   (exit $ac_status); } &&
 18446 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18448   (eval $ac_try) 2>&5
 18449   ac_status=$?
 18450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18451   (exit $ac_status); }; } &&
 18452 	 { ac_try='test -s conftest$ac_exeext'
 18453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18454   (eval $ac_try) 2>&5
 18455   ac_status=$?
 18456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18457   (exit $ac_status); }; }; then
 18458   ac_cv_lib_dld_dld_link=yes
 18459 else
 18460   echo "$as_me: failed program was:" >&5
 18461 sed 's/^/| /' conftest.$ac_ext >&5
 18462 
 18463 ac_cv_lib_dld_dld_link=no
 18464 fi
 18465 rm -f conftest.err conftest.$ac_objext \
 18466       conftest$ac_exeext conftest.$ac_ext
 18467 LIBS=$ac_check_lib_save_LIBS
 18468 fi
 18469 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 18470 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 18471 if test $ac_cv_lib_dld_dld_link = yes; then
 18472   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 18473 fi
 18474 
 18475 	      
 18476 fi
 18477 
 18478 	    
 18479 fi
 18480 
 18481 	  
 18482 fi
 18483 
 18484 	
 18485 fi
 18486 
 18487       
 18488 fi
 18489 
 18490     ;;
 18491   esac
 18492 
 18493   if test "x$lt_cv_dlopen" != xno; then
 18494     enable_dlopen=yes
 18495   else
 18496     enable_dlopen=no
 18497   fi
 18498 
 18499   case $lt_cv_dlopen in
 18500   dlopen)
 18501     save_CPPFLAGS="$CPPFLAGS"
 18502     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 18503 
 18504     save_LDFLAGS="$LDFLAGS"
 18505     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 18506 
 18507     save_LIBS="$LIBS"
 18508     LIBS="$lt_cv_dlopen_libs $LIBS"
 18509 
 18510     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 18511 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 18512 if test "${lt_cv_dlopen_self+set}" = set; then
 18513   echo $ECHO_N "(cached) $ECHO_C" >&6
 18514 else
 18515   	  if test "$cross_compiling" = yes; then :
 18516   lt_cv_dlopen_self=cross
 18517 else
 18518   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 18519   lt_status=$lt_dlunknown
 18520   cat > conftest.$ac_ext <<EOF
 18521 #line __oline__ "configure"
 18522 #include "confdefs.h"
 18523 
 18524 #if HAVE_DLFCN_H
 18525 #include <dlfcn.h>
 18526 #endif
 18527 
 18528 #include <stdio.h>
 18529 
 18530 #ifdef RTLD_GLOBAL
 18531 #  define LT_DLGLOBAL		RTLD_GLOBAL
 18532 #else
 18533 #  ifdef DL_GLOBAL
 18534 #    define LT_DLGLOBAL		DL_GLOBAL
 18535 #  else
 18536 #    define LT_DLGLOBAL		0
 18537 #  endif
 18538 #endif
 18539 
 18540 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 18541    find out it does not work in some platform. */
 18542 #ifndef LT_DLLAZY_OR_NOW
 18543 #  ifdef RTLD_LAZY
 18544 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 18545 #  else
 18546 #    ifdef DL_LAZY
 18547 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 18548 #    else
 18549 #      ifdef RTLD_NOW
 18550 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 18551 #      else
 18552 #        ifdef DL_NOW
 18553 #          define LT_DLLAZY_OR_NOW	DL_NOW
 18554 #        else
 18555 #          define LT_DLLAZY_OR_NOW	0
 18556 #        endif
 18557 #      endif
 18558 #    endif
 18559 #  endif
 18560 #endif
 18561 
 18562 #ifdef __cplusplus
 18563 extern "C" void exit (int);
 18564 #endif
 18565 
 18566 void fnord() { int i=42;}
 18567 int main ()
 18568 {
 18569   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 18570   int status = $lt_dlunknown;
 18571 
 18572   if (self)
 18573     {
 18574       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 18575       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 18576       /* dlclose (self); */
 18577     }
 18578 
 18579     exit (status);
 18580 }
 18581 EOF
 18582   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18583   (eval $ac_link) 2>&5
 18584   ac_status=$?
 18585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18586   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 18587     (./conftest; exit; ) >&5 2>/dev/null
 18588     lt_status=$?
 18589     case x$lt_status in
 18590       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 18591       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 18592       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 18593     esac
 18594   else :
 18595     # compilation failed
 18596     lt_cv_dlopen_self=no
 18597   fi
 18598 fi
 18599 rm -fr conftest*
 18600 
 18601     
 18602 fi
 18603 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 18604 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 18605 
 18606     if test "x$lt_cv_dlopen_self" = xyes; then
 18607       LDFLAGS="$LDFLAGS $link_static_flag"
 18608       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 18609 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 18610 if test "${lt_cv_dlopen_self_static+set}" = set; then
 18611   echo $ECHO_N "(cached) $ECHO_C" >&6
 18612 else
 18613   	  if test "$cross_compiling" = yes; then :
 18614   lt_cv_dlopen_self_static=cross
 18615 else
 18616   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 18617   lt_status=$lt_dlunknown
 18618   cat > conftest.$ac_ext <<EOF
 18619 #line __oline__ "configure"
 18620 #include "confdefs.h"
 18621 
 18622 #if HAVE_DLFCN_H
 18623 #include <dlfcn.h>
 18624 #endif
 18625 
 18626 #include <stdio.h>
 18627 
 18628 #ifdef RTLD_GLOBAL
 18629 #  define LT_DLGLOBAL		RTLD_GLOBAL
 18630 #else
 18631 #  ifdef DL_GLOBAL
 18632 #    define LT_DLGLOBAL		DL_GLOBAL
 18633 #  else
 18634 #    define LT_DLGLOBAL		0
 18635 #  endif
 18636 #endif
 18637 
 18638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 18639    find out it does not work in some platform. */
 18640 #ifndef LT_DLLAZY_OR_NOW
 18641 #  ifdef RTLD_LAZY
 18642 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 18643 #  else
 18644 #    ifdef DL_LAZY
 18645 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 18646 #    else
 18647 #      ifdef RTLD_NOW
 18648 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 18649 #      else
 18650 #        ifdef DL_NOW
 18651 #          define LT_DLLAZY_OR_NOW	DL_NOW
 18652 #        else
 18653 #          define LT_DLLAZY_OR_NOW	0
 18654 #        endif
 18655 #      endif
 18656 #    endif
 18657 #  endif
 18658 #endif
 18659 
 18660 #ifdef __cplusplus
 18661 extern "C" void exit (int);
 18662 #endif
 18663 
 18664 void fnord() { int i=42;}
 18665 int main ()
 18666 {
 18667   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 18668   int status = $lt_dlunknown;
 18669 
 18670   if (self)
 18671     {
 18672       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 18673       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 18674       /* dlclose (self); */
 18675     }
 18676 
 18677     exit (status);
 18678 }
 18679 EOF
 18680   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18681   (eval $ac_link) 2>&5
 18682   ac_status=$?
 18683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18684   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 18685     (./conftest; exit; ) >&5 2>/dev/null
 18686     lt_status=$?
 18687     case x$lt_status in
 18688       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 18689       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 18690       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 18691     esac
 18692   else :
 18693     # compilation failed
 18694     lt_cv_dlopen_self_static=no
 18695   fi
 18696 fi
 18697 rm -fr conftest*
 18698 
 18699       
 18700 fi
 18701 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 18702 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 18703     fi
 18704 
 18705     CPPFLAGS="$save_CPPFLAGS"
 18706     LDFLAGS="$save_LDFLAGS"
 18707     LIBS="$save_LIBS"
 18708     ;;
 18709   esac
 18710 
 18711   case $lt_cv_dlopen_self in
 18712   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 18713   *) enable_dlopen_self=unknown ;;
 18714   esac
 18715 
 18716   case $lt_cv_dlopen_self_static in
 18717   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 18718   *) enable_dlopen_self_static=unknown ;;
 18719   esac
 18720 fi
 18721 
 18722 
 18723 # The else clause should only fire when bootstrapping the
 18724 # libtool distribution, otherwise you forgot to ship ltmain.sh
 18725 # with your package, and you will get complaints that there are
 18726 # no rules to generate ltmain.sh.
 18727 if test -f "$ltmain"; then
 18728   # See if we are running on zsh, and set the options which allow our commands through
 18729   # without removal of \ escapes.
 18730   if test -n "${ZSH_VERSION+set}" ; then
 18731     setopt NO_GLOB_SUBST
 18732   fi
 18733   # Now quote all the things that may contain metacharacters while being
 18734   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 18735   # variables and quote the copies for generation of the libtool script.
 18736   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 18737     SED SHELL STRIP \
 18738     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 18739     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 18740     deplibs_check_method reload_flag reload_cmds need_locks \
 18741     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 18742     lt_cv_sys_global_symbol_to_c_name_address \
 18743     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 18744     old_postinstall_cmds old_postuninstall_cmds \
 18745     compiler_GCJ \
 18746     CC_GCJ \
 18747     LD_GCJ \
 18748     lt_prog_compiler_wl_GCJ \
 18749     lt_prog_compiler_pic_GCJ \
 18750     lt_prog_compiler_static_GCJ \
 18751     lt_prog_compiler_no_builtin_flag_GCJ \
 18752     export_dynamic_flag_spec_GCJ \
 18753     thread_safe_flag_spec_GCJ \
 18754     whole_archive_flag_spec_GCJ \
 18755     enable_shared_with_static_runtimes_GCJ \
 18756     old_archive_cmds_GCJ \
 18757     old_archive_from_new_cmds_GCJ \
 18758     predep_objects_GCJ \
 18759     postdep_objects_GCJ \
 18760     predeps_GCJ \
 18761     postdeps_GCJ \
 18762     compiler_lib_search_path_GCJ \
 18763     archive_cmds_GCJ \
 18764     archive_expsym_cmds_GCJ \
 18765     postinstall_cmds_GCJ \
 18766     postuninstall_cmds_GCJ \
 18767     old_archive_from_expsyms_cmds_GCJ \
 18768     allow_undefined_flag_GCJ \
 18769     no_undefined_flag_GCJ \
 18770     export_symbols_cmds_GCJ \
 18771     hardcode_libdir_flag_spec_GCJ \
 18772     hardcode_libdir_flag_spec_ld_GCJ \
 18773     hardcode_libdir_separator_GCJ \
 18774     hardcode_automatic_GCJ \
 18775     module_cmds_GCJ \
 18776     module_expsym_cmds_GCJ \
 18777     lt_cv_prog_compiler_c_o_GCJ \
 18778     exclude_expsyms_GCJ \
 18779     include_expsyms_GCJ; do
 18780 
 18781     case $var in
 18782     old_archive_cmds_GCJ | \
 18783     old_archive_from_new_cmds_GCJ | \
 18784     archive_cmds_GCJ | \
 18785     archive_expsym_cmds_GCJ | \
 18786     module_cmds_GCJ | \
 18787     module_expsym_cmds_GCJ | \
 18788     old_archive_from_expsyms_cmds_GCJ | \
 18789     export_symbols_cmds_GCJ | \
 18790     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 18791     postinstall_cmds | postuninstall_cmds | \
 18792     old_postinstall_cmds | old_postuninstall_cmds | \
 18793     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 18794       # Double-quote double-evaled strings.
 18795       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 18796       ;;
 18797     *)
 18798       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 18799       ;;
 18800     esac
 18801   done
 18802 
 18803   case $lt_echo in
 18804   *'\$0 --fallback-echo"')
 18805     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 18806     ;;
 18807   esac
 18808 
 18809 cfgfile="$ofile"
 18810 
 18811   cat <<__EOF__ >> "$cfgfile"
 18812 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 18813 
 18814 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 18815 
 18816 # Shell to use when invoking shell scripts.
 18817 SHELL=$lt_SHELL
 18818 
 18819 # Whether or not to build shared libraries.
 18820 build_libtool_libs=$enable_shared
 18821 
 18822 # Whether or not to build static libraries.
 18823 build_old_libs=$enable_static
 18824 
 18825 # Whether or not to add -lc for building shared libraries.
 18826 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 18827 
 18828 # Whether or not to disallow shared libs when runtime libs are static
 18829 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 18830 
 18831 # Whether or not to optimize for fast installation.
 18832 fast_install=$enable_fast_install
 18833 
 18834 # The host system.
 18835 host_alias=$host_alias
 18836 host=$host
 18837 host_os=$host_os
 18838 
 18839 # The build system.
 18840 build_alias=$build_alias
 18841 build=$build
 18842 build_os=$build_os
 18843 
 18844 # An echo program that does not interpret backslashes.
 18845 echo=$lt_echo
 18846 
 18847 # The archiver.
 18848 AR=$lt_AR
 18849 AR_FLAGS=$lt_AR_FLAGS
 18850 
 18851 # A C compiler.
 18852 LTCC=$lt_LTCC
 18853 
 18854 # A language-specific compiler.
 18855 CC=$lt_compiler_GCJ
 18856 
 18857 # Is the compiler the GNU C compiler?
 18858 with_gcc=$GCC_GCJ
 18859 
 18860 # An ERE matcher.
 18861 EGREP=$lt_EGREP
 18862 
 18863 # The linker used to build libraries.
 18864 LD=$lt_LD_GCJ
 18865 
 18866 # Whether we need hard or soft links.
 18867 LN_S=$lt_LN_S
 18868 
 18869 # A BSD-compatible nm program.
 18870 NM=$lt_NM
 18871 
 18872 # A symbol stripping program
 18873 STRIP=$lt_STRIP
 18874 
 18875 # Used to examine libraries when file_magic_cmd begins "file"
 18876 MAGIC_CMD=$MAGIC_CMD
 18877 
 18878 # Used on cygwin: DLL creation program.
 18879 DLLTOOL="$DLLTOOL"
 18880 
 18881 # Used on cygwin: object dumper.
 18882 OBJDUMP="$OBJDUMP"
 18883 
 18884 # Used on cygwin: assembler.
 18885 AS="$AS"
 18886 
 18887 # The name of the directory that contains temporary libtool files.
 18888 objdir=$objdir
 18889 
 18890 # How to create reloadable object files.
 18891 reload_flag=$lt_reload_flag
 18892 reload_cmds=$lt_reload_cmds
 18893 
 18894 # How to pass a linker flag through the compiler.
 18895 wl=$lt_lt_prog_compiler_wl_GCJ
 18896 
 18897 # Object file suffix (normally "o").
 18898 objext="$ac_objext"
 18899 
 18900 # Old archive suffix (normally "a").
 18901 libext="$libext"
 18902 
 18903 # Shared library suffix (normally ".so").
 18904 shrext_cmds='$shrext_cmds'
 18905 
 18906 # Executable file suffix (normally "").
 18907 exeext="$exeext"
 18908 
 18909 # Additional compiler flags for building library objects.
 18910 pic_flag=$lt_lt_prog_compiler_pic_GCJ
 18911 pic_mode=$pic_mode
 18912 
 18913 # What is the maximum length of a command?
 18914 max_cmd_len=$lt_cv_sys_max_cmd_len
 18915 
 18916 # Does compiler simultaneously support -c and -o options?
 18917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 18918 
 18919 # Must we lock files when doing compilation?
 18920 need_locks=$lt_need_locks
 18921 
 18922 # Do we need the lib prefix for modules?
 18923 need_lib_prefix=$need_lib_prefix
 18924 
 18925 # Do we need a version for libraries?
 18926 need_version=$need_version
 18927 
 18928 # Whether dlopen is supported.
 18929 dlopen_support=$enable_dlopen
 18930 
 18931 # Whether dlopen of programs is supported.
 18932 dlopen_self=$enable_dlopen_self
 18933 
 18934 # Whether dlopen of statically linked programs is supported.
 18935 dlopen_self_static=$enable_dlopen_self_static
 18936 
 18937 # Compiler flag to prevent dynamic linking.
 18938 link_static_flag=$lt_lt_prog_compiler_static_GCJ
 18939 
 18940 # Compiler flag to turn off builtin functions.
 18941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 18942 
 18943 # Compiler flag to allow reflexive dlopens.
 18944 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 18945 
 18946 # Compiler flag to generate shared objects directly from archives.
 18947 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 18948 
 18949 # Compiler flag to generate thread-safe objects.
 18950 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 18951 
 18952 # Library versioning type.
 18953 version_type=$version_type
 18954 
 18955 # Format of library name prefix.
 18956 libname_spec=$lt_libname_spec
 18957 
 18958 # List of archive names.  First name is the real one, the rest are links.
 18959 # The last name is the one that the linker finds with -lNAME.
 18960 library_names_spec=$lt_library_names_spec
 18961 
 18962 # The coded name of the library, if different from the real name.
 18963 soname_spec=$lt_soname_spec
 18964 
 18965 # Commands used to build and install an old-style archive.
 18966 RANLIB=$lt_RANLIB
 18967 old_archive_cmds=$lt_old_archive_cmds_GCJ
 18968 old_postinstall_cmds=$lt_old_postinstall_cmds
 18969 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 18970 
 18971 # Create an old-style archive from a shared archive.
 18972 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 18973 
 18974 # Create a temporary old-style archive to link instead of a shared archive.
 18975 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 18976 
 18977 # Commands used to build and install a shared archive.
 18978 archive_cmds=$lt_archive_cmds_GCJ
 18979 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 18980 postinstall_cmds=$lt_postinstall_cmds
 18981 postuninstall_cmds=$lt_postuninstall_cmds
 18982 
 18983 # Commands used to build a loadable module (assumed same as above if empty)
 18984 module_cmds=$lt_module_cmds_GCJ
 18985 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 18986 
 18987 # Commands to strip libraries.
 18988 old_striplib=$lt_old_striplib
 18989 striplib=$lt_striplib
 18990 
 18991 # Dependencies to place before the objects being linked to create a
 18992 # shared library.
 18993 predep_objects=$lt_predep_objects_GCJ
 18994 
 18995 # Dependencies to place after the objects being linked to create a
 18996 # shared library.
 18997 postdep_objects=$lt_postdep_objects_GCJ
 18998 
 18999 # Dependencies to place before the objects being linked to create a
 19000 # shared library.
 19001 predeps=$lt_predeps_GCJ
 19002 
 19003 # Dependencies to place after the objects being linked to create a
 19004 # shared library.
 19005 postdeps=$lt_postdeps_GCJ
 19006 
 19007 # The library search path used internally by the compiler when linking
 19008 # a shared library.
 19009 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 19010 
 19011 # Method to check whether dependent libraries are shared objects.
 19012 deplibs_check_method=$lt_deplibs_check_method
 19013 
 19014 # Command to use when deplibs_check_method == file_magic.
 19015 file_magic_cmd=$lt_file_magic_cmd
 19016 
 19017 # Flag that allows shared libraries with undefined symbols to be built.
 19018 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 19019 
 19020 # Flag that forces no undefined symbols.
 19021 no_undefined_flag=$lt_no_undefined_flag_GCJ
 19022 
 19023 # Commands used to finish a libtool library installation in a directory.
 19024 finish_cmds=$lt_finish_cmds
 19025 
 19026 # Same as above, but a single script fragment to be evaled but not shown.
 19027 finish_eval=$lt_finish_eval
 19028 
 19029 # Take the output of nm and produce a listing of raw symbols and C names.
 19030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19031 
 19032 # Transform the output of nm in a proper C declaration
 19033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19034 
 19035 # Transform the output of nm in a C name address pair
 19036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19037 
 19038 # This is the shared library runtime path variable.
 19039 runpath_var=$runpath_var
 19040 
 19041 # This is the shared library path variable.
 19042 shlibpath_var=$shlibpath_var
 19043 
 19044 # Is shlibpath searched before the hard-coded library search path?
 19045 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 19046 
 19047 # How to hardcode a shared library path into an executable.
 19048 hardcode_action=$hardcode_action_GCJ
 19049 
 19050 # Whether we should hardcode library paths into libraries.
 19051 hardcode_into_libs=$hardcode_into_libs
 19052 
 19053 # Flag to hardcode \$libdir into a binary during linking.
 19054 # This must work even if \$libdir does not exist.
 19055 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 19056 
 19057 # If ld is used when linking, flag to hardcode \$libdir into
 19058 # a binary during linking. This must work even if \$libdir does
 19059 # not exist.
 19060 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 19061 
 19062 # Whether we need a single -rpath flag with a separated argument.
 19063 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 19064 
 19065 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 19066 # resulting binary.
 19067 hardcode_direct=$hardcode_direct_GCJ
 19068 
 19069 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 19070 # resulting binary.
 19071 hardcode_minus_L=$hardcode_minus_L_GCJ
 19072 
 19073 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 19074 # the resulting binary.
 19075 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 19076 
 19077 # Set to yes if building a shared library automatically hardcodes DIR into the library
 19078 # and all subsequent libraries and executables linked against it.
 19079 hardcode_automatic=$hardcode_automatic_GCJ
 19080 
 19081 # Variables whose values should be saved in libtool wrapper scripts and
 19082 # restored at relink time.
 19083 variables_saved_for_relink="$variables_saved_for_relink"
 19084 
 19085 # Whether libtool must link a program against all its dependency libraries.
 19086 link_all_deplibs=$link_all_deplibs_GCJ
 19087 
 19088 # Compile-time system search path for libraries
 19089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 19090 
 19091 # Run-time system search path for libraries
 19092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 19093 
 19094 # Fix the shell variable \$srcfile for the compiler.
 19095 fix_srcfile_path="$fix_srcfile_path_GCJ"
 19096 
 19097 # Set to yes if exported symbols are required.
 19098 always_export_symbols=$always_export_symbols_GCJ
 19099 
 19100 # The commands to list exported symbols.
 19101 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 19102 
 19103 # The commands to extract the exported symbol list from a shared archive.
 19104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19105 
 19106 # Symbols that should not be listed in the preloaded symbols.
 19107 exclude_expsyms=$lt_exclude_expsyms_GCJ
 19108 
 19109 # Symbols that must always be exported.
 19110 include_expsyms=$lt_include_expsyms_GCJ
 19111 
 19112 # ### END LIBTOOL TAG CONFIG: $tagname
 19113 
 19114 __EOF__
 19115 
 19116 
 19117 else
 19118   # If there is no Makefile yet, we rely on a make rule to execute
 19119   # `config.status --recheck' to rerun these tests and create the
 19120   # libtool script then.
 19121   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 19122   if test -f "$ltmain_in"; then
 19123     test -f Makefile && make "$ltmain"
 19124   fi
 19125 fi
 19126 
 19127 
 19128 ac_ext=c
 19129 ac_cpp='$CPP $CPPFLAGS'
 19130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19133 
 19134 CC="$lt_save_CC"
 19135 
 19136 	else
 19137 	  tagname=""
 19138 	fi
 19139 	;;
 19140 
 19141       RC)
 19142 	
 19143 
 19144 
 19145 # Source file extension for RC test sources.
 19146 ac_ext=rc
 19147 
 19148 # Object file extension for compiled RC test sources.
 19149 objext=o
 19150 objext_RC=$objext
 19151 
 19152 # Code to be used in simple compile tests
 19153 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 19154 
 19155 # Code to be used in simple link tests
 19156 lt_simple_link_test_code="$lt_simple_compile_test_code"
 19157 
 19158 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 19159 
 19160 # If no C compiler was specified, use CC.
 19161 LTCC=${LTCC-"$CC"}
 19162 
 19163 # Allow CC to be a program name with arguments.
 19164 compiler=$CC
 19165 
 19166 
 19167 # save warnings/boilerplate of simple test code
 19168 ac_outfile=conftest.$ac_objext
 19169 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 19170 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 19171 _lt_compiler_boilerplate=`cat conftest.err`
 19172 $rm conftest*
 19173 
 19174 ac_outfile=conftest.$ac_objext
 19175 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 19176 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 19177 _lt_linker_boilerplate=`cat conftest.err`
 19178 $rm conftest*
 19179 
 19180 
 19181 # Allow CC to be a program name with arguments.
 19182 lt_save_CC="$CC"
 19183 CC=${RC-"windres"}
 19184 compiler=$CC
 19185 compiler_RC=$CC
 19186 for cc_temp in $compiler""; do
 19187   case $cc_temp in
 19188     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 19189     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 19190     \-*) ;;
 19191     *) break;;
 19192   esac
 19193 done
 19194 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 19195 
 19196 lt_cv_prog_compiler_c_o_RC=yes
 19197 
 19198 # The else clause should only fire when bootstrapping the
 19199 # libtool distribution, otherwise you forgot to ship ltmain.sh
 19200 # with your package, and you will get complaints that there are
 19201 # no rules to generate ltmain.sh.
 19202 if test -f "$ltmain"; then
 19203   # See if we are running on zsh, and set the options which allow our commands through
 19204   # without removal of \ escapes.
 19205   if test -n "${ZSH_VERSION+set}" ; then
 19206     setopt NO_GLOB_SUBST
 19207   fi
 19208   # Now quote all the things that may contain metacharacters while being
 19209   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 19210   # variables and quote the copies for generation of the libtool script.
 19211   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 19212     SED SHELL STRIP \
 19213     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 19214     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 19215     deplibs_check_method reload_flag reload_cmds need_locks \
 19216     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 19217     lt_cv_sys_global_symbol_to_c_name_address \
 19218     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 19219     old_postinstall_cmds old_postuninstall_cmds \
 19220     compiler_RC \
 19221     CC_RC \
 19222     LD_RC \
 19223     lt_prog_compiler_wl_RC \
 19224     lt_prog_compiler_pic_RC \
 19225     lt_prog_compiler_static_RC \
 19226     lt_prog_compiler_no_builtin_flag_RC \
 19227     export_dynamic_flag_spec_RC \
 19228     thread_safe_flag_spec_RC \
 19229     whole_archive_flag_spec_RC \
 19230     enable_shared_with_static_runtimes_RC \
 19231     old_archive_cmds_RC \
 19232     old_archive_from_new_cmds_RC \
 19233     predep_objects_RC \
 19234     postdep_objects_RC \
 19235     predeps_RC \
 19236     postdeps_RC \
 19237     compiler_lib_search_path_RC \
 19238     archive_cmds_RC \
 19239     archive_expsym_cmds_RC \
 19240     postinstall_cmds_RC \
 19241     postuninstall_cmds_RC \
 19242     old_archive_from_expsyms_cmds_RC \
 19243     allow_undefined_flag_RC \
 19244     no_undefined_flag_RC \
 19245     export_symbols_cmds_RC \
 19246     hardcode_libdir_flag_spec_RC \
 19247     hardcode_libdir_flag_spec_ld_RC \
 19248     hardcode_libdir_separator_RC \
 19249     hardcode_automatic_RC \
 19250     module_cmds_RC \
 19251     module_expsym_cmds_RC \
 19252     lt_cv_prog_compiler_c_o_RC \
 19253     exclude_expsyms_RC \
 19254     include_expsyms_RC; do
 19255 
 19256     case $var in
 19257     old_archive_cmds_RC | \
 19258     old_archive_from_new_cmds_RC | \
 19259     archive_cmds_RC | \
 19260     archive_expsym_cmds_RC | \
 19261     module_cmds_RC | \
 19262     module_expsym_cmds_RC | \
 19263     old_archive_from_expsyms_cmds_RC | \
 19264     export_symbols_cmds_RC | \
 19265     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 19266     postinstall_cmds | postuninstall_cmds | \
 19267     old_postinstall_cmds | old_postuninstall_cmds | \
 19268     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 19269       # Double-quote double-evaled strings.
 19270       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 19271       ;;
 19272     *)
 19273       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 19274       ;;
 19275     esac
 19276   done
 19277 
 19278   case $lt_echo in
 19279   *'\$0 --fallback-echo"')
 19280     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 19281     ;;
 19282   esac
 19283 
 19284 cfgfile="$ofile"
 19285 
 19286   cat <<__EOF__ >> "$cfgfile"
 19287 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 19288 
 19289 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 19290 
 19291 # Shell to use when invoking shell scripts.
 19292 SHELL=$lt_SHELL
 19293 
 19294 # Whether or not to build shared libraries.
 19295 build_libtool_libs=$enable_shared
 19296 
 19297 # Whether or not to build static libraries.
 19298 build_old_libs=$enable_static
 19299 
 19300 # Whether or not to add -lc for building shared libraries.
 19301 build_libtool_need_lc=$archive_cmds_need_lc_RC
 19302 
 19303 # Whether or not to disallow shared libs when runtime libs are static
 19304 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 19305 
 19306 # Whether or not to optimize for fast installation.
 19307 fast_install=$enable_fast_install
 19308 
 19309 # The host system.
 19310 host_alias=$host_alias
 19311 host=$host
 19312 host_os=$host_os
 19313 
 19314 # The build system.
 19315 build_alias=$build_alias
 19316 build=$build
 19317 build_os=$build_os
 19318 
 19319 # An echo program that does not interpret backslashes.
 19320 echo=$lt_echo
 19321 
 19322 # The archiver.
 19323 AR=$lt_AR
 19324 AR_FLAGS=$lt_AR_FLAGS
 19325 
 19326 # A C compiler.
 19327 LTCC=$lt_LTCC
 19328 
 19329 # A language-specific compiler.
 19330 CC=$lt_compiler_RC
 19331 
 19332 # Is the compiler the GNU C compiler?
 19333 with_gcc=$GCC_RC
 19334 
 19335 # An ERE matcher.
 19336 EGREP=$lt_EGREP
 19337 
 19338 # The linker used to build libraries.
 19339 LD=$lt_LD_RC
 19340 
 19341 # Whether we need hard or soft links.
 19342 LN_S=$lt_LN_S
 19343 
 19344 # A BSD-compatible nm program.
 19345 NM=$lt_NM
 19346 
 19347 # A symbol stripping program
 19348 STRIP=$lt_STRIP
 19349 
 19350 # Used to examine libraries when file_magic_cmd begins "file"
 19351 MAGIC_CMD=$MAGIC_CMD
 19352 
 19353 # Used on cygwin: DLL creation program.
 19354 DLLTOOL="$DLLTOOL"
 19355 
 19356 # Used on cygwin: object dumper.
 19357 OBJDUMP="$OBJDUMP"
 19358 
 19359 # Used on cygwin: assembler.
 19360 AS="$AS"
 19361 
 19362 # The name of the directory that contains temporary libtool files.
 19363 objdir=$objdir
 19364 
 19365 # How to create reloadable object files.
 19366 reload_flag=$lt_reload_flag
 19367 reload_cmds=$lt_reload_cmds
 19368 
 19369 # How to pass a linker flag through the compiler.
 19370 wl=$lt_lt_prog_compiler_wl_RC
 19371 
 19372 # Object file suffix (normally "o").
 19373 objext="$ac_objext"
 19374 
 19375 # Old archive suffix (normally "a").
 19376 libext="$libext"
 19377 
 19378 # Shared library suffix (normally ".so").
 19379 shrext_cmds='$shrext_cmds'
 19380 
 19381 # Executable file suffix (normally "").
 19382 exeext="$exeext"
 19383 
 19384 # Additional compiler flags for building library objects.
 19385 pic_flag=$lt_lt_prog_compiler_pic_RC
 19386 pic_mode=$pic_mode
 19387 
 19388 # What is the maximum length of a command?
 19389 max_cmd_len=$lt_cv_sys_max_cmd_len
 19390 
 19391 # Does compiler simultaneously support -c and -o options?
 19392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 19393 
 19394 # Must we lock files when doing compilation?
 19395 need_locks=$lt_need_locks
 19396 
 19397 # Do we need the lib prefix for modules?
 19398 need_lib_prefix=$need_lib_prefix
 19399 
 19400 # Do we need a version for libraries?
 19401 need_version=$need_version
 19402 
 19403 # Whether dlopen is supported.
 19404 dlopen_support=$enable_dlopen
 19405 
 19406 # Whether dlopen of programs is supported.
 19407 dlopen_self=$enable_dlopen_self
 19408 
 19409 # Whether dlopen of statically linked programs is supported.
 19410 dlopen_self_static=$enable_dlopen_self_static
 19411 
 19412 # Compiler flag to prevent dynamic linking.
 19413 link_static_flag=$lt_lt_prog_compiler_static_RC
 19414 
 19415 # Compiler flag to turn off builtin functions.
 19416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 19417 
 19418 # Compiler flag to allow reflexive dlopens.
 19419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 19420 
 19421 # Compiler flag to generate shared objects directly from archives.
 19422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 19423 
 19424 # Compiler flag to generate thread-safe objects.
 19425 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 19426 
 19427 # Library versioning type.
 19428 version_type=$version_type
 19429 
 19430 # Format of library name prefix.
 19431 libname_spec=$lt_libname_spec
 19432 
 19433 # List of archive names.  First name is the real one, the rest are links.
 19434 # The last name is the one that the linker finds with -lNAME.
 19435 library_names_spec=$lt_library_names_spec
 19436 
 19437 # The coded name of the library, if different from the real name.
 19438 soname_spec=$lt_soname_spec
 19439 
 19440 # Commands used to build and install an old-style archive.
 19441 RANLIB=$lt_RANLIB
 19442 old_archive_cmds=$lt_old_archive_cmds_RC
 19443 old_postinstall_cmds=$lt_old_postinstall_cmds
 19444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 19445 
 19446 # Create an old-style archive from a shared archive.
 19447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 19448 
 19449 # Create a temporary old-style archive to link instead of a shared archive.
 19450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 19451 
 19452 # Commands used to build and install a shared archive.
 19453 archive_cmds=$lt_archive_cmds_RC
 19454 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 19455 postinstall_cmds=$lt_postinstall_cmds
 19456 postuninstall_cmds=$lt_postuninstall_cmds
 19457 
 19458 # Commands used to build a loadable module (assumed same as above if empty)
 19459 module_cmds=$lt_module_cmds_RC
 19460 module_expsym_cmds=$lt_module_expsym_cmds_RC
 19461 
 19462 # Commands to strip libraries.
 19463 old_striplib=$lt_old_striplib
 19464 striplib=$lt_striplib
 19465 
 19466 # Dependencies to place before the objects being linked to create a
 19467 # shared library.
 19468 predep_objects=$lt_predep_objects_RC
 19469 
 19470 # Dependencies to place after the objects being linked to create a
 19471 # shared library.
 19472 postdep_objects=$lt_postdep_objects_RC
 19473 
 19474 # Dependencies to place before the objects being linked to create a
 19475 # shared library.
 19476 predeps=$lt_predeps_RC
 19477 
 19478 # Dependencies to place after the objects being linked to create a
 19479 # shared library.
 19480 postdeps=$lt_postdeps_RC
 19481 
 19482 # The library search path used internally by the compiler when linking
 19483 # a shared library.
 19484 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 19485 
 19486 # Method to check whether dependent libraries are shared objects.
 19487 deplibs_check_method=$lt_deplibs_check_method
 19488 
 19489 # Command to use when deplibs_check_method == file_magic.
 19490 file_magic_cmd=$lt_file_magic_cmd
 19491 
 19492 # Flag that allows shared libraries with undefined symbols to be built.
 19493 allow_undefined_flag=$lt_allow_undefined_flag_RC
 19494 
 19495 # Flag that forces no undefined symbols.
 19496 no_undefined_flag=$lt_no_undefined_flag_RC
 19497 
 19498 # Commands used to finish a libtool library installation in a directory.
 19499 finish_cmds=$lt_finish_cmds
 19500 
 19501 # Same as above, but a single script fragment to be evaled but not shown.
 19502 finish_eval=$lt_finish_eval
 19503 
 19504 # Take the output of nm and produce a listing of raw symbols and C names.
 19505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19506 
 19507 # Transform the output of nm in a proper C declaration
 19508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19509 
 19510 # Transform the output of nm in a C name address pair
 19511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19512 
 19513 # This is the shared library runtime path variable.
 19514 runpath_var=$runpath_var
 19515 
 19516 # This is the shared library path variable.
 19517 shlibpath_var=$shlibpath_var
 19518 
 19519 # Is shlibpath searched before the hard-coded library search path?
 19520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 19521 
 19522 # How to hardcode a shared library path into an executable.
 19523 hardcode_action=$hardcode_action_RC
 19524 
 19525 # Whether we should hardcode library paths into libraries.
 19526 hardcode_into_libs=$hardcode_into_libs
 19527 
 19528 # Flag to hardcode \$libdir into a binary during linking.
 19529 # This must work even if \$libdir does not exist.
 19530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 19531 
 19532 # If ld is used when linking, flag to hardcode \$libdir into
 19533 # a binary during linking. This must work even if \$libdir does
 19534 # not exist.
 19535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 19536 
 19537 # Whether we need a single -rpath flag with a separated argument.
 19538 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 19539 
 19540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 19541 # resulting binary.
 19542 hardcode_direct=$hardcode_direct_RC
 19543 
 19544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 19545 # resulting binary.
 19546 hardcode_minus_L=$hardcode_minus_L_RC
 19547 
 19548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 19549 # the resulting binary.
 19550 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 19551 
 19552 # Set to yes if building a shared library automatically hardcodes DIR into the library
 19553 # and all subsequent libraries and executables linked against it.
 19554 hardcode_automatic=$hardcode_automatic_RC
 19555 
 19556 # Variables whose values should be saved in libtool wrapper scripts and
 19557 # restored at relink time.
 19558 variables_saved_for_relink="$variables_saved_for_relink"
 19559 
 19560 # Whether libtool must link a program against all its dependency libraries.
 19561 link_all_deplibs=$link_all_deplibs_RC
 19562 
 19563 # Compile-time system search path for libraries
 19564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 19565 
 19566 # Run-time system search path for libraries
 19567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 19568 
 19569 # Fix the shell variable \$srcfile for the compiler.
 19570 fix_srcfile_path="$fix_srcfile_path_RC"
 19571 
 19572 # Set to yes if exported symbols are required.
 19573 always_export_symbols=$always_export_symbols_RC
 19574 
 19575 # The commands to list exported symbols.
 19576 export_symbols_cmds=$lt_export_symbols_cmds_RC
 19577 
 19578 # The commands to extract the exported symbol list from a shared archive.
 19579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19580 
 19581 # Symbols that should not be listed in the preloaded symbols.
 19582 exclude_expsyms=$lt_exclude_expsyms_RC
 19583 
 19584 # Symbols that must always be exported.
 19585 include_expsyms=$lt_include_expsyms_RC
 19586 
 19587 # ### END LIBTOOL TAG CONFIG: $tagname
 19588 
 19589 __EOF__
 19590 
 19591 
 19592 else
 19593   # If there is no Makefile yet, we rely on a make rule to execute
 19594   # `config.status --recheck' to rerun these tests and create the
 19595   # libtool script then.
 19596   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 19597   if test -f "$ltmain_in"; then
 19598     test -f Makefile && make "$ltmain"
 19599   fi
 19600 fi
 19601 
 19602 
 19603 ac_ext=c
 19604 ac_cpp='$CPP $CPPFLAGS'
 19605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19608 
 19609 CC="$lt_save_CC"
 19610 
 19611 	;;
 19612 
 19613       *)
 19614 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 19615 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 19616    { (exit 1); exit 1; }; }
 19617 	;;
 19618       esac
 19619 
 19620       # Append the new tag name to the list of available tags.
 19621       if test -n "$tagname" ; then
 19622       available_tags="$available_tags $tagname"
 19623     fi
 19624     fi
 19625   done
 19626   IFS="$lt_save_ifs"
 19627 
 19628   # Now substitute the updated list of available tags.
 19629   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 19630     mv "${ofile}T" "$ofile"
 19631     chmod +x "$ofile"
 19632   else
 19633     rm -f "${ofile}T"
 19634     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 19635 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 19636    { (exit 1); exit 1; }; }
 19637   fi
 19638 fi
 19639 
 19640 
 19641 
 19642 # This can be used to rebuild libtool when needed
 19643 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 19644 
 19645 # Always use our own libtool.
 19646 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 19647 
 19648 # Prevent multiple expansion
 19649 
 19650 
 19651 
 19652 
 19653 
 19654 
 19655 
 19656 
 19657 
 19658 
 19659 
 19660   
 19661 
 19662   
 19663 
 19664 
 19665   
 19666        
 19667        
 19668 
 19669 
 19670           ac_config_headers="$ac_config_headers config.h"
 19671 
 19672 
 19673 ACLOCAL_AMFLAGS="-I m4"
 19674 
 19675 
 19676 ac_ext=c
 19677 ac_cpp='$CPP $CPPFLAGS'
 19678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19681 if test -n "$ac_tool_prefix"; then
 19682   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 19683 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 19684 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19686 if test "${ac_cv_prog_CC+set}" = set; then
 19687   echo $ECHO_N "(cached) $ECHO_C" >&6
 19688 else
 19689   if test -n "$CC"; then
 19690   ac_cv_prog_CC="$CC" # Let the user override the test.
 19691 else
 19692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19693 for as_dir in $PATH
 19694 do
 19695   IFS=$as_save_IFS
 19696   test -z "$as_dir" && as_dir=.
 19697   for ac_exec_ext in '' $ac_executable_extensions; do
 19698   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19699     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 19700     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19701     break 2
 19702   fi
 19703 done
 19704 done
 19705 
 19706 fi
 19707 fi
 19708 CC=$ac_cv_prog_CC
 19709 if test -n "$CC"; then
 19710   echo "$as_me:$LINENO: result: $CC" >&5
 19711 echo "${ECHO_T}$CC" >&6
 19712 else
 19713   echo "$as_me:$LINENO: result: no" >&5
 19714 echo "${ECHO_T}no" >&6
 19715 fi
 19716 
 19717 fi
 19718 if test -z "$ac_cv_prog_CC"; then
 19719   ac_ct_CC=$CC
 19720   # Extract the first word of "gcc", so it can be a program name with args.
 19721 set dummy gcc; ac_word=$2
 19722 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19725   echo $ECHO_N "(cached) $ECHO_C" >&6
 19726 else
 19727   if test -n "$ac_ct_CC"; then
 19728   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19729 else
 19730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19731 for as_dir in $PATH
 19732 do
 19733   IFS=$as_save_IFS
 19734   test -z "$as_dir" && as_dir=.
 19735   for ac_exec_ext in '' $ac_executable_extensions; do
 19736   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19737     ac_cv_prog_ac_ct_CC="gcc"
 19738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19739     break 2
 19740   fi
 19741 done
 19742 done
 19743 
 19744 fi
 19745 fi
 19746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19747 if test -n "$ac_ct_CC"; then
 19748   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19749 echo "${ECHO_T}$ac_ct_CC" >&6
 19750 else
 19751   echo "$as_me:$LINENO: result: no" >&5
 19752 echo "${ECHO_T}no" >&6
 19753 fi
 19754 
 19755   CC=$ac_ct_CC
 19756 else
 19757   CC="$ac_cv_prog_CC"
 19758 fi
 19759 
 19760 if test -z "$CC"; then
 19761   if test -n "$ac_tool_prefix"; then
 19762   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 19763 set dummy ${ac_tool_prefix}cc; ac_word=$2
 19764 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19766 if test "${ac_cv_prog_CC+set}" = set; then
 19767   echo $ECHO_N "(cached) $ECHO_C" >&6
 19768 else
 19769   if test -n "$CC"; then
 19770   ac_cv_prog_CC="$CC" # Let the user override the test.
 19771 else
 19772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19773 for as_dir in $PATH
 19774 do
 19775   IFS=$as_save_IFS
 19776   test -z "$as_dir" && as_dir=.
 19777   for ac_exec_ext in '' $ac_executable_extensions; do
 19778   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19779     ac_cv_prog_CC="${ac_tool_prefix}cc"
 19780     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19781     break 2
 19782   fi
 19783 done
 19784 done
 19785 
 19786 fi
 19787 fi
 19788 CC=$ac_cv_prog_CC
 19789 if test -n "$CC"; then
 19790   echo "$as_me:$LINENO: result: $CC" >&5
 19791 echo "${ECHO_T}$CC" >&6
 19792 else
 19793   echo "$as_me:$LINENO: result: no" >&5
 19794 echo "${ECHO_T}no" >&6
 19795 fi
 19796 
 19797 fi
 19798 if test -z "$ac_cv_prog_CC"; then
 19799   ac_ct_CC=$CC
 19800   # Extract the first word of "cc", so it can be a program name with args.
 19801 set dummy cc; ac_word=$2
 19802 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19805   echo $ECHO_N "(cached) $ECHO_C" >&6
 19806 else
 19807   if test -n "$ac_ct_CC"; then
 19808   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19809 else
 19810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19811 for as_dir in $PATH
 19812 do
 19813   IFS=$as_save_IFS
 19814   test -z "$as_dir" && as_dir=.
 19815   for ac_exec_ext in '' $ac_executable_extensions; do
 19816   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19817     ac_cv_prog_ac_ct_CC="cc"
 19818     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19819     break 2
 19820   fi
 19821 done
 19822 done
 19823 
 19824 fi
 19825 fi
 19826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19827 if test -n "$ac_ct_CC"; then
 19828   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19829 echo "${ECHO_T}$ac_ct_CC" >&6
 19830 else
 19831   echo "$as_me:$LINENO: result: no" >&5
 19832 echo "${ECHO_T}no" >&6
 19833 fi
 19834 
 19835   CC=$ac_ct_CC
 19836 else
 19837   CC="$ac_cv_prog_CC"
 19838 fi
 19839 
 19840 fi
 19841 if test -z "$CC"; then
 19842   # Extract the first word of "cc", so it can be a program name with args.
 19843 set dummy cc; ac_word=$2
 19844 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19846 if test "${ac_cv_prog_CC+set}" = set; then
 19847   echo $ECHO_N "(cached) $ECHO_C" >&6
 19848 else
 19849   if test -n "$CC"; then
 19850   ac_cv_prog_CC="$CC" # Let the user override the test.
 19851 else
 19852   ac_prog_rejected=no
 19853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19854 for as_dir in $PATH
 19855 do
 19856   IFS=$as_save_IFS
 19857   test -z "$as_dir" && as_dir=.
 19858   for ac_exec_ext in '' $ac_executable_extensions; do
 19859   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19860     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 19861        ac_prog_rejected=yes
 19862        continue
 19863      fi
 19864     ac_cv_prog_CC="cc"
 19865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19866     break 2
 19867   fi
 19868 done
 19869 done
 19870 
 19871 if test $ac_prog_rejected = yes; then
 19872   # We found a bogon in the path, so make sure we never use it.
 19873   set dummy $ac_cv_prog_CC
 19874   shift
 19875   if test $@%:@ != 0; then
 19876     # We chose a different compiler from the bogus one.
 19877     # However, it has the same basename, so the bogon will be chosen
 19878     # first if we set CC to just the basename; use the full file name.
 19879     shift
 19880     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 19881   fi
 19882 fi
 19883 fi
 19884 fi
 19885 CC=$ac_cv_prog_CC
 19886 if test -n "$CC"; then
 19887   echo "$as_me:$LINENO: result: $CC" >&5
 19888 echo "${ECHO_T}$CC" >&6
 19889 else
 19890   echo "$as_me:$LINENO: result: no" >&5
 19891 echo "${ECHO_T}no" >&6
 19892 fi
 19893 
 19894 fi
 19895 if test -z "$CC"; then
 19896   if test -n "$ac_tool_prefix"; then
 19897   for ac_prog in cl
 19898   do
 19899     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 19900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 19901 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19903 if test "${ac_cv_prog_CC+set}" = set; then
 19904   echo $ECHO_N "(cached) $ECHO_C" >&6
 19905 else
 19906   if test -n "$CC"; then
 19907   ac_cv_prog_CC="$CC" # Let the user override the test.
 19908 else
 19909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19910 for as_dir in $PATH
 19911 do
 19912   IFS=$as_save_IFS
 19913   test -z "$as_dir" && as_dir=.
 19914   for ac_exec_ext in '' $ac_executable_extensions; do
 19915   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19916     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 19917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19918     break 2
 19919   fi
 19920 done
 19921 done
 19922 
 19923 fi
 19924 fi
 19925 CC=$ac_cv_prog_CC
 19926 if test -n "$CC"; then
 19927   echo "$as_me:$LINENO: result: $CC" >&5
 19928 echo "${ECHO_T}$CC" >&6
 19929 else
 19930   echo "$as_me:$LINENO: result: no" >&5
 19931 echo "${ECHO_T}no" >&6
 19932 fi
 19933 
 19934     test -n "$CC" && break
 19935   done
 19936 fi
 19937 if test -z "$CC"; then
 19938   ac_ct_CC=$CC
 19939   for ac_prog in cl
 19940 do
 19941   # Extract the first word of "$ac_prog", so it can be a program name with args.
 19942 set dummy $ac_prog; ac_word=$2
 19943 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19945 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19946   echo $ECHO_N "(cached) $ECHO_C" >&6
 19947 else
 19948   if test -n "$ac_ct_CC"; then
 19949   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19950 else
 19951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19952 for as_dir in $PATH
 19953 do
 19954   IFS=$as_save_IFS
 19955   test -z "$as_dir" && as_dir=.
 19956   for ac_exec_ext in '' $ac_executable_extensions; do
 19957   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19958     ac_cv_prog_ac_ct_CC="$ac_prog"
 19959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19960     break 2
 19961   fi
 19962 done
 19963 done
 19964 
 19965 fi
 19966 fi
 19967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19968 if test -n "$ac_ct_CC"; then
 19969   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19970 echo "${ECHO_T}$ac_ct_CC" >&6
 19971 else
 19972   echo "$as_me:$LINENO: result: no" >&5
 19973 echo "${ECHO_T}no" >&6
 19974 fi
 19975 
 19976   test -n "$ac_ct_CC" && break
 19977 done
 19978 
 19979   CC=$ac_ct_CC
 19980 fi
 19981 
 19982 fi
 19983 
 19984 
 19985 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 19986 See \`config.log' for more details." >&5
 19987 echo "$as_me: error: no acceptable C compiler found in \$PATH
 19988 See \`config.log' for more details." >&2;}
 19989    { (exit 1); exit 1; }; }
 19990 
 19991 # Provide some information about the compiler.
 19992 echo "$as_me:$LINENO:" \
 19993      "checking for C compiler version" >&5
 19994 ac_compiler=`set X $ac_compile; echo $2`
 19995 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 19996   (eval $ac_compiler --version </dev/null >&5) 2>&5
 19997   ac_status=$?
 19998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 19999   (exit $ac_status); }
 20000 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 20001   (eval $ac_compiler -v </dev/null >&5) 2>&5
 20002   ac_status=$?
 20003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20004   (exit $ac_status); }
 20005 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 20006   (eval $ac_compiler -V </dev/null >&5) 2>&5
 20007   ac_status=$?
 20008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20009   (exit $ac_status); }
 20010 
 20011 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 20012 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 20013 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 20014   echo $ECHO_N "(cached) $ECHO_C" >&6
 20015 else
 20016   cat >conftest.$ac_ext <<_ACEOF
 20017 /* confdefs.h.  */
 20018 _ACEOF
 20019 cat confdefs.h >>conftest.$ac_ext
 20020 cat >>conftest.$ac_ext <<_ACEOF
 20021 /* end confdefs.h.  */
 20022 
 20023 int
 20024 main ()
 20025 {
 20026 #ifndef __GNUC__
 20027        choke me
 20028 #endif
 20029 
 20030   ;
 20031   return 0;
 20032 }
 20033 _ACEOF
 20034 rm -f conftest.$ac_objext
 20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20036   (eval $ac_compile) 2>conftest.er1
 20037   ac_status=$?
 20038   grep -v '^ *+' conftest.er1 >conftest.err
 20039   rm -f conftest.er1
 20040   cat conftest.err >&5
 20041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20042   (exit $ac_status); } &&
 20043 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20045   (eval $ac_try) 2>&5
 20046   ac_status=$?
 20047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20048   (exit $ac_status); }; } &&
 20049 	 { ac_try='test -s conftest.$ac_objext'
 20050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20051   (eval $ac_try) 2>&5
 20052   ac_status=$?
 20053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20054   (exit $ac_status); }; }; then
 20055   ac_compiler_gnu=yes
 20056 else
 20057   echo "$as_me: failed program was:" >&5
 20058 sed 's/^/| /' conftest.$ac_ext >&5
 20059 
 20060 ac_compiler_gnu=no
 20061 fi
 20062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20063 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 20064 
 20065 fi
 20066 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 20067 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 20068 GCC=`test $ac_compiler_gnu = yes && echo yes`
 20069 ac_test_CFLAGS=${CFLAGS+set}
 20070 ac_save_CFLAGS=$CFLAGS
 20071 CFLAGS="-g"
 20072 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 20073 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 20074 if test "${ac_cv_prog_cc_g+set}" = set; then
 20075   echo $ECHO_N "(cached) $ECHO_C" >&6
 20076 else
 20077   cat >conftest.$ac_ext <<_ACEOF
 20078 /* confdefs.h.  */
 20079 _ACEOF
 20080 cat confdefs.h >>conftest.$ac_ext
 20081 cat >>conftest.$ac_ext <<_ACEOF
 20082 /* end confdefs.h.  */
 20083 
 20084 int
 20085 main ()
 20086 {
 20087 
 20088   ;
 20089   return 0;
 20090 }
 20091 _ACEOF
 20092 rm -f conftest.$ac_objext
 20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20094   (eval $ac_compile) 2>conftest.er1
 20095   ac_status=$?
 20096   grep -v '^ *+' conftest.er1 >conftest.err
 20097   rm -f conftest.er1
 20098   cat conftest.err >&5
 20099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20100   (exit $ac_status); } &&
 20101 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20103   (eval $ac_try) 2>&5
 20104   ac_status=$?
 20105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20106   (exit $ac_status); }; } &&
 20107 	 { ac_try='test -s conftest.$ac_objext'
 20108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20109   (eval $ac_try) 2>&5
 20110   ac_status=$?
 20111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20112   (exit $ac_status); }; }; then
 20113   ac_cv_prog_cc_g=yes
 20114 else
 20115   echo "$as_me: failed program was:" >&5
 20116 sed 's/^/| /' conftest.$ac_ext >&5
 20117 
 20118 ac_cv_prog_cc_g=no
 20119 fi
 20120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20121 fi
 20122 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 20123 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 20124 if test "$ac_test_CFLAGS" = set; then
 20125   CFLAGS=$ac_save_CFLAGS
 20126 elif test $ac_cv_prog_cc_g = yes; then
 20127   if test "$GCC" = yes; then
 20128     CFLAGS="-g -O2"
 20129   else
 20130     CFLAGS="-g"
 20131   fi
 20132 else
 20133   if test "$GCC" = yes; then
 20134     CFLAGS="-O2"
 20135   else
 20136     CFLAGS=
 20137   fi
 20138 fi
 20139 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 20140 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 20141 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 20142   echo $ECHO_N "(cached) $ECHO_C" >&6
 20143 else
 20144   ac_cv_prog_cc_stdc=no
 20145 ac_save_CC=$CC
 20146 cat >conftest.$ac_ext <<_ACEOF
 20147 /* confdefs.h.  */
 20148 _ACEOF
 20149 cat confdefs.h >>conftest.$ac_ext
 20150 cat >>conftest.$ac_ext <<_ACEOF
 20151 /* end confdefs.h.  */
 20152 #include <stdarg.h>
 20153 #include <stdio.h>
 20154 #include <sys/types.h>
 20155 #include <sys/stat.h>
 20156 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 20157 struct buf { int x; };
 20158 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 20159 static char *e (p, i)
 20160      char **p;
 20161      int i;
 20162 {
 20163   return p[i];
 20164 }
 20165 static char *f (char * (*g) (char **, int), char **p, ...)
 20166 {
 20167   char *s;
 20168   va_list v;
 20169   va_start (v,p);
 20170   s = g (p, va_arg (v,int));
 20171   va_end (v);
 20172   return s;
 20173 }
 20174 
 20175 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 20176    function prototypes and stuff, but not '\xHH' hex character constants.
 20177    These don't provoke an error unfortunately, instead are silently treated
 20178    as 'x'.  The following induces an error, until -std1 is added to get
 20179    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 20180    array size at least.  It's necessary to write '\x00'==0 to get something
 20181    that's true only with -std1.  */
 20182 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 20183 
 20184 int test (int i, double x);
 20185 struct s1 {int (*f) (int a);};
 20186 struct s2 {int (*f) (double a);};
 20187 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 20188 int argc;
 20189 char **argv;
 20190 int
 20191 main ()
 20192 {
 20193 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 20194   ;
 20195   return 0;
 20196 }
 20197 _ACEOF
 20198 # Don't try gcc -ansi; that turns off useful extensions and
 20199 # breaks some systems' header files.
 20200 # AIX			-qlanglvl=ansi
 20201 # Ultrix and OSF/1	-std1
 20202 # HP-UX 10.20 and later	-Ae
 20203 # HP-UX older versions	-Aa -D_HPUX_SOURCE
 20204 # SVR4			-Xc -D__EXTENSIONS__
 20205 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 20206 do
 20207   CC="$ac_save_CC $ac_arg"
 20208   rm -f conftest.$ac_objext
 20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20210   (eval $ac_compile) 2>conftest.er1
 20211   ac_status=$?
 20212   grep -v '^ *+' conftest.er1 >conftest.err
 20213   rm -f conftest.er1
 20214   cat conftest.err >&5
 20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20216   (exit $ac_status); } &&
 20217 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20219   (eval $ac_try) 2>&5
 20220   ac_status=$?
 20221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20222   (exit $ac_status); }; } &&
 20223 	 { ac_try='test -s conftest.$ac_objext'
 20224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20225   (eval $ac_try) 2>&5
 20226   ac_status=$?
 20227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20228   (exit $ac_status); }; }; then
 20229   ac_cv_prog_cc_stdc=$ac_arg
 20230 break
 20231 else
 20232   echo "$as_me: failed program was:" >&5
 20233 sed 's/^/| /' conftest.$ac_ext >&5
 20234 
 20235 fi
 20236 rm -f conftest.err conftest.$ac_objext 
 20237 done
 20238 rm -f conftest.$ac_ext conftest.$ac_objext
 20239 CC=$ac_save_CC
 20240 
 20241 fi
 20242 
 20243 case "x$ac_cv_prog_cc_stdc" in
 20244   x|xno)
 20245     echo "$as_me:$LINENO: result: none needed" >&5
 20246 echo "${ECHO_T}none needed" >&6 ;;
 20247   *)
 20248     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 20249 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 20250     CC="$CC $ac_cv_prog_cc_stdc" ;;
 20251 esac
 20252 
 20253 # Some people use a C++ compiler to compile C.  Since we use `exit',
 20254 # in C++ we need to declare it.  In case someone uses the same compiler
 20255 # for both compiling C and C++ we need to have the C++ compiler decide
 20256 # the declaration of exit, since it's the most demanding environment.
 20257 cat >conftest.$ac_ext <<_ACEOF
 20258 @%:@ifndef __cplusplus
 20259   choke me
 20260 @%:@endif
 20261 _ACEOF
 20262 rm -f conftest.$ac_objext
 20263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20264   (eval $ac_compile) 2>conftest.er1
 20265   ac_status=$?
 20266   grep -v '^ *+' conftest.er1 >conftest.err
 20267   rm -f conftest.er1
 20268   cat conftest.err >&5
 20269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20270   (exit $ac_status); } &&
 20271 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20273   (eval $ac_try) 2>&5
 20274   ac_status=$?
 20275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20276   (exit $ac_status); }; } &&
 20277 	 { ac_try='test -s conftest.$ac_objext'
 20278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20279   (eval $ac_try) 2>&5
 20280   ac_status=$?
 20281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20282   (exit $ac_status); }; }; then
 20283   for ac_declaration in \
 20284    '' \
 20285    'extern "C" void std::exit (int) throw (); using std::exit;' \
 20286    'extern "C" void std::exit (int); using std::exit;' \
 20287    'extern "C" void exit (int) throw ();' \
 20288    'extern "C" void exit (int);' \
 20289    'void exit (int);'
 20290 do
 20291   cat >conftest.$ac_ext <<_ACEOF
 20292 /* confdefs.h.  */
 20293 _ACEOF
 20294 cat confdefs.h >>conftest.$ac_ext
 20295 cat >>conftest.$ac_ext <<_ACEOF
 20296 /* end confdefs.h.  */
 20297 $ac_declaration
 20298 @%:@include <stdlib.h>
 20299 int
 20300 main ()
 20301 {
 20302 exit (42);
 20303   ;
 20304   return 0;
 20305 }
 20306 _ACEOF
 20307 rm -f conftest.$ac_objext
 20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20309   (eval $ac_compile) 2>conftest.er1
 20310   ac_status=$?
 20311   grep -v '^ *+' conftest.er1 >conftest.err
 20312   rm -f conftest.er1
 20313   cat conftest.err >&5
 20314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20315   (exit $ac_status); } &&
 20316 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20318   (eval $ac_try) 2>&5
 20319   ac_status=$?
 20320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20321   (exit $ac_status); }; } &&
 20322 	 { ac_try='test -s conftest.$ac_objext'
 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); }; }; then
 20328   :
 20329 else
 20330   echo "$as_me: failed program was:" >&5
 20331 sed 's/^/| /' conftest.$ac_ext >&5
 20332 
 20333 continue
 20334 fi
 20335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20336   cat >conftest.$ac_ext <<_ACEOF
 20337 /* confdefs.h.  */
 20338 _ACEOF
 20339 cat confdefs.h >>conftest.$ac_ext
 20340 cat >>conftest.$ac_ext <<_ACEOF
 20341 /* end confdefs.h.  */
 20342 $ac_declaration
 20343 int
 20344 main ()
 20345 {
 20346 exit (42);
 20347   ;
 20348   return 0;
 20349 }
 20350 _ACEOF
 20351 rm -f conftest.$ac_objext
 20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20353   (eval $ac_compile) 2>conftest.er1
 20354   ac_status=$?
 20355   grep -v '^ *+' conftest.er1 >conftest.err
 20356   rm -f conftest.er1
 20357   cat conftest.err >&5
 20358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20359   (exit $ac_status); } &&
 20360 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20362   (eval $ac_try) 2>&5
 20363   ac_status=$?
 20364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20365   (exit $ac_status); }; } &&
 20366 	 { ac_try='test -s conftest.$ac_objext'
 20367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20368   (eval $ac_try) 2>&5
 20369   ac_status=$?
 20370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20371   (exit $ac_status); }; }; then
 20372   break
 20373 else
 20374   echo "$as_me: failed program was:" >&5
 20375 sed 's/^/| /' conftest.$ac_ext >&5
 20376 
 20377 fi
 20378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20379 done
 20380 rm -f conftest*
 20381 if test -n "$ac_declaration"; then
 20382   echo '#ifdef __cplusplus' >>confdefs.h
 20383   echo $ac_declaration      >>confdefs.h
 20384   echo '#endif'             >>confdefs.h
 20385 fi
 20386 
 20387 else
 20388   echo "$as_me: failed program was:" >&5
 20389 sed 's/^/| /' conftest.$ac_ext >&5
 20390 
 20391 fi
 20392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20393 ac_ext=c
 20394 ac_cpp='$CPP $CPPFLAGS'
 20395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 20398 
 20399 depcc="$CC"   am_compiler_list=
 20400 
 20401 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 20402 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 20403 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 20404   echo $ECHO_N "(cached) $ECHO_C" >&6
 20405 else
 20406   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 20407   # We make a subdir and do the tests there.  Otherwise we can end up
 20408   # making bogus files that we don't know about and never remove.  For
 20409   # instance it was reported that on HP-UX the gcc test will end up
 20410   # making a dummy file named `D' -- because `-MD' means `put the output
 20411   # in D'.
 20412   mkdir conftest.dir
 20413   # Copy depcomp to subdir because otherwise we won't find it if we're
 20414   # using a relative directory.
 20415   cp "$am_depcomp" conftest.dir
 20416   cd conftest.dir
 20417   # We will build objects and dependencies in a subdirectory because
 20418   # it helps to detect inapplicable dependency modes.  For instance
 20419   # both Tru64's cc and ICC support -MD to output dependencies as a
 20420   # side effect of compilation, but ICC will put the dependencies in
 20421   # the current directory while Tru64 will put them in the object
 20422   # directory.
 20423   mkdir sub
 20424 
 20425   am_cv_CC_dependencies_compiler_type=none
 20426   if test "$am_compiler_list" = ""; then
 20427      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 20428   fi
 20429   for depmode in $am_compiler_list; do
 20430     # Setup a source with many dependencies, because some compilers
 20431     # like to wrap large dependency lists on column 80 (with \), and
 20432     # we should not choose a depcomp mode which is confused by this.
 20433     #
 20434     # We need to recreate these files for each test, as the compiler may
 20435     # overwrite some of them when testing with obscure command lines.
 20436     # This happens at least with the AIX C compiler.
 20437     : > sub/conftest.c
 20438     for i in 1 2 3 4 5 6; do
 20439       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 20440       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 20441       # Solaris 8's {/usr,}/bin/sh.
 20442       touch sub/conftst$i.h
 20443     done
 20444     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 20445 
 20446     case $depmode in
 20447     nosideeffect)
 20448       # after this tag, mechanisms are not by side-effect, so they'll
 20449       # only be used when explicitly requested
 20450       if test "x$enable_dependency_tracking" = xyes; then
 20451 	continue
 20452       else
 20453 	break
 20454       fi
 20455       ;;
 20456     none) break ;;
 20457     esac
 20458     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 20459     # mode.  It turns out that the SunPro C++ compiler does not properly
 20460     # handle `-M -o', and we need to detect this.
 20461     if depmode=$depmode \
 20462        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 20463        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 20464        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 20465          >/dev/null 2>conftest.err &&
 20466        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 20467        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 20468        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 20469       # icc doesn't choke on unknown options, it will just issue warnings
 20470       # or remarks (even with -Werror).  So we grep stderr for any message
 20471       # that says an option was ignored or not supported.
 20472       # When given -MP, icc 7.0 and 7.1 complain thusly:
 20473       #   icc: Command line warning: ignoring option '-M'; no argument required
 20474       # The diagnosis changed in icc 8.0:
 20475       #   icc: Command line remark: option '-MP' not supported
 20476       if (grep 'ignoring option' conftest.err ||
 20477           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 20478         am_cv_CC_dependencies_compiler_type=$depmode
 20479         break
 20480       fi
 20481     fi
 20482   done
 20483 
 20484   cd ..
 20485   rm -rf conftest.dir
 20486 else
 20487   am_cv_CC_dependencies_compiler_type=none
 20488 fi
 20489 
 20490 fi
 20491 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 20492 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 20493 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 20494 
 20495  
 20496 
 20497 if 
 20498   test "x$enable_dependency_tracking" != xno \
 20499   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 20500   am__fastdepCC_TRUE=
 20501   am__fastdepCC_FALSE='#'
 20502 else
 20503   am__fastdepCC_TRUE='#'
 20504   am__fastdepCC_FALSE=
 20505 fi
 20506 
 20507 
 20508 
 20509 # By default we simply use the C compiler to build assembly code.
 20510 
 20511 test "${CCAS+set}" = set || CCAS=$CC
 20512 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 20513 
 20514 
 20515 
 20516 
 20517 
 20518   echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
 20519 echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
 20520 
 20521   save_CFLAGS="$CFLAGS"
 20522   CFLAGS="$CFLAGS -Wall"
 20523 
 20524   cat >conftest.$ac_ext <<_ACEOF
 20525 /* confdefs.h.  */
 20526 _ACEOF
 20527 cat confdefs.h >>conftest.$ac_ext
 20528 cat >>conftest.$ac_ext <<_ACEOF
 20529 /* end confdefs.h.  */
 20530  
 20531 int
 20532 main ()
 20533 {
 20534 
 20535   ;
 20536   return 0;
 20537 }
 20538 _ACEOF
 20539 rm -f conftest.$ac_objext
 20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20541   (eval $ac_compile) 2>conftest.er1
 20542   ac_status=$?
 20543   grep -v '^ *+' conftest.er1 >conftest.err
 20544   rm -f conftest.er1
 20545   cat conftest.err >&5
 20546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20547   (exit $ac_status); } &&
 20548 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20550   (eval $ac_try) 2>&5
 20551   ac_status=$?
 20552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20553   (exit $ac_status); }; } &&
 20554 	 { ac_try='test -s conftest.$ac_objext'
 20555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20556   (eval $ac_try) 2>&5
 20557   ac_status=$?
 20558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20559   (exit $ac_status); }; }; then
 20560   flag_ok=yes
 20561 else
 20562   echo "$as_me: failed program was:" >&5
 20563 sed 's/^/| /' conftest.$ac_ext >&5
 20564 
 20565 flag_ok=no
 20566 fi
 20567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20568   CFLAGS="$save_CFLAGS"
 20569 
 20570   if test "X$flag_ok" = Xyes ; then
 20571     GST_WALL="yes"
 20572     true
 20573   else
 20574     GST_WALL="no"
 20575     true
 20576   fi
 20577   echo "$as_me:$LINENO: result: $flag_ok" >&5
 20578 echo "${ECHO_T}$flag_ok" >&6
 20579 
 20580 
 20581 if test "x$GST_WALL" = "xyes"; then
 20582   ERROR_CFLAGS="$GST_ERROR -Wall"
 20583 
 20584   if test "x$GST_CVS" = "xyes"; then
 20585     
 20586   echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
 20587 echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
 20588 
 20589   save_CFLAGS="$CFLAGS"
 20590   CFLAGS="$CFLAGS -Werror"
 20591 
 20592   cat >conftest.$ac_ext <<_ACEOF
 20593 /* confdefs.h.  */
 20594 _ACEOF
 20595 cat confdefs.h >>conftest.$ac_ext
 20596 cat >>conftest.$ac_ext <<_ACEOF
 20597 /* end confdefs.h.  */
 20598  
 20599 int
 20600 main ()
 20601 {
 20602 
 20603   ;
 20604   return 0;
 20605 }
 20606 _ACEOF
 20607 rm -f conftest.$ac_objext
 20608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20609   (eval $ac_compile) 2>conftest.er1
 20610   ac_status=$?
 20611   grep -v '^ *+' conftest.er1 >conftest.err
 20612   rm -f conftest.er1
 20613   cat conftest.err >&5
 20614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20615   (exit $ac_status); } &&
 20616 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20618   (eval $ac_try) 2>&5
 20619   ac_status=$?
 20620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20621   (exit $ac_status); }; } &&
 20622 	 { ac_try='test -s conftest.$ac_objext'
 20623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20624   (eval $ac_try) 2>&5
 20625   ac_status=$?
 20626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20627   (exit $ac_status); }; }; then
 20628   flag_ok=yes
 20629 else
 20630   echo "$as_me: failed program was:" >&5
 20631 sed 's/^/| /' conftest.$ac_ext >&5
 20632 
 20633 flag_ok=no
 20634 fi
 20635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20636   CFLAGS="$save_CFLAGS"
 20637 
 20638   if test "X$flag_ok" = Xyes ; then
 20639     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
 20640     true
 20641   else
 20642     ERROR_CFLAGS="$ERROR_CFLAGS"
 20643     true
 20644   fi
 20645   echo "$as_me:$LINENO: result: $flag_ok" >&5
 20646 echo "${ECHO_T}$flag_ok" >&6
 20647 
 20648   fi
 20649 fi
 20650 
 20651 
 20652 
 20653 ac_ext=cc
 20654 ac_cpp='$CXXCPP $CPPFLAGS'
 20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 20658 if test -n "$ac_tool_prefix"; then
 20659   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 20660   do
 20661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 20662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 20663 echo "$as_me:$LINENO: checking for $ac_word" >&5
 20664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 20665 if test "${ac_cv_prog_CXX+set}" = set; then
 20666   echo $ECHO_N "(cached) $ECHO_C" >&6
 20667 else
 20668   if test -n "$CXX"; then
 20669   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 20670 else
 20671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 20672 for as_dir in $PATH
 20673 do
 20674   IFS=$as_save_IFS
 20675   test -z "$as_dir" && as_dir=.
 20676   for ac_exec_ext in '' $ac_executable_extensions; do
 20677   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 20678     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 20679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 20680     break 2
 20681   fi
 20682 done
 20683 done
 20684 
 20685 fi
 20686 fi
 20687 CXX=$ac_cv_prog_CXX
 20688 if test -n "$CXX"; then
 20689   echo "$as_me:$LINENO: result: $CXX" >&5
 20690 echo "${ECHO_T}$CXX" >&6
 20691 else
 20692   echo "$as_me:$LINENO: result: no" >&5
 20693 echo "${ECHO_T}no" >&6
 20694 fi
 20695 
 20696     test -n "$CXX" && break
 20697   done
 20698 fi
 20699 if test -z "$CXX"; then
 20700   ac_ct_CXX=$CXX
 20701   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 20702 do
 20703   # Extract the first word of "$ac_prog", so it can be a program name with args.
 20704 set dummy $ac_prog; ac_word=$2
 20705 echo "$as_me:$LINENO: checking for $ac_word" >&5
 20706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 20707 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 20708   echo $ECHO_N "(cached) $ECHO_C" >&6
 20709 else
 20710   if test -n "$ac_ct_CXX"; then
 20711   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 20712 else
 20713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 20714 for as_dir in $PATH
 20715 do
 20716   IFS=$as_save_IFS
 20717   test -z "$as_dir" && as_dir=.
 20718   for ac_exec_ext in '' $ac_executable_extensions; do
 20719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 20720     ac_cv_prog_ac_ct_CXX="$ac_prog"
 20721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 20722     break 2
 20723   fi
 20724 done
 20725 done
 20726 
 20727 fi
 20728 fi
 20729 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 20730 if test -n "$ac_ct_CXX"; then
 20731   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 20732 echo "${ECHO_T}$ac_ct_CXX" >&6
 20733 else
 20734   echo "$as_me:$LINENO: result: no" >&5
 20735 echo "${ECHO_T}no" >&6
 20736 fi
 20737 
 20738   test -n "$ac_ct_CXX" && break
 20739 done
 20740 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 20741 
 20742   CXX=$ac_ct_CXX
 20743 fi
 20744 
 20745 
 20746 # Provide some information about the compiler.
 20747 echo "$as_me:$LINENO:" \
 20748      "checking for C++ compiler version" >&5
 20749 ac_compiler=`set X $ac_compile; echo $2`
 20750 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 20751   (eval $ac_compiler --version </dev/null >&5) 2>&5
 20752   ac_status=$?
 20753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20754   (exit $ac_status); }
 20755 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 20756   (eval $ac_compiler -v </dev/null >&5) 2>&5
 20757   ac_status=$?
 20758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20759   (exit $ac_status); }
 20760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 20761   (eval $ac_compiler -V </dev/null >&5) 2>&5
 20762   ac_status=$?
 20763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20764   (exit $ac_status); }
 20765 
 20766 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 20767 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 20768 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 20769   echo $ECHO_N "(cached) $ECHO_C" >&6
 20770 else
 20771   cat >conftest.$ac_ext <<_ACEOF
 20772 /* confdefs.h.  */
 20773 _ACEOF
 20774 cat confdefs.h >>conftest.$ac_ext
 20775 cat >>conftest.$ac_ext <<_ACEOF
 20776 /* end confdefs.h.  */
 20777 
 20778 int
 20779 main ()
 20780 {
 20781 #ifndef __GNUC__
 20782        choke me
 20783 #endif
 20784 
 20785   ;
 20786   return 0;
 20787 }
 20788 _ACEOF
 20789 rm -f conftest.$ac_objext
 20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20791   (eval $ac_compile) 2>conftest.er1
 20792   ac_status=$?
 20793   grep -v '^ *+' conftest.er1 >conftest.err
 20794   rm -f conftest.er1
 20795   cat conftest.err >&5
 20796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20797   (exit $ac_status); } &&
 20798 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20800   (eval $ac_try) 2>&5
 20801   ac_status=$?
 20802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20803   (exit $ac_status); }; } &&
 20804 	 { ac_try='test -s conftest.$ac_objext'
 20805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20806   (eval $ac_try) 2>&5
 20807   ac_status=$?
 20808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20809   (exit $ac_status); }; }; then
 20810   ac_compiler_gnu=yes
 20811 else
 20812   echo "$as_me: failed program was:" >&5
 20813 sed 's/^/| /' conftest.$ac_ext >&5
 20814 
 20815 ac_compiler_gnu=no
 20816 fi
 20817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20818 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 20819 
 20820 fi
 20821 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 20822 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 20823 GXX=`test $ac_compiler_gnu = yes && echo yes`
 20824 ac_test_CXXFLAGS=${CXXFLAGS+set}
 20825 ac_save_CXXFLAGS=$CXXFLAGS
 20826 CXXFLAGS="-g"
 20827 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 20828 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 20829 if test "${ac_cv_prog_cxx_g+set}" = set; then
 20830   echo $ECHO_N "(cached) $ECHO_C" >&6
 20831 else
 20832   cat >conftest.$ac_ext <<_ACEOF
 20833 /* confdefs.h.  */
 20834 _ACEOF
 20835 cat confdefs.h >>conftest.$ac_ext
 20836 cat >>conftest.$ac_ext <<_ACEOF
 20837 /* end confdefs.h.  */
 20838 
 20839 int
 20840 main ()
 20841 {
 20842 
 20843   ;
 20844   return 0;
 20845 }
 20846 _ACEOF
 20847 rm -f conftest.$ac_objext
 20848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20849   (eval $ac_compile) 2>conftest.er1
 20850   ac_status=$?
 20851   grep -v '^ *+' conftest.er1 >conftest.err
 20852   rm -f conftest.er1
 20853   cat conftest.err >&5
 20854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20855   (exit $ac_status); } &&
 20856 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20858   (eval $ac_try) 2>&5
 20859   ac_status=$?
 20860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20861   (exit $ac_status); }; } &&
 20862 	 { ac_try='test -s conftest.$ac_objext'
 20863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20864   (eval $ac_try) 2>&5
 20865   ac_status=$?
 20866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20867   (exit $ac_status); }; }; then
 20868   ac_cv_prog_cxx_g=yes
 20869 else
 20870   echo "$as_me: failed program was:" >&5
 20871 sed 's/^/| /' conftest.$ac_ext >&5
 20872 
 20873 ac_cv_prog_cxx_g=no
 20874 fi
 20875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20876 fi
 20877 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 20878 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 20879 if test "$ac_test_CXXFLAGS" = set; then
 20880   CXXFLAGS=$ac_save_CXXFLAGS
 20881 elif test $ac_cv_prog_cxx_g = yes; then
 20882   if test "$GXX" = yes; then
 20883     CXXFLAGS="-g -O2"
 20884   else
 20885     CXXFLAGS="-g"
 20886   fi
 20887 else
 20888   if test "$GXX" = yes; then
 20889     CXXFLAGS="-O2"
 20890   else
 20891     CXXFLAGS=
 20892   fi
 20893 fi
 20894 for ac_declaration in \
 20895    '' \
 20896    'extern "C" void std::exit (int) throw (); using std::exit;' \
 20897    'extern "C" void std::exit (int); using std::exit;' \
 20898    'extern "C" void exit (int) throw ();' \
 20899    'extern "C" void exit (int);' \
 20900    'void exit (int);'
 20901 do
 20902   cat >conftest.$ac_ext <<_ACEOF
 20903 /* confdefs.h.  */
 20904 _ACEOF
 20905 cat confdefs.h >>conftest.$ac_ext
 20906 cat >>conftest.$ac_ext <<_ACEOF
 20907 /* end confdefs.h.  */
 20908 $ac_declaration
 20909 @%:@include <stdlib.h>
 20910 int
 20911 main ()
 20912 {
 20913 exit (42);
 20914   ;
 20915   return 0;
 20916 }
 20917 _ACEOF
 20918 rm -f conftest.$ac_objext
 20919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20920   (eval $ac_compile) 2>conftest.er1
 20921   ac_status=$?
 20922   grep -v '^ *+' conftest.er1 >conftest.err
 20923   rm -f conftest.er1
 20924   cat conftest.err >&5
 20925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20926   (exit $ac_status); } &&
 20927 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20929   (eval $ac_try) 2>&5
 20930   ac_status=$?
 20931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20932   (exit $ac_status); }; } &&
 20933 	 { ac_try='test -s conftest.$ac_objext'
 20934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20935   (eval $ac_try) 2>&5
 20936   ac_status=$?
 20937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20938   (exit $ac_status); }; }; then
 20939   :
 20940 else
 20941   echo "$as_me: failed program was:" >&5
 20942 sed 's/^/| /' conftest.$ac_ext >&5
 20943 
 20944 continue
 20945 fi
 20946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20947   cat >conftest.$ac_ext <<_ACEOF
 20948 /* confdefs.h.  */
 20949 _ACEOF
 20950 cat confdefs.h >>conftest.$ac_ext
 20951 cat >>conftest.$ac_ext <<_ACEOF
 20952 /* end confdefs.h.  */
 20953 $ac_declaration
 20954 int
 20955 main ()
 20956 {
 20957 exit (42);
 20958   ;
 20959   return 0;
 20960 }
 20961 _ACEOF
 20962 rm -f conftest.$ac_objext
 20963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20964   (eval $ac_compile) 2>conftest.er1
 20965   ac_status=$?
 20966   grep -v '^ *+' conftest.er1 >conftest.err
 20967   rm -f conftest.er1
 20968   cat conftest.err >&5
 20969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20970   (exit $ac_status); } &&
 20971 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20973   (eval $ac_try) 2>&5
 20974   ac_status=$?
 20975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20976   (exit $ac_status); }; } &&
 20977 	 { ac_try='test -s conftest.$ac_objext'
 20978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20979   (eval $ac_try) 2>&5
 20980   ac_status=$?
 20981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20982   (exit $ac_status); }; }; then
 20983   break
 20984 else
 20985   echo "$as_me: failed program was:" >&5
 20986 sed 's/^/| /' conftest.$ac_ext >&5
 20987 
 20988 fi
 20989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20990 done
 20991 rm -f conftest*
 20992 if test -n "$ac_declaration"; then
 20993   echo '#ifdef __cplusplus' >>confdefs.h
 20994   echo $ac_declaration      >>confdefs.h
 20995   echo '#endif'             >>confdefs.h
 20996 fi
 20997 
 20998 ac_ext=c
 20999 ac_cpp='$CPP $CPPFLAGS'
 21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 21003 
 21004 depcc="$CXX"  am_compiler_list=
 21005 
 21006 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 21007 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 21008 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 21009   echo $ECHO_N "(cached) $ECHO_C" >&6
 21010 else
 21011   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 21012   # We make a subdir and do the tests there.  Otherwise we can end up
 21013   # making bogus files that we don't know about and never remove.  For
 21014   # instance it was reported that on HP-UX the gcc test will end up
 21015   # making a dummy file named `D' -- because `-MD' means `put the output
 21016   # in D'.
 21017   mkdir conftest.dir
 21018   # Copy depcomp to subdir because otherwise we won't find it if we're
 21019   # using a relative directory.
 21020   cp "$am_depcomp" conftest.dir
 21021   cd conftest.dir
 21022   # We will build objects and dependencies in a subdirectory because
 21023   # it helps to detect inapplicable dependency modes.  For instance
 21024   # both Tru64's cc and ICC support -MD to output dependencies as a
 21025   # side effect of compilation, but ICC will put the dependencies in
 21026   # the current directory while Tru64 will put them in the object
 21027   # directory.
 21028   mkdir sub
 21029 
 21030   am_cv_CXX_dependencies_compiler_type=none
 21031   if test "$am_compiler_list" = ""; then
 21032      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 21033   fi
 21034   for depmode in $am_compiler_list; do
 21035     # Setup a source with many dependencies, because some compilers
 21036     # like to wrap large dependency lists on column 80 (with \), and
 21037     # we should not choose a depcomp mode which is confused by this.
 21038     #
 21039     # We need to recreate these files for each test, as the compiler may
 21040     # overwrite some of them when testing with obscure command lines.
 21041     # This happens at least with the AIX C compiler.
 21042     : > sub/conftest.c
 21043     for i in 1 2 3 4 5 6; do
 21044       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 21045       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 21046       # Solaris 8's {/usr,}/bin/sh.
 21047       touch sub/conftst$i.h
 21048     done
 21049     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 21050 
 21051     case $depmode in
 21052     nosideeffect)
 21053       # after this tag, mechanisms are not by side-effect, so they'll
 21054       # only be used when explicitly requested
 21055       if test "x$enable_dependency_tracking" = xyes; then
 21056 	continue
 21057       else
 21058 	break
 21059       fi
 21060       ;;
 21061     none) break ;;
 21062     esac
 21063     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 21064     # mode.  It turns out that the SunPro C++ compiler does not properly
 21065     # handle `-M -o', and we need to detect this.
 21066     if depmode=$depmode \
 21067        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 21068        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 21069        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 21070          >/dev/null 2>conftest.err &&
 21071        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 21072        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 21073        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 21074       # icc doesn't choke on unknown options, it will just issue warnings
 21075       # or remarks (even with -Werror).  So we grep stderr for any message
 21076       # that says an option was ignored or not supported.
 21077       # When given -MP, icc 7.0 and 7.1 complain thusly:
 21078       #   icc: Command line warning: ignoring option '-M'; no argument required
 21079       # The diagnosis changed in icc 8.0:
 21080       #   icc: Command line remark: option '-MP' not supported
 21081       if (grep 'ignoring option' conftest.err ||
 21082           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 21083         am_cv_CXX_dependencies_compiler_type=$depmode
 21084         break
 21085       fi
 21086     fi
 21087   done
 21088 
 21089   cd ..
 21090   rm -rf conftest.dir
 21091 else
 21092   am_cv_CXX_dependencies_compiler_type=none
 21093 fi
 21094 
 21095 fi
 21096 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 21097 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 21098 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 21099 
 21100  
 21101 
 21102 if 
 21103   test "x$enable_dependency_tracking" != xno \
 21104   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 21105   am__fastdepCXX_TRUE=
 21106   am__fastdepCXX_FALSE='#'
 21107 else
 21108   am__fastdepCXX_TRUE='#'
 21109   am__fastdepCXX_FALSE=
 21110 fi
 21111 
 21112 
 21113 # Extract the first word of "$CXX", so it can be a program name with args.
 21114 set dummy $CXX; ac_word=$2
 21115 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21117 if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
 21118   echo $ECHO_N "(cached) $ECHO_C" >&6
 21119 else
 21120   if test -n "$HAVE_CXX"; then
 21121   ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
 21122 else
 21123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21124 for as_dir in $PATH
 21125 do
 21126   IFS=$as_save_IFS
 21127   test -z "$as_dir" && as_dir=.
 21128   for ac_exec_ext in '' $ac_executable_extensions; do
 21129   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21130     ac_cv_prog_HAVE_CXX="yes"
 21131     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21132     break 2
 21133   fi
 21134 done
 21135 done
 21136 
 21137   test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
 21138 fi
 21139 fi
 21140 HAVE_CXX=$ac_cv_prog_HAVE_CXX
 21141 if test -n "$HAVE_CXX"; then
 21142   echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
 21143 echo "${ECHO_T}$HAVE_CXX" >&6
 21144 else
 21145   echo "$as_me:$LINENO: result: no" >&5
 21146 echo "${ECHO_T}no" >&6
 21147 fi
 21148 
 21149 ac_ext=cc
 21150 ac_cpp='$CXXCPP $CPPFLAGS'
 21151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 21154 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 21155 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 21156 if test -z "$CXXCPP"; then
 21157   if test "${ac_cv_prog_CXXCPP+set}" = set; then
 21158   echo $ECHO_N "(cached) $ECHO_C" >&6
 21159 else
 21160       # Double quotes because CXXCPP needs to be expanded
 21161     for CXXCPP in "$CXX -E" "/lib/cpp"
 21162     do
 21163       ac_preproc_ok=false
 21164 for ac_cxx_preproc_warn_flag in '' yes
 21165 do
 21166   # Use a header file that comes with gcc, so configuring glibc
 21167   # with a fresh cross-compiler works.
 21168   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 21169   # <limits.h> exists even on freestanding compilers.
 21170   # On the NeXT, cc -E runs the code through the compiler's parser,
 21171   # not just through cpp. "Syntax error" is here to catch this case.
 21172   cat >conftest.$ac_ext <<_ACEOF
 21173 /* confdefs.h.  */
 21174 _ACEOF
 21175 cat confdefs.h >>conftest.$ac_ext
 21176 cat >>conftest.$ac_ext <<_ACEOF
 21177 /* end confdefs.h.  */
 21178 @%:@ifdef __STDC__
 21179 @%:@ include <limits.h>
 21180 @%:@else
 21181 @%:@ include <assert.h>
 21182 @%:@endif
 21183 		     Syntax error
 21184 _ACEOF
 21185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21186   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21187   ac_status=$?
 21188   grep -v '^ *+' conftest.er1 >conftest.err
 21189   rm -f conftest.er1
 21190   cat conftest.err >&5
 21191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21192   (exit $ac_status); } >/dev/null; then
 21193   if test -s conftest.err; then
 21194     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21195     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21196   else
 21197     ac_cpp_err=
 21198   fi
 21199 else
 21200   ac_cpp_err=yes
 21201 fi
 21202 if test -z "$ac_cpp_err"; then
 21203   :
 21204 else
 21205   echo "$as_me: failed program was:" >&5
 21206 sed 's/^/| /' conftest.$ac_ext >&5
 21207 
 21208   # Broken: fails on valid input.
 21209 continue
 21210 fi
 21211 rm -f conftest.err conftest.$ac_ext
 21212 
 21213   # OK, works on sane cases.  Now check whether non-existent headers
 21214   # can be detected and how.
 21215   cat >conftest.$ac_ext <<_ACEOF
 21216 /* confdefs.h.  */
 21217 _ACEOF
 21218 cat confdefs.h >>conftest.$ac_ext
 21219 cat >>conftest.$ac_ext <<_ACEOF
 21220 /* end confdefs.h.  */
 21221 @%:@include <ac_nonexistent.h>
 21222 _ACEOF
 21223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21224   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21225   ac_status=$?
 21226   grep -v '^ *+' conftest.er1 >conftest.err
 21227   rm -f conftest.er1
 21228   cat conftest.err >&5
 21229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21230   (exit $ac_status); } >/dev/null; then
 21231   if test -s conftest.err; then
 21232     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21233     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21234   else
 21235     ac_cpp_err=
 21236   fi
 21237 else
 21238   ac_cpp_err=yes
 21239 fi
 21240 if test -z "$ac_cpp_err"; then
 21241   # Broken: success on invalid input.
 21242 continue
 21243 else
 21244   echo "$as_me: failed program was:" >&5
 21245 sed 's/^/| /' conftest.$ac_ext >&5
 21246 
 21247   # Passes both tests.
 21248 ac_preproc_ok=:
 21249 break
 21250 fi
 21251 rm -f conftest.err conftest.$ac_ext
 21252 
 21253 done
 21254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 21255 rm -f conftest.err conftest.$ac_ext
 21256 if $ac_preproc_ok; then
 21257   break
 21258 fi
 21259 
 21260     done
 21261     ac_cv_prog_CXXCPP=$CXXCPP
 21262   
 21263 fi
 21264   CXXCPP=$ac_cv_prog_CXXCPP
 21265 else
 21266   ac_cv_prog_CXXCPP=$CXXCPP
 21267 fi
 21268 echo "$as_me:$LINENO: result: $CXXCPP" >&5
 21269 echo "${ECHO_T}$CXXCPP" >&6
 21270 ac_preproc_ok=false
 21271 for ac_cxx_preproc_warn_flag in '' yes
 21272 do
 21273   # Use a header file that comes with gcc, so configuring glibc
 21274   # with a fresh cross-compiler works.
 21275   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 21276   # <limits.h> exists even on freestanding compilers.
 21277   # On the NeXT, cc -E runs the code through the compiler's parser,
 21278   # not just through cpp. "Syntax error" is here to catch this case.
 21279   cat >conftest.$ac_ext <<_ACEOF
 21280 /* confdefs.h.  */
 21281 _ACEOF
 21282 cat confdefs.h >>conftest.$ac_ext
 21283 cat >>conftest.$ac_ext <<_ACEOF
 21284 /* end confdefs.h.  */
 21285 @%:@ifdef __STDC__
 21286 @%:@ include <limits.h>
 21287 @%:@else
 21288 @%:@ include <assert.h>
 21289 @%:@endif
 21290 		     Syntax error
 21291 _ACEOF
 21292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21293   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21294   ac_status=$?
 21295   grep -v '^ *+' conftest.er1 >conftest.err
 21296   rm -f conftest.er1
 21297   cat conftest.err >&5
 21298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21299   (exit $ac_status); } >/dev/null; then
 21300   if test -s conftest.err; then
 21301     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21302     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21303   else
 21304     ac_cpp_err=
 21305   fi
 21306 else
 21307   ac_cpp_err=yes
 21308 fi
 21309 if test -z "$ac_cpp_err"; then
 21310   :
 21311 else
 21312   echo "$as_me: failed program was:" >&5
 21313 sed 's/^/| /' conftest.$ac_ext >&5
 21314 
 21315   # Broken: fails on valid input.
 21316 continue
 21317 fi
 21318 rm -f conftest.err conftest.$ac_ext
 21319 
 21320   # OK, works on sane cases.  Now check whether non-existent headers
 21321   # can be detected and how.
 21322   cat >conftest.$ac_ext <<_ACEOF
 21323 /* confdefs.h.  */
 21324 _ACEOF
 21325 cat confdefs.h >>conftest.$ac_ext
 21326 cat >>conftest.$ac_ext <<_ACEOF
 21327 /* end confdefs.h.  */
 21328 @%:@include <ac_nonexistent.h>
 21329 _ACEOF
 21330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21331   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21332   ac_status=$?
 21333   grep -v '^ *+' conftest.er1 >conftest.err
 21334   rm -f conftest.er1
 21335   cat conftest.err >&5
 21336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21337   (exit $ac_status); } >/dev/null; then
 21338   if test -s conftest.err; then
 21339     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21340     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21341   else
 21342     ac_cpp_err=
 21343   fi
 21344 else
 21345   ac_cpp_err=yes
 21346 fi
 21347 if test -z "$ac_cpp_err"; then
 21348   # Broken: success on invalid input.
 21349 continue
 21350 else
 21351   echo "$as_me: failed program was:" >&5
 21352 sed 's/^/| /' conftest.$ac_ext >&5
 21353 
 21354   # Passes both tests.
 21355 ac_preproc_ok=:
 21356 break
 21357 fi
 21358 rm -f conftest.err conftest.$ac_ext
 21359 
 21360 done
 21361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 21362 rm -f conftest.err conftest.$ac_ext
 21363 if $ac_preproc_ok; then
 21364   :
 21365 else
 21366   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 21367 See \`config.log' for more details." >&5
 21368 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 21369 See \`config.log' for more details." >&2;}
 21370    { (exit 1); exit 1; }; }
 21371 fi
 21372 
 21373 ac_ext=c
 21374 ac_cpp='$CPP $CPPFLAGS'
 21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 21378 
 21379 
 21380         echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
 21381 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
 21382 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 21383   echo $ECHO_N "(cached) $ECHO_C" >&6
 21384 else
 21385   ac_check_lib_save_LIBS=$LIBS
 21386 LIBS="-lcposix  $LIBS"
 21387 cat >conftest.$ac_ext <<_ACEOF
 21388 /* confdefs.h.  */
 21389 _ACEOF
 21390 cat confdefs.h >>conftest.$ac_ext
 21391 cat >>conftest.$ac_ext <<_ACEOF
 21392 /* end confdefs.h.  */
 21393 
 21394 /* Override any gcc2 internal prototype to avoid an error.  */
 21395 #ifdef __cplusplus
 21396 extern "C"
 21397 #endif
 21398 /* We use char because int might match the return type of a gcc2
 21399    builtin and then its argument prototype would still apply.  */
 21400 char strerror ();
 21401 int
 21402 main ()
 21403 {
 21404 strerror ();
 21405   ;
 21406   return 0;
 21407 }
 21408 _ACEOF
 21409 rm -f conftest.$ac_objext conftest$ac_exeext
 21410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 21411   (eval $ac_link) 2>conftest.er1
 21412   ac_status=$?
 21413   grep -v '^ *+' conftest.er1 >conftest.err
 21414   rm -f conftest.er1
 21415   cat conftest.err >&5
 21416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21417   (exit $ac_status); } &&
 21418 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21420   (eval $ac_try) 2>&5
 21421   ac_status=$?
 21422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21423   (exit $ac_status); }; } &&
 21424 	 { ac_try='test -s conftest$ac_exeext'
 21425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21426   (eval $ac_try) 2>&5
 21427   ac_status=$?
 21428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21429   (exit $ac_status); }; }; then
 21430   ac_cv_lib_cposix_strerror=yes
 21431 else
 21432   echo "$as_me: failed program was:" >&5
 21433 sed 's/^/| /' conftest.$ac_ext >&5
 21434 
 21435 ac_cv_lib_cposix_strerror=no
 21436 fi
 21437 rm -f conftest.err conftest.$ac_objext \
 21438       conftest$ac_exeext conftest.$ac_ext
 21439 LIBS=$ac_check_lib_save_LIBS
 21440 fi
 21441 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
 21442 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
 21443 if test $ac_cv_lib_cposix_strerror = yes; then
 21444   LIBS="$LIBS -lcposix"
 21445 fi
 21446 
 21447   
 21448 
 21449 
 21450 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 21451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 21452 if test "${ac_cv_header_stdc+set}" = set; then
 21453   echo $ECHO_N "(cached) $ECHO_C" >&6
 21454 else
 21455   cat >conftest.$ac_ext <<_ACEOF
 21456 /* confdefs.h.  */
 21457 _ACEOF
 21458 cat confdefs.h >>conftest.$ac_ext
 21459 cat >>conftest.$ac_ext <<_ACEOF
 21460 /* end confdefs.h.  */
 21461 #include <stdlib.h>
 21462 #include <stdarg.h>
 21463 #include <string.h>
 21464 #include <float.h>
 21465 
 21466 int
 21467 main ()
 21468 {
 21469 
 21470   ;
 21471   return 0;
 21472 }
 21473 _ACEOF
 21474 rm -f conftest.$ac_objext
 21475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 21476   (eval $ac_compile) 2>conftest.er1
 21477   ac_status=$?
 21478   grep -v '^ *+' conftest.er1 >conftest.err
 21479   rm -f conftest.er1
 21480   cat conftest.err >&5
 21481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21482   (exit $ac_status); } &&
 21483 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21485   (eval $ac_try) 2>&5
 21486   ac_status=$?
 21487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21488   (exit $ac_status); }; } &&
 21489 	 { ac_try='test -s conftest.$ac_objext'
 21490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21491   (eval $ac_try) 2>&5
 21492   ac_status=$?
 21493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21494   (exit $ac_status); }; }; then
 21495   ac_cv_header_stdc=yes
 21496 else
 21497   echo "$as_me: failed program was:" >&5
 21498 sed 's/^/| /' conftest.$ac_ext >&5
 21499 
 21500 ac_cv_header_stdc=no
 21501 fi
 21502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 21503 
 21504 if test $ac_cv_header_stdc = yes; then
 21505   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 21506   cat >conftest.$ac_ext <<_ACEOF
 21507 /* confdefs.h.  */
 21508 _ACEOF
 21509 cat confdefs.h >>conftest.$ac_ext
 21510 cat >>conftest.$ac_ext <<_ACEOF
 21511 /* end confdefs.h.  */
 21512 #include <string.h>
 21513 
 21514 _ACEOF
 21515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 21516   $EGREP "memchr" >/dev/null 2>&1; then
 21517   :
 21518 else
 21519   ac_cv_header_stdc=no
 21520 fi
 21521 rm -f conftest*
 21522 
 21523 fi
 21524 
 21525 if test $ac_cv_header_stdc = yes; then
 21526   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 21527   cat >conftest.$ac_ext <<_ACEOF
 21528 /* confdefs.h.  */
 21529 _ACEOF
 21530 cat confdefs.h >>conftest.$ac_ext
 21531 cat >>conftest.$ac_ext <<_ACEOF
 21532 /* end confdefs.h.  */
 21533 #include <stdlib.h>
 21534 
 21535 _ACEOF
 21536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 21537   $EGREP "free" >/dev/null 2>&1; then
 21538   :
 21539 else
 21540   ac_cv_header_stdc=no
 21541 fi
 21542 rm -f conftest*
 21543 
 21544 fi
 21545 
 21546 if test $ac_cv_header_stdc = yes; then
 21547   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 21548   if test "$cross_compiling" = yes; then
 21549   :
 21550 else
 21551   cat >conftest.$ac_ext <<_ACEOF
 21552 /* confdefs.h.  */
 21553 _ACEOF
 21554 cat confdefs.h >>conftest.$ac_ext
 21555 cat >>conftest.$ac_ext <<_ACEOF
 21556 /* end confdefs.h.  */
 21557 #include <ctype.h>
 21558 #if ((' ' & 0x0FF) == 0x020)
 21559 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 21560 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 21561 #else
 21562 # define ISLOWER(c) \
 21563 		   (('a' <= (c) && (c) <= 'i') \
 21564 		     || ('j' <= (c) && (c) <= 'r') \
 21565 		     || ('s' <= (c) && (c) <= 'z'))
 21566 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 21567 #endif
 21568 
 21569 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 21570 int
 21571 main ()
 21572 {
 21573   int i;
 21574   for (i = 0; i < 256; i++)
 21575     if (XOR (islower (i), ISLOWER (i))
 21576 	|| toupper (i) != TOUPPER (i))
 21577       exit(2);
 21578   exit (0);
 21579 }
 21580 _ACEOF
 21581 rm -f conftest$ac_exeext
 21582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 21583   (eval $ac_link) 2>&5
 21584   ac_status=$?
 21585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21586   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 21587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21588   (eval $ac_try) 2>&5
 21589   ac_status=$?
 21590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21591   (exit $ac_status); }; }; then
 21592   :
 21593 else
 21594   echo "$as_me: program exited with status $ac_status" >&5
 21595 echo "$as_me: failed program was:" >&5
 21596 sed 's/^/| /' conftest.$ac_ext >&5
 21597 
 21598 ( exit $ac_status )
 21599 ac_cv_header_stdc=no
 21600 fi
 21601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 21602 fi
 21603 fi
 21604 fi
 21605 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 21606 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 21607 if test $ac_cv_header_stdc = yes; then
 21608   
 21609 cat >>confdefs.h <<\_ACEOF
 21610 @%:@define STDC_HEADERS 1
 21611 _ACEOF
 21612 
 21613 fi
 21614 
 21615 echo "$as_me:$LINENO: checking for inline" >&5
 21616 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 21617 if test "${ac_cv_c_inline+set}" = set; then
 21618   echo $ECHO_N "(cached) $ECHO_C" >&6
 21619 else
 21620   ac_cv_c_inline=no
 21621 for ac_kw in inline __inline__ __inline; do
 21622   cat >conftest.$ac_ext <<_ACEOF
 21623 /* confdefs.h.  */
 21624 _ACEOF
 21625 cat confdefs.h >>conftest.$ac_ext
 21626 cat >>conftest.$ac_ext <<_ACEOF
 21627 /* end confdefs.h.  */
 21628 #ifndef __cplusplus
 21629 typedef int foo_t;
 21630 static $ac_kw foo_t static_foo () {return 0; }
 21631 $ac_kw foo_t foo () {return 0; }
 21632 #endif
 21633 
 21634 _ACEOF
 21635 rm -f conftest.$ac_objext
 21636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 21637   (eval $ac_compile) 2>conftest.er1
 21638   ac_status=$?
 21639   grep -v '^ *+' conftest.er1 >conftest.err
 21640   rm -f conftest.er1
 21641   cat conftest.err >&5
 21642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21643   (exit $ac_status); } &&
 21644 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21646   (eval $ac_try) 2>&5
 21647   ac_status=$?
 21648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21649   (exit $ac_status); }; } &&
 21650 	 { ac_try='test -s conftest.$ac_objext'
 21651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21652   (eval $ac_try) 2>&5
 21653   ac_status=$?
 21654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21655   (exit $ac_status); }; }; then
 21656   ac_cv_c_inline=$ac_kw; break
 21657 else
 21658   echo "$as_me: failed program was:" >&5
 21659 sed 's/^/| /' conftest.$ac_ext >&5
 21660 
 21661 fi
 21662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 21663 done
 21664 
 21665 fi
 21666 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 21667 echo "${ECHO_T}$ac_cv_c_inline" >&6
 21668 
 21669 
 21670 case $ac_cv_c_inline in
 21671   inline | yes) ;;
 21672   *)
 21673     case $ac_cv_c_inline in
 21674       no) ac_val=;;
 21675       *) ac_val=$ac_cv_c_inline;;
 21676     esac
 21677     cat >>confdefs.h <<_ACEOF
 21678 #ifndef __cplusplus
 21679 #define inline $ac_val
 21680 #endif
 21681 _ACEOF
 21682     ;;
 21683 esac
 21684 
 21685 
 21686 # Extract the first word of "pkg-config", so it can be a program name with args.
 21687 set dummy pkg-config; ac_word=$2
 21688 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21690 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
 21691   echo $ECHO_N "(cached) $ECHO_C" >&6
 21692 else
 21693   if test -n "$HAVE_PKGCONFIG"; then
 21694   ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
 21695 else
 21696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21697 for as_dir in $PATH
 21698 do
 21699   IFS=$as_save_IFS
 21700   test -z "$as_dir" && as_dir=.
 21701   for ac_exec_ext in '' $ac_executable_extensions; do
 21702   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21703     ac_cv_prog_HAVE_PKGCONFIG="yes"
 21704     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21705     break 2
 21706   fi
 21707 done
 21708 done
 21709 
 21710   test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
 21711 fi
 21712 fi
 21713 HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
 21714 if test -n "$HAVE_PKGCONFIG"; then
 21715   echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
 21716 echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
 21717 else
 21718   echo "$as_me:$LINENO: result: no" >&5
 21719 echo "${ECHO_T}no" >&6
 21720 fi
 21721 
 21722 
 21723 if test "x$HAVE_PKGCONFIG" = "xno"; then
 21724   { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
 21725 echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
 21726    { (exit 1); exit 1; }; }
 21727 fi
 21728 
 21729 
 21730 GST_REQUIRED=0.10.3
 21731 GST_MAJORMINOR=0.10
 21732 
 21733 
 21734   succeeded=no
 21735 
 21736   if test -z "$PKG_CONFIG"; then
 21737     # Extract the first word of "pkg-config", so it can be a program name with args.
 21738 set dummy pkg-config; ac_word=$2
 21739 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 21742   echo $ECHO_N "(cached) $ECHO_C" >&6
 21743 else
 21744   case $PKG_CONFIG in
 21745   [\\/]* | ?:[\\/]*)
 21746   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 21747   ;;
 21748   *)
 21749   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21750 for as_dir in $PATH
 21751 do
 21752   IFS=$as_save_IFS
 21753   test -z "$as_dir" && as_dir=.
 21754   for ac_exec_ext in '' $ac_executable_extensions; do
 21755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21756     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 21757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21758     break 2
 21759   fi
 21760 done
 21761 done
 21762 
 21763   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 21764   ;;
 21765 esac
 21766 fi
 21767 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 21768 
 21769 if test -n "$PKG_CONFIG"; then
 21770   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 21771 echo "${ECHO_T}$PKG_CONFIG" >&6
 21772 else
 21773   echo "$as_me:$LINENO: result: no" >&5
 21774 echo "${ECHO_T}no" >&6
 21775 fi
 21776 
 21777   fi
 21778 
 21779   if test "$PKG_CONFIG" = "no" ; then
 21780      echo "*** The pkg-config script could not be found. Make sure it is"
 21781      echo "*** in your path, or set the PKG_CONFIG environment variable"
 21782      echo "*** to the full path to pkg-config."
 21783      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 21784   else
 21785      PKG_CONFIG_MIN_VERSION=0.9.0
 21786      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 21787         echo "$as_me:$LINENO: checking for \
 21788   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 21789 echo $ECHO_N "checking for \
 21790   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 21791 
 21792         if $PKG_CONFIG --exists "\
 21793   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 21794             echo "$as_me:$LINENO: result: yes" >&5
 21795 echo "${ECHO_T}yes" >&6
 21796             succeeded=yes
 21797 
 21798             echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
 21799 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
 21800             GST_CFLAGS=`$PKG_CONFIG --cflags "\
 21801   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21802             echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
 21803 echo "${ECHO_T}$GST_CFLAGS" >&6
 21804 
 21805             echo "$as_me:$LINENO: checking GST_LIBS" >&5
 21806 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
 21807             GST_LIBS=`$PKG_CONFIG --libs "\
 21808   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21809             echo "$as_me:$LINENO: result: $GST_LIBS" >&5
 21810 echo "${ECHO_T}$GST_LIBS" >&6
 21811         else
 21812             GST_CFLAGS=""
 21813             GST_LIBS=""
 21814             ## If we have a custom action on failure, don't print errors, but 
 21815             ## do set a variable so people can do so.
 21816             GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
 21817   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21818             
 21819         fi
 21820 
 21821         
 21822         
 21823      else
 21824         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 21825         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 21826      fi
 21827   fi
 21828 
 21829   if test $succeeded = yes; then
 21830      HAVE_GST=yes
 21831   else
 21832      HAVE_GST=no
 21833   fi
 21834 
 21835 
 21836 if test "x$HAVE_GST" = "xno"; then
 21837   { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
 21838 echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
 21839    { (exit 1); exit 1; }; }
 21840 fi
 21841 
 21842 if test "x$USE_DEBUG" = xyes; then
 21843   GST_CFLAGS="$GST_CFLAGS -g"
 21844 fi
 21845 
 21846 
 21847 
 21848 
 21849 
 21850 
 21851 
 21852   succeeded=no
 21853 
 21854   if test -z "$PKG_CONFIG"; then
 21855     # Extract the first word of "pkg-config", so it can be a program name with args.
 21856 set dummy pkg-config; ac_word=$2
 21857 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21859 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 21860   echo $ECHO_N "(cached) $ECHO_C" >&6
 21861 else
 21862   case $PKG_CONFIG in
 21863   [\\/]* | ?:[\\/]*)
 21864   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 21865   ;;
 21866   *)
 21867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21868 for as_dir in $PATH
 21869 do
 21870   IFS=$as_save_IFS
 21871   test -z "$as_dir" && as_dir=.
 21872   for ac_exec_ext in '' $ac_executable_extensions; do
 21873   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21874     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 21875     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21876     break 2
 21877   fi
 21878 done
 21879 done
 21880 
 21881   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 21882   ;;
 21883 esac
 21884 fi
 21885 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 21886 
 21887 if test -n "$PKG_CONFIG"; then
 21888   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 21889 echo "${ECHO_T}$PKG_CONFIG" >&6
 21890 else
 21891   echo "$as_me:$LINENO: result: no" >&5
 21892 echo "${ECHO_T}no" >&6
 21893 fi
 21894 
 21895   fi
 21896 
 21897   if test "$PKG_CONFIG" = "no" ; then
 21898      echo "*** The pkg-config script could not be found. Make sure it is"
 21899      echo "*** in your path, or set the PKG_CONFIG environment variable"
 21900      echo "*** to the full path to pkg-config."
 21901      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 21902   else
 21903      PKG_CONFIG_MIN_VERSION=0.9.0
 21904      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 21905         echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 21906 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 21907 
 21908         if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 21909             echo "$as_me:$LINENO: result: yes" >&5
 21910 echo "${ECHO_T}yes" >&6
 21911             succeeded=yes
 21912 
 21913             echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
 21914 echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
 21915             GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21916             echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
 21917 echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
 21918 
 21919             echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
 21920 echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
 21921             GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21922             echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
 21923 echo "${ECHO_T}$GST_BASE_LIBS" >&6
 21924         else
 21925             GST_BASE_CFLAGS=""
 21926             GST_BASE_LIBS=""
 21927             ## If we have a custom action on failure, don't print errors, but 
 21928             ## do set a variable so people can do so.
 21929             GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21930             
 21931         fi
 21932 
 21933         
 21934         
 21935      else
 21936         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 21937         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 21938      fi
 21939   fi
 21940 
 21941   if test $succeeded = yes; then
 21942      HAVE_GST_BASE="yes"
 21943   else
 21944      HAVE_GST_BASE="no"
 21945   fi
 21946 
 21947 
 21948 if test "x$HAVE_GST_BASE" = "xno"; then
 21949   { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
 21950 echo "$as_me: error: no GStreamer Base Libs found" >&2;}
 21951    { (exit 1); exit 1; }; }
 21952 fi
 21953 
 21954 
 21955 
 21956 
 21957 
 21958   succeeded=no
 21959 
 21960   if test -z "$PKG_CONFIG"; then
 21961     # Extract the first word of "pkg-config", so it can be a program name with args.
 21962 set dummy pkg-config; ac_word=$2
 21963 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21965 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 21966   echo $ECHO_N "(cached) $ECHO_C" >&6
 21967 else
 21968   case $PKG_CONFIG in
 21969   [\\/]* | ?:[\\/]*)
 21970   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 21971   ;;
 21972   *)
 21973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21974 for as_dir in $PATH
 21975 do
 21976   IFS=$as_save_IFS
 21977   test -z "$as_dir" && as_dir=.
 21978   for ac_exec_ext in '' $ac_executable_extensions; do
 21979   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21980     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 21981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21982     break 2
 21983   fi
 21984 done
 21985 done
 21986 
 21987   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 21988   ;;
 21989 esac
 21990 fi
 21991 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 21992 
 21993 if test -n "$PKG_CONFIG"; then
 21994   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 21995 echo "${ECHO_T}$PKG_CONFIG" >&6
 21996 else
 21997   echo "$as_me:$LINENO: result: no" >&5
 21998 echo "${ECHO_T}no" >&6
 21999 fi
 22000 
 22001   fi
 22002 
 22003   if test "$PKG_CONFIG" = "no" ; then
 22004      echo "*** The pkg-config script could not be found. Make sure it is"
 22005      echo "*** in your path, or set the PKG_CONFIG environment variable"
 22006      echo "*** to the full path to pkg-config."
 22007      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 22008   else
 22009      PKG_CONFIG_MIN_VERSION=0.9.0
 22010      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 22011         echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 22012 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 22013 
 22014         if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 22015             echo "$as_me:$LINENO: result: yes" >&5
 22016 echo "${ECHO_T}yes" >&6
 22017             succeeded=yes
 22018 
 22019             echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
 22020 echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
 22021             GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22022             echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
 22023 echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
 22024 
 22025             echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
 22026 echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
 22027             GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22028             echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
 22029 echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
 22030         else
 22031             GST_PLUGINS_BASE_CFLAGS=""
 22032             GST_PLUGINS_BASE_LIBS=""
 22033             ## If we have a custom action on failure, don't print errors, but 
 22034             ## do set a variable so people can do so.
 22035             GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22036             
 22037         fi
 22038 
 22039         
 22040         
 22041      else
 22042         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 22043         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 22044      fi
 22045   fi
 22046 
 22047   if test $succeeded = yes; then
 22048      HAVE_GST_PLUGINS="yes"
 22049   else
 22050      HAVE_GST_PLUGINS="no"
 22051   fi
 22052 
 22053 
 22054 if test "x$HAVE_GST_PLUGINS" = "xno"; then
 22055   { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
 22056 echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
 22057    { (exit 1); exit 1; }; }
 22058 fi
 22059 
 22060 
 22061 
 22062 
 22063 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
 22064 
 22065 
 22066 GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
 22067 
 22068 
 22069                               ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
 22070 cat >confcache <<\_ACEOF
 22071 # This file is a shell script that caches the results of configure
 22072 # tests run on this system so they can be shared between configure
 22073 # scripts and configure runs, see configure's option --config-cache.
 22074 # It is not useful on other systems.  If it contains results you don't
 22075 # want to keep, you may remove or edit it.
 22076 #
 22077 # config.status only pays attention to the cache file if you give it
 22078 # the --recheck option to rerun configure.
 22079 #
 22080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 22081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 22082 # following values.
 22083 
 22084 _ACEOF
 22085 
 22086 # The following way of writing the cache mishandles newlines in values,
 22087 # but we know of no workaround that is simple, portable, and efficient.
 22088 # So, don't put newlines in cache variables' values.
 22089 # Ultrix sh set writes to stderr and can't be redirected directly,
 22090 # and sets the high bit in the cache file unless we assign to the vars.
 22091 {
 22092   (set) 2>&1 |
 22093     case `(ac_space=' '; set | grep ac_space) 2>&1` in
 22094     *ac_space=\ *)
 22095       # `set' does not quote correctly, so add quotes (double-quote
 22096       # substitution turns \\\\ into \\, and sed turns \\ into \).
 22097       sed -n \
 22098 	"s/'/'\\\\''/g;
 22099 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 22100       ;;
 22101     *)
 22102       # `set' quotes correctly as required by POSIX, so do not add quotes.
 22103       sed -n \
 22104 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 22105       ;;
 22106     esac;
 22107 } |
 22108   sed '
 22109      t clear
 22110      : clear
 22111      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 22112      t end
 22113      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 22114      : end' >>confcache
 22115 if diff $cache_file confcache >/dev/null 2>&1; then :; else
 22116   if test -w $cache_file; then
 22117     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 22118     cat confcache >$cache_file
 22119   else
 22120     echo "not updating unwritable cache $cache_file"
 22121   fi
 22122 fi
 22123 rm -f confcache
 22124 
 22125 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 22126 # Let make expand exec_prefix.
 22127 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 22128 
 22129 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 22130 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 22131 # trailing colons and then remove the whole line if VPATH becomes empty
 22132 # (actually we leave an empty line to preserve line numbers).
 22133 if test "x$srcdir" = x.; then
 22134   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 22135 s/:*\$(srcdir):*/:/;
 22136 s/:*\${srcdir}:*/:/;
 22137 s/:*@srcdir@:*/:/;
 22138 s/^\([^=]*=[	 ]*\):*/\1/;
 22139 s/:*$//;
 22140 s/^[^=]*=[	 ]*$//;
 22141 }'
 22142 fi
 22143 
 22144 DEFS=-DHAVE_CONFIG_H
 22145 
 22146 ac_libobjs=
 22147 ac_ltlibobjs=
 22148 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 22149   # 1. Remove the extension, and $U if already installed.
 22150   ac_i=`echo "$ac_i" |
 22151 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 22152   # 2. Add them.
 22153   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 22154   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 22155 done
 22156 LIB@&t@OBJS=$ac_libobjs
 22157 
 22158 LTLIBOBJS=$ac_ltlibobjs
 22159 
 22160 
 22161 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 22162   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 22163 Usually this means the macro was only invoked conditionally." >&5
 22164 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 22165 Usually this means the macro was only invoked conditionally." >&2;}
 22166    { (exit 1); exit 1; }; }
 22167 fi
 22168 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 22169   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 22170 Usually this means the macro was only invoked conditionally." >&5
 22171 echo "$as_me: error: conditional \"AMDEP\" was never defined.
 22172 Usually this means the macro was only invoked conditionally." >&2;}
 22173    { (exit 1); exit 1; }; }
 22174 fi
 22175 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 22176   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 22177 Usually this means the macro was only invoked conditionally." >&5
 22178 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 22179 Usually this means the macro was only invoked conditionally." >&2;}
 22180    { (exit 1); exit 1; }; }
 22181 fi
 22182 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 22183   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 22184 Usually this means the macro was only invoked conditionally." >&5
 22185 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 22186 Usually this means the macro was only invoked conditionally." >&2;}
 22187    { (exit 1); exit 1; }; }
 22188 fi
 22189 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 22190   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 22191 Usually this means the macro was only invoked conditionally." >&5
 22192 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 22193 Usually this means the macro was only invoked conditionally." >&2;}
 22194    { (exit 1); exit 1; }; }
 22195 fi
 22196 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 22197   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 22198 Usually this means the macro was only invoked conditionally." >&5
 22199 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 22200 Usually this means the macro was only invoked conditionally." >&2;}
 22201    { (exit 1); exit 1; }; }
 22202 fi
 22203 
 22204 : ${CONFIG_STATUS=./config.status}
 22205 ac_clean_files_save=$ac_clean_files
 22206 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 22207 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 22208 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 22209 cat >$CONFIG_STATUS <<_ACEOF
 22210 #! $SHELL
 22211 # Generated by $as_me.
 22212 # Run this file to recreate the current configuration.
 22213 # Compiler output produced by configure, useful for debugging
 22214 # configure, is in config.log if it exists.
 22215 
 22216 debug=false
 22217 ac_cs_recheck=false
 22218 ac_cs_silent=false
 22219 SHELL=\${CONFIG_SHELL-$SHELL}
 22220 _ACEOF
 22221 
 22222 cat >>$CONFIG_STATUS <<\_ACEOF
 22223 ## --------------------- ##
 22224 ## M4sh Initialization.  ##
 22225 ## --------------------- ##
 22226 
 22227 # Be Bourne compatible
 22228 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 22229   emulate sh
 22230   NULLCMD=:
 22231   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 22232   # is contrary to our usage.  Disable this feature.
 22233   alias -g '${1+"$@"}'='"$@"'
 22234 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 22235   set -o posix
 22236 fi
 22237 DUALCASE=1; export DUALCASE # for MKS sh
 22238 
 22239 # Support unset when possible.
 22240 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 22241   as_unset=unset
 22242 else
 22243   as_unset=false
 22244 fi
 22245 
 22246 
 22247 # Work around bugs in pre-3.0 UWIN ksh.
 22248 $as_unset ENV MAIL MAILPATH
 22249 PS1='$ '
 22250 PS2='> '
 22251 PS4='+ '
 22252 
 22253 # NLS nuisances.
 22254 for as_var in \
 22255   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 22256   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 22257   LC_TELEPHONE LC_TIME
 22258 do
 22259   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 22260     eval $as_var=C; export $as_var
 22261   else
 22262     $as_unset $as_var
 22263   fi
 22264 done
 22265 
 22266 # Required to use basename.
 22267 if expr a : '\(a\)' >/dev/null 2>&1; then
 22268   as_expr=expr
 22269 else
 22270   as_expr=false
 22271 fi
 22272 
 22273 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 22274   as_basename=basename
 22275 else
 22276   as_basename=false
 22277 fi
 22278 
 22279 
 22280 # Name of the executable.
 22281 as_me=`$as_basename "$0" ||
 22282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 22283 	 X"$0" : 'X\(//\)$' \| \
 22284 	 X"$0" : 'X\(/\)$' \| \
 22285 	 .     : '\(.\)' 2>/dev/null ||
 22286 echo X/"$0" |
 22287     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 22288   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
 22289   	  /^X\/\(\/\).*/{ s//\1/; q; }
 22290   	  s/.*/./; q'`
 22291 
 22292 
 22293 # PATH needs CR, and LINENO needs CR and PATH.
 22294 # Avoid depending upon Character Ranges.
 22295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 22296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 22297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 22298 as_cr_digits='0123456789'
 22299 as_cr_alnum=$as_cr_Letters$as_cr_digits
 22300 
 22301 # The user is always right.
 22302 if test "${PATH_SEPARATOR+set}" != set; then
 22303   echo "#! /bin/sh" >conf$$.sh
 22304   echo  "exit 0"   >>conf$$.sh
 22305   chmod +x conf$$.sh
 22306   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 22307     PATH_SEPARATOR=';'
 22308   else
 22309     PATH_SEPARATOR=:
 22310   fi
 22311   rm -f conf$$.sh
 22312 fi
 22313 
 22314 
 22315   as_lineno_1=$LINENO
 22316   as_lineno_2=$LINENO
 22317   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 22318   test "x$as_lineno_1" != "x$as_lineno_2" &&
 22319   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 22320   # Find who we are.  Look in the path if we contain no path at all
 22321   # relative or not.
 22322   case $0 in
 22323     *[\\/]* ) as_myself=$0 ;;
 22324     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 22325 for as_dir in $PATH
 22326 do
 22327   IFS=$as_save_IFS
 22328   test -z "$as_dir" && as_dir=.
 22329   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 22330 done
 22331 
 22332        ;;
 22333   esac
 22334   # We did not find ourselves, most probably we were run as `sh COMMAND'
 22335   # in which case we are not to be found in the path.
 22336   if test "x$as_myself" = x; then
 22337     as_myself=$0
 22338   fi
 22339   if test ! -f "$as_myself"; then
 22340     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 22341 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 22342    { (exit 1); exit 1; }; }
 22343   fi
 22344   case $CONFIG_SHELL in
 22345   '')
 22346     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 22347 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 22348 do
 22349   IFS=$as_save_IFS
 22350   test -z "$as_dir" && as_dir=.
 22351   for as_base in sh bash ksh sh5; do
 22352 	 case $as_dir in
 22353 	 /*)
 22354 	   if ("$as_dir/$as_base" -c '
 22355   as_lineno_1=$LINENO
 22356   as_lineno_2=$LINENO
 22357   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 22358   test "x$as_lineno_1" != "x$as_lineno_2" &&
 22359   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 22360 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 22361 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 22362 	     CONFIG_SHELL=$as_dir/$as_base
 22363 	     export CONFIG_SHELL
 22364 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 22365 	   fi;;
 22366 	 esac
 22367        done
 22368 done
 22369 ;;
 22370   esac
 22371 
 22372   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 22373   # uniformly replaced by the line number.  The first 'sed' inserts a
 22374   # line-number line before each line; the second 'sed' does the real
 22375   # work.  The second script uses 'N' to pair each line-number line
 22376   # with the numbered line, and appends trailing '-' during
 22377   # substitution so that $LINENO is not a special case at line end.
 22378   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 22379   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 22380   sed '=' <$as_myself |
 22381     sed '
 22382       N
 22383       s,$,-,
 22384       : loop
 22385       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 22386       t loop
 22387       s,-$,,
 22388       s,^['$as_cr_digits']*\n,,
 22389     ' >$as_me.lineno &&
 22390   chmod +x $as_me.lineno ||
 22391     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 22392 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 22393    { (exit 1); exit 1; }; }
 22394 
 22395   # Don't try to exec as it changes $[0], causing all sort of problems
 22396   # (the dirname of $[0] is not the place where we might find the
 22397   # original and so on.  Autoconf is especially sensible to this).
 22398   . ./$as_me.lineno
 22399   # Exit status is that of the last command.
 22400   exit
 22401 }
 22402 
 22403 
 22404 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 22405   *c*,-n*) ECHO_N= ECHO_C='
 22406 ' ECHO_T='	' ;;
 22407   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 22408   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 22409 esac
 22410 
 22411 if expr a : '\(a\)' >/dev/null 2>&1; then
 22412   as_expr=expr
 22413 else
 22414   as_expr=false
 22415 fi
 22416 
 22417 rm -f conf$$ conf$$.exe conf$$.file
 22418 echo >conf$$.file
 22419 if ln -s conf$$.file conf$$ 2>/dev/null; then
 22420   # We could just check for DJGPP; but this test a) works b) is more generic
 22421   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 22422   if test -f conf$$.exe; then
 22423     # Don't use ln at all; we don't have any links
 22424     as_ln_s='cp -p'
 22425   else
 22426     as_ln_s='ln -s'
 22427   fi
 22428 elif ln conf$$.file conf$$ 2>/dev/null; then
 22429   as_ln_s=ln
 22430 else
 22431   as_ln_s='cp -p'
 22432 fi
 22433 rm -f conf$$ conf$$.exe conf$$.file
 22434 
 22435 if mkdir -p . 2>/dev/null; then
 22436   as_mkdir_p=:
 22437 else
 22438   test -d ./-p && rmdir ./-p
 22439   as_mkdir_p=false
 22440 fi
 22441 
 22442 as_executable_p="test -f"
 22443 
 22444 # Sed expression to map a string onto a valid CPP name.
 22445 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 22446 
 22447 # Sed expression to map a string onto a valid variable name.
 22448 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 22449 
 22450 
 22451 # IFS
 22452 # We need space, tab and new line, in precisely that order.
 22453 as_nl='
 22454 '
 22455 IFS=" 	$as_nl"
 22456 
 22457 # CDPATH.
 22458 $as_unset CDPATH
 22459 
 22460 exec 6>&1
 22461 
 22462 # Open the log real soon, to keep \$[0] and so on meaningful, and to
 22463 # report actual input values of CONFIG_FILES etc. instead of their
 22464 # values after options handling.  Logging --version etc. is OK.
 22465 exec 5>>config.log
 22466 {
 22467   echo
 22468   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 22469 @%:@@%:@ Running $as_me. @%:@@%:@
 22470 _ASBOX
 22471 } >&5
 22472 cat >&5 <<_CSEOF
 22473 
 22474 This file was extended by $as_me, which was
 22475 generated by GNU Autoconf 2.59.  Invocation command line was
 22476 
 22477   CONFIG_FILES    = $CONFIG_FILES
 22478   CONFIG_HEADERS  = $CONFIG_HEADERS
 22479   CONFIG_LINKS    = $CONFIG_LINKS
 22480   CONFIG_COMMANDS = $CONFIG_COMMANDS
 22481   $ $0 $@
 22482 
 22483 _CSEOF
 22484 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 22485 echo >&5
 22486 _ACEOF
 22487 
 22488 # Files that config.status was made for.
 22489 if test -n "$ac_config_files"; then
 22490   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 22491 fi
 22492 
 22493 if test -n "$ac_config_headers"; then
 22494   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 22495 fi
 22496 
 22497 if test -n "$ac_config_links"; then
 22498   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 22499 fi
 22500 
 22501 if test -n "$ac_config_commands"; then
 22502   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 22503 fi
 22504 
 22505 cat >>$CONFIG_STATUS <<\_ACEOF
 22506 
 22507 ac_cs_usage="\
 22508 \`$as_me' instantiates files from templates according to the
 22509 current configuration.
 22510 
 22511 Usage: $0 [OPTIONS] [FILE]...
 22512 
 22513   -h, --help       print this help, then exit
 22514   -V, --version    print version number, then exit
 22515   -q, --quiet      do not print progress messages
 22516   -d, --debug      don't remove temporary files
 22517       --recheck    update $as_me by reconfiguring in the same conditions
 22518   --file=FILE[:TEMPLATE]
 22519 		   instantiate the configuration file FILE
 22520   --header=FILE[:TEMPLATE]
 22521 		   instantiate the configuration header FILE
 22522 
 22523 Configuration files:
 22524 $config_files
 22525 
 22526 Configuration headers:
 22527 $config_headers
 22528 
 22529 Configuration commands:
 22530 $config_commands
 22531 
 22532 Report bugs to <bug-autoconf@gnu.org>."
 22533 _ACEOF
 22534 
 22535 cat >>$CONFIG_STATUS <<_ACEOF
 22536 ac_cs_version="\\
 22537 config.status
 22538 configured by $0, generated by GNU Autoconf 2.59,
 22539   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 22540 
 22541 Copyright (C) 2003 Free Software Foundation, Inc.
 22542 This config.status script is free software; the Free Software Foundation
 22543 gives unlimited permission to copy, distribute and modify it."
 22544 srcdir=$srcdir
 22545 INSTALL="$INSTALL"
 22546 _ACEOF
 22547 
 22548 cat >>$CONFIG_STATUS <<\_ACEOF
 22549 # If no file are specified by the user, then we need to provide default
 22550 # value.  By we need to know if files were specified by the user.
 22551 ac_need_defaults=:
 22552 while test $# != 0
 22553 do
 22554   case $1 in
 22555   --*=*)
 22556     ac_option=`expr "x$1" : 'x\([^=]*\)='`
 22557     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 22558     ac_shift=:
 22559     ;;
 22560   -*)
 22561     ac_option=$1
 22562     ac_optarg=$2
 22563     ac_shift=shift
 22564     ;;
 22565   *) # This is not an option, so the user has probably given explicit
 22566      # arguments.
 22567      ac_option=$1
 22568      ac_need_defaults=false;;
 22569   esac
 22570 
 22571   case $ac_option in
 22572   # Handling of the options.
 22573 _ACEOF
 22574 cat >>$CONFIG_STATUS <<\_ACEOF
 22575   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 22576     ac_cs_recheck=: ;;
 22577   --version | --vers* | -V )
 22578     echo "$ac_cs_version"; exit 0 ;;
 22579   --he | --h)
 22580     # Conflict between --help and --header
 22581     { { echo "$as_me:$LINENO: error: ambiguous option: $1
 22582 Try \`$0 --help' for more information." >&5
 22583 echo "$as_me: error: ambiguous option: $1
 22584 Try \`$0 --help' for more information." >&2;}
 22585    { (exit 1); exit 1; }; };;
 22586   --help | --hel | -h )
 22587     echo "$ac_cs_usage"; exit 0 ;;
 22588   --debug | --d* | -d )
 22589     debug=: ;;
 22590   --file | --fil | --fi | --f )
 22591     $ac_shift
 22592     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 22593     ac_need_defaults=false;;
 22594   --header | --heade | --head | --hea )
 22595     $ac_shift
 22596     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 22597     ac_need_defaults=false;;
 22598   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 22599   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 22600     ac_cs_silent=: ;;
 22601 
 22602   # This is an error.
 22603   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 22604 Try \`$0 --help' for more information." >&5
 22605 echo "$as_me: error: unrecognized option: $1
 22606 Try \`$0 --help' for more information." >&2;}
 22607    { (exit 1); exit 1; }; } ;;
 22608 
 22609   *) ac_config_targets="$ac_config_targets $1" ;;
 22610 
 22611   esac
 22612   shift
 22613 done
 22614 
 22615 ac_configure_extra_args=
 22616 
 22617 if $ac_cs_silent; then
 22618   exec 6>/dev/null
 22619   ac_configure_extra_args="$ac_configure_extra_args --silent"
 22620 fi
 22621 
 22622 _ACEOF
 22623 cat >>$CONFIG_STATUS <<_ACEOF
 22624 if \$ac_cs_recheck; then
 22625   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 22626   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 22627 fi
 22628 
 22629 _ACEOF
 22630 
 22631 cat >>$CONFIG_STATUS <<_ACEOF
 22632 #
 22633 # INIT-COMMANDS section.
 22634 #
 22635 
 22636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 22637 
 22638 _ACEOF
 22639 
 22640 
 22641 
 22642 cat >>$CONFIG_STATUS <<\_ACEOF
 22643 for ac_config_target in $ac_config_targets
 22644 do
 22645   case "$ac_config_target" in
 22646   # Handling of arguments.
 22647   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 22648   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 22649   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 22650   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 22651   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 22652   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 22653 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 22654    { (exit 1); exit 1; }; };;
 22655   esac
 22656 done
 22657 
 22658 # If the user did not use the arguments to specify the items to instantiate,
 22659 # then the envvar interface is used.  Set only those that are not.
 22660 # We use the long form for the default assignment because of an extremely
 22661 # bizarre bug on SunOS 4.1.3.
 22662 if $ac_need_defaults; then
 22663   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 22664   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 22665   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 22666 fi
 22667 
 22668 # Have a temporary directory for convenience.  Make it in the build tree
 22669 # simply because there is no reason to put it here, and in addition,
 22670 # creating and moving files from /tmp can sometimes cause problems.
 22671 # Create a temporary directory, and hook for its removal unless debugging.
 22672 $debug ||
 22673 {
 22674   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 22675   trap '{ (exit 1); exit 1; }' 1 2 13 15
 22676 }
 22677 
 22678 # Create a (secure) tmp directory for tmp files.
 22679 
 22680 {
 22681   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 22682   test -n "$tmp" && test -d "$tmp"
 22683 }  ||
 22684 {
 22685   tmp=./confstat$$-$RANDOM
 22686   (umask 077 && mkdir $tmp)
 22687 } ||
 22688 {
 22689    echo "$me: cannot create a temporary directory in ." >&2
 22690    { (exit 1); exit 1; }
 22691 }
 22692 
 22693 _ACEOF
 22694 
 22695 cat >>$CONFIG_STATUS <<_ACEOF
 22696 
 22697 #
 22698 # CONFIG_FILES section.
 22699 #
 22700 
 22701 # No need to generate the scripts if there are no CONFIG_FILES.
 22702 # This happens for instance when ./config.status config.h
 22703 if test -n "\$CONFIG_FILES"; then
 22704   # Protect against being on the right side of a sed subst in config.status.
 22705   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 22706    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 22707 s,@SHELL@,$SHELL,;t t
 22708 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 22709 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 22710 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 22711 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 22712 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 22713 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 22714 s,@exec_prefix@,$exec_prefix,;t t
 22715 s,@prefix@,$prefix,;t t
 22716 s,@program_transform_name@,$program_transform_name,;t t
 22717 s,@bindir@,$bindir,;t t
 22718 s,@sbindir@,$sbindir,;t t
 22719 s,@libexecdir@,$libexecdir,;t t
 22720 s,@datadir@,$datadir,;t t
 22721 s,@sysconfdir@,$sysconfdir,;t t
 22722 s,@sharedstatedir@,$sharedstatedir,;t t
 22723 s,@localstatedir@,$localstatedir,;t t
 22724 s,@libdir@,$libdir,;t t
 22725 s,@includedir@,$includedir,;t t
 22726 s,@oldincludedir@,$oldincludedir,;t t
 22727 s,@infodir@,$infodir,;t t
 22728 s,@mandir@,$mandir,;t t
 22729 s,@build_alias@,$build_alias,;t t
 22730 s,@host_alias@,$host_alias,;t t
 22731 s,@target_alias@,$target_alias,;t t
 22732 s,@DEFS@,$DEFS,;t t
 22733 s,@ECHO_C@,$ECHO_C,;t t
 22734 s,@ECHO_N@,$ECHO_N,;t t
 22735 s,@ECHO_T@,$ECHO_T,;t t
 22736 s,@LIBS@,$LIBS,;t t
 22737 s,@build@,$build,;t t
 22738 s,@build_cpu@,$build_cpu,;t t
 22739 s,@build_vendor@,$build_vendor,;t t
 22740 s,@build_os@,$build_os,;t t
 22741 s,@host@,$host,;t t
 22742 s,@host_cpu@,$host_cpu,;t t
 22743 s,@host_vendor@,$host_vendor,;t t
 22744 s,@host_os@,$host_os,;t t
 22745 s,@target@,$target,;t t
 22746 s,@target_cpu@,$target_cpu,;t t
 22747 s,@target_vendor@,$target_vendor,;t t
 22748 s,@target_os@,$target_os,;t t
 22749 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 22750 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 22751 s,@MAINT@,$MAINT,;t t
 22752 s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
 22753 s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
 22754 s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
 22755 s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
 22756 s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
 22757 s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
 22758 s,@PACKAGE@,$PACKAGE,;t t
 22759 s,@VERSION@,$VERSION,;t t
 22760 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 22761 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 22762 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 22763 s,@CYGPATH_W@,$CYGPATH_W,;t t
 22764 s,@ACLOCAL@,$ACLOCAL,;t t
 22765 s,@AUTOCONF@,$AUTOCONF,;t t
 22766 s,@AUTOMAKE@,$AUTOMAKE,;t t
 22767 s,@AUTOHEADER@,$AUTOHEADER,;t t
 22768 s,@MAKEINFO@,$MAKEINFO,;t t
 22769 s,@AMTAR@,$AMTAR,;t t
 22770 s,@install_sh@,$install_sh,;t t
 22771 s,@STRIP@,$STRIP,;t t
 22772 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 22773 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 22774 s,@mkdir_p@,$mkdir_p,;t t
 22775 s,@AWK@,$AWK,;t t
 22776 s,@SET_MAKE@,$SET_MAKE,;t t
 22777 s,@am__leading_dot@,$am__leading_dot,;t t
 22778 s,@CC@,$CC,;t t
 22779 s,@CFLAGS@,$CFLAGS,;t t
 22780 s,@LDFLAGS@,$LDFLAGS,;t t
 22781 s,@CPPFLAGS@,$CPPFLAGS,;t t
 22782 s,@ac_ct_CC@,$ac_ct_CC,;t t
 22783 s,@EXEEXT@,$EXEEXT,;t t
 22784 s,@OBJEXT@,$OBJEXT,;t t
 22785 s,@DEPDIR@,$DEPDIR,;t t
 22786 s,@am__include@,$am__include,;t t
 22787 s,@am__quote@,$am__quote,;t t
 22788 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 22789 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 22790 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 22791 s,@CCDEPMODE@,$CCDEPMODE,;t t
 22792 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 22793 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 22794 s,@EGREP@,$EGREP,;t t
 22795 s,@LN_S@,$LN_S,;t t
 22796 s,@ECHO@,$ECHO,;t t
 22797 s,@AR@,$AR,;t t
 22798 s,@ac_ct_AR@,$ac_ct_AR,;t t
 22799 s,@RANLIB@,$RANLIB,;t t
 22800 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 22801 s,@CPP@,$CPP,;t t
 22802 s,@CXX@,$CXX,;t t
 22803 s,@CXXFLAGS@,$CXXFLAGS,;t t
 22804 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 22805 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 22806 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 22807 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
 22808 s,@CXXCPP@,$CXXCPP,;t t
 22809 s,@F77@,$F77,;t t
 22810 s,@FFLAGS@,$FFLAGS,;t t
 22811 s,@ac_ct_F77@,$ac_ct_F77,;t t
 22812 s,@LIBTOOL@,$LIBTOOL,;t t
 22813 s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
 22814 s,@CCAS@,$CCAS,;t t
 22815 s,@CCASFLAGS@,$CCASFLAGS,;t t
 22816 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
 22817 s,@HAVE_CXX@,$HAVE_CXX,;t t
 22818 s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
 22819 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 22820 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
 22821 s,@GST_LIBS@,$GST_LIBS,;t t
 22822 s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
 22823 s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
 22824 s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
 22825 s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
 22826 s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
 22827 s,@plugindir@,$plugindir,;t t
 22828 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
 22829 s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
 22830 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 22831 CEOF
 22832 
 22833 _ACEOF
 22834 
 22835   cat >>$CONFIG_STATUS <<\_ACEOF
 22836   # Split the substitutions into bite-sized pieces for seds with
 22837   # small command number limits, like on Digital OSF/1 and HP-UX.
 22838   ac_max_sed_lines=48
 22839   ac_sed_frag=1 # Number of current file.
 22840   ac_beg=1 # First line for current file.
 22841   ac_end=$ac_max_sed_lines # Line after last line for current file.
 22842   ac_more_lines=:
 22843   ac_sed_cmds=
 22844   while $ac_more_lines; do
 22845     if test $ac_beg -gt 1; then
 22846       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 22847     else
 22848       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 22849     fi
 22850     if test ! -s $tmp/subs.frag; then
 22851       ac_more_lines=false
 22852     else
 22853       # The purpose of the label and of the branching condition is to
 22854       # speed up the sed processing (if there are no `@' at all, there
 22855       # is no need to browse any of the substitutions).
 22856       # These are the two extra sed commands mentioned above.
 22857       (echo ':t
 22858   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 22859       if test -z "$ac_sed_cmds"; then
 22860 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 22861       else
 22862 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 22863       fi
 22864       ac_sed_frag=`expr $ac_sed_frag + 1`
 22865       ac_beg=$ac_end
 22866       ac_end=`expr $ac_end + $ac_max_sed_lines`
 22867     fi
 22868   done
 22869   if test -z "$ac_sed_cmds"; then
 22870     ac_sed_cmds=cat
 22871   fi
 22872 fi # test -n "$CONFIG_FILES"
 22873 
 22874 _ACEOF
 22875 cat >>$CONFIG_STATUS <<\_ACEOF
 22876 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 22877   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 22878   case $ac_file in
 22879   - | *:- | *:-:* ) # input from stdin
 22880 	cat >$tmp/stdin
 22881 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 22882 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 22883   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 22884 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 22885   * )   ac_file_in=$ac_file.in ;;
 22886   esac
 22887 
 22888   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 22889   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 22890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 22891 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 22892 	 X"$ac_file" : 'X\(//\)$' \| \
 22893 	 X"$ac_file" : 'X\(/\)' \| \
 22894 	 .     : '\(.\)' 2>/dev/null ||
 22895 echo X"$ac_file" |
 22896     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 22897   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 22898   	  /^X\(\/\/\)$/{ s//\1/; q; }
 22899   	  /^X\(\/\).*/{ s//\1/; q; }
 22900   	  s/.*/./; q'`
 22901   { if $as_mkdir_p; then
 22902     mkdir -p "$ac_dir"
 22903   else
 22904     as_dir="$ac_dir"
 22905     as_dirs=
 22906     while test ! -d "$as_dir"; do
 22907       as_dirs="$as_dir $as_dirs"
 22908       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 22909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 22910 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 22911 	 X"$as_dir" : 'X\(//\)$' \| \
 22912 	 X"$as_dir" : 'X\(/\)' \| \
 22913 	 .     : '\(.\)' 2>/dev/null ||
 22914 echo X"$as_dir" |
 22915     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 22916   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 22917   	  /^X\(\/\/\)$/{ s//\1/; q; }
 22918   	  /^X\(\/\).*/{ s//\1/; q; }
 22919   	  s/.*/./; q'`
 22920     done
 22921     test ! -n "$as_dirs" || mkdir $as_dirs
 22922   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 22923 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 22924    { (exit 1); exit 1; }; }; }
 22925 
 22926   ac_builddir=.
 22927 
 22928 if test "$ac_dir" != .; then
 22929   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 22930   # A "../" for each directory in $ac_dir_suffix.
 22931   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 22932 else
 22933   ac_dir_suffix= ac_top_builddir=
 22934 fi
 22935 
 22936 case $srcdir in
 22937   .)  # No --srcdir option.  We are building in place.
 22938     ac_srcdir=.
 22939     if test -z "$ac_top_builddir"; then
 22940        ac_top_srcdir=.
 22941     else
 22942        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 22943     fi ;;
 22944   [\\/]* | ?:[\\/]* )  # Absolute path.
 22945     ac_srcdir=$srcdir$ac_dir_suffix;
 22946     ac_top_srcdir=$srcdir ;;
 22947   *) # Relative path.
 22948     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 22949     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 22950 esac
 22951 
 22952 # Do not use `cd foo && pwd` to compute absolute paths, because
 22953 # the directories may not exist.
 22954 case `pwd` in
 22955 .) ac_abs_builddir="$ac_dir";;
 22956 *)
 22957   case "$ac_dir" in
 22958   .) ac_abs_builddir=`pwd`;;
 22959   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 22960   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 22961   esac;;
 22962 esac
 22963 case $ac_abs_builddir in
 22964 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 22965 *)
 22966   case ${ac_top_builddir}. in
 22967   .) ac_abs_top_builddir=$ac_abs_builddir;;
 22968   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 22969   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 22970   esac;;
 22971 esac
 22972 case $ac_abs_builddir in
 22973 .) ac_abs_srcdir=$ac_srcdir;;
 22974 *)
 22975   case $ac_srcdir in
 22976   .) ac_abs_srcdir=$ac_abs_builddir;;
 22977   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 22978   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 22979   esac;;
 22980 esac
 22981 case $ac_abs_builddir in
 22982 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 22983 *)
 22984   case $ac_top_srcdir in
 22985   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 22986   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 22987   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 22988   esac;;
 22989 esac
 22990 
 22991 
 22992   case $INSTALL in
 22993   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 22994   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 22995   esac
 22996 
 22997   # Let's still pretend it is `configure' which instantiates (i.e., don't
 22998   # use $as_me), people would be surprised to read:
 22999   #    /* config.h.  Generated by config.status.  */
 23000   if test x"$ac_file" = x-; then
 23001     configure_input=
 23002   else
 23003     configure_input="$ac_file.  "
 23004   fi
 23005   configure_input=$configure_input"Generated from `echo $ac_file_in |
 23006 				     sed 's,.*/,,'` by configure."
 23007 
 23008   # First look for the input files in the build tree, otherwise in the
 23009   # src tree.
 23010   ac_file_inputs=`IFS=:
 23011     for f in $ac_file_in; do
 23012       case $f in
 23013       -) echo $tmp/stdin ;;
 23014       [\\/$]*)
 23015 	 # Absolute (can't be DOS-style, as IFS=:)
 23016 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23017 echo "$as_me: error: cannot find input file: $f" >&2;}
 23018    { (exit 1); exit 1; }; }
 23019 	 echo "$f";;
 23020       *) # Relative
 23021 	 if test -f "$f"; then
 23022 	   # Build tree
 23023 	   echo "$f"
 23024 	 elif test -f "$srcdir/$f"; then
 23025 	   # Source tree
 23026 	   echo "$srcdir/$f"
 23027 	 else
 23028 	   # /dev/null tree
 23029 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23030 echo "$as_me: error: cannot find input file: $f" >&2;}
 23031    { (exit 1); exit 1; }; }
 23032 	 fi;;
 23033       esac
 23034     done` || { (exit 1); exit 1; }
 23035 
 23036   if test x"$ac_file" != x-; then
 23037     { echo "$as_me:$LINENO: creating $ac_file" >&5
 23038 echo "$as_me: creating $ac_file" >&6;}
 23039     rm -f "$ac_file"
 23040   fi
 23041 _ACEOF
 23042 cat >>$CONFIG_STATUS <<_ACEOF
 23043   sed "$ac_vpsub
 23044 $extrasub
 23045 _ACEOF
 23046 cat >>$CONFIG_STATUS <<\_ACEOF
 23047 :t
 23048 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 23049 s,@configure_input@,$configure_input,;t t
 23050 s,@srcdir@,$ac_srcdir,;t t
 23051 s,@abs_srcdir@,$ac_abs_srcdir,;t t
 23052 s,@top_srcdir@,$ac_top_srcdir,;t t
 23053 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 23054 s,@builddir@,$ac_builddir,;t t
 23055 s,@abs_builddir@,$ac_abs_builddir,;t t
 23056 s,@top_builddir@,$ac_top_builddir,;t t
 23057 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 23058 s,@INSTALL@,$ac_INSTALL,;t t
 23059 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 23060   rm -f $tmp/stdin
 23061   if test x"$ac_file" != x-; then
 23062     mv $tmp/out $ac_file
 23063   else
 23064     cat $tmp/out
 23065     rm -f $tmp/out
 23066   fi
 23067 
 23068 done
 23069 _ACEOF
 23070 cat >>$CONFIG_STATUS <<\_ACEOF
 23071 
 23072 #
 23073 # CONFIG_HEADER section.
 23074 #
 23075 
 23076 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 23077 # NAME is the cpp macro being defined and VALUE is the value it is being given.
 23078 #
 23079 # ac_d sets the value in "#define NAME VALUE" lines.
 23080 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
 23081 ac_dB='[	 ].*$,\1#\2'
 23082 ac_dC=' '
 23083 ac_dD=',;t'
 23084 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 23085 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
 23086 ac_uB='$,\1#\2define\3'
 23087 ac_uC=' '
 23088 ac_uD=',;t'
 23089 
 23090 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 23091   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 23092   case $ac_file in
 23093   - | *:- | *:-:* ) # input from stdin
 23094 	cat >$tmp/stdin
 23095 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23096 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 23097   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23098 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 23099   * )   ac_file_in=$ac_file.in ;;
 23100   esac
 23101 
 23102   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 23103 echo "$as_me: creating $ac_file" >&6;}
 23104 
 23105   # First look for the input files in the build tree, otherwise in the
 23106   # src tree.
 23107   ac_file_inputs=`IFS=:
 23108     for f in $ac_file_in; do
 23109       case $f in
 23110       -) echo $tmp/stdin ;;
 23111       [\\/$]*)
 23112 	 # Absolute (can't be DOS-style, as IFS=:)
 23113 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23114 echo "$as_me: error: cannot find input file: $f" >&2;}
 23115    { (exit 1); exit 1; }; }
 23116 	 # Do quote $f, to prevent DOS paths from being IFS'd.
 23117 	 echo "$f";;
 23118       *) # Relative
 23119 	 if test -f "$f"; then
 23120 	   # Build tree
 23121 	   echo "$f"
 23122 	 elif test -f "$srcdir/$f"; then
 23123 	   # Source tree
 23124 	   echo "$srcdir/$f"
 23125 	 else
 23126 	   # /dev/null tree
 23127 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23128 echo "$as_me: error: cannot find input file: $f" >&2;}
 23129    { (exit 1); exit 1; }; }
 23130 	 fi;;
 23131       esac
 23132     done` || { (exit 1); exit 1; }
 23133   # Remove the trailing spaces.
 23134   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
 23135 
 23136 _ACEOF
 23137 
 23138 # Transform confdefs.h into two sed scripts, `conftest.defines' and
 23139 # `conftest.undefs', that substitutes the proper values into
 23140 # config.h.in to produce config.h.  The first handles `#define'
 23141 # templates, and the second `#undef' templates.
 23142 # And first: Protect against being on the right side of a sed subst in
 23143 # config.status.  Protect against being in an unquoted here document
 23144 # in config.status.
 23145 rm -f conftest.defines conftest.undefs
 23146 # Using a here document instead of a string reduces the quoting nightmare.
 23147 # Putting comments in sed scripts is not portable.
 23148 #
 23149 # `end' is used to avoid that the second main sed command (meant for
 23150 # 0-ary CPP macros) applies to n-ary macro definitions.
 23151 # See the Autoconf documentation for `clear'.
 23152 cat >confdef2sed.sed <<\_ACEOF
 23153 s/[\\&,]/\\&/g
 23154 s,[\\$`],\\&,g
 23155 t clear
 23156 : clear
 23157 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 23158 t end
 23159 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 23160 : end
 23161 _ACEOF
 23162 # If some macros were called several times there might be several times
 23163 # the same #defines, which is useless.  Nevertheless, we may not want to
 23164 # sort them, since we want the *last* AC-DEFINE to be honored.
 23165 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 23166 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 23167 rm -f confdef2sed.sed
 23168 
 23169 # This sed command replaces #undef with comments.  This is necessary, for
 23170 # example, in the case of _POSIX_SOURCE, which is predefined and required
 23171 # on some systems where configure will not decide to define it.
 23172 cat >>conftest.undefs <<\_ACEOF
 23173 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 23174 _ACEOF
 23175 
 23176 # Break up conftest.defines because some shells have a limit on the size
 23177 # of here documents, and old seds have small limits too (100 cmds).
 23178 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 23179 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 23180 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 23181 echo '  :' >>$CONFIG_STATUS
 23182 rm -f conftest.tail
 23183 while grep . conftest.defines >/dev/null
 23184 do
 23185   # Write a limited-size here document to $tmp/defines.sed.
 23186   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 23187   # Speed up: don't consider the non `#define' lines.
 23188   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
 23189   # Work around the forget-to-reset-the-flag bug.
 23190   echo 't clr' >>$CONFIG_STATUS
 23191   echo ': clr' >>$CONFIG_STATUS
 23192   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 23193   echo 'CEOF
 23194   sed -f $tmp/defines.sed $tmp/in >$tmp/out
 23195   rm -f $tmp/in
 23196   mv $tmp/out $tmp/in
 23197 ' >>$CONFIG_STATUS
 23198   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 23199   rm -f conftest.defines
 23200   mv conftest.tail conftest.defines
 23201 done
 23202 rm -f conftest.defines
 23203 echo '  fi # grep' >>$CONFIG_STATUS
 23204 echo >>$CONFIG_STATUS
 23205 
 23206 # Break up conftest.undefs because some shells have a limit on the size
 23207 # of here documents, and old seds have small limits too (100 cmds).
 23208 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 23209 rm -f conftest.tail
 23210 while grep . conftest.undefs >/dev/null
 23211 do
 23212   # Write a limited-size here document to $tmp/undefs.sed.
 23213   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 23214   # Speed up: don't consider the non `#undef'
 23215   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
 23216   # Work around the forget-to-reset-the-flag bug.
 23217   echo 't clr' >>$CONFIG_STATUS
 23218   echo ': clr' >>$CONFIG_STATUS
 23219   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 23220   echo 'CEOF
 23221   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 23222   rm -f $tmp/in
 23223   mv $tmp/out $tmp/in
 23224 ' >>$CONFIG_STATUS
 23225   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 23226   rm -f conftest.undefs
 23227   mv conftest.tail conftest.undefs
 23228 done
 23229 rm -f conftest.undefs
 23230 
 23231 cat >>$CONFIG_STATUS <<\_ACEOF
 23232   # Let's still pretend it is `configure' which instantiates (i.e., don't
 23233   # use $as_me), people would be surprised to read:
 23234   #    /* config.h.  Generated by config.status.  */
 23235   if test x"$ac_file" = x-; then
 23236     echo "/* Generated by configure.  */" >$tmp/config.h
 23237   else
 23238     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 23239   fi
 23240   cat $tmp/in >>$tmp/config.h
 23241   rm -f $tmp/in
 23242   if test x"$ac_file" != x-; then
 23243     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 23244       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 23245 echo "$as_me: $ac_file is unchanged" >&6;}
 23246     else
 23247       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 23248 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23249 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 23250 	 X"$ac_file" : 'X\(//\)$' \| \
 23251 	 X"$ac_file" : 'X\(/\)' \| \
 23252 	 .     : '\(.\)' 2>/dev/null ||
 23253 echo X"$ac_file" |
 23254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23255   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23256   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23257   	  /^X\(\/\).*/{ s//\1/; q; }
 23258   	  s/.*/./; q'`
 23259       { if $as_mkdir_p; then
 23260     mkdir -p "$ac_dir"
 23261   else
 23262     as_dir="$ac_dir"
 23263     as_dirs=
 23264     while test ! -d "$as_dir"; do
 23265       as_dirs="$as_dir $as_dirs"
 23266       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23267 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23268 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23269 	 X"$as_dir" : 'X\(//\)$' \| \
 23270 	 X"$as_dir" : 'X\(/\)' \| \
 23271 	 .     : '\(.\)' 2>/dev/null ||
 23272 echo X"$as_dir" |
 23273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23274   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23275   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23276   	  /^X\(\/\).*/{ s//\1/; q; }
 23277   	  s/.*/./; q'`
 23278     done
 23279     test ! -n "$as_dirs" || mkdir $as_dirs
 23280   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 23281 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 23282    { (exit 1); exit 1; }; }; }
 23283 
 23284       rm -f $ac_file
 23285       mv $tmp/config.h $ac_file
 23286     fi
 23287   else
 23288     cat $tmp/config.h
 23289     rm -f $tmp/config.h
 23290   fi
 23291 # Compute $ac_file's index in $config_headers.
 23292 _am_stamp_count=1
 23293 for _am_header in $config_headers :; do
 23294   case $_am_header in
 23295     $ac_file | $ac_file:* )
 23296       break ;;
 23297     * )
 23298       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 23299   esac
 23300 done
 23301 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 23302 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23303 	 X$ac_file : 'X\(//\)[^/]' \| \
 23304 	 X$ac_file : 'X\(//\)$' \| \
 23305 	 X$ac_file : 'X\(/\)' \| \
 23306 	 .     : '\(.\)' 2>/dev/null ||
 23307 echo X$ac_file |
 23308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23309   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23310   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23311   	  /^X\(\/\).*/{ s//\1/; q; }
 23312   	  s/.*/./; q'`/stamp-h$_am_stamp_count
 23313 done
 23314 _ACEOF
 23315 cat >>$CONFIG_STATUS <<\_ACEOF
 23316 
 23317 #
 23318 # CONFIG_COMMANDS section.
 23319 #
 23320 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 23321   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 23322   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23323   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 23324 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23325 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
 23326 	 X"$ac_dest" : 'X\(//\)$' \| \
 23327 	 X"$ac_dest" : 'X\(/\)' \| \
 23328 	 .     : '\(.\)' 2>/dev/null ||
 23329 echo X"$ac_dest" |
 23330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23331   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23332   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23333   	  /^X\(\/\).*/{ s//\1/; q; }
 23334   	  s/.*/./; q'`
 23335   { if $as_mkdir_p; then
 23336     mkdir -p "$ac_dir"
 23337   else
 23338     as_dir="$ac_dir"
 23339     as_dirs=
 23340     while test ! -d "$as_dir"; do
 23341       as_dirs="$as_dir $as_dirs"
 23342       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23344 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23345 	 X"$as_dir" : 'X\(//\)$' \| \
 23346 	 X"$as_dir" : 'X\(/\)' \| \
 23347 	 .     : '\(.\)' 2>/dev/null ||
 23348 echo X"$as_dir" |
 23349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23350   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23351   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23352   	  /^X\(\/\).*/{ s//\1/; q; }
 23353   	  s/.*/./; q'`
 23354     done
 23355     test ! -n "$as_dirs" || mkdir $as_dirs
 23356   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 23357 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 23358    { (exit 1); exit 1; }; }; }
 23359 
 23360   ac_builddir=.
 23361 
 23362 if test "$ac_dir" != .; then
 23363   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 23364   # A "../" for each directory in $ac_dir_suffix.
 23365   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 23366 else
 23367   ac_dir_suffix= ac_top_builddir=
 23368 fi
 23369 
 23370 case $srcdir in
 23371   .)  # No --srcdir option.  We are building in place.
 23372     ac_srcdir=.
 23373     if test -z "$ac_top_builddir"; then
 23374        ac_top_srcdir=.
 23375     else
 23376        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 23377     fi ;;
 23378   [\\/]* | ?:[\\/]* )  # Absolute path.
 23379     ac_srcdir=$srcdir$ac_dir_suffix;
 23380     ac_top_srcdir=$srcdir ;;
 23381   *) # Relative path.
 23382     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 23383     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 23384 esac
 23385 
 23386 # Do not use `cd foo && pwd` to compute absolute paths, because
 23387 # the directories may not exist.
 23388 case `pwd` in
 23389 .) ac_abs_builddir="$ac_dir";;
 23390 *)
 23391   case "$ac_dir" in
 23392   .) ac_abs_builddir=`pwd`;;
 23393   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 23394   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 23395   esac;;
 23396 esac
 23397 case $ac_abs_builddir in
 23398 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 23399 *)
 23400   case ${ac_top_builddir}. in
 23401   .) ac_abs_top_builddir=$ac_abs_builddir;;
 23402   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 23403   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 23404   esac;;
 23405 esac
 23406 case $ac_abs_builddir in
 23407 .) ac_abs_srcdir=$ac_srcdir;;
 23408 *)
 23409   case $ac_srcdir in
 23410   .) ac_abs_srcdir=$ac_abs_builddir;;
 23411   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 23412   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 23413   esac;;
 23414 esac
 23415 case $ac_abs_builddir in
 23416 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 23417 *)
 23418   case $ac_top_srcdir in
 23419   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 23420   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 23421   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 23422   esac;;
 23423 esac
 23424 
 23425 
 23426   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 23427 echo "$as_me: executing $ac_dest commands" >&6;}
 23428   case $ac_dest in
 23429     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 23430   # Strip MF so we end up with the name of the file.
 23431   mf=`echo "$mf" | sed -e 's/:.*$//'`
 23432   # Check whether this is an Automake generated Makefile or not.
 23433   # We used to match only the files named `Makefile.in', but
 23434   # some people rename them; so instead we look at the file content.
 23435   # Grep'ing the first line is not enough: some people post-process
 23436   # each Makefile.in and add a new line on top of each file to say so.
 23437   # So let's grep whole file.
 23438   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 23439     dirpart=`(dirname "$mf") 2>/dev/null ||
 23440 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23441 	 X"$mf" : 'X\(//\)[^/]' \| \
 23442 	 X"$mf" : 'X\(//\)$' \| \
 23443 	 X"$mf" : 'X\(/\)' \| \
 23444 	 .     : '\(.\)' 2>/dev/null ||
 23445 echo X"$mf" |
 23446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23447   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23448   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23449   	  /^X\(\/\).*/{ s//\1/; q; }
 23450   	  s/.*/./; q'`
 23451   else
 23452     continue
 23453   fi
 23454   grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
 23455   # Extract the definition of DEP_FILES from the Makefile without
 23456   # running `make'.
 23457   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 23458   test -z "$DEPDIR" && continue
 23459   # When using ansi2knr, U may be empty or an underscore; expand it
 23460   U=`sed -n 's/^U = //p' < "$mf"`
 23461   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 23462   # We invoke sed twice because it is the simplest approach to
 23463   # changing $(DEPDIR) to its actual value in the expansion.
 23464   for file in `sed -n '
 23465     /^DEP_FILES = .*\\\\$/ {
 23466       s/^DEP_FILES = //
 23467       :loop
 23468 	s/\\\\$//
 23469 	p
 23470 	n
 23471 	/\\\\$/ b loop
 23472       p
 23473     }
 23474     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 23475        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 23476     # Make sure the directory exists.
 23477     test -f "$dirpart/$file" && continue
 23478     fdir=`(dirname "$file") 2>/dev/null ||
 23479 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23480 	 X"$file" : 'X\(//\)[^/]' \| \
 23481 	 X"$file" : 'X\(//\)$' \| \
 23482 	 X"$file" : 'X\(/\)' \| \
 23483 	 .     : '\(.\)' 2>/dev/null ||
 23484 echo X"$file" |
 23485     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23486   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23487   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23488   	  /^X\(\/\).*/{ s//\1/; q; }
 23489   	  s/.*/./; q'`
 23490     { if $as_mkdir_p; then
 23491     mkdir -p $dirpart/$fdir
 23492   else
 23493     as_dir=$dirpart/$fdir
 23494     as_dirs=
 23495     while test ! -d "$as_dir"; do
 23496       as_dirs="$as_dir $as_dirs"
 23497       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23499 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23500 	 X"$as_dir" : 'X\(//\)$' \| \
 23501 	 X"$as_dir" : 'X\(/\)' \| \
 23502 	 .     : '\(.\)' 2>/dev/null ||
 23503 echo X"$as_dir" |
 23504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23505   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23506   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23507   	  /^X\(\/\).*/{ s//\1/; q; }
 23508   	  s/.*/./; q'`
 23509     done
 23510     test ! -n "$as_dirs" || mkdir $as_dirs
 23511   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 23512 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 23513    { (exit 1); exit 1; }; }; }
 23514 
 23515     # echo "creating $dirpart/$file"
 23516     echo '# dummy' > "$dirpart/$file"
 23517   done
 23518 done
 23519  ;;
 23520   esac
 23521 done
 23522 _ACEOF
 23523 
 23524 cat >>$CONFIG_STATUS <<\_ACEOF
 23525 
 23526 { (exit 0); exit 0; }
 23527 _ACEOF
 23528 chmod +x $CONFIG_STATUS
 23529 ac_clean_files=$ac_clean_files_save
 23530 
 23531 
 23532 # configure is writing to config.log, and then calls config.status.
 23533 # config.status does its own redirection, appending to config.log.
 23534 # Unfortunately, on DOS this fails, as config.log is still kept open
 23535 # by configure, so config.status won't be able to write to it; its
 23536 # output is simply discarded.  So we exec the FD to /dev/null,
 23537 # effectively closing config.log, so it can be properly (re)opened and
 23538 # appended to by config.status.  When coming back to configure, we
 23539 # need to make the FD available again.
 23540 if test "$no_create" != yes; then
 23541   ac_cs_success=:
 23542   ac_config_status_args=
 23543   test "$silent" = yes &&
 23544     ac_config_status_args="$ac_config_status_args --quiet"
 23545   exec 5>/dev/null
 23546   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 23547   exec 5>>config.log
 23548   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 23549   # would make configure fail if this is the last instruction.
 23550   $ac_cs_success || { (exit 1); exit 1; }
 23551 fi
 23552 
 23553