gst-plugins-nuvdemux/configure
author rosfran
Wed Oct 25 00:26:33 2006 +0100 (2006-10-25)
branchtrunk
changeset 51 3e490ac963ce
permissions -rwxr-xr-x
[svn r52] Added reference to the GSTINTERFACES_LIBS (gst_x_overlay* functions).
     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 LIBOBJS 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 3760 "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:5331:" \
  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 
  6403 lt_prog_compiler_no_builtin_flag=
  6404 
  6405 if test "$GCC" = yes; then
  6406   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  6407 
  6408 
  6409 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  6410 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
  6411 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  6412   echo $ECHO_N "(cached) $ECHO_C" >&6
  6413 else
  6414   lt_cv_prog_compiler_rtti_exceptions=no
  6415   ac_outfile=conftest.$ac_objext
  6416    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6417    lt_compiler_flag="-fno-rtti -fno-exceptions"
  6418    # Insert the option either (1) after the last *FLAGS variable, or
  6419    # (2) before a word containing "conftest.", or (3) at the end.
  6420    # Note that $ac_compile itself does not contain backslashes and begins
  6421    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6422    # The option is referenced via a variable to avoid confusing sed.
  6423    lt_compile=`echo "$ac_compile" | $SED \
  6424    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6425    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6426    -e 's:$: $lt_compiler_flag:'`
  6427    (eval echo "\"\$as_me:6427: $lt_compile\"" >&5)
  6428    (eval "$lt_compile" 2>conftest.err)
  6429    ac_status=$?
  6430    cat conftest.err >&5
  6431    echo "$as_me:6431: \$? = $ac_status" >&5
  6432    if (exit $ac_status) && test -s "$ac_outfile"; then
  6433      # The compiler can only warn and ignore the option if not recognized
  6434      # So say no if there are warnings other than the usual output.
  6435      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
  6436      $SED '/^$/d' conftest.err >conftest.er2
  6437      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
  6438        lt_cv_prog_compiler_rtti_exceptions=yes
  6439      fi
  6440    fi
  6441    $rm conftest*
  6442 
  6443 fi
  6444 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  6445 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
  6446 
  6447 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  6448     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  6449 else
  6450     :
  6451 fi
  6452 
  6453 fi
  6454 
  6455 lt_prog_compiler_wl=
  6456 lt_prog_compiler_pic=
  6457 lt_prog_compiler_static=
  6458 
  6459 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  6460 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
  6461 
  6462   if test "$GCC" = yes; then
  6463     lt_prog_compiler_wl='-Wl,'
  6464     lt_prog_compiler_static='-static'
  6465 
  6466     case $host_os in
  6467       aix*)
  6468       # All AIX code is PIC.
  6469       if test "$host_cpu" = ia64; then
  6470 	# AIX 5 now supports IA64 processor
  6471 	lt_prog_compiler_static='-Bstatic'
  6472       fi
  6473       ;;
  6474 
  6475     amigaos*)
  6476       # FIXME: we need at least 68020 code to build shared libraries, but
  6477       # adding the `-m68020' flag to GCC prevents building anything better,
  6478       # like `-m68040'.
  6479       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  6480       ;;
  6481 
  6482     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  6483       # PIC is the default for these OSes.
  6484       ;;
  6485 
  6486     mingw* | pw32* | os2*)
  6487       # This hack is so that the source file can tell whether it is being
  6488       # built for inclusion in a dll (and should export symbols for example).
  6489       lt_prog_compiler_pic='-DDLL_EXPORT'
  6490       ;;
  6491 
  6492     darwin* | rhapsody*)
  6493       # PIC is the default on this platform
  6494       # Common symbols not allowed in MH_DYLIB files
  6495       lt_prog_compiler_pic='-fno-common'
  6496       ;;
  6497 
  6498     msdosdjgpp*)
  6499       # Just because we use GCC doesn't mean we suddenly get shared libraries
  6500       # on systems that don't support them.
  6501       lt_prog_compiler_can_build_shared=no
  6502       enable_shared=no
  6503       ;;
  6504 
  6505     sysv4*MP*)
  6506       if test -d /usr/nec; then
  6507 	lt_prog_compiler_pic=-Kconform_pic
  6508       fi
  6509       ;;
  6510 
  6511     hpux*)
  6512       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6513       # not for PA HP-UX.
  6514       case $host_cpu in
  6515       hppa*64*|ia64*)
  6516 	# +Z the default
  6517 	;;
  6518       *)
  6519 	lt_prog_compiler_pic='-fPIC'
  6520 	;;
  6521       esac
  6522       ;;
  6523 
  6524     *)
  6525       lt_prog_compiler_pic='-fPIC'
  6526       ;;
  6527     esac
  6528   else
  6529     # PORTME Check for flag to pass linker flags through the system compiler.
  6530     case $host_os in
  6531     aix*)
  6532       lt_prog_compiler_wl='-Wl,'
  6533       if test "$host_cpu" = ia64; then
  6534 	# AIX 5 now supports IA64 processor
  6535 	lt_prog_compiler_static='-Bstatic'
  6536       else
  6537 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  6538       fi
  6539       ;;
  6540       darwin*)
  6541         # PIC is the default on this platform
  6542         # Common symbols not allowed in MH_DYLIB files
  6543        case $cc_basename in
  6544          xlc*)
  6545          lt_prog_compiler_pic='-qnocommon'
  6546          lt_prog_compiler_wl='-Wl,'
  6547          ;;
  6548        esac
  6549        ;;
  6550 
  6551     mingw* | pw32* | os2*)
  6552       # This hack is so that the source file can tell whether it is being
  6553       # built for inclusion in a dll (and should export symbols for example).
  6554       lt_prog_compiler_pic='-DDLL_EXPORT'
  6555       ;;
  6556 
  6557     hpux9* | hpux10* | hpux11*)
  6558       lt_prog_compiler_wl='-Wl,'
  6559       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6560       # not for PA HP-UX.
  6561       case $host_cpu in
  6562       hppa*64*|ia64*)
  6563 	# +Z the default
  6564 	;;
  6565       *)
  6566 	lt_prog_compiler_pic='+Z'
  6567 	;;
  6568       esac
  6569       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  6570       lt_prog_compiler_static='${wl}-a ${wl}archive'
  6571       ;;
  6572 
  6573     irix5* | irix6* | nonstopux*)
  6574       lt_prog_compiler_wl='-Wl,'
  6575       # PIC (with -KPIC) is the default.
  6576       lt_prog_compiler_static='-non_shared'
  6577       ;;
  6578 
  6579     newsos6)
  6580       lt_prog_compiler_pic='-KPIC'
  6581       lt_prog_compiler_static='-Bstatic'
  6582       ;;
  6583 
  6584     linux*)
  6585       case $cc_basename in
  6586       icc* | ecc*)
  6587 	lt_prog_compiler_wl='-Wl,'
  6588 	lt_prog_compiler_pic='-KPIC'
  6589 	lt_prog_compiler_static='-static'
  6590         ;;
  6591       pgcc* | pgf77* | pgf90* | pgf95*)
  6592         # Portland Group compilers (*not* the Pentium gcc compiler,
  6593 	# which looks to be a dead project)
  6594 	lt_prog_compiler_wl='-Wl,'
  6595 	lt_prog_compiler_pic='-fpic'
  6596 	lt_prog_compiler_static='-Bstatic'
  6597         ;;
  6598       ccc*)
  6599         lt_prog_compiler_wl='-Wl,'
  6600         # All Alpha code is PIC.
  6601         lt_prog_compiler_static='-non_shared'
  6602         ;;
  6603       esac
  6604       ;;
  6605 
  6606     osf3* | osf4* | osf5*)
  6607       lt_prog_compiler_wl='-Wl,'
  6608       # All OSF/1 code is PIC.
  6609       lt_prog_compiler_static='-non_shared'
  6610       ;;
  6611 
  6612     sco3.2v5*)
  6613       lt_prog_compiler_pic='-Kpic'
  6614       lt_prog_compiler_static='-dn'
  6615       ;;
  6616 
  6617     solaris*)
  6618       lt_prog_compiler_pic='-KPIC'
  6619       lt_prog_compiler_static='-Bstatic'
  6620       case $cc_basename in
  6621       f77* | f90* | f95*)
  6622 	lt_prog_compiler_wl='-Qoption ld ';;
  6623       *)
  6624 	lt_prog_compiler_wl='-Wl,';;
  6625       esac
  6626       ;;
  6627 
  6628     sunos4*)
  6629       lt_prog_compiler_wl='-Qoption ld '
  6630       lt_prog_compiler_pic='-PIC'
  6631       lt_prog_compiler_static='-Bstatic'
  6632       ;;
  6633 
  6634     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  6635       lt_prog_compiler_wl='-Wl,'
  6636       lt_prog_compiler_pic='-KPIC'
  6637       lt_prog_compiler_static='-Bstatic'
  6638       ;;
  6639 
  6640     sysv4*MP*)
  6641       if test -d /usr/nec ;then
  6642 	lt_prog_compiler_pic='-Kconform_pic'
  6643 	lt_prog_compiler_static='-Bstatic'
  6644       fi
  6645       ;;
  6646 
  6647     unicos*)
  6648       lt_prog_compiler_wl='-Wl,'
  6649       lt_prog_compiler_can_build_shared=no
  6650       ;;
  6651 
  6652     uts4*)
  6653       lt_prog_compiler_pic='-pic'
  6654       lt_prog_compiler_static='-Bstatic'
  6655       ;;
  6656 
  6657     *)
  6658       lt_prog_compiler_can_build_shared=no
  6659       ;;
  6660     esac
  6661   fi
  6662 
  6663 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  6664 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
  6665 
  6666 #
  6667 # Check to make sure the PIC flag actually works.
  6668 #
  6669 if test -n "$lt_prog_compiler_pic"; then
  6670 
  6671 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  6672 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
  6673 if test "${lt_prog_compiler_pic_works+set}" = set; then
  6674   echo $ECHO_N "(cached) $ECHO_C" >&6
  6675 else
  6676   lt_prog_compiler_pic_works=no
  6677   ac_outfile=conftest.$ac_objext
  6678    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6679    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  6680    # Insert the option either (1) after the last *FLAGS variable, or
  6681    # (2) before a word containing "conftest.", or (3) at the end.
  6682    # Note that $ac_compile itself does not contain backslashes and begins
  6683    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6684    # The option is referenced via a variable to avoid confusing sed.
  6685    lt_compile=`echo "$ac_compile" | $SED \
  6686    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6687    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6688    -e 's:$: $lt_compiler_flag:'`
  6689    (eval echo "\"\$as_me:6689: $lt_compile\"" >&5)
  6690    (eval "$lt_compile" 2>conftest.err)
  6691    ac_status=$?
  6692    cat conftest.err >&5
  6693    echo "$as_me:6693: \$? = $ac_status" >&5
  6694    if (exit $ac_status) && test -s "$ac_outfile"; then
  6695      # The compiler can only warn and ignore the option if not recognized
  6696      # So say no if there are warnings other than the usual output.
  6697      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
  6698      $SED '/^$/d' conftest.err >conftest.er2
  6699      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
  6700        lt_prog_compiler_pic_works=yes
  6701      fi
  6702    fi
  6703    $rm conftest*
  6704 
  6705 fi
  6706 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
  6707 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
  6708 
  6709 if test x"$lt_prog_compiler_pic_works" = xyes; then
  6710     case $lt_prog_compiler_pic in
  6711      "" | " "*) ;;
  6712      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  6713      esac
  6714 else
  6715     lt_prog_compiler_pic=
  6716      lt_prog_compiler_can_build_shared=no
  6717 fi
  6718 
  6719 fi
  6720 case $host_os in
  6721   # For platforms which do not support PIC, -DPIC is meaningless:
  6722   *djgpp*)
  6723     lt_prog_compiler_pic=
  6724     ;;
  6725   *)
  6726     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  6727     ;;
  6728 esac
  6729 
  6730 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  6731 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
  6732 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  6733   echo $ECHO_N "(cached) $ECHO_C" >&6
  6734 else
  6735   lt_cv_prog_compiler_c_o=no
  6736    $rm -r conftest 2>/dev/null
  6737    mkdir conftest
  6738    cd conftest
  6739    mkdir out
  6740    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6741 
  6742    lt_compiler_flag="-o out/conftest2.$ac_objext"
  6743    # Insert the option either (1) after the last *FLAGS variable, or
  6744    # (2) before a word containing "conftest.", or (3) at the end.
  6745    # Note that $ac_compile itself does not contain backslashes and begins
  6746    # with a dollar sign (not a hyphen), so the echo should work correctly.
  6747    lt_compile=`echo "$ac_compile" | $SED \
  6748    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6749    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6750    -e 's:$: $lt_compiler_flag:'`
  6751    (eval echo "\"\$as_me:6751: $lt_compile\"" >&5)
  6752    (eval "$lt_compile" 2>out/conftest.err)
  6753    ac_status=$?
  6754    cat out/conftest.err >&5
  6755    echo "$as_me:6755: \$? = $ac_status" >&5
  6756    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  6757    then
  6758      # The compiler can only warn and ignore the option if not recognized
  6759      # So say no if there are warnings
  6760      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
  6761      $SED '/^$/d' out/conftest.err >out/conftest.er2
  6762      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  6763        lt_cv_prog_compiler_c_o=yes
  6764      fi
  6765    fi
  6766    chmod u+w . 2>&5
  6767    $rm conftest*
  6768    # SGI C++ compiler will create directory out/ii_files/ for
  6769    # template instantiation
  6770    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  6771    $rm out/* && rmdir out
  6772    cd ..
  6773    rmdir conftest
  6774    $rm conftest*
  6775 
  6776 fi
  6777 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  6778 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
  6779 
  6780 
  6781 hard_links="nottested"
  6782 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  6783   # do not overwrite the value of need_locks provided by the user
  6784   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  6785 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
  6786   hard_links=yes
  6787   $rm conftest*
  6788   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6789   touch conftest.a
  6790   ln conftest.a conftest.b 2>&5 || hard_links=no
  6791   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6792   echo "$as_me:$LINENO: result: $hard_links" >&5
  6793 echo "${ECHO_T}$hard_links" >&6
  6794   if test "$hard_links" = no; then
  6795     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  6796 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  6797     need_locks=warn
  6798   fi
  6799 else
  6800   need_locks=no
  6801 fi
  6802 
  6803 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  6804 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
  6805 
  6806   runpath_var=
  6807   allow_undefined_flag=
  6808   enable_shared_with_static_runtimes=no
  6809   archive_cmds=
  6810   archive_expsym_cmds=
  6811   old_archive_From_new_cmds=
  6812   old_archive_from_expsyms_cmds=
  6813   export_dynamic_flag_spec=
  6814   whole_archive_flag_spec=
  6815   thread_safe_flag_spec=
  6816   hardcode_libdir_flag_spec=
  6817   hardcode_libdir_flag_spec_ld=
  6818   hardcode_libdir_separator=
  6819   hardcode_direct=no
  6820   hardcode_minus_L=no
  6821   hardcode_shlibpath_var=unsupported
  6822   link_all_deplibs=unknown
  6823   hardcode_automatic=no
  6824   module_cmds=
  6825   module_expsym_cmds=
  6826   always_export_symbols=no
  6827   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  6828   # include_expsyms should be a list of space-separated symbols to be *always*
  6829   # included in the symbol list
  6830   include_expsyms=
  6831   # exclude_expsyms can be an extended regexp of symbols to exclude
  6832   # it will be wrapped by ` (' and `)$', so one must not match beginning or
  6833   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  6834   # as well as any symbol that contains `d'.
  6835   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  6836   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  6837   # platforms (ab)use it in PIC code, but their linkers get confused if
  6838   # the symbol is explicitly referenced.  Since portable code cannot
  6839   # rely on this symbol name, it's probably fine to never include it in
  6840   # preloaded symbol tables.
  6841   extract_expsyms_cmds=
  6842   # Just being paranoid about ensuring that cc_basename is set.
  6843   for cc_temp in $compiler""; do
  6844   case $cc_temp in
  6845     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6846     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6847     \-*) ;;
  6848     *) break;;
  6849   esac
  6850 done
  6851 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  6852 
  6853   case $host_os in
  6854   cygwin* | mingw* | pw32*)
  6855     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  6856     # When not using gcc, we currently assume that we are using
  6857     # Microsoft Visual C++.
  6858     if test "$GCC" != yes; then
  6859       with_gnu_ld=no
  6860     fi
  6861     ;;
  6862   openbsd*)
  6863     with_gnu_ld=no
  6864     ;;
  6865   esac
  6866 
  6867   ld_shlibs=yes
  6868   if test "$with_gnu_ld" = yes; then
  6869     # If archive_cmds runs LD, not CC, wlarc should be empty
  6870     wlarc='${wl}'
  6871 
  6872     # Set some defaults for GNU ld with shared library support. These
  6873     # are reset later if shared libraries are not supported. Putting them
  6874     # here allows them to be overridden if necessary.
  6875     runpath_var=LD_RUN_PATH
  6876     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  6877     export_dynamic_flag_spec='${wl}--export-dynamic'
  6878     # ancient GNU ld didn't support --whole-archive et. al.
  6879     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  6880 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6881       else
  6882   	whole_archive_flag_spec=
  6883     fi
  6884     supports_anon_versioning=no
  6885     case `$LD -v 2>/dev/null` in
  6886       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  6887       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  6888       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  6889       *\ 2.11.*) ;; # other 2.11 versions
  6890       *) supports_anon_versioning=yes ;;
  6891     esac
  6892 
  6893     # See if GNU ld supports shared libraries.
  6894     case $host_os in
  6895     aix3* | aix4* | aix5*)
  6896       # On AIX/PPC, the GNU linker is very broken
  6897       if test "$host_cpu" != ia64; then
  6898 	ld_shlibs=no
  6899 	cat <<EOF 1>&2
  6900 
  6901 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  6902 *** to be unable to reliably create shared libraries on AIX.
  6903 *** Therefore, libtool is disabling shared libraries support.  If you
  6904 *** really care for shared libraries, you may want to modify your PATH
  6905 *** so that a non-GNU linker is found, and then restart.
  6906 
  6907 EOF
  6908       fi
  6909       ;;
  6910 
  6911     amigaos*)
  6912       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)'
  6913       hardcode_libdir_flag_spec='-L$libdir'
  6914       hardcode_minus_L=yes
  6915 
  6916       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  6917       # that the semantics of dynamic libraries on AmigaOS, at least up
  6918       # to version 4, is to share data among multiple programs linked
  6919       # with the same dynamic library.  Since this doesn't match the
  6920       # behavior of shared libraries on other platforms, we can't use
  6921       # them.
  6922       ld_shlibs=no
  6923       ;;
  6924 
  6925     beos*)
  6926       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  6927 	allow_undefined_flag=unsupported
  6928 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  6929 	# support --undefined.  This deserves some investigation.  FIXME
  6930 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6931       else
  6932 	ld_shlibs=no
  6933       fi
  6934       ;;
  6935 
  6936     cygwin* | mingw* | pw32*)
  6937       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  6938       # as there is no search path for DLLs.
  6939       hardcode_libdir_flag_spec='-L$libdir'
  6940       allow_undefined_flag=unsupported
  6941       always_export_symbols=no
  6942       enable_shared_with_static_runtimes=yes
  6943       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  6944 
  6945       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  6946         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
  6947 	# If the export-symbols file already is a .def file (1st line
  6948 	# is EXPORTS), use it as is; otherwise, prepend...
  6949 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  6950 	  cp $export_symbols $output_objdir/$soname.def;
  6951 	else
  6952 	  echo EXPORTS > $output_objdir/$soname.def;
  6953 	  cat $export_symbols >> $output_objdir/$soname.def;
  6954 	fi~
  6955 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
  6956       else
  6957 	ld_shlibs=no
  6958       fi
  6959       ;;
  6960 
  6961     linux*)
  6962       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  6963 	tmp_addflag=
  6964 	case $cc_basename,$host_cpu in
  6965 	pgcc*)				# Portland Group C compiler
  6966 	  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'
  6967 	  tmp_addflag=' $pic_flag'
  6968 	  ;;
  6969 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  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 -Mnomain' ;;
  6972 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
  6973 	  tmp_addflag=' -i_dynamic' ;;
  6974 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  6975 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  6976 	ifc* | ifort*)			# Intel Fortran compiler
  6977 	  tmp_addflag=' -nofor_main' ;;
  6978 	esac
  6979 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6980 
  6981 	if test $supports_anon_versioning = yes; then
  6982 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  6983   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  6984   $echo "local: *; };" >> $output_objdir/$libname.ver~
  6985 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  6986 	fi
  6987       else
  6988 	ld_shlibs=no
  6989       fi
  6990       ;;
  6991 
  6992     netbsd*)
  6993       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  6994 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  6995 	wlarc=
  6996       else
  6997 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6998 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  6999       fi
  7000       ;;
  7001 
  7002     solaris* | sysv5*)
  7003       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  7004 	ld_shlibs=no
  7005 	cat <<EOF 1>&2
  7006 
  7007 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7008 *** create shared libraries on Solaris systems.  Therefore, libtool
  7009 *** is disabling shared libraries support.  We urge you to upgrade GNU
  7010 *** binutils to release 2.9.1 or newer.  Another option is to modify
  7011 *** your PATH or compiler configuration so that the native linker is
  7012 *** used, and then restart.
  7013 
  7014 EOF
  7015       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  7016 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7017 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7018       else
  7019 	ld_shlibs=no
  7020       fi
  7021       ;;
  7022 
  7023     sunos4*)
  7024       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7025       wlarc=
  7026       hardcode_direct=yes
  7027       hardcode_shlibpath_var=no
  7028       ;;
  7029 
  7030     *)
  7031       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  7032 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7033 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7034       else
  7035 	ld_shlibs=no
  7036       fi
  7037       ;;
  7038     esac
  7039 
  7040     if test "$ld_shlibs" = no; then
  7041       runpath_var=
  7042       hardcode_libdir_flag_spec=
  7043       export_dynamic_flag_spec=
  7044       whole_archive_flag_spec=
  7045     fi
  7046   else
  7047     # PORTME fill in a description of your system's linker (not GNU ld)
  7048     case $host_os in
  7049     aix3*)
  7050       allow_undefined_flag=unsupported
  7051       always_export_symbols=yes
  7052       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'
  7053       # Note: this linker hardcodes the directories in LIBPATH if there
  7054       # are no directories specified by -L.
  7055       hardcode_minus_L=yes
  7056       if test "$GCC" = yes && test -z "$link_static_flag"; then
  7057 	# Neither direct hardcoding nor static linking is supported with a
  7058 	# broken collect2.
  7059 	hardcode_direct=unsupported
  7060       fi
  7061       ;;
  7062 
  7063     aix4* | aix5*)
  7064       if test "$host_cpu" = ia64; then
  7065 	# On IA64, the linker does run time linking by default, so we don't
  7066 	# have to do anything special.
  7067 	aix_use_runtimelinking=no
  7068 	exp_sym_flag='-Bexport'
  7069 	no_entry_flag=""
  7070       else
  7071 	# If we're using GNU nm, then we don't want the "-C" option.
  7072 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  7073 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  7074 	  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'
  7075 	else
  7076 	  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'
  7077 	fi
  7078 	aix_use_runtimelinking=no
  7079 
  7080 	# Test if we are trying to use run time linking or normal
  7081 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7082 	# need to do runtime linking.
  7083 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  7084 	  for ld_flag in $LDFLAGS; do
  7085   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  7086   	    aix_use_runtimelinking=yes
  7087   	    break
  7088   	  fi
  7089 	  done
  7090 	esac
  7091 
  7092 	exp_sym_flag='-bexport'
  7093 	no_entry_flag='-bnoentry'
  7094       fi
  7095 
  7096       # When large executables or shared objects are built, AIX ld can
  7097       # have problems creating the table of contents.  If linking a library
  7098       # or program results in "error TOC overflow" add -mminimal-toc to
  7099       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  7100       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7101 
  7102       archive_cmds=''
  7103       hardcode_direct=yes
  7104       hardcode_libdir_separator=':'
  7105       link_all_deplibs=yes
  7106 
  7107       if test "$GCC" = yes; then
  7108 	case $host_os in aix4.[012]|aix4.[012].*)
  7109 	# We only want to do this on AIX 4.2 and lower, the check
  7110 	# below for broken collect2 doesn't work under 4.3+
  7111 	  collect2name=`${CC} -print-prog-name=collect2`
  7112 	  if test -f "$collect2name" && \
  7113   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  7114 	  then
  7115   	  # We have reworked collect2
  7116   	  hardcode_direct=yes
  7117 	  else
  7118   	  # We have old collect2
  7119   	  hardcode_direct=unsupported
  7120   	  # It fails to find uninstalled libraries when the uninstalled
  7121   	  # path is not listed in the libpath.  Setting hardcode_minus_L
  7122   	  # to unsupported forces relinking
  7123   	  hardcode_minus_L=yes
  7124   	  hardcode_libdir_flag_spec='-L$libdir'
  7125   	  hardcode_libdir_separator=
  7126 	  fi
  7127 	esac
  7128 	shared_flag='-shared'
  7129 	if test "$aix_use_runtimelinking" = yes; then
  7130 	  shared_flag="$shared_flag "'${wl}-G'
  7131 	fi
  7132       else
  7133 	# not using gcc
  7134 	if test "$host_cpu" = ia64; then
  7135   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7136   	# chokes on -Wl,-G. The following line is correct:
  7137 	  shared_flag='-G'
  7138 	else
  7139   	if test "$aix_use_runtimelinking" = yes; then
  7140 	    shared_flag='${wl}-G'
  7141 	  else
  7142 	    shared_flag='${wl}-bM:SRE'
  7143   	fi
  7144 	fi
  7145       fi
  7146 
  7147       # It seems that -bexpall does not export symbols beginning with
  7148       # underscore (_), so it is better to generate a list of symbols to export.
  7149       always_export_symbols=yes
  7150       if test "$aix_use_runtimelinking" = yes; then
  7151 	# Warning - without using the other runtime loading flags (-brtl),
  7152 	# -berok will link without error, but may produce a broken library.
  7153 	allow_undefined_flag='-berok'
  7154        # Determine the default libpath from the value encoded in an empty executable.
  7155        cat >conftest.$ac_ext <<_ACEOF
  7156 /* confdefs.h.  */
  7157 _ACEOF
  7158 cat confdefs.h >>conftest.$ac_ext
  7159 cat >>conftest.$ac_ext <<_ACEOF
  7160 /* end confdefs.h.  */
  7161 
  7162 int
  7163 main ()
  7164 {
  7165 
  7166   ;
  7167   return 0;
  7168 }
  7169 _ACEOF
  7170 rm -f conftest.$ac_objext conftest$ac_exeext
  7171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7172   (eval $ac_link) 2>conftest.er1
  7173   ac_status=$?
  7174   grep -v '^ *+' conftest.er1 >conftest.err
  7175   rm -f conftest.er1
  7176   cat conftest.err >&5
  7177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7178   (exit $ac_status); } &&
  7179 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  7180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7181   (eval $ac_try) 2>&5
  7182   ac_status=$?
  7183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7184   (exit $ac_status); }; } &&
  7185 	 { ac_try='test -s conftest$ac_exeext'
  7186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7187   (eval $ac_try) 2>&5
  7188   ac_status=$?
  7189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7190   (exit $ac_status); }; }; then
  7191 
  7192 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  7193 }'`
  7194 # Check for a 64-bit object if we didn't find anything.
  7195 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; }
  7196 }'`; fi
  7197 else
  7198   echo "$as_me: failed program was:" >&5
  7199 sed 's/^/| /' conftest.$ac_ext >&5
  7200 
  7201 fi
  7202 rm -f conftest.err conftest.$ac_objext \
  7203       conftest$ac_exeext conftest.$ac_ext
  7204 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7205 
  7206        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7207 	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"
  7208        else
  7209 	if test "$host_cpu" = ia64; then
  7210 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  7211 	  allow_undefined_flag="-z nodefs"
  7212 	  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"
  7213 	else
  7214 	 # Determine the default libpath from the value encoded in an empty executable.
  7215 	 cat >conftest.$ac_ext <<_ACEOF
  7216 /* confdefs.h.  */
  7217 _ACEOF
  7218 cat confdefs.h >>conftest.$ac_ext
  7219 cat >>conftest.$ac_ext <<_ACEOF
  7220 /* end confdefs.h.  */
  7221 
  7222 int
  7223 main ()
  7224 {
  7225 
  7226   ;
  7227   return 0;
  7228 }
  7229 _ACEOF
  7230 rm -f conftest.$ac_objext conftest$ac_exeext
  7231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7232   (eval $ac_link) 2>conftest.er1
  7233   ac_status=$?
  7234   grep -v '^ *+' conftest.er1 >conftest.err
  7235   rm -f conftest.er1
  7236   cat conftest.err >&5
  7237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7238   (exit $ac_status); } &&
  7239 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  7240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7241   (eval $ac_try) 2>&5
  7242   ac_status=$?
  7243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7244   (exit $ac_status); }; } &&
  7245 	 { ac_try='test -s conftest$ac_exeext'
  7246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7247   (eval $ac_try) 2>&5
  7248   ac_status=$?
  7249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7250   (exit $ac_status); }; }; then
  7251 
  7252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  7253 }'`
  7254 # Check for a 64-bit object if we didn't find anything.
  7255 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; }
  7256 }'`; fi
  7257 else
  7258   echo "$as_me: failed program was:" >&5
  7259 sed 's/^/| /' conftest.$ac_ext >&5
  7260 
  7261 fi
  7262 rm -f conftest.err conftest.$ac_objext \
  7263       conftest$ac_exeext conftest.$ac_ext
  7264 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7265 
  7266 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7267 	  # Warning - without using the other run time loading flags,
  7268 	  # -berok will link without error, but may produce a broken library.
  7269 	  no_undefined_flag=' ${wl}-bernotok'
  7270 	  allow_undefined_flag=' ${wl}-berok'
  7271 	  # -bexpall does not export symbols beginning with underscore (_)
  7272 	  always_export_symbols=yes
  7273 	  # Exported symbols can be pulled into shared objects from archives
  7274 	  whole_archive_flag_spec=' '
  7275 	  archive_cmds_need_lc=yes
  7276 	  # This is similar to how AIX traditionally builds its shared libraries.
  7277 	  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'
  7278 	fi
  7279       fi
  7280       ;;
  7281 
  7282     amigaos*)
  7283       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)'
  7284       hardcode_libdir_flag_spec='-L$libdir'
  7285       hardcode_minus_L=yes
  7286       # see comment about different semantics on the GNU ld section
  7287       ld_shlibs=no
  7288       ;;
  7289 
  7290     bsdi[45]*)
  7291       export_dynamic_flag_spec=-rdynamic
  7292       ;;
  7293 
  7294     cygwin* | mingw* | pw32*)
  7295       # When not using gcc, we currently assume that we are using
  7296       # Microsoft Visual C++.
  7297       # hardcode_libdir_flag_spec is actually meaningless, as there is
  7298       # no search path for DLLs.
  7299       hardcode_libdir_flag_spec=' '
  7300       allow_undefined_flag=unsupported
  7301       # Tell ltmain to make .lib files, not .a files.
  7302       libext=lib
  7303       # Tell ltmain to make .dll files, not .so files.
  7304       shrext_cmds=".dll"
  7305       # FIXME: Setting linknames here is a bad hack.
  7306       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  7307       # The linker will automatically build a .lib file if we build a DLL.
  7308       old_archive_From_new_cmds='true'
  7309       # FIXME: Should let the user specify the lib program.
  7310       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  7311       fix_srcfile_path='`cygpath -w "$srcfile"`'
  7312       enable_shared_with_static_runtimes=yes
  7313       ;;
  7314 
  7315     darwin* | rhapsody*)
  7316       case $host_os in
  7317         rhapsody* | darwin1.[012])
  7318          allow_undefined_flag='${wl}-undefined ${wl}suppress'
  7319          ;;
  7320        *) # Darwin 1.3 on
  7321          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  7322            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  7323          else
  7324            case ${MACOSX_DEPLOYMENT_TARGET} in
  7325              10.[012])
  7326                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  7327                ;;
  7328              10.*)
  7329                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  7330                ;;
  7331            esac
  7332          fi
  7333          ;;
  7334       esac
  7335       archive_cmds_need_lc=no
  7336       hardcode_direct=no
  7337       hardcode_automatic=yes
  7338       hardcode_shlibpath_var=unsupported
  7339       whole_archive_flag_spec=''
  7340       link_all_deplibs=yes
  7341     if test "$GCC" = yes ; then
  7342     	output_verbose_link_cmd='echo'
  7343         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  7344       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  7345       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  7346       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}'
  7347       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}'
  7348     else
  7349       case $cc_basename in
  7350         xlc*)
  7351          output_verbose_link_cmd='echo'
  7352          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  7353          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  7354           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  7355          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}'
  7356           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}'
  7357           ;;
  7358        *)
  7359          ld_shlibs=no
  7360           ;;
  7361       esac
  7362     fi
  7363       ;;
  7364 
  7365     dgux*)
  7366       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7367       hardcode_libdir_flag_spec='-L$libdir'
  7368       hardcode_shlibpath_var=no
  7369       ;;
  7370 
  7371     freebsd1*)
  7372       ld_shlibs=no
  7373       ;;
  7374 
  7375     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  7376     # support.  Future versions do this automatically, but an explicit c++rt0.o
  7377     # does not break anything, and helps significantly (at the cost of a little
  7378     # extra space).
  7379     freebsd2.2*)
  7380       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  7381       hardcode_libdir_flag_spec='-R$libdir'
  7382       hardcode_direct=yes
  7383       hardcode_shlibpath_var=no
  7384       ;;
  7385 
  7386     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  7387     freebsd2*)
  7388       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7389       hardcode_direct=yes
  7390       hardcode_minus_L=yes
  7391       hardcode_shlibpath_var=no
  7392       ;;
  7393 
  7394     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  7395     freebsd* | kfreebsd*-gnu | dragonfly*)
  7396       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  7397       hardcode_libdir_flag_spec='-R$libdir'
  7398       hardcode_direct=yes
  7399       hardcode_shlibpath_var=no
  7400       ;;
  7401 
  7402     hpux9*)
  7403       if test "$GCC" = yes; then
  7404 	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'
  7405       else
  7406 	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'
  7407       fi
  7408       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7409       hardcode_libdir_separator=:
  7410       hardcode_direct=yes
  7411 
  7412       # hardcode_minus_L: Not really in the search PATH,
  7413       # but as the default location of the library.
  7414       hardcode_minus_L=yes
  7415       export_dynamic_flag_spec='${wl}-E'
  7416       ;;
  7417 
  7418     hpux10* | hpux11*)
  7419       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7420 	case $host_cpu in
  7421 	hppa*64*|ia64*)
  7422 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7423 	  ;;
  7424 	*)
  7425 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7426 	  ;;
  7427 	esac
  7428       else
  7429 	case $host_cpu in
  7430 	hppa*64*|ia64*)
  7431 	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
  7432 	  ;;
  7433 	*)
  7434 	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  7435 	  ;;
  7436 	esac
  7437       fi
  7438       if test "$with_gnu_ld" = no; then
  7439 	case $host_cpu in
  7440 	hppa*64*)
  7441 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7442 	  hardcode_libdir_flag_spec_ld='+b $libdir'
  7443 	  hardcode_libdir_separator=:
  7444 	  hardcode_direct=no
  7445 	  hardcode_shlibpath_var=no
  7446 	  ;;
  7447 	ia64*)
  7448 	  hardcode_libdir_flag_spec='-L$libdir'
  7449 	  hardcode_direct=no
  7450 	  hardcode_shlibpath_var=no
  7451 
  7452 	  # hardcode_minus_L: Not really in the search PATH,
  7453 	  # but as the default location of the library.
  7454 	  hardcode_minus_L=yes
  7455 	  ;;
  7456 	*)
  7457 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7458 	  hardcode_libdir_separator=:
  7459 	  hardcode_direct=yes
  7460 	  export_dynamic_flag_spec='${wl}-E'
  7461 
  7462 	  # hardcode_minus_L: Not really in the search PATH,
  7463 	  # but as the default location of the library.
  7464 	  hardcode_minus_L=yes
  7465 	  ;;
  7466 	esac
  7467       fi
  7468       ;;
  7469 
  7470     irix5* | irix6* | nonstopux*)
  7471       if test "$GCC" = yes; then
  7472 	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'
  7473       else
  7474 	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'
  7475 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7476       fi
  7477       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7478       hardcode_libdir_separator=:
  7479       link_all_deplibs=yes
  7480       ;;
  7481 
  7482     netbsd*)
  7483       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  7484 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  7485       else
  7486 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  7487       fi
  7488       hardcode_libdir_flag_spec='-R$libdir'
  7489       hardcode_direct=yes
  7490       hardcode_shlibpath_var=no
  7491       ;;
  7492 
  7493     newsos6)
  7494       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7495       hardcode_direct=yes
  7496       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7497       hardcode_libdir_separator=:
  7498       hardcode_shlibpath_var=no
  7499       ;;
  7500 
  7501     openbsd*)
  7502       hardcode_direct=yes
  7503       hardcode_shlibpath_var=no
  7504       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  7505 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7506 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  7507 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7508 	export_dynamic_flag_spec='${wl}-E'
  7509       else
  7510        case $host_os in
  7511 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  7512 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7513 	   hardcode_libdir_flag_spec='-R$libdir'
  7514 	   ;;
  7515 	 *)
  7516 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7517 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7518 	   ;;
  7519        esac
  7520       fi
  7521       ;;
  7522 
  7523     os2*)
  7524       hardcode_libdir_flag_spec='-L$libdir'
  7525       hardcode_minus_L=yes
  7526       allow_undefined_flag=unsupported
  7527       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'
  7528       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  7529       ;;
  7530 
  7531     osf3*)
  7532       if test "$GCC" = yes; then
  7533 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7534 	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'
  7535       else
  7536 	allow_undefined_flag=' -expect_unresolved \*'
  7537 	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'
  7538       fi
  7539       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7540       hardcode_libdir_separator=:
  7541       ;;
  7542 
  7543     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  7544       if test "$GCC" = yes; then
  7545 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7546 	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'
  7547 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7548       else
  7549 	allow_undefined_flag=' -expect_unresolved \*'
  7550 	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'
  7551 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  7552 	$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'
  7553 
  7554 	# Both c and cxx compiler support -rpath directly
  7555 	hardcode_libdir_flag_spec='-rpath $libdir'
  7556       fi
  7557       hardcode_libdir_separator=:
  7558       ;;
  7559 
  7560     sco3.2v5*)
  7561       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7562       hardcode_shlibpath_var=no
  7563       export_dynamic_flag_spec='${wl}-Bexport'
  7564       runpath_var=LD_RUN_PATH
  7565       hardcode_runpath_var=yes
  7566       ;;
  7567 
  7568     solaris*)
  7569       no_undefined_flag=' -z text'
  7570       if test "$GCC" = yes; then
  7571 	wlarc='${wl}'
  7572 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7573 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7574 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  7575       else
  7576 	wlarc=''
  7577 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7578 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7579   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  7580       fi
  7581       hardcode_libdir_flag_spec='-R$libdir'
  7582       hardcode_shlibpath_var=no
  7583       case $host_os in
  7584       solaris2.[0-5] | solaris2.[0-5].*) ;;
  7585       *)
  7586  	# The compiler driver will combine linker options so we
  7587  	# cannot just pass the convience library names through
  7588  	# without $wl, iff we do not link with $LD.
  7589  	# Luckily, gcc supports the same syntax we need for Sun Studio.
  7590  	# Supported since Solaris 2.6 (maybe 2.5.1?)
  7591  	case $wlarc in
  7592  	'')
  7593  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  7594  	*)
  7595  	  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' ;;
  7596  	esac ;;
  7597       esac
  7598       link_all_deplibs=yes
  7599       ;;
  7600 
  7601     sunos4*)
  7602       if test "x$host_vendor" = xsequent; then
  7603 	# Use $CC to link under sequent, because it throws in some extra .o
  7604 	# files that make .init and .fini sections work.
  7605 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  7606       else
  7607 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  7608       fi
  7609       hardcode_libdir_flag_spec='-L$libdir'
  7610       hardcode_direct=yes
  7611       hardcode_minus_L=yes
  7612       hardcode_shlibpath_var=no
  7613       ;;
  7614 
  7615     sysv4)
  7616       case $host_vendor in
  7617 	sni)
  7618 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7619 	  hardcode_direct=yes # is this really true???
  7620 	;;
  7621 	siemens)
  7622 	  ## LD is ld it makes a PLAMLIB
  7623 	  ## CC just makes a GrossModule.
  7624 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  7625 	  reload_cmds='$CC -r -o $output$reload_objs'
  7626 	  hardcode_direct=no
  7627         ;;
  7628 	motorola)
  7629 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7630 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  7631 	;;
  7632       esac
  7633       runpath_var='LD_RUN_PATH'
  7634       hardcode_shlibpath_var=no
  7635       ;;
  7636 
  7637     sysv4.3*)
  7638       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7639       hardcode_shlibpath_var=no
  7640       export_dynamic_flag_spec='-Bexport'
  7641       ;;
  7642 
  7643     sysv4*MP*)
  7644       if test -d /usr/nec; then
  7645 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7646 	hardcode_shlibpath_var=no
  7647 	runpath_var=LD_RUN_PATH
  7648 	hardcode_runpath_var=yes
  7649 	ld_shlibs=yes
  7650       fi
  7651       ;;
  7652 
  7653     sysv4.2uw2*)
  7654       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  7655       hardcode_direct=yes
  7656       hardcode_minus_L=no
  7657       hardcode_shlibpath_var=no
  7658       hardcode_runpath_var=yes
  7659       runpath_var=LD_RUN_PATH
  7660       ;;
  7661 
  7662    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
  7663       no_undefined_flag='${wl}-z ${wl}text'
  7664       if test "$GCC" = yes; then
  7665 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7666       else
  7667 	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7668       fi
  7669       runpath_var='LD_RUN_PATH'
  7670       hardcode_shlibpath_var=no
  7671       ;;
  7672 
  7673     sysv5*)
  7674       no_undefined_flag=' -z text'
  7675       # $CC -shared without GNU ld will not create a library from C++
  7676       # object files and a static libstdc++, better avoid it by now
  7677       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7678       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  7679   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  7680       hardcode_libdir_flag_spec=
  7681       hardcode_shlibpath_var=no
  7682       runpath_var='LD_RUN_PATH'
  7683       ;;
  7684 
  7685     uts4*)
  7686       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7687       hardcode_libdir_flag_spec='-L$libdir'
  7688       hardcode_shlibpath_var=no
  7689       ;;
  7690 
  7691     *)
  7692       ld_shlibs=no
  7693       ;;
  7694     esac
  7695   fi
  7696 
  7697 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  7698 echo "${ECHO_T}$ld_shlibs" >&6
  7699 test "$ld_shlibs" = no && can_build_shared=no
  7700 
  7701 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  7702 if test "$GCC" = yes; then
  7703   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  7704 fi
  7705 
  7706 #
  7707 # Do we need to explicitly link libc?
  7708 #
  7709 case "x$archive_cmds_need_lc" in
  7710 x|xyes)
  7711   # Assume -lc should be added
  7712   archive_cmds_need_lc=yes
  7713 
  7714   if test "$enable_shared" = yes && test "$GCC" = yes; then
  7715     case $archive_cmds in
  7716     *'~'*)
  7717       # FIXME: we may have to deal with multi-command sequences.
  7718       ;;
  7719     '$CC '*)
  7720       # Test whether the compiler implicitly links with -lc since on some
  7721       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  7722       # to ld, don't add -lc before -lgcc.
  7723       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  7724 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
  7725       $rm conftest*
  7726       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  7727 
  7728       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7729   (eval $ac_compile) 2>&5
  7730   ac_status=$?
  7731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7732   (exit $ac_status); } 2>conftest.err; then
  7733         soname=conftest
  7734         lib=conftest
  7735         libobjs=conftest.$ac_objext
  7736         deplibs=
  7737         wl=$lt_prog_compiler_wl
  7738         compiler_flags=-v
  7739         linker_flags=-v
  7740         verstring=
  7741         output_objdir=.
  7742         libname=conftest
  7743         lt_save_allow_undefined_flag=$allow_undefined_flag
  7744         allow_undefined_flag=
  7745         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  7746   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  7747   ac_status=$?
  7748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7749   (exit $ac_status); }
  7750         then
  7751 	  archive_cmds_need_lc=no
  7752         else
  7753 	  archive_cmds_need_lc=yes
  7754         fi
  7755         allow_undefined_flag=$lt_save_allow_undefined_flag
  7756       else
  7757         cat conftest.err 1>&5
  7758       fi
  7759       $rm conftest*
  7760       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  7761 echo "${ECHO_T}$archive_cmds_need_lc" >&6
  7762       ;;
  7763     esac
  7764   fi
  7765   ;;
  7766 esac
  7767 
  7768 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  7769 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
  7770 library_names_spec=
  7771 libname_spec='lib$name'
  7772 soname_spec=
  7773 shrext_cmds=".so"
  7774 postinstall_cmds=
  7775 postuninstall_cmds=
  7776 finish_cmds=
  7777 finish_eval=
  7778 shlibpath_var=
  7779 shlibpath_overrides_runpath=unknown
  7780 version_type=none
  7781 dynamic_linker="$host_os ld.so"
  7782 sys_lib_dlsearch_path_spec="/lib /usr/lib"
  7783 if test "$GCC" = yes; then
  7784   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7785   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  7786     # if the path contains ";" then we assume it to be the separator
  7787     # otherwise default to the standard path separator (i.e. ":") - it is
  7788     # assumed that no part of a normal pathname contains ";" but that should
  7789     # okay in the real world where ";" in dirpaths is itself problematic.
  7790     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  7791   else
  7792     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  7793   fi
  7794 else
  7795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  7796 fi
  7797 need_lib_prefix=unknown
  7798 hardcode_into_libs=no
  7799 
  7800 # when you set need_version to no, make sure it does not cause -set_version
  7801 # flags to be left without arguments
  7802 need_version=unknown
  7803 
  7804 case $host_os in
  7805 aix3*)
  7806   version_type=linux
  7807   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  7808   shlibpath_var=LIBPATH
  7809 
  7810   # AIX 3 has no versioning support, so we append a major version to the name.
  7811   soname_spec='${libname}${release}${shared_ext}$major'
  7812   ;;
  7813 
  7814 aix4* | aix5*)
  7815   version_type=linux
  7816   need_lib_prefix=no
  7817   need_version=no
  7818   hardcode_into_libs=yes
  7819   if test "$host_cpu" = ia64; then
  7820     # AIX 5 supports IA64
  7821     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  7822     shlibpath_var=LD_LIBRARY_PATH
  7823   else
  7824     # With GCC up to 2.95.x, collect2 would create an import file
  7825     # for dependence libraries.  The import file would start with
  7826     # the line `#! .'.  This would cause the generated library to
  7827     # depend on `.', always an invalid library.  This was fixed in
  7828     # development snapshots of GCC prior to 3.0.
  7829     case $host_os in
  7830       aix4 | aix4.[01] | aix4.[01].*)
  7831       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  7832 	   echo ' yes '
  7833 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  7834 	:
  7835       else
  7836 	can_build_shared=no
  7837       fi
  7838       ;;
  7839     esac
  7840     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  7841     # soname into executable. Probably we can add versioning support to
  7842     # collect2, so additional links can be useful in future.
  7843     if test "$aix_use_runtimelinking" = yes; then
  7844       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  7845       # instead of lib<name>.a to let people know that these are not
  7846       # typical AIX shared libraries.
  7847       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7848     else
  7849       # We preserve .a as extension for shared libraries through AIX4.2
  7850       # and later when we are not doing run time linking.
  7851       library_names_spec='${libname}${release}.a $libname.a'
  7852       soname_spec='${libname}${release}${shared_ext}$major'
  7853     fi
  7854     shlibpath_var=LIBPATH
  7855   fi
  7856   ;;
  7857 
  7858 amigaos*)
  7859   library_names_spec='$libname.ixlibrary $libname.a'
  7860   # Create ${libname}_ixlibrary.a entries in /sys/libs.
  7861   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'
  7862   ;;
  7863 
  7864 beos*)
  7865   library_names_spec='${libname}${shared_ext}'
  7866   dynamic_linker="$host_os ld.so"
  7867   shlibpath_var=LIBRARY_PATH
  7868   ;;
  7869 
  7870 bsdi[45]*)
  7871   version_type=linux
  7872   need_version=no
  7873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7874   soname_spec='${libname}${release}${shared_ext}$major'
  7875   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  7876   shlibpath_var=LD_LIBRARY_PATH
  7877   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  7878   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  7879   # the default ld.so.conf also contains /usr/contrib/lib and
  7880   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  7881   # libtool to hard-code these into programs
  7882   ;;
  7883 
  7884 cygwin* | mingw* | pw32*)
  7885   version_type=windows
  7886   shrext_cmds=".dll"
  7887   need_version=no
  7888   need_lib_prefix=no
  7889 
  7890   case $GCC,$host_os in
  7891   yes,cygwin* | yes,mingw* | yes,pw32*)
  7892     library_names_spec='$libname.dll.a'
  7893     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  7894     postinstall_cmds='base_file=`basename \${file}`~
  7895       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  7896       dldir=$destdir/`dirname \$dlpath`~
  7897       test -d \$dldir || mkdir -p \$dldir~
  7898       $install_prog $dir/$dlname \$dldir/$dlname~
  7899       chmod a+x \$dldir/$dlname'
  7900     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  7901       dlpath=$dir/\$dldll~
  7902        $rm \$dlpath'
  7903     shlibpath_overrides_runpath=yes
  7904 
  7905     case $host_os in
  7906     cygwin*)
  7907       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  7908       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7909       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  7910       ;;
  7911     mingw*)
  7912       # MinGW DLLs use traditional 'lib' prefix
  7913       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7914       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7915       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  7916         # It is most probably a Windows format PATH printed by
  7917         # mingw gcc, but we are running on Cygwin. Gcc prints its search
  7918         # path with ; separators, and with drive letters. We can handle the
  7919         # drive letters (cygwin fileutils understands them), so leave them,
  7920         # especially as we might pass files found there to a mingw objdump,
  7921         # which wouldn't understand a cygwinified path. Ahh.
  7922         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  7923       else
  7924         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  7925       fi
  7926       ;;
  7927     pw32*)
  7928       # pw32 DLLs use 'pw' prefix rather than 'lib'
  7929       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7930       ;;
  7931     esac
  7932     ;;
  7933 
  7934   *)
  7935     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  7936     ;;
  7937   esac
  7938   dynamic_linker='Win32 ld.exe'
  7939   # FIXME: first we should search . and the directory the executable is in
  7940   shlibpath_var=PATH
  7941   ;;
  7942 
  7943 darwin* | rhapsody*)
  7944   dynamic_linker="$host_os dyld"
  7945   version_type=darwin
  7946   need_lib_prefix=no
  7947   need_version=no
  7948   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  7949   soname_spec='${libname}${release}${major}$shared_ext'
  7950   shlibpath_overrides_runpath=yes
  7951   shlibpath_var=DYLD_LIBRARY_PATH
  7952   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  7953   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  7954   if test "$GCC" = yes; then
  7955     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"`
  7956   else
  7957     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  7958   fi
  7959   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  7960   ;;
  7961 
  7962 dgux*)
  7963   version_type=linux
  7964   need_lib_prefix=no
  7965   need_version=no
  7966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  7967   soname_spec='${libname}${release}${shared_ext}$major'
  7968   shlibpath_var=LD_LIBRARY_PATH
  7969   ;;
  7970 
  7971 freebsd1*)
  7972   dynamic_linker=no
  7973   ;;
  7974 
  7975 kfreebsd*-gnu)
  7976   version_type=linux
  7977   need_lib_prefix=no
  7978   need_version=no
  7979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  7980   soname_spec='${libname}${release}${shared_ext}$major'
  7981   shlibpath_var=LD_LIBRARY_PATH
  7982   shlibpath_overrides_runpath=no
  7983   hardcode_into_libs=yes
  7984   dynamic_linker='GNU ld.so'
  7985   ;;
  7986 
  7987 freebsd* | dragonfly*)
  7988   # DragonFly does not have aout.  When/if they implement a new
  7989   # versioning mechanism, adjust this.
  7990   if test -x /usr/bin/objformat; then
  7991     objformat=`/usr/bin/objformat`
  7992   else
  7993     case $host_os in
  7994     freebsd[123]*) objformat=aout ;;
  7995     *) objformat=elf ;;
  7996     esac
  7997   fi
  7998   version_type=freebsd-$objformat
  7999   case $version_type in
  8000     freebsd-elf*)
  8001       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8002       need_version=no
  8003       need_lib_prefix=no
  8004       ;;
  8005     freebsd-*)
  8006       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  8007       need_version=yes
  8008       ;;
  8009   esac
  8010   shlibpath_var=LD_LIBRARY_PATH
  8011   case $host_os in
  8012   freebsd2*)
  8013     shlibpath_overrides_runpath=yes
  8014     ;;
  8015   freebsd3.[01]* | freebsdelf3.[01]*)
  8016     shlibpath_overrides_runpath=yes
  8017     hardcode_into_libs=yes
  8018     ;;
  8019   *) # from 3.2 on
  8020     shlibpath_overrides_runpath=no
  8021     hardcode_into_libs=yes
  8022     ;;
  8023   esac
  8024   ;;
  8025 
  8026 gnu*)
  8027   version_type=linux
  8028   need_lib_prefix=no
  8029   need_version=no
  8030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8031   soname_spec='${libname}${release}${shared_ext}$major'
  8032   shlibpath_var=LD_LIBRARY_PATH
  8033   hardcode_into_libs=yes
  8034   ;;
  8035 
  8036 hpux9* | hpux10* | hpux11*)
  8037   # Give a soname corresponding to the major version so that dld.sl refuses to
  8038   # link against other versions.
  8039   version_type=sunos
  8040   need_lib_prefix=no
  8041   need_version=no
  8042   case $host_cpu in
  8043   ia64*)
  8044     shrext_cmds='.so'
  8045     hardcode_into_libs=yes
  8046     dynamic_linker="$host_os dld.so"
  8047     shlibpath_var=LD_LIBRARY_PATH
  8048     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8049     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8050     soname_spec='${libname}${release}${shared_ext}$major'
  8051     if test "X$HPUX_IA64_MODE" = X32; then
  8052       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  8053     else
  8054       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  8055     fi
  8056     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8057     ;;
  8058    hppa*64*)
  8059      shrext_cmds='.sl'
  8060      hardcode_into_libs=yes
  8061      dynamic_linker="$host_os dld.sl"
  8062      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  8063      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8064      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8065      soname_spec='${libname}${release}${shared_ext}$major'
  8066      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  8067      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8068      ;;
  8069    *)
  8070     shrext_cmds='.sl'
  8071     dynamic_linker="$host_os dld.sl"
  8072     shlibpath_var=SHLIB_PATH
  8073     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  8074     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8075     soname_spec='${libname}${release}${shared_ext}$major'
  8076     ;;
  8077   esac
  8078   # HP-UX runs *really* slowly unless shared libraries are mode 555.
  8079   postinstall_cmds='chmod 555 $lib'
  8080   ;;
  8081 
  8082 irix5* | irix6* | nonstopux*)
  8083   case $host_os in
  8084     nonstopux*) version_type=nonstopux ;;
  8085     *)
  8086 	if test "$lt_cv_prog_gnu_ld" = yes; then
  8087 		version_type=linux
  8088 	else
  8089 		version_type=irix
  8090 	fi ;;
  8091   esac
  8092   need_lib_prefix=no
  8093   need_version=no
  8094   soname_spec='${libname}${release}${shared_ext}$major'
  8095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  8096   case $host_os in
  8097   irix5* | nonstopux*)
  8098     libsuff= shlibsuff=
  8099     ;;
  8100   *)
  8101     case $LD in # libtool.m4 will add one of these switches to LD
  8102     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  8103       libsuff= shlibsuff= libmagic=32-bit;;
  8104     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  8105       libsuff=32 shlibsuff=N32 libmagic=N32;;
  8106     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  8107       libsuff=64 shlibsuff=64 libmagic=64-bit;;
  8108     *) libsuff= shlibsuff= libmagic=never-match;;
  8109     esac
  8110     ;;
  8111   esac
  8112   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  8113   shlibpath_overrides_runpath=no
  8114   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  8115   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  8116   hardcode_into_libs=yes
  8117   ;;
  8118 
  8119 # No shared lib support for Linux oldld, aout, or coff.
  8120 linux*oldld* | linux*aout* | linux*coff*)
  8121   dynamic_linker=no
  8122   ;;
  8123 
  8124 # This must be Linux ELF.
  8125 linux*)
  8126   version_type=linux
  8127   need_lib_prefix=no
  8128   need_version=no
  8129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8130   soname_spec='${libname}${release}${shared_ext}$major'
  8131   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8132   shlibpath_var=LD_LIBRARY_PATH
  8133   shlibpath_overrides_runpath=no
  8134   # This implies no fast_install, which is unacceptable.
  8135   # Some rework will be needed to allow for fast_install
  8136   # before this can be enabled.
  8137   hardcode_into_libs=yes
  8138 
  8139   # Append ld.so.conf contents to the search path
  8140   if test -f /etc/ld.so.conf; then
  8141     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' ' '`
  8142     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  8143   fi
  8144 
  8145   # We used to test for /lib/ld.so.1 and disable shared libraries on
  8146   # powerpc, because MkLinux only supported shared libraries with the
  8147   # GNU dynamic linker.  Since this was broken with cross compilers,
  8148   # most powerpc-linux boxes support dynamic linking these days and
  8149   # people can always --disable-shared, the test was removed, and we
  8150   # assume the GNU/Linux dynamic linker is in use.
  8151   dynamic_linker='GNU/Linux ld.so'
  8152   ;;
  8153 
  8154 knetbsd*-gnu)
  8155   version_type=linux
  8156   need_lib_prefix=no
  8157   need_version=no
  8158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8159   soname_spec='${libname}${release}${shared_ext}$major'
  8160   shlibpath_var=LD_LIBRARY_PATH
  8161   shlibpath_overrides_runpath=no
  8162   hardcode_into_libs=yes
  8163   dynamic_linker='GNU ld.so'
  8164   ;;
  8165 
  8166 netbsd*)
  8167   version_type=sunos
  8168   need_lib_prefix=no
  8169   need_version=no
  8170   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  8171     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8172     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8173     dynamic_linker='NetBSD (a.out) ld.so'
  8174   else
  8175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8176     soname_spec='${libname}${release}${shared_ext}$major'
  8177     dynamic_linker='NetBSD ld.elf_so'
  8178   fi
  8179   shlibpath_var=LD_LIBRARY_PATH
  8180   shlibpath_overrides_runpath=yes
  8181   hardcode_into_libs=yes
  8182   ;;
  8183 
  8184 newsos6)
  8185   version_type=linux
  8186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8187   shlibpath_var=LD_LIBRARY_PATH
  8188   shlibpath_overrides_runpath=yes
  8189   ;;
  8190 
  8191 nto-qnx*)
  8192   version_type=linux
  8193   need_lib_prefix=no
  8194   need_version=no
  8195   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8196   soname_spec='${libname}${release}${shared_ext}$major'
  8197   shlibpath_var=LD_LIBRARY_PATH
  8198   shlibpath_overrides_runpath=yes
  8199   ;;
  8200 
  8201 openbsd*)
  8202   version_type=sunos
  8203   need_lib_prefix=no
  8204   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  8205   case $host_os in
  8206     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  8207     *)                         need_version=no  ;;
  8208   esac
  8209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8210   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8211   shlibpath_var=LD_LIBRARY_PATH
  8212   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8213     case $host_os in
  8214       openbsd2.[89] | openbsd2.[89].*)
  8215 	shlibpath_overrides_runpath=no
  8216 	;;
  8217       *)
  8218 	shlibpath_overrides_runpath=yes
  8219 	;;
  8220       esac
  8221   else
  8222     shlibpath_overrides_runpath=yes
  8223   fi
  8224   ;;
  8225 
  8226 os2*)
  8227   libname_spec='$name'
  8228   shrext_cmds=".dll"
  8229   need_lib_prefix=no
  8230   library_names_spec='$libname${shared_ext} $libname.a'
  8231   dynamic_linker='OS/2 ld.exe'
  8232   shlibpath_var=LIBPATH
  8233   ;;
  8234 
  8235 osf3* | osf4* | osf5*)
  8236   version_type=osf
  8237   need_lib_prefix=no
  8238   need_version=no
  8239   soname_spec='${libname}${release}${shared_ext}$major'
  8240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8241   shlibpath_var=LD_LIBRARY_PATH
  8242   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  8243   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  8244   ;;
  8245 
  8246 sco3.2v5*)
  8247   version_type=osf
  8248   soname_spec='${libname}${release}${shared_ext}$major'
  8249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8250   shlibpath_var=LD_LIBRARY_PATH
  8251   ;;
  8252 
  8253 solaris*)
  8254   version_type=linux
  8255   need_lib_prefix=no
  8256   need_version=no
  8257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8258   soname_spec='${libname}${release}${shared_ext}$major'
  8259   shlibpath_var=LD_LIBRARY_PATH
  8260   shlibpath_overrides_runpath=yes
  8261   hardcode_into_libs=yes
  8262   # ldd complains unless libraries are executable
  8263   postinstall_cmds='chmod +x $lib'
  8264   ;;
  8265 
  8266 sunos4*)
  8267   version_type=sunos
  8268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8269   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  8270   shlibpath_var=LD_LIBRARY_PATH
  8271   shlibpath_overrides_runpath=yes
  8272   if test "$with_gnu_ld" = yes; then
  8273     need_lib_prefix=no
  8274   fi
  8275   need_version=yes
  8276   ;;
  8277 
  8278 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8279   version_type=linux
  8280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8281   soname_spec='${libname}${release}${shared_ext}$major'
  8282   shlibpath_var=LD_LIBRARY_PATH
  8283   case $host_vendor in
  8284     sni)
  8285       shlibpath_overrides_runpath=no
  8286       need_lib_prefix=no
  8287       export_dynamic_flag_spec='${wl}-Blargedynsym'
  8288       runpath_var=LD_RUN_PATH
  8289       ;;
  8290     siemens)
  8291       need_lib_prefix=no
  8292       ;;
  8293     motorola)
  8294       need_lib_prefix=no
  8295       need_version=no
  8296       shlibpath_overrides_runpath=no
  8297       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  8298       ;;
  8299   esac
  8300   ;;
  8301 
  8302 sysv4*MP*)
  8303   if test -d /usr/nec ;then
  8304     version_type=linux
  8305     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  8306     soname_spec='$libname${shared_ext}.$major'
  8307     shlibpath_var=LD_LIBRARY_PATH
  8308   fi
  8309   ;;
  8310 
  8311 uts4*)
  8312   version_type=linux
  8313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8314   soname_spec='${libname}${release}${shared_ext}$major'
  8315   shlibpath_var=LD_LIBRARY_PATH
  8316   ;;
  8317 
  8318 *)
  8319   dynamic_linker=no
  8320   ;;
  8321 esac
  8322 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  8323 echo "${ECHO_T}$dynamic_linker" >&6
  8324 test "$dynamic_linker" = no && can_build_shared=no
  8325 
  8326 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  8327 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
  8328 hardcode_action=
  8329 if test -n "$hardcode_libdir_flag_spec" || \
  8330    test -n "$runpath_var" || \
  8331    test "X$hardcode_automatic" = "Xyes" ; then
  8332 
  8333   # We can hardcode non-existant directories.
  8334   if test "$hardcode_direct" != no &&
  8335      # If the only mechanism to avoid hardcoding is shlibpath_var, we
  8336      # have to relink, otherwise we might link with an installed library
  8337      # when we should be linking with a yet-to-be-installed one
  8338      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  8339      test "$hardcode_minus_L" != no; then
  8340     # Linking always hardcodes the temporary library directory.
  8341     hardcode_action=relink
  8342   else
  8343     # We can link without hardcoding, and we can hardcode nonexisting dirs.
  8344     hardcode_action=immediate
  8345   fi
  8346 else
  8347   # We cannot hardcode anything, or else we can only hardcode existing
  8348   # directories.
  8349   hardcode_action=unsupported
  8350 fi
  8351 echo "$as_me:$LINENO: result: $hardcode_action" >&5
  8352 echo "${ECHO_T}$hardcode_action" >&6
  8353 
  8354 if test "$hardcode_action" = relink; then
  8355   # Fast installation is not supported
  8356   enable_fast_install=no
  8357 elif test "$shlibpath_overrides_runpath" = yes ||
  8358      test "$enable_shared" = no; then
  8359   # Fast installation is not necessary
  8360   enable_fast_install=needless
  8361 fi
  8362 
  8363 striplib=
  8364 old_striplib=
  8365 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  8366 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
  8367 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  8368   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  8369   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  8370   echo "$as_me:$LINENO: result: yes" >&5
  8371 echo "${ECHO_T}yes" >&6
  8372 else
  8373 # FIXME - insert some real tests, host_os isn't really good enough
  8374   case $host_os in
  8375    darwin*)
  8376        if test -n "$STRIP" ; then
  8377          striplib="$STRIP -x"
  8378          echo "$as_me:$LINENO: result: yes" >&5
  8379 echo "${ECHO_T}yes" >&6
  8380        else
  8381   echo "$as_me:$LINENO: result: no" >&5
  8382 echo "${ECHO_T}no" >&6
  8383 fi
  8384        ;;
  8385    *)
  8386   echo "$as_me:$LINENO: result: no" >&5
  8387 echo "${ECHO_T}no" >&6
  8388     ;;
  8389   esac
  8390 fi
  8391 
  8392 if test "x$enable_dlopen" != xyes; then
  8393   enable_dlopen=unknown
  8394   enable_dlopen_self=unknown
  8395   enable_dlopen_self_static=unknown
  8396 else
  8397   lt_cv_dlopen=no
  8398   lt_cv_dlopen_libs=
  8399 
  8400   case $host_os in
  8401   beos*)
  8402     lt_cv_dlopen="load_add_on"
  8403     lt_cv_dlopen_libs=
  8404     lt_cv_dlopen_self=yes
  8405     ;;
  8406 
  8407   mingw* | pw32*)
  8408     lt_cv_dlopen="LoadLibrary"
  8409     lt_cv_dlopen_libs=
  8410    ;;
  8411 
  8412   cygwin*)
  8413     lt_cv_dlopen="dlopen"
  8414     lt_cv_dlopen_libs=
  8415    ;;
  8416 
  8417   darwin*)
  8418   # if libdl is installed we need to link against it
  8419     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  8420 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
  8421 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  8422   echo $ECHO_N "(cached) $ECHO_C" >&6
  8423 else
  8424   ac_check_lib_save_LIBS=$LIBS
  8425 LIBS="-ldl  $LIBS"
  8426 cat >conftest.$ac_ext <<_ACEOF
  8427 /* confdefs.h.  */
  8428 _ACEOF
  8429 cat confdefs.h >>conftest.$ac_ext
  8430 cat >>conftest.$ac_ext <<_ACEOF
  8431 /* end confdefs.h.  */
  8432 
  8433 /* Override any gcc2 internal prototype to avoid an error.  */
  8434 #ifdef __cplusplus
  8435 extern "C"
  8436 #endif
  8437 /* We use char because int might match the return type of a gcc2
  8438    builtin and then its argument prototype would still apply.  */
  8439 char dlopen ();
  8440 int
  8441 main ()
  8442 {
  8443 dlopen ();
  8444   ;
  8445   return 0;
  8446 }
  8447 _ACEOF
  8448 rm -f conftest.$ac_objext conftest$ac_exeext
  8449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8450   (eval $ac_link) 2>conftest.er1
  8451   ac_status=$?
  8452   grep -v '^ *+' conftest.er1 >conftest.err
  8453   rm -f conftest.er1
  8454   cat conftest.err >&5
  8455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8456   (exit $ac_status); } &&
  8457 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8459   (eval $ac_try) 2>&5
  8460   ac_status=$?
  8461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8462   (exit $ac_status); }; } &&
  8463 	 { ac_try='test -s conftest$ac_exeext'
  8464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8465   (eval $ac_try) 2>&5
  8466   ac_status=$?
  8467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8468   (exit $ac_status); }; }; then
  8469   ac_cv_lib_dl_dlopen=yes
  8470 else
  8471   echo "$as_me: failed program was:" >&5
  8472 sed 's/^/| /' conftest.$ac_ext >&5
  8473 
  8474 ac_cv_lib_dl_dlopen=no
  8475 fi
  8476 rm -f conftest.err conftest.$ac_objext \
  8477       conftest$ac_exeext conftest.$ac_ext
  8478 LIBS=$ac_check_lib_save_LIBS
  8479 fi
  8480 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  8481 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
  8482 if test $ac_cv_lib_dl_dlopen = yes; then
  8483   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8484 else
  8485 
  8486     lt_cv_dlopen="dyld"
  8487     lt_cv_dlopen_libs=
  8488     lt_cv_dlopen_self=yes
  8489 
  8490 fi
  8491 
  8492    ;;
  8493 
  8494   *)
  8495     echo "$as_me:$LINENO: checking for shl_load" >&5
  8496 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
  8497 if test "${ac_cv_func_shl_load+set}" = set; then
  8498   echo $ECHO_N "(cached) $ECHO_C" >&6
  8499 else
  8500   cat >conftest.$ac_ext <<_ACEOF
  8501 /* confdefs.h.  */
  8502 _ACEOF
  8503 cat confdefs.h >>conftest.$ac_ext
  8504 cat >>conftest.$ac_ext <<_ACEOF
  8505 /* end confdefs.h.  */
  8506 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  8507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8508 #define shl_load innocuous_shl_load
  8509 
  8510 /* System header to define __stub macros and hopefully few prototypes,
  8511     which can conflict with char shl_load (); below.
  8512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8513     <limits.h> exists even on freestanding compilers.  */
  8514 
  8515 #ifdef __STDC__
  8516 # include <limits.h>
  8517 #else
  8518 # include <assert.h>
  8519 #endif
  8520 
  8521 #undef shl_load
  8522 
  8523 /* Override any gcc2 internal prototype to avoid an error.  */
  8524 #ifdef __cplusplus
  8525 extern "C"
  8526 {
  8527 #endif
  8528 /* We use char because int might match the return type of a gcc2
  8529    builtin and then its argument prototype would still apply.  */
  8530 char shl_load ();
  8531 /* The GNU C library defines this for functions which it implements
  8532     to always fail with ENOSYS.  Some functions are actually named
  8533     something starting with __ and the normal name is an alias.  */
  8534 #if defined (__stub_shl_load) || defined (__stub___shl_load)
  8535 choke me
  8536 #else
  8537 char (*f) () = shl_load;
  8538 #endif
  8539 #ifdef __cplusplus
  8540 }
  8541 #endif
  8542 
  8543 int
  8544 main ()
  8545 {
  8546 return f != shl_load;
  8547   ;
  8548   return 0;
  8549 }
  8550 _ACEOF
  8551 rm -f conftest.$ac_objext conftest$ac_exeext
  8552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8553   (eval $ac_link) 2>conftest.er1
  8554   ac_status=$?
  8555   grep -v '^ *+' conftest.er1 >conftest.err
  8556   rm -f conftest.er1
  8557   cat conftest.err >&5
  8558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8559   (exit $ac_status); } &&
  8560 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8562   (eval $ac_try) 2>&5
  8563   ac_status=$?
  8564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8565   (exit $ac_status); }; } &&
  8566 	 { ac_try='test -s conftest$ac_exeext'
  8567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8568   (eval $ac_try) 2>&5
  8569   ac_status=$?
  8570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8571   (exit $ac_status); }; }; then
  8572   ac_cv_func_shl_load=yes
  8573 else
  8574   echo "$as_me: failed program was:" >&5
  8575 sed 's/^/| /' conftest.$ac_ext >&5
  8576 
  8577 ac_cv_func_shl_load=no
  8578 fi
  8579 rm -f conftest.err conftest.$ac_objext \
  8580       conftest$ac_exeext conftest.$ac_ext
  8581 fi
  8582 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  8583 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
  8584 if test $ac_cv_func_shl_load = yes; then
  8585   lt_cv_dlopen="shl_load"
  8586 else
  8587   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  8588 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
  8589 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  8590   echo $ECHO_N "(cached) $ECHO_C" >&6
  8591 else
  8592   ac_check_lib_save_LIBS=$LIBS
  8593 LIBS="-ldld  $LIBS"
  8594 cat >conftest.$ac_ext <<_ACEOF
  8595 /* confdefs.h.  */
  8596 _ACEOF
  8597 cat confdefs.h >>conftest.$ac_ext
  8598 cat >>conftest.$ac_ext <<_ACEOF
  8599 /* end confdefs.h.  */
  8600 
  8601 /* Override any gcc2 internal prototype to avoid an error.  */
  8602 #ifdef __cplusplus
  8603 extern "C"
  8604 #endif
  8605 /* We use char because int might match the return type of a gcc2
  8606    builtin and then its argument prototype would still apply.  */
  8607 char shl_load ();
  8608 int
  8609 main ()
  8610 {
  8611 shl_load ();
  8612   ;
  8613   return 0;
  8614 }
  8615 _ACEOF
  8616 rm -f conftest.$ac_objext conftest$ac_exeext
  8617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8618   (eval $ac_link) 2>conftest.er1
  8619   ac_status=$?
  8620   grep -v '^ *+' conftest.er1 >conftest.err
  8621   rm -f conftest.er1
  8622   cat conftest.err >&5
  8623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8624   (exit $ac_status); } &&
  8625 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8627   (eval $ac_try) 2>&5
  8628   ac_status=$?
  8629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8630   (exit $ac_status); }; } &&
  8631 	 { ac_try='test -s conftest$ac_exeext'
  8632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8633   (eval $ac_try) 2>&5
  8634   ac_status=$?
  8635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8636   (exit $ac_status); }; }; then
  8637   ac_cv_lib_dld_shl_load=yes
  8638 else
  8639   echo "$as_me: failed program was:" >&5
  8640 sed 's/^/| /' conftest.$ac_ext >&5
  8641 
  8642 ac_cv_lib_dld_shl_load=no
  8643 fi
  8644 rm -f conftest.err conftest.$ac_objext \
  8645       conftest$ac_exeext conftest.$ac_ext
  8646 LIBS=$ac_check_lib_save_LIBS
  8647 fi
  8648 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  8649 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
  8650 if test $ac_cv_lib_dld_shl_load = yes; then
  8651   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  8652 else
  8653   echo "$as_me:$LINENO: checking for dlopen" >&5
  8654 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
  8655 if test "${ac_cv_func_dlopen+set}" = set; then
  8656   echo $ECHO_N "(cached) $ECHO_C" >&6
  8657 else
  8658   cat >conftest.$ac_ext <<_ACEOF
  8659 /* confdefs.h.  */
  8660 _ACEOF
  8661 cat confdefs.h >>conftest.$ac_ext
  8662 cat >>conftest.$ac_ext <<_ACEOF
  8663 /* end confdefs.h.  */
  8664 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  8665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8666 #define dlopen innocuous_dlopen
  8667 
  8668 /* System header to define __stub macros and hopefully few prototypes,
  8669     which can conflict with char dlopen (); below.
  8670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8671     <limits.h> exists even on freestanding compilers.  */
  8672 
  8673 #ifdef __STDC__
  8674 # include <limits.h>
  8675 #else
  8676 # include <assert.h>
  8677 #endif
  8678 
  8679 #undef dlopen
  8680 
  8681 /* Override any gcc2 internal prototype to avoid an error.  */
  8682 #ifdef __cplusplus
  8683 extern "C"
  8684 {
  8685 #endif
  8686 /* We use char because int might match the return type of a gcc2
  8687    builtin and then its argument prototype would still apply.  */
  8688 char dlopen ();
  8689 /* The GNU C library defines this for functions which it implements
  8690     to always fail with ENOSYS.  Some functions are actually named
  8691     something starting with __ and the normal name is an alias.  */
  8692 #if defined (__stub_dlopen) || defined (__stub___dlopen)
  8693 choke me
  8694 #else
  8695 char (*f) () = dlopen;
  8696 #endif
  8697 #ifdef __cplusplus
  8698 }
  8699 #endif
  8700 
  8701 int
  8702 main ()
  8703 {
  8704 return f != dlopen;
  8705   ;
  8706   return 0;
  8707 }
  8708 _ACEOF
  8709 rm -f conftest.$ac_objext conftest$ac_exeext
  8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8711   (eval $ac_link) 2>conftest.er1
  8712   ac_status=$?
  8713   grep -v '^ *+' conftest.er1 >conftest.err
  8714   rm -f conftest.er1
  8715   cat conftest.err >&5
  8716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8717   (exit $ac_status); } &&
  8718 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8720   (eval $ac_try) 2>&5
  8721   ac_status=$?
  8722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8723   (exit $ac_status); }; } &&
  8724 	 { ac_try='test -s conftest$ac_exeext'
  8725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8726   (eval $ac_try) 2>&5
  8727   ac_status=$?
  8728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8729   (exit $ac_status); }; }; then
  8730   ac_cv_func_dlopen=yes
  8731 else
  8732   echo "$as_me: failed program was:" >&5
  8733 sed 's/^/| /' conftest.$ac_ext >&5
  8734 
  8735 ac_cv_func_dlopen=no
  8736 fi
  8737 rm -f conftest.err conftest.$ac_objext \
  8738       conftest$ac_exeext conftest.$ac_ext
  8739 fi
  8740 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  8741 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
  8742 if test $ac_cv_func_dlopen = yes; then
  8743   lt_cv_dlopen="dlopen"
  8744 else
  8745   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  8746 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
  8747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  8748   echo $ECHO_N "(cached) $ECHO_C" >&6
  8749 else
  8750   ac_check_lib_save_LIBS=$LIBS
  8751 LIBS="-ldl  $LIBS"
  8752 cat >conftest.$ac_ext <<_ACEOF
  8753 /* confdefs.h.  */
  8754 _ACEOF
  8755 cat confdefs.h >>conftest.$ac_ext
  8756 cat >>conftest.$ac_ext <<_ACEOF
  8757 /* end confdefs.h.  */
  8758 
  8759 /* Override any gcc2 internal prototype to avoid an error.  */
  8760 #ifdef __cplusplus
  8761 extern "C"
  8762 #endif
  8763 /* We use char because int might match the return type of a gcc2
  8764    builtin and then its argument prototype would still apply.  */
  8765 char dlopen ();
  8766 int
  8767 main ()
  8768 {
  8769 dlopen ();
  8770   ;
  8771   return 0;
  8772 }
  8773 _ACEOF
  8774 rm -f conftest.$ac_objext conftest$ac_exeext
  8775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8776   (eval $ac_link) 2>conftest.er1
  8777   ac_status=$?
  8778   grep -v '^ *+' conftest.er1 >conftest.err
  8779   rm -f conftest.er1
  8780   cat conftest.err >&5
  8781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8782   (exit $ac_status); } &&
  8783 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8785   (eval $ac_try) 2>&5
  8786   ac_status=$?
  8787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8788   (exit $ac_status); }; } &&
  8789 	 { ac_try='test -s conftest$ac_exeext'
  8790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8791   (eval $ac_try) 2>&5
  8792   ac_status=$?
  8793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8794   (exit $ac_status); }; }; then
  8795   ac_cv_lib_dl_dlopen=yes
  8796 else
  8797   echo "$as_me: failed program was:" >&5
  8798 sed 's/^/| /' conftest.$ac_ext >&5
  8799 
  8800 ac_cv_lib_dl_dlopen=no
  8801 fi
  8802 rm -f conftest.err conftest.$ac_objext \
  8803       conftest$ac_exeext conftest.$ac_ext
  8804 LIBS=$ac_check_lib_save_LIBS
  8805 fi
  8806 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  8807 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
  8808 if test $ac_cv_lib_dl_dlopen = yes; then
  8809   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8810 else
  8811   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  8812 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
  8813 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  8814   echo $ECHO_N "(cached) $ECHO_C" >&6
  8815 else
  8816   ac_check_lib_save_LIBS=$LIBS
  8817 LIBS="-lsvld  $LIBS"
  8818 cat >conftest.$ac_ext <<_ACEOF
  8819 /* confdefs.h.  */
  8820 _ACEOF
  8821 cat confdefs.h >>conftest.$ac_ext
  8822 cat >>conftest.$ac_ext <<_ACEOF
  8823 /* end confdefs.h.  */
  8824 
  8825 /* Override any gcc2 internal prototype to avoid an error.  */
  8826 #ifdef __cplusplus
  8827 extern "C"
  8828 #endif
  8829 /* We use char because int might match the return type of a gcc2
  8830    builtin and then its argument prototype would still apply.  */
  8831 char dlopen ();
  8832 int
  8833 main ()
  8834 {
  8835 dlopen ();
  8836   ;
  8837   return 0;
  8838 }
  8839 _ACEOF
  8840 rm -f conftest.$ac_objext conftest$ac_exeext
  8841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8842   (eval $ac_link) 2>conftest.er1
  8843   ac_status=$?
  8844   grep -v '^ *+' conftest.er1 >conftest.err
  8845   rm -f conftest.er1
  8846   cat conftest.err >&5
  8847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8848   (exit $ac_status); } &&
  8849 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8851   (eval $ac_try) 2>&5
  8852   ac_status=$?
  8853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8854   (exit $ac_status); }; } &&
  8855 	 { ac_try='test -s conftest$ac_exeext'
  8856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8857   (eval $ac_try) 2>&5
  8858   ac_status=$?
  8859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8860   (exit $ac_status); }; }; then
  8861   ac_cv_lib_svld_dlopen=yes
  8862 else
  8863   echo "$as_me: failed program was:" >&5
  8864 sed 's/^/| /' conftest.$ac_ext >&5
  8865 
  8866 ac_cv_lib_svld_dlopen=no
  8867 fi
  8868 rm -f conftest.err conftest.$ac_objext \
  8869       conftest$ac_exeext conftest.$ac_ext
  8870 LIBS=$ac_check_lib_save_LIBS
  8871 fi
  8872 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  8873 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
  8874 if test $ac_cv_lib_svld_dlopen = yes; then
  8875   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  8876 else
  8877   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  8878 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
  8879 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  8880   echo $ECHO_N "(cached) $ECHO_C" >&6
  8881 else
  8882   ac_check_lib_save_LIBS=$LIBS
  8883 LIBS="-ldld  $LIBS"
  8884 cat >conftest.$ac_ext <<_ACEOF
  8885 /* confdefs.h.  */
  8886 _ACEOF
  8887 cat confdefs.h >>conftest.$ac_ext
  8888 cat >>conftest.$ac_ext <<_ACEOF
  8889 /* end confdefs.h.  */
  8890 
  8891 /* Override any gcc2 internal prototype to avoid an error.  */
  8892 #ifdef __cplusplus
  8893 extern "C"
  8894 #endif
  8895 /* We use char because int might match the return type of a gcc2
  8896    builtin and then its argument prototype would still apply.  */
  8897 char dld_link ();
  8898 int
  8899 main ()
  8900 {
  8901 dld_link ();
  8902   ;
  8903   return 0;
  8904 }
  8905 _ACEOF
  8906 rm -f conftest.$ac_objext conftest$ac_exeext
  8907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8908   (eval $ac_link) 2>conftest.er1
  8909   ac_status=$?
  8910   grep -v '^ *+' conftest.er1 >conftest.err
  8911   rm -f conftest.er1
  8912   cat conftest.err >&5
  8913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8914   (exit $ac_status); } &&
  8915 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  8916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8917   (eval $ac_try) 2>&5
  8918   ac_status=$?
  8919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8920   (exit $ac_status); }; } &&
  8921 	 { ac_try='test -s conftest$ac_exeext'
  8922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8923   (eval $ac_try) 2>&5
  8924   ac_status=$?
  8925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8926   (exit $ac_status); }; }; then
  8927   ac_cv_lib_dld_dld_link=yes
  8928 else
  8929   echo "$as_me: failed program was:" >&5
  8930 sed 's/^/| /' conftest.$ac_ext >&5
  8931 
  8932 ac_cv_lib_dld_dld_link=no
  8933 fi
  8934 rm -f conftest.err conftest.$ac_objext \
  8935       conftest$ac_exeext conftest.$ac_ext
  8936 LIBS=$ac_check_lib_save_LIBS
  8937 fi
  8938 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  8939 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
  8940 if test $ac_cv_lib_dld_dld_link = yes; then
  8941   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  8942 fi
  8943 
  8944 
  8945 fi
  8946 
  8947 
  8948 fi
  8949 
  8950 
  8951 fi
  8952 
  8953 
  8954 fi
  8955 
  8956 
  8957 fi
  8958 
  8959     ;;
  8960   esac
  8961 
  8962   if test "x$lt_cv_dlopen" != xno; then
  8963     enable_dlopen=yes
  8964   else
  8965     enable_dlopen=no
  8966   fi
  8967 
  8968   case $lt_cv_dlopen in
  8969   dlopen)
  8970     save_CPPFLAGS="$CPPFLAGS"
  8971     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  8972 
  8973     save_LDFLAGS="$LDFLAGS"
  8974     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  8975 
  8976     save_LIBS="$LIBS"
  8977     LIBS="$lt_cv_dlopen_libs $LIBS"
  8978 
  8979     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  8980 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
  8981 if test "${lt_cv_dlopen_self+set}" = set; then
  8982   echo $ECHO_N "(cached) $ECHO_C" >&6
  8983 else
  8984   	  if test "$cross_compiling" = yes; then :
  8985   lt_cv_dlopen_self=cross
  8986 else
  8987   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8988   lt_status=$lt_dlunknown
  8989   cat > conftest.$ac_ext <<EOF
  8990 #line 8990 "configure"
  8991 #include "confdefs.h"
  8992 
  8993 #if HAVE_DLFCN_H
  8994 #include <dlfcn.h>
  8995 #endif
  8996 
  8997 #include <stdio.h>
  8998 
  8999 #ifdef RTLD_GLOBAL
  9000 #  define LT_DLGLOBAL		RTLD_GLOBAL
  9001 #else
  9002 #  ifdef DL_GLOBAL
  9003 #    define LT_DLGLOBAL		DL_GLOBAL
  9004 #  else
  9005 #    define LT_DLGLOBAL		0
  9006 #  endif
  9007 #endif
  9008 
  9009 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9010    find out it does not work in some platform. */
  9011 #ifndef LT_DLLAZY_OR_NOW
  9012 #  ifdef RTLD_LAZY
  9013 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  9014 #  else
  9015 #    ifdef DL_LAZY
  9016 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  9017 #    else
  9018 #      ifdef RTLD_NOW
  9019 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  9020 #      else
  9021 #        ifdef DL_NOW
  9022 #          define LT_DLLAZY_OR_NOW	DL_NOW
  9023 #        else
  9024 #          define LT_DLLAZY_OR_NOW	0
  9025 #        endif
  9026 #      endif
  9027 #    endif
  9028 #  endif
  9029 #endif
  9030 
  9031 #ifdef __cplusplus
  9032 extern "C" void exit (int);
  9033 #endif
  9034 
  9035 void fnord() { int i=42;}
  9036 int main ()
  9037 {
  9038   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9039   int status = $lt_dlunknown;
  9040 
  9041   if (self)
  9042     {
  9043       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  9044       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9045       /* dlclose (self); */
  9046     }
  9047 
  9048     exit (status);
  9049 }
  9050 EOF
  9051   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9052   (eval $ac_link) 2>&5
  9053   ac_status=$?
  9054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9055   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  9056     (./conftest; exit; ) >&5 2>/dev/null
  9057     lt_status=$?
  9058     case x$lt_status in
  9059       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  9060       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  9061       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
  9062     esac
  9063   else :
  9064     # compilation failed
  9065     lt_cv_dlopen_self=no
  9066   fi
  9067 fi
  9068 rm -fr conftest*
  9069 
  9070 
  9071 fi
  9072 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  9073 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
  9074 
  9075     if test "x$lt_cv_dlopen_self" = xyes; then
  9076       LDFLAGS="$LDFLAGS $link_static_flag"
  9077       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  9078 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
  9079 if test "${lt_cv_dlopen_self_static+set}" = set; then
  9080   echo $ECHO_N "(cached) $ECHO_C" >&6
  9081 else
  9082   	  if test "$cross_compiling" = yes; then :
  9083   lt_cv_dlopen_self_static=cross
  9084 else
  9085   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9086   lt_status=$lt_dlunknown
  9087   cat > conftest.$ac_ext <<EOF
  9088 #line 9088 "configure"
  9089 #include "confdefs.h"
  9090 
  9091 #if HAVE_DLFCN_H
  9092 #include <dlfcn.h>
  9093 #endif
  9094 
  9095 #include <stdio.h>
  9096 
  9097 #ifdef RTLD_GLOBAL
  9098 #  define LT_DLGLOBAL		RTLD_GLOBAL
  9099 #else
  9100 #  ifdef DL_GLOBAL
  9101 #    define LT_DLGLOBAL		DL_GLOBAL
  9102 #  else
  9103 #    define LT_DLGLOBAL		0
  9104 #  endif
  9105 #endif
  9106 
  9107 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9108    find out it does not work in some platform. */
  9109 #ifndef LT_DLLAZY_OR_NOW
  9110 #  ifdef RTLD_LAZY
  9111 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  9112 #  else
  9113 #    ifdef DL_LAZY
  9114 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  9115 #    else
  9116 #      ifdef RTLD_NOW
  9117 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  9118 #      else
  9119 #        ifdef DL_NOW
  9120 #          define LT_DLLAZY_OR_NOW	DL_NOW
  9121 #        else
  9122 #          define LT_DLLAZY_OR_NOW	0
  9123 #        endif
  9124 #      endif
  9125 #    endif
  9126 #  endif
  9127 #endif
  9128 
  9129 #ifdef __cplusplus
  9130 extern "C" void exit (int);
  9131 #endif
  9132 
  9133 void fnord() { int i=42;}
  9134 int main ()
  9135 {
  9136   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9137   int status = $lt_dlunknown;
  9138 
  9139   if (self)
  9140     {
  9141       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  9142       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9143       /* dlclose (self); */
  9144     }
  9145 
  9146     exit (status);
  9147 }
  9148 EOF
  9149   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9150   (eval $ac_link) 2>&5
  9151   ac_status=$?
  9152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9153   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  9154     (./conftest; exit; ) >&5 2>/dev/null
  9155     lt_status=$?
  9156     case x$lt_status in
  9157       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  9158       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  9159       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
  9160     esac
  9161   else :
  9162     # compilation failed
  9163     lt_cv_dlopen_self_static=no
  9164   fi
  9165 fi
  9166 rm -fr conftest*
  9167 
  9168 
  9169 fi
  9170 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  9171 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
  9172     fi
  9173 
  9174     CPPFLAGS="$save_CPPFLAGS"
  9175     LDFLAGS="$save_LDFLAGS"
  9176     LIBS="$save_LIBS"
  9177     ;;
  9178   esac
  9179 
  9180   case $lt_cv_dlopen_self in
  9181   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9182   *) enable_dlopen_self=unknown ;;
  9183   esac
  9184 
  9185   case $lt_cv_dlopen_self_static in
  9186   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9187   *) enable_dlopen_self_static=unknown ;;
  9188   esac
  9189 fi
  9190 
  9191 
  9192 # Report which librarie types wil actually be built
  9193 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  9194 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
  9195 echo "$as_me:$LINENO: result: $can_build_shared" >&5
  9196 echo "${ECHO_T}$can_build_shared" >&6
  9197 
  9198 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  9199 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
  9200 test "$can_build_shared" = "no" && enable_shared=no
  9201 
  9202 # On AIX, shared libraries and static libraries use the same namespace, and
  9203 # are all built from PIC.
  9204 case $host_os in
  9205 aix3*)
  9206   test "$enable_shared" = yes && enable_static=no
  9207   if test -n "$RANLIB"; then
  9208     archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9209     postinstall_cmds='$RANLIB $lib'
  9210   fi
  9211   ;;
  9212 
  9213 aix4* | aix5*)
  9214   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9215     test "$enable_shared" = yes && enable_static=no
  9216   fi
  9217     ;;
  9218 esac
  9219 echo "$as_me:$LINENO: result: $enable_shared" >&5
  9220 echo "${ECHO_T}$enable_shared" >&6
  9221 
  9222 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  9223 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
  9224 # Make sure either enable_shared or enable_static is yes.
  9225 test "$enable_shared" = yes || enable_static=yes
  9226 echo "$as_me:$LINENO: result: $enable_static" >&5
  9227 echo "${ECHO_T}$enable_static" >&6
  9228 
  9229 # The else clause should only fire when bootstrapping the
  9230 # libtool distribution, otherwise you forgot to ship ltmain.sh
  9231 # with your package, and you will get complaints that there are
  9232 # no rules to generate ltmain.sh.
  9233 if test -f "$ltmain"; then
  9234   # See if we are running on zsh, and set the options which allow our commands through
  9235   # without removal of \ escapes.
  9236   if test -n "${ZSH_VERSION+set}" ; then
  9237     setopt NO_GLOB_SUBST
  9238   fi
  9239   # Now quote all the things that may contain metacharacters while being
  9240   # careful not to overquote the AC_SUBSTed values.  We take copies of the
  9241   # variables and quote the copies for generation of the libtool script.
  9242   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
  9243     SED SHELL STRIP \
  9244     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  9245     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  9246     deplibs_check_method reload_flag reload_cmds need_locks \
  9247     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  9248     lt_cv_sys_global_symbol_to_c_name_address \
  9249     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  9250     old_postinstall_cmds old_postuninstall_cmds \
  9251     compiler \
  9252     CC \
  9253     LD \
  9254     lt_prog_compiler_wl \
  9255     lt_prog_compiler_pic \
  9256     lt_prog_compiler_static \
  9257     lt_prog_compiler_no_builtin_flag \
  9258     export_dynamic_flag_spec \
  9259     thread_safe_flag_spec \
  9260     whole_archive_flag_spec \
  9261     enable_shared_with_static_runtimes \
  9262     old_archive_cmds \
  9263     old_archive_from_new_cmds \
  9264     predep_objects \
  9265     postdep_objects \
  9266     predeps \
  9267     postdeps \
  9268     compiler_lib_search_path \
  9269     archive_cmds \
  9270     archive_expsym_cmds \
  9271     postinstall_cmds \
  9272     postuninstall_cmds \
  9273     old_archive_from_expsyms_cmds \
  9274     allow_undefined_flag \
  9275     no_undefined_flag \
  9276     export_symbols_cmds \
  9277     hardcode_libdir_flag_spec \
  9278     hardcode_libdir_flag_spec_ld \
  9279     hardcode_libdir_separator \
  9280     hardcode_automatic \
  9281     module_cmds \
  9282     module_expsym_cmds \
  9283     lt_cv_prog_compiler_c_o \
  9284     exclude_expsyms \
  9285     include_expsyms; do
  9286 
  9287     case $var in
  9288     old_archive_cmds | \
  9289     old_archive_from_new_cmds | \
  9290     archive_cmds | \
  9291     archive_expsym_cmds | \
  9292     module_cmds | \
  9293     module_expsym_cmds | \
  9294     old_archive_from_expsyms_cmds | \
  9295     export_symbols_cmds | \
  9296     extract_expsyms_cmds | reload_cmds | finish_cmds | \
  9297     postinstall_cmds | postuninstall_cmds | \
  9298     old_postinstall_cmds | old_postuninstall_cmds | \
  9299     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  9300       # Double-quote double-evaled strings.
  9301       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  9302       ;;
  9303     *)
  9304       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  9305       ;;
  9306     esac
  9307   done
  9308 
  9309   case $lt_echo in
  9310   *'\$0 --fallback-echo"')
  9311     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  9312     ;;
  9313   esac
  9314 
  9315 cfgfile="${ofile}T"
  9316   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  9317   $rm -f "$cfgfile"
  9318   { echo "$as_me:$LINENO: creating $ofile" >&5
  9319 echo "$as_me: creating $ofile" >&6;}
  9320 
  9321   cat <<__EOF__ >> "$cfgfile"
  9322 #! $SHELL
  9323 
  9324 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  9325 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  9326 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  9327 #
  9328 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  9329 # Free Software Foundation, Inc.
  9330 #
  9331 # This file is part of GNU Libtool:
  9332 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  9333 #
  9334 # This program is free software; you can redistribute it and/or modify
  9335 # it under the terms of the GNU General Public License as published by
  9336 # the Free Software Foundation; either version 2 of the License, or
  9337 # (at your option) any later version.
  9338 #
  9339 # This program is distributed in the hope that it will be useful, but
  9340 # WITHOUT ANY WARRANTY; without even the implied warranty of
  9341 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  9342 # General Public License for more details.
  9343 #
  9344 # You should have received a copy of the GNU General Public License
  9345 # along with this program; if not, write to the Free Software
  9346 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  9347 #
  9348 # As a special exception to the GNU General Public License, if you
  9349 # distribute this file as part of a program that contains a
  9350 # configuration script generated by Autoconf, you may include it under
  9351 # the same distribution terms that you use for the rest of that program.
  9352 
  9353 # A sed program that does not truncate output.
  9354 SED=$lt_SED
  9355 
  9356 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  9357 Xsed="$SED -e 1s/^X//"
  9358 
  9359 # The HP-UX ksh and POSIX shell print the target directory to stdout
  9360 # if CDPATH is set.
  9361 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9362 
  9363 # The names of the tagged configurations supported by this script.
  9364 available_tags=
  9365 
  9366 # ### BEGIN LIBTOOL CONFIG
  9367 
  9368 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  9369 
  9370 # Shell to use when invoking shell scripts.
  9371 SHELL=$lt_SHELL
  9372 
  9373 # Whether or not to build shared libraries.
  9374 build_libtool_libs=$enable_shared
  9375 
  9376 # Whether or not to build static libraries.
  9377 build_old_libs=$enable_static
  9378 
  9379 # Whether or not to add -lc for building shared libraries.
  9380 build_libtool_need_lc=$archive_cmds_need_lc
  9381 
  9382 # Whether or not to disallow shared libs when runtime libs are static
  9383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  9384 
  9385 # Whether or not to optimize for fast installation.
  9386 fast_install=$enable_fast_install
  9387 
  9388 # The host system.
  9389 host_alias=$host_alias
  9390 host=$host
  9391 host_os=$host_os
  9392 
  9393 # The build system.
  9394 build_alias=$build_alias
  9395 build=$build
  9396 build_os=$build_os
  9397 
  9398 # An echo program that does not interpret backslashes.
  9399 echo=$lt_echo
  9400 
  9401 # The archiver.
  9402 AR=$lt_AR
  9403 AR_FLAGS=$lt_AR_FLAGS
  9404 
  9405 # A C compiler.
  9406 LTCC=$lt_LTCC
  9407 
  9408 # A language-specific compiler.
  9409 CC=$lt_compiler
  9410 
  9411 # Is the compiler the GNU C compiler?
  9412 with_gcc=$GCC
  9413 
  9414 # An ERE matcher.
  9415 EGREP=$lt_EGREP
  9416 
  9417 # The linker used to build libraries.
  9418 LD=$lt_LD
  9419 
  9420 # Whether we need hard or soft links.
  9421 LN_S=$lt_LN_S
  9422 
  9423 # A BSD-compatible nm program.
  9424 NM=$lt_NM
  9425 
  9426 # A symbol stripping program
  9427 STRIP=$lt_STRIP
  9428 
  9429 # Used to examine libraries when file_magic_cmd begins "file"
  9430 MAGIC_CMD=$MAGIC_CMD
  9431 
  9432 # Used on cygwin: DLL creation program.
  9433 DLLTOOL="$DLLTOOL"
  9434 
  9435 # Used on cygwin: object dumper.
  9436 OBJDUMP="$OBJDUMP"
  9437 
  9438 # Used on cygwin: assembler.
  9439 AS="$AS"
  9440 
  9441 # The name of the directory that contains temporary libtool files.
  9442 objdir=$objdir
  9443 
  9444 # How to create reloadable object files.
  9445 reload_flag=$lt_reload_flag
  9446 reload_cmds=$lt_reload_cmds
  9447 
  9448 # How to pass a linker flag through the compiler.
  9449 wl=$lt_lt_prog_compiler_wl
  9450 
  9451 # Object file suffix (normally "o").
  9452 objext="$ac_objext"
  9453 
  9454 # Old archive suffix (normally "a").
  9455 libext="$libext"
  9456 
  9457 # Shared library suffix (normally ".so").
  9458 shrext_cmds='$shrext_cmds'
  9459 
  9460 # Executable file suffix (normally "").
  9461 exeext="$exeext"
  9462 
  9463 # Additional compiler flags for building library objects.
  9464 pic_flag=$lt_lt_prog_compiler_pic
  9465 pic_mode=$pic_mode
  9466 
  9467 # What is the maximum length of a command?
  9468 max_cmd_len=$lt_cv_sys_max_cmd_len
  9469 
  9470 # Does compiler simultaneously support -c and -o options?
  9471 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  9472 
  9473 # Must we lock files when doing compilation?
  9474 need_locks=$lt_need_locks
  9475 
  9476 # Do we need the lib prefix for modules?
  9477 need_lib_prefix=$need_lib_prefix
  9478 
  9479 # Do we need a version for libraries?
  9480 need_version=$need_version
  9481 
  9482 # Whether dlopen is supported.
  9483 dlopen_support=$enable_dlopen
  9484 
  9485 # Whether dlopen of programs is supported.
  9486 dlopen_self=$enable_dlopen_self
  9487 
  9488 # Whether dlopen of statically linked programs is supported.
  9489 dlopen_self_static=$enable_dlopen_self_static
  9490 
  9491 # Compiler flag to prevent dynamic linking.
  9492 link_static_flag=$lt_lt_prog_compiler_static
  9493 
  9494 # Compiler flag to turn off builtin functions.
  9495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  9496 
  9497 # Compiler flag to allow reflexive dlopens.
  9498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  9499 
  9500 # Compiler flag to generate shared objects directly from archives.
  9501 whole_archive_flag_spec=$lt_whole_archive_flag_spec
  9502 
  9503 # Compiler flag to generate thread-safe objects.
  9504 thread_safe_flag_spec=$lt_thread_safe_flag_spec
  9505 
  9506 # Library versioning type.
  9507 version_type=$version_type
  9508 
  9509 # Format of library name prefix.
  9510 libname_spec=$lt_libname_spec
  9511 
  9512 # List of archive names.  First name is the real one, the rest are links.
  9513 # The last name is the one that the linker finds with -lNAME.
  9514 library_names_spec=$lt_library_names_spec
  9515 
  9516 # The coded name of the library, if different from the real name.
  9517 soname_spec=$lt_soname_spec
  9518 
  9519 # Commands used to build and install an old-style archive.
  9520 RANLIB=$lt_RANLIB
  9521 old_archive_cmds=$lt_old_archive_cmds
  9522 old_postinstall_cmds=$lt_old_postinstall_cmds
  9523 old_postuninstall_cmds=$lt_old_postuninstall_cmds
  9524 
  9525 # Create an old-style archive from a shared archive.
  9526 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  9527 
  9528 # Create a temporary old-style archive to link instead of a shared archive.
  9529 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  9530 
  9531 # Commands used to build and install a shared archive.
  9532 archive_cmds=$lt_archive_cmds
  9533 archive_expsym_cmds=$lt_archive_expsym_cmds
  9534 postinstall_cmds=$lt_postinstall_cmds
  9535 postuninstall_cmds=$lt_postuninstall_cmds
  9536 
  9537 # Commands used to build a loadable module (assumed same as above if empty)
  9538 module_cmds=$lt_module_cmds
  9539 module_expsym_cmds=$lt_module_expsym_cmds
  9540 
  9541 # Commands to strip libraries.
  9542 old_striplib=$lt_old_striplib
  9543 striplib=$lt_striplib
  9544 
  9545 # Dependencies to place before the objects being linked to create a
  9546 # shared library.
  9547 predep_objects=$lt_predep_objects
  9548 
  9549 # Dependencies to place after the objects being linked to create a
  9550 # shared library.
  9551 postdep_objects=$lt_postdep_objects
  9552 
  9553 # Dependencies to place before the objects being linked to create a
  9554 # shared library.
  9555 predeps=$lt_predeps
  9556 
  9557 # Dependencies to place after the objects being linked to create a
  9558 # shared library.
  9559 postdeps=$lt_postdeps
  9560 
  9561 # The library search path used internally by the compiler when linking
  9562 # a shared library.
  9563 compiler_lib_search_path=$lt_compiler_lib_search_path
  9564 
  9565 # Method to check whether dependent libraries are shared objects.
  9566 deplibs_check_method=$lt_deplibs_check_method
  9567 
  9568 # Command to use when deplibs_check_method == file_magic.
  9569 file_magic_cmd=$lt_file_magic_cmd
  9570 
  9571 # Flag that allows shared libraries with undefined symbols to be built.
  9572 allow_undefined_flag=$lt_allow_undefined_flag
  9573 
  9574 # Flag that forces no undefined symbols.
  9575 no_undefined_flag=$lt_no_undefined_flag
  9576 
  9577 # Commands used to finish a libtool library installation in a directory.
  9578 finish_cmds=$lt_finish_cmds
  9579 
  9580 # Same as above, but a single script fragment to be evaled but not shown.
  9581 finish_eval=$lt_finish_eval
  9582 
  9583 # Take the output of nm and produce a listing of raw symbols and C names.
  9584 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  9585 
  9586 # Transform the output of nm in a proper C declaration
  9587 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  9588 
  9589 # Transform the output of nm in a C name address pair
  9590 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  9591 
  9592 # This is the shared library runtime path variable.
  9593 runpath_var=$runpath_var
  9594 
  9595 # This is the shared library path variable.
  9596 shlibpath_var=$shlibpath_var
  9597 
  9598 # Is shlibpath searched before the hard-coded library search path?
  9599 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  9600 
  9601 # How to hardcode a shared library path into an executable.
  9602 hardcode_action=$hardcode_action
  9603 
  9604 # Whether we should hardcode library paths into libraries.
  9605 hardcode_into_libs=$hardcode_into_libs
  9606 
  9607 # Flag to hardcode \$libdir into a binary during linking.
  9608 # This must work even if \$libdir does not exist.
  9609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  9610 
  9611 # If ld is used when linking, flag to hardcode \$libdir into
  9612 # a binary during linking. This must work even if \$libdir does
  9613 # not exist.
  9614 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  9615 
  9616 # Whether we need a single -rpath flag with a separated argument.
  9617 hardcode_libdir_separator=$lt_hardcode_libdir_separator
  9618 
  9619 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  9620 # resulting binary.
  9621 hardcode_direct=$hardcode_direct
  9622 
  9623 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  9624 # resulting binary.
  9625 hardcode_minus_L=$hardcode_minus_L
  9626 
  9627 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  9628 # the resulting binary.
  9629 hardcode_shlibpath_var=$hardcode_shlibpath_var
  9630 
  9631 # Set to yes if building a shared library automatically hardcodes DIR into the library
  9632 # and all subsequent libraries and executables linked against it.
  9633 hardcode_automatic=$hardcode_automatic
  9634 
  9635 # Variables whose values should be saved in libtool wrapper scripts and
  9636 # restored at relink time.
  9637 variables_saved_for_relink="$variables_saved_for_relink"
  9638 
  9639 # Whether libtool must link a program against all its dependency libraries.
  9640 link_all_deplibs=$link_all_deplibs
  9641 
  9642 # Compile-time system search path for libraries
  9643 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  9644 
  9645 # Run-time system search path for libraries
  9646 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  9647 
  9648 # Fix the shell variable \$srcfile for the compiler.
  9649 fix_srcfile_path="$fix_srcfile_path"
  9650 
  9651 # Set to yes if exported symbols are required.
  9652 always_export_symbols=$always_export_symbols
  9653 
  9654 # The commands to list exported symbols.
  9655 export_symbols_cmds=$lt_export_symbols_cmds
  9656 
  9657 # The commands to extract the exported symbol list from a shared archive.
  9658 extract_expsyms_cmds=$lt_extract_expsyms_cmds
  9659 
  9660 # Symbols that should not be listed in the preloaded symbols.
  9661 exclude_expsyms=$lt_exclude_expsyms
  9662 
  9663 # Symbols that must always be exported.
  9664 include_expsyms=$lt_include_expsyms
  9665 
  9666 # ### END LIBTOOL CONFIG
  9667 
  9668 __EOF__
  9669 
  9670 
  9671   case $host_os in
  9672   aix3*)
  9673     cat <<\EOF >> "$cfgfile"
  9674 
  9675 # AIX sometimes has problems with the GCC collect2 program.  For some
  9676 # reason, if we set the COLLECT_NAMES environment variable, the problems
  9677 # vanish in a puff of smoke.
  9678 if test "X${COLLECT_NAMES+set}" != Xset; then
  9679   COLLECT_NAMES=
  9680   export COLLECT_NAMES
  9681 fi
  9682 EOF
  9683     ;;
  9684   esac
  9685 
  9686   # We use sed instead of cat because bash on DJGPP gets confused if
  9687   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  9688   # text mode, it properly converts lines to CR/LF.  This bash problem
  9689   # is reportedly fixed, but why not run on old versions too?
  9690   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  9691 
  9692   mv -f "$cfgfile" "$ofile" || \
  9693     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  9694   chmod +x "$ofile"
  9695 
  9696 else
  9697   # If there is no Makefile yet, we rely on a make rule to execute
  9698   # `config.status --recheck' to rerun these tests and create the
  9699   # libtool script then.
  9700   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  9701   if test -f "$ltmain_in"; then
  9702     test -f Makefile && make "$ltmain"
  9703   fi
  9704 fi
  9705 
  9706 
  9707 ac_ext=c
  9708 ac_cpp='$CPP $CPPFLAGS'
  9709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9712 
  9713 CC="$lt_save_CC"
  9714 
  9715 
  9716 # Check whether --with-tags or --without-tags was given.
  9717 if test "${with_tags+set}" = set; then
  9718   withval="$with_tags"
  9719   tagnames="$withval"
  9720 fi;
  9721 
  9722 if test -f "$ltmain" && test -n "$tagnames"; then
  9723   if test ! -f "${ofile}"; then
  9724     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  9725 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  9726   fi
  9727 
  9728   if test -z "$LTCC"; then
  9729     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  9730     if test -z "$LTCC"; then
  9731       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
  9732 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
  9733     else
  9734       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
  9735 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
  9736     fi
  9737   fi
  9738 
  9739   # Extract list of available tagged configurations in $ofile.
  9740   # Note that this assumes the entire list is on one line.
  9741   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  9742 
  9743   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  9744   for tagname in $tagnames; do
  9745     IFS="$lt_save_ifs"
  9746     # Check whether tagname contains only valid characters
  9747     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
  9748     "") ;;
  9749     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
  9750 echo "$as_me: error: invalid tag name: $tagname" >&2;}
  9751    { (exit 1); exit 1; }; }
  9752 	;;
  9753     esac
  9754 
  9755     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  9756     then
  9757       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
  9758 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
  9759    { (exit 1); exit 1; }; }
  9760     fi
  9761 
  9762     # Update the list of available tags.
  9763     if test -n "$tagname"; then
  9764       echo appending configuration tag \"$tagname\" to $ofile
  9765 
  9766       case $tagname in
  9767       CXX)
  9768 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9769 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9770 	    (test "X$CXX" != "Xg++"))) ; then
  9771 	  ac_ext=cc
  9772 ac_cpp='$CXXCPP $CPPFLAGS'
  9773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  9776 
  9777 
  9778 
  9779 
  9780 archive_cmds_need_lc_CXX=no
  9781 allow_undefined_flag_CXX=
  9782 always_export_symbols_CXX=no
  9783 archive_expsym_cmds_CXX=
  9784 export_dynamic_flag_spec_CXX=
  9785 hardcode_direct_CXX=no
  9786 hardcode_libdir_flag_spec_CXX=
  9787 hardcode_libdir_flag_spec_ld_CXX=
  9788 hardcode_libdir_separator_CXX=
  9789 hardcode_minus_L_CXX=no
  9790 hardcode_automatic_CXX=no
  9791 module_cmds_CXX=
  9792 module_expsym_cmds_CXX=
  9793 link_all_deplibs_CXX=unknown
  9794 old_archive_cmds_CXX=$old_archive_cmds
  9795 no_undefined_flag_CXX=
  9796 whole_archive_flag_spec_CXX=
  9797 enable_shared_with_static_runtimes_CXX=no
  9798 
  9799 # Dependencies to place before and after the object being linked:
  9800 predep_objects_CXX=
  9801 postdep_objects_CXX=
  9802 predeps_CXX=
  9803 postdeps_CXX=
  9804 compiler_lib_search_path_CXX=
  9805 
  9806 # Source file extension for C++ test sources.
  9807 ac_ext=cpp
  9808 
  9809 # Object file extension for compiled C++ test sources.
  9810 objext=o
  9811 objext_CXX=$objext
  9812 
  9813 # Code to be used in simple compile tests
  9814 lt_simple_compile_test_code="int some_variable = 0;\n"
  9815 
  9816 # Code to be used in simple link tests
  9817 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
  9818 
  9819 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9820 
  9821 # If no C compiler was specified, use CC.
  9822 LTCC=${LTCC-"$CC"}
  9823 
  9824 # Allow CC to be a program name with arguments.
  9825 compiler=$CC
  9826 
  9827 
  9828 # save warnings/boilerplate of simple test code
  9829 ac_outfile=conftest.$ac_objext
  9830 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  9831 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  9832 _lt_compiler_boilerplate=`cat conftest.err`
  9833 $rm conftest*
  9834 
  9835 ac_outfile=conftest.$ac_objext
  9836 printf "$lt_simple_link_test_code" >conftest.$ac_ext
  9837 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
  9838 _lt_linker_boilerplate=`cat conftest.err`
  9839 $rm conftest*
  9840 
  9841 
  9842 # Allow CC to be a program name with arguments.
  9843 lt_save_CC=$CC
  9844 lt_save_LD=$LD
  9845 lt_save_GCC=$GCC
  9846 GCC=$GXX
  9847 lt_save_with_gnu_ld=$with_gnu_ld
  9848 lt_save_path_LD=$lt_cv_path_LD
  9849 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  9850   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  9851 else
  9852   unset lt_cv_prog_gnu_ld
  9853 fi
  9854 if test -n "${lt_cv_path_LDCXX+set}"; then
  9855   lt_cv_path_LD=$lt_cv_path_LDCXX
  9856 else
  9857   unset lt_cv_path_LD
  9858 fi
  9859 test -z "${LDCXX+set}" || LD=$LDCXX
  9860 CC=${CXX-"c++"}
  9861 compiler=$CC
  9862 compiler_CXX=$CC
  9863 for cc_temp in $compiler""; do
  9864   case $cc_temp in
  9865     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  9866     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  9867     \-*) ;;
  9868     *) break;;
  9869   esac
  9870 done
  9871 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  9872 
  9873 
  9874 # We don't want -fno-exception wen compiling C++ code, so set the
  9875 # no_builtin_flag separately
  9876 if test "$GXX" = yes; then
  9877   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  9878 else
  9879   lt_prog_compiler_no_builtin_flag_CXX=
  9880 fi
  9881 
  9882 if test "$GXX" = yes; then
  9883   # Set up default GNU C++ configuration
  9884 
  9885 
  9886 # Check whether --with-gnu-ld or --without-gnu-ld was given.
  9887 if test "${with_gnu_ld+set}" = set; then
  9888   withval="$with_gnu_ld"
  9889   test "$withval" = no || with_gnu_ld=yes
  9890 else
  9891   with_gnu_ld=no
  9892 fi;
  9893 ac_prog=ld
  9894 if test "$GCC" = yes; then
  9895   # Check if gcc -print-prog-name=ld gives a path.
  9896   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  9897 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
  9898   case $host in
  9899   *-*-mingw*)
  9900     # gcc leaves a trailing carriage return which upsets mingw
  9901     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9902   *)
  9903     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9904   esac
  9905   case $ac_prog in
  9906     # Accept absolute paths.
  9907     [\\/]* | ?:[\\/]*)
  9908       re_direlt='/[^/][^/]*/\.\./'
  9909       # Canonicalize the pathname of ld
  9910       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  9911       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  9912 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  9913       done
  9914       test -z "$LD" && LD="$ac_prog"
  9915       ;;
  9916   "")
  9917     # If it fails, then pretend we aren't using GCC.
  9918     ac_prog=ld
  9919     ;;
  9920   *)
  9921     # If it is relative, then search for the first ld in PATH.
  9922     with_gnu_ld=unknown
  9923     ;;
  9924   esac
  9925 elif test "$with_gnu_ld" = yes; then
  9926   echo "$as_me:$LINENO: checking for GNU ld" >&5
  9927 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
  9928 else
  9929   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  9930 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
  9931 fi
  9932 if test "${lt_cv_path_LD+set}" = set; then
  9933   echo $ECHO_N "(cached) $ECHO_C" >&6
  9934 else
  9935   if test -z "$LD"; then
  9936   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9937   for ac_dir in $PATH; do
  9938     IFS="$lt_save_ifs"
  9939     test -z "$ac_dir" && ac_dir=.
  9940     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  9941       lt_cv_path_LD="$ac_dir/$ac_prog"
  9942       # Check to see if the program is GNU ld.  I'd rather use --version,
  9943       # but apparently some variants of GNU ld only accept -v.
  9944       # Break only if it was the GNU/non-GNU ld that we prefer.
  9945       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  9946       *GNU* | *'with BFD'*)
  9947 	test "$with_gnu_ld" != no && break
  9948 	;;
  9949       *)
  9950 	test "$with_gnu_ld" != yes && break
  9951 	;;
  9952       esac
  9953     fi
  9954   done
  9955   IFS="$lt_save_ifs"
  9956 else
  9957   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  9958 fi
  9959 fi
  9960 
  9961 LD="$lt_cv_path_LD"
  9962 if test -n "$LD"; then
  9963   echo "$as_me:$LINENO: result: $LD" >&5
  9964 echo "${ECHO_T}$LD" >&6
  9965 else
  9966   echo "$as_me:$LINENO: result: no" >&5
  9967 echo "${ECHO_T}no" >&6
  9968 fi
  9969 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  9970 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  9971    { (exit 1); exit 1; }; }
  9972 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  9973 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
  9974 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  9975   echo $ECHO_N "(cached) $ECHO_C" >&6
  9976 else
  9977   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  9978 case `$LD -v 2>&1 </dev/null` in
  9979 *GNU* | *'with BFD'*)
  9980   lt_cv_prog_gnu_ld=yes
  9981   ;;
  9982 *)
  9983   lt_cv_prog_gnu_ld=no
  9984   ;;
  9985 esac
  9986 fi
  9987 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  9988 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
  9989 with_gnu_ld=$lt_cv_prog_gnu_ld
  9990 
  9991 
  9992 
  9993   # Check if GNU C++ uses GNU ld as the underlying linker, since the
  9994   # archiving commands below assume that GNU ld is being used.
  9995   if test "$with_gnu_ld" = yes; then
  9996     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9997     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'
  9998 
  9999     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 10000     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10001 
 10002     # If archive_cmds runs LD, not CC, wlarc should be empty
 10003     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 10004     #     investigate it a little bit more. (MM)
 10005     wlarc='${wl}'
 10006 
 10007     # ancient GNU ld didn't support --whole-archive et. al.
 10008     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 10009 	grep 'no-whole-archive' > /dev/null; then
 10010       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 10011     else
 10012       whole_archive_flag_spec_CXX=
 10013     fi
 10014   else
 10015     with_gnu_ld=no
 10016     wlarc=
 10017 
 10018     # A generic and very simple default shared library creation
 10019     # command for GNU C++ for the case where it uses the native
 10020     # linker, instead of GNU ld.  If possible, this setting should
 10021     # overridden to take advantage of the native linker features on
 10022     # the platform it is being used on.
 10023     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 10024   fi
 10025 
 10026   # Commands to make compiler produce verbose output that lists
 10027   # what "hidden" libraries, object files and flags are used when
 10028   # linking a shared library.
 10029   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10030 
 10031 else
 10032   GXX=no
 10033   with_gnu_ld=no
 10034   wlarc=
 10035 fi
 10036 
 10037 # PORTME: fill in a description of your system's C++ link characteristics
 10038 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 10039 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 10040 ld_shlibs_CXX=yes
 10041 case $host_os in
 10042   aix3*)
 10043     # FIXME: insert proper C++ library support
 10044     ld_shlibs_CXX=no
 10045     ;;
 10046   aix4* | aix5*)
 10047     if test "$host_cpu" = ia64; then
 10048       # On IA64, the linker does run time linking by default, so we don't
 10049       # have to do anything special.
 10050       aix_use_runtimelinking=no
 10051       exp_sym_flag='-Bexport'
 10052       no_entry_flag=""
 10053     else
 10054       aix_use_runtimelinking=no
 10055 
 10056       # Test if we are trying to use run time linking or normal
 10057       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 10058       # need to do runtime linking.
 10059       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 10060 	for ld_flag in $LDFLAGS; do
 10061 	  case $ld_flag in
 10062 	  *-brtl*)
 10063 	    aix_use_runtimelinking=yes
 10064 	    break
 10065 	    ;;
 10066 	  esac
 10067 	done
 10068       esac
 10069 
 10070       exp_sym_flag='-bexport'
 10071       no_entry_flag='-bnoentry'
 10072     fi
 10073 
 10074     # When large executables or shared objects are built, AIX ld can
 10075     # have problems creating the table of contents.  If linking a library
 10076     # or program results in "error TOC overflow" add -mminimal-toc to
 10077     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 10078     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 10079 
 10080     archive_cmds_CXX=''
 10081     hardcode_direct_CXX=yes
 10082     hardcode_libdir_separator_CXX=':'
 10083     link_all_deplibs_CXX=yes
 10084 
 10085     if test "$GXX" = yes; then
 10086       case $host_os in aix4.[012]|aix4.[012].*)
 10087       # We only want to do this on AIX 4.2 and lower, the check
 10088       # below for broken collect2 doesn't work under 4.3+
 10089 	collect2name=`${CC} -print-prog-name=collect2`
 10090 	if test -f "$collect2name" && \
 10091 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 10092 	then
 10093 	  # We have reworked collect2
 10094 	  hardcode_direct_CXX=yes
 10095 	else
 10096 	  # We have old collect2
 10097 	  hardcode_direct_CXX=unsupported
 10098 	  # It fails to find uninstalled libraries when the uninstalled
 10099 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 10100 	  # to unsupported forces relinking
 10101 	  hardcode_minus_L_CXX=yes
 10102 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
 10103 	  hardcode_libdir_separator_CXX=
 10104 	fi
 10105       esac
 10106       shared_flag='-shared'
 10107       if test "$aix_use_runtimelinking" = yes; then
 10108 	shared_flag="$shared_flag "'${wl}-G'
 10109       fi
 10110     else
 10111       # not using gcc
 10112       if test "$host_cpu" = ia64; then
 10113 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 10114 	# chokes on -Wl,-G. The following line is correct:
 10115 	shared_flag='-G'
 10116       else
 10117 	if test "$aix_use_runtimelinking" = yes; then
 10118 	  shared_flag='${wl}-G'
 10119 	else
 10120 	  shared_flag='${wl}-bM:SRE'
 10121 	fi
 10122       fi
 10123     fi
 10124 
 10125     # It seems that -bexpall does not export symbols beginning with
 10126     # underscore (_), so it is better to generate a list of symbols to export.
 10127     always_export_symbols_CXX=yes
 10128     if test "$aix_use_runtimelinking" = yes; then
 10129       # Warning - without using the other runtime loading flags (-brtl),
 10130       # -berok will link without error, but may produce a broken library.
 10131       allow_undefined_flag_CXX='-berok'
 10132       # Determine the default libpath from the value encoded in an empty executable.
 10133       cat >conftest.$ac_ext <<_ACEOF
 10134 /* confdefs.h.  */
 10135 _ACEOF
 10136 cat confdefs.h >>conftest.$ac_ext
 10137 cat >>conftest.$ac_ext <<_ACEOF
 10138 /* end confdefs.h.  */
 10139 
 10140 int
 10141 main ()
 10142 {
 10143 
 10144   ;
 10145   return 0;
 10146 }
 10147 _ACEOF
 10148 rm -f conftest.$ac_objext conftest$ac_exeext
 10149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 10150   (eval $ac_link) 2>conftest.er1
 10151   ac_status=$?
 10152   grep -v '^ *+' conftest.er1 >conftest.err
 10153   rm -f conftest.er1
 10154   cat conftest.err >&5
 10155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10156   (exit $ac_status); } &&
 10157 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 10158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10159   (eval $ac_try) 2>&5
 10160   ac_status=$?
 10161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10162   (exit $ac_status); }; } &&
 10163 	 { ac_try='test -s conftest$ac_exeext'
 10164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10165   (eval $ac_try) 2>&5
 10166   ac_status=$?
 10167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10168   (exit $ac_status); }; }; then
 10169 
 10170 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 10171 }'`
 10172 # Check for a 64-bit object if we didn't find anything.
 10173 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; }
 10174 }'`; fi
 10175 else
 10176   echo "$as_me: failed program was:" >&5
 10177 sed 's/^/| /' conftest.$ac_ext >&5
 10178 
 10179 fi
 10180 rm -f conftest.err conftest.$ac_objext \
 10181       conftest$ac_exeext conftest.$ac_ext
 10182 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 10183 
 10184       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 10185 
 10186       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"
 10187      else
 10188       if test "$host_cpu" = ia64; then
 10189 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 10190 	allow_undefined_flag_CXX="-z nodefs"
 10191 	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"
 10192       else
 10193 	# Determine the default libpath from the value encoded in an empty executable.
 10194 	cat >conftest.$ac_ext <<_ACEOF
 10195 /* confdefs.h.  */
 10196 _ACEOF
 10197 cat confdefs.h >>conftest.$ac_ext
 10198 cat >>conftest.$ac_ext <<_ACEOF
 10199 /* end confdefs.h.  */
 10200 
 10201 int
 10202 main ()
 10203 {
 10204 
 10205   ;
 10206   return 0;
 10207 }
 10208 _ACEOF
 10209 rm -f conftest.$ac_objext conftest$ac_exeext
 10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 10211   (eval $ac_link) 2>conftest.er1
 10212   ac_status=$?
 10213   grep -v '^ *+' conftest.er1 >conftest.err
 10214   rm -f conftest.er1
 10215   cat conftest.err >&5
 10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10217   (exit $ac_status); } &&
 10218 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 10219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10220   (eval $ac_try) 2>&5
 10221   ac_status=$?
 10222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10223   (exit $ac_status); }; } &&
 10224 	 { ac_try='test -s conftest$ac_exeext'
 10225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 10226   (eval $ac_try) 2>&5
 10227   ac_status=$?
 10228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10229   (exit $ac_status); }; }; then
 10230 
 10231 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 10232 }'`
 10233 # Check for a 64-bit object if we didn't find anything.
 10234 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; }
 10235 }'`; fi
 10236 else
 10237   echo "$as_me: failed program was:" >&5
 10238 sed 's/^/| /' conftest.$ac_ext >&5
 10239 
 10240 fi
 10241 rm -f conftest.err conftest.$ac_objext \
 10242       conftest$ac_exeext conftest.$ac_ext
 10243 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 10244 
 10245 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 10246 	# Warning - without using the other run time loading flags,
 10247 	# -berok will link without error, but may produce a broken library.
 10248 	no_undefined_flag_CXX=' ${wl}-bernotok'
 10249 	allow_undefined_flag_CXX=' ${wl}-berok'
 10250 	# -bexpall does not export symbols beginning with underscore (_)
 10251 	always_export_symbols_CXX=yes
 10252 	# Exported symbols can be pulled into shared objects from archives
 10253 	whole_archive_flag_spec_CXX=' '
 10254 	archive_cmds_need_lc_CXX=yes
 10255 	# This is similar to how AIX traditionally builds its shared libraries.
 10256 	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'
 10257       fi
 10258     fi
 10259     ;;
 10260   chorus*)
 10261     case $cc_basename in
 10262       *)
 10263 	# FIXME: insert proper C++ library support
 10264 	ld_shlibs_CXX=no
 10265 	;;
 10266     esac
 10267     ;;
 10268 
 10269 
 10270   cygwin* | mingw* | pw32*)
 10271     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 10272     # as there is no search path for DLLs.
 10273     hardcode_libdir_flag_spec_CXX='-L$libdir'
 10274     allow_undefined_flag_CXX=unsupported
 10275     always_export_symbols_CXX=no
 10276     enable_shared_with_static_runtimes_CXX=yes
 10277 
 10278     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 10279       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'
 10280       # If the export-symbols file already is a .def file (1st line
 10281       # is EXPORTS), use it as is; otherwise, prepend...
 10282       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 10283 	cp $export_symbols $output_objdir/$soname.def;
 10284       else
 10285 	echo EXPORTS > $output_objdir/$soname.def;
 10286 	cat $export_symbols >> $output_objdir/$soname.def;
 10287       fi~
 10288       $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'
 10289     else
 10290       ld_shlibs_CXX=no
 10291     fi
 10292   ;;
 10293       darwin* | rhapsody*)
 10294         case $host_os in
 10295         rhapsody* | darwin1.[012])
 10296          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 10297          ;;
 10298        *) # Darwin 1.3 on
 10299          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 10300            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 10301          else
 10302            case ${MACOSX_DEPLOYMENT_TARGET} in
 10303              10.[012])
 10304                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 10305                ;;
 10306              10.*)
 10307                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 10308                ;;
 10309            esac
 10310          fi
 10311          ;;
 10312         esac
 10313       archive_cmds_need_lc_CXX=no
 10314       hardcode_direct_CXX=no
 10315       hardcode_automatic_CXX=yes
 10316       hardcode_shlibpath_var_CXX=unsupported
 10317       whole_archive_flag_spec_CXX=''
 10318       link_all_deplibs_CXX=yes
 10319 
 10320     if test "$GXX" = yes ; then
 10321       lt_int_apple_cc_single_mod=no
 10322       output_verbose_link_cmd='echo'
 10323       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 10324        lt_int_apple_cc_single_mod=yes
 10325       fi
 10326       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 10327        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 10328       else
 10329           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'
 10330         fi
 10331         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 10332         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 10333           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 10334             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}'
 10335           else
 10336             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}'
 10337           fi
 10338             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}'
 10339       else
 10340       case $cc_basename in
 10341         xlc*)
 10342          output_verbose_link_cmd='echo'
 10343           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'
 10344           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 10345           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 10346           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}'
 10347           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}'
 10348           ;;
 10349        *)
 10350          ld_shlibs_CXX=no
 10351           ;;
 10352       esac
 10353       fi
 10354         ;;
 10355 
 10356   dgux*)
 10357     case $cc_basename in
 10358       ec++*)
 10359 	# FIXME: insert proper C++ library support
 10360 	ld_shlibs_CXX=no
 10361 	;;
 10362       ghcx*)
 10363 	# Green Hills C++ Compiler
 10364 	# FIXME: insert proper C++ library support
 10365 	ld_shlibs_CXX=no
 10366 	;;
 10367       *)
 10368 	# FIXME: insert proper C++ library support
 10369 	ld_shlibs_CXX=no
 10370 	;;
 10371     esac
 10372     ;;
 10373   freebsd[12]*)
 10374     # C++ shared libraries reported to be fairly broken before switch to ELF
 10375     ld_shlibs_CXX=no
 10376     ;;
 10377   freebsd-elf*)
 10378     archive_cmds_need_lc_CXX=no
 10379     ;;
 10380   freebsd* | kfreebsd*-gnu | dragonfly*)
 10381     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 10382     # conventions
 10383     ld_shlibs_CXX=yes
 10384     ;;
 10385   gnu*)
 10386     ;;
 10387   hpux9*)
 10388     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10389     hardcode_libdir_separator_CXX=:
 10390     export_dynamic_flag_spec_CXX='${wl}-E'
 10391     hardcode_direct_CXX=yes
 10392     hardcode_minus_L_CXX=yes # Not in the search PATH,
 10393 				# but as the default
 10394 				# location of the library.
 10395 
 10396     case $cc_basename in
 10397     CC*)
 10398       # FIXME: insert proper C++ library support
 10399       ld_shlibs_CXX=no
 10400       ;;
 10401     aCC*)
 10402       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'
 10403       # Commands to make compiler produce verbose output that lists
 10404       # what "hidden" libraries, object files and flags are used when
 10405       # linking a shared library.
 10406       #
 10407       # There doesn't appear to be a way to prevent this compiler from
 10408       # explicitly linking system object files so we need to strip them
 10409       # from the output so that they don't get included in the library
 10410       # dependencies.
 10411       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'
 10412       ;;
 10413     *)
 10414       if test "$GXX" = yes; then
 10415         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'
 10416       else
 10417         # FIXME: insert proper C++ library support
 10418         ld_shlibs_CXX=no
 10419       fi
 10420       ;;
 10421     esac
 10422     ;;
 10423   hpux10*|hpux11*)
 10424     if test $with_gnu_ld = no; then
 10425       case $host_cpu in
 10426       hppa*64*)
 10427 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10428 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
 10429 	hardcode_libdir_separator_CXX=:
 10430         ;;
 10431       ia64*)
 10432 	hardcode_libdir_flag_spec_CXX='-L$libdir'
 10433         ;;
 10434       *)
 10435 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 10436 	hardcode_libdir_separator_CXX=:
 10437 	export_dynamic_flag_spec_CXX='${wl}-E'
 10438         ;;
 10439       esac
 10440     fi
 10441     case $host_cpu in
 10442     hppa*64*)
 10443       hardcode_direct_CXX=no
 10444       hardcode_shlibpath_var_CXX=no
 10445       ;;
 10446     ia64*)
 10447       hardcode_direct_CXX=no
 10448       hardcode_shlibpath_var_CXX=no
 10449       hardcode_minus_L_CXX=yes # Not in the search PATH,
 10450 					      # but as the default
 10451 					      # location of the library.
 10452       ;;
 10453     *)
 10454       hardcode_direct_CXX=yes
 10455       hardcode_minus_L_CXX=yes # Not in the search PATH,
 10456 					      # but as the default
 10457 					      # location of the library.
 10458       ;;
 10459     esac
 10460 
 10461     case $cc_basename in
 10462       CC*)
 10463 	# FIXME: insert proper C++ library support
 10464 	ld_shlibs_CXX=no
 10465 	;;
 10466       aCC*)
 10467 	case $host_cpu in
 10468 	hppa*64*|ia64*)
 10469 	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 10470 	  ;;
 10471 	*)
 10472 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 10473 	  ;;
 10474 	esac
 10475 	# Commands to make compiler produce verbose output that lists
 10476 	# what "hidden" libraries, object files and flags are used when
 10477 	# linking a shared library.
 10478 	#
 10479 	# There doesn't appear to be a way to prevent this compiler from
 10480 	# explicitly linking system object files so we need to strip them
 10481 	# from the output so that they don't get included in the library
 10482 	# dependencies.
 10483 	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'
 10484 	;;
 10485       *)
 10486 	if test "$GXX" = yes; then
 10487 	  if test $with_gnu_ld = no; then
 10488 	    case $host_cpu in
 10489 	    ia64*|hppa*64*)
 10490 	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 10491 	      ;;
 10492 	    *)
 10493 	      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'
 10494 	      ;;
 10495 	    esac
 10496 	  fi
 10497 	else
 10498 	  # FIXME: insert proper C++ library support
 10499 	  ld_shlibs_CXX=no
 10500 	fi
 10501 	;;
 10502     esac
 10503     ;;
 10504   irix5* | irix6*)
 10505     case $cc_basename in
 10506       CC*)
 10507 	# SGI C++
 10508 	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'
 10509 
 10510 	# Archives containing C++ object files must be created using
 10511 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 10512 	# necessary to make sure instantiated templates are included
 10513 	# in the archive.
 10514 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 10515 	;;
 10516       *)
 10517 	if test "$GXX" = yes; then
 10518 	  if test "$with_gnu_ld" = no; then
 10519 	    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'
 10520 	  else
 10521 	    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'
 10522 	  fi
 10523 	fi
 10524 	link_all_deplibs_CXX=yes
 10525 	;;
 10526     esac
 10527     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10528     hardcode_libdir_separator_CXX=:
 10529     ;;
 10530   linux*)
 10531     case $cc_basename in
 10532       KCC*)
 10533 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10534 
 10535 	# KCC will only create a shared library if the output file
 10536 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10537 	# to its proper name (with version) after linking.
 10538 	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'
 10539 	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'
 10540 	# Commands to make compiler produce verbose output that lists
 10541 	# what "hidden" libraries, object files and flags are used when
 10542 	# linking a shared library.
 10543 	#
 10544 	# There doesn't appear to be a way to prevent this compiler from
 10545 	# explicitly linking system object files so we need to strip them
 10546 	# from the output so that they don't get included in the library
 10547 	# dependencies.
 10548 	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'
 10549 
 10550 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 10551 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10552 
 10553 	# Archives containing C++ object files must be created using
 10554 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 10555 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 10556 	;;
 10557       icpc*)
 10558 	# Intel C++
 10559 	with_gnu_ld=yes
 10560 	# version 8.0 and above of icpc choke on multiply defined symbols
 10561 	# if we add $predep_objects and $postdep_objects, however 7.1 and
 10562 	# earlier do not add the objects themselves.
 10563 	case `$CC -V 2>&1` in
 10564 	*"Version 7."*)
 10565   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10566   	  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'
 10567 	  ;;
 10568 	*)  # Version 8.0 or newer
 10569 	  tmp_idyn=
 10570 	  case $host_cpu in
 10571 	    ia64*) tmp_idyn=' -i_dynamic';;
 10572 	  esac
 10573   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10574 	  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'
 10575 	  ;;
 10576 	esac
 10577 	archive_cmds_need_lc_CXX=no
 10578 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10579 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10580 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 10581 	;;
 10582       pgCC*)
 10583         # Portland Group C++ compiler
 10584 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 10585   	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'
 10586 
 10587 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 10588 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 10589 	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'
 10590         ;;
 10591       cxx*)
 10592 	# Compaq C++
 10593 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 10594 	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'
 10595 
 10596 	runpath_var=LD_RUN_PATH
 10597 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 10598 	hardcode_libdir_separator_CXX=:
 10599 
 10600 	# Commands to make compiler produce verbose output that lists
 10601 	# what "hidden" libraries, object files and flags are used when
 10602 	# linking a shared library.
 10603 	#
 10604 	# There doesn't appear to be a way to prevent this compiler from
 10605 	# explicitly linking system object files so we need to strip them
 10606 	# from the output so that they don't get included in the library
 10607 	# dependencies.
 10608 	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'
 10609 	;;
 10610     esac
 10611     ;;
 10612   lynxos*)
 10613     # FIXME: insert proper C++ library support
 10614     ld_shlibs_CXX=no
 10615     ;;
 10616   m88k*)
 10617     # FIXME: insert proper C++ library support
 10618     ld_shlibs_CXX=no
 10619     ;;
 10620   mvs*)
 10621     case $cc_basename in
 10622       cxx*)
 10623 	# FIXME: insert proper C++ library support
 10624 	ld_shlibs_CXX=no
 10625 	;;
 10626       *)
 10627 	# FIXME: insert proper C++ library support
 10628 	ld_shlibs_CXX=no
 10629 	;;
 10630     esac
 10631     ;;
 10632   netbsd*)
 10633     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 10634       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 10635       wlarc=
 10636       hardcode_libdir_flag_spec_CXX='-R$libdir'
 10637       hardcode_direct_CXX=yes
 10638       hardcode_shlibpath_var_CXX=no
 10639     fi
 10640     # Workaround some broken pre-1.5 toolchains
 10641     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 10642     ;;
 10643   openbsd2*)
 10644     # C++ shared libraries are fairly broken
 10645     ld_shlibs_CXX=no
 10646     ;;
 10647   openbsd*)
 10648     hardcode_direct_CXX=yes
 10649     hardcode_shlibpath_var_CXX=no
 10650     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 10651     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10652     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10653       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 10654       export_dynamic_flag_spec_CXX='${wl}-E'
 10655       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 10656     fi
 10657     output_verbose_link_cmd='echo'
 10658     ;;
 10659   osf3*)
 10660     case $cc_basename in
 10661       KCC*)
 10662 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10663 
 10664 	# KCC will only create a shared library if the output file
 10665 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10666 	# to its proper name (with version) after linking.
 10667 	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'
 10668 
 10669 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10670 	hardcode_libdir_separator_CXX=:
 10671 
 10672 	# Archives containing C++ object files must be created using
 10673 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 10674 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 10675 
 10676 	;;
 10677       RCC*)
 10678 	# Rational C++ 2.4.1
 10679 	# FIXME: insert proper C++ library support
 10680 	ld_shlibs_CXX=no
 10681 	;;
 10682       cxx*)
 10683 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10684 	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'
 10685 
 10686 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10687 	hardcode_libdir_separator_CXX=:
 10688 
 10689 	# Commands to make compiler produce verbose output that lists
 10690 	# what "hidden" libraries, object files and flags are used when
 10691 	# linking a shared library.
 10692 	#
 10693 	# There doesn't appear to be a way to prevent this compiler from
 10694 	# explicitly linking system object files so we need to strip them
 10695 	# from the output so that they don't get included in the library
 10696 	# dependencies.
 10697 	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'
 10698 	;;
 10699       *)
 10700 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10701 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10702 	  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'
 10703 
 10704 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10705 	  hardcode_libdir_separator_CXX=:
 10706 
 10707 	  # Commands to make compiler produce verbose output that lists
 10708 	  # what "hidden" libraries, object files and flags are used when
 10709 	  # linking a shared library.
 10710 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10711 
 10712 	else
 10713 	  # FIXME: insert proper C++ library support
 10714 	  ld_shlibs_CXX=no
 10715 	fi
 10716 	;;
 10717     esac
 10718     ;;
 10719   osf4* | osf5*)
 10720     case $cc_basename in
 10721       KCC*)
 10722 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 10723 
 10724 	# KCC will only create a shared library if the output file
 10725 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 10726 	# to its proper name (with version) after linking.
 10727 	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'
 10728 
 10729 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 10730 	hardcode_libdir_separator_CXX=:
 10731 
 10732 	# Archives containing C++ object files must be created using
 10733 	# the KAI C++ compiler.
 10734 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 10735 	;;
 10736       RCC*)
 10737 	# Rational C++ 2.4.1
 10738 	# FIXME: insert proper C++ library support
 10739 	ld_shlibs_CXX=no
 10740 	;;
 10741       cxx*)
 10742 	allow_undefined_flag_CXX=' -expect_unresolved \*'
 10743 	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'
 10744 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 10745 	  echo "-hidden">> $lib.exp~
 10746 	  $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~
 10747 	  $rm $lib.exp'
 10748 
 10749 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 10750 	hardcode_libdir_separator_CXX=:
 10751 
 10752 	# Commands to make compiler produce verbose output that lists
 10753 	# what "hidden" libraries, object files and flags are used when
 10754 	# linking a shared library.
 10755 	#
 10756 	# There doesn't appear to be a way to prevent this compiler from
 10757 	# explicitly linking system object files so we need to strip them
 10758 	# from the output so that they don't get included in the library
 10759 	# dependencies.
 10760 	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'
 10761 	;;
 10762       *)
 10763 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10764 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 10765 	 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'
 10766 
 10767 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 10768 	  hardcode_libdir_separator_CXX=:
 10769 
 10770 	  # Commands to make compiler produce verbose output that lists
 10771 	  # what "hidden" libraries, object files and flags are used when
 10772 	  # linking a shared library.
 10773 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 10774 
 10775 	else
 10776 	  # FIXME: insert proper C++ library support
 10777 	  ld_shlibs_CXX=no
 10778 	fi
 10779 	;;
 10780     esac
 10781     ;;
 10782   psos*)
 10783     # FIXME: insert proper C++ library support
 10784     ld_shlibs_CXX=no
 10785     ;;
 10786   sco*)
 10787     archive_cmds_need_lc_CXX=no
 10788     case $cc_basename in
 10789       CC*)
 10790 	# FIXME: insert proper C++ library support
 10791 	ld_shlibs_CXX=no
 10792 	;;
 10793       *)
 10794 	# FIXME: insert proper C++ library support
 10795 	ld_shlibs_CXX=no
 10796 	;;
 10797     esac
 10798     ;;
 10799   sunos4*)
 10800     case $cc_basename in
 10801       CC*)
 10802 	# Sun C++ 4.x
 10803 	# FIXME: insert proper C++ library support
 10804 	ld_shlibs_CXX=no
 10805 	;;
 10806       lcc*)
 10807 	# Lucid
 10808 	# FIXME: insert proper C++ library support
 10809 	ld_shlibs_CXX=no
 10810 	;;
 10811       *)
 10812 	# FIXME: insert proper C++ library support
 10813 	ld_shlibs_CXX=no
 10814 	;;
 10815     esac
 10816     ;;
 10817   solaris*)
 10818     case $cc_basename in
 10819       CC*)
 10820 	# Sun C++ 4.2, 5.x and Centerline C++
 10821         archive_cmds_need_lc_CXX=yes
 10822 	no_undefined_flag_CXX=' -zdefs'
 10823 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 10824 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10825 	$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'
 10826 
 10827 	hardcode_libdir_flag_spec_CXX='-R$libdir'
 10828 	hardcode_shlibpath_var_CXX=no
 10829 	case $host_os in
 10830 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
 10831 	  *)
 10832 	    # The C++ compiler is used as linker so we must use $wl
 10833 	    # flag to pass the commands to the underlying system
 10834 	    # linker. We must also pass each convience library through
 10835 	    # to the system linker between allextract/defaultextract.
 10836 	    # The C++ compiler will combine linker options so we
 10837 	    # cannot just pass the convience library names through
 10838 	    # without $wl.
 10839 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
 10840 	    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'
 10841 	    ;;
 10842 	esac
 10843 	link_all_deplibs_CXX=yes
 10844 
 10845 	output_verbose_link_cmd='echo'
 10846 
 10847 	# Archives containing C++ object files must be created using
 10848 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
 10849 	# necessary to make sure instantiated templates are included
 10850 	# in the archive.
 10851 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 10852 	;;
 10853       gcx*)
 10854 	# Green Hills C++ Compiler
 10855 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10856 
 10857 	# The C++ compiler must be used to create the archive.
 10858 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 10859 	;;
 10860       *)
 10861 	# GNU C++ compiler with Solaris linker
 10862 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 10863 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 10864 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
 10865 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10866 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10867 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 10868 
 10869 	    # Commands to make compiler produce verbose output that lists
 10870 	    # what "hidden" libraries, object files and flags are used when
 10871 	    # linking a shared library.
 10872 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 10873 	  else
 10874 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
 10875 	    # platform.
 10876 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 10877 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 10878 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 10879 
 10880 	    # Commands to make compiler produce verbose output that lists
 10881 	    # what "hidden" libraries, object files and flags are used when
 10882 	    # linking a shared library.
 10883 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 10884 	  fi
 10885 
 10886 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 10887 	fi
 10888 	;;
 10889     esac
 10890     ;;
 10891   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
 10892     archive_cmds_need_lc_CXX=no
 10893     ;;
 10894   tandem*)
 10895     case $cc_basename in
 10896       NCC*)
 10897 	# NonStop-UX NCC 3.20
 10898 	# FIXME: insert proper C++ library support
 10899 	ld_shlibs_CXX=no
 10900 	;;
 10901       *)
 10902 	# FIXME: insert proper C++ library support
 10903 	ld_shlibs_CXX=no
 10904 	;;
 10905     esac
 10906     ;;
 10907   vxworks*)
 10908     # FIXME: insert proper C++ library support
 10909     ld_shlibs_CXX=no
 10910     ;;
 10911   *)
 10912     # FIXME: insert proper C++ library support
 10913     ld_shlibs_CXX=no
 10914     ;;
 10915 esac
 10916 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 10917 echo "${ECHO_T}$ld_shlibs_CXX" >&6
 10918 test "$ld_shlibs_CXX" = no && can_build_shared=no
 10919 
 10920 GCC_CXX="$GXX"
 10921 LD_CXX="$LD"
 10922 
 10923 
 10924 cat > conftest.$ac_ext <<EOF
 10925 class Foo
 10926 {
 10927 public:
 10928   Foo (void) { a = 0; }
 10929 private:
 10930   int a;
 10931 };
 10932 EOF
 10933 
 10934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 10935   (eval $ac_compile) 2>&5
 10936   ac_status=$?
 10937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10938   (exit $ac_status); }; then
 10939   # Parse the compiler output and extract the necessary
 10940   # objects, libraries and library flags.
 10941 
 10942   # Sentinel used to keep track of whether or not we are before
 10943   # the conftest object file.
 10944   pre_test_object_deps_done=no
 10945 
 10946   # The `*' in the case matches for architectures that use `case' in
 10947   # $output_verbose_cmd can trigger glob expansion during the loop
 10948   # eval without this substitution.
 10949   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 10950 
 10951   for p in `eval $output_verbose_link_cmd`; do
 10952     case $p in
 10953 
 10954     -L* | -R* | -l*)
 10955        # Some compilers place space between "-{L,R}" and the path.
 10956        # Remove the space.
 10957        if test $p = "-L" \
 10958 	  || test $p = "-R"; then
 10959 	 prev=$p
 10960 	 continue
 10961        else
 10962 	 prev=
 10963        fi
 10964 
 10965        if test "$pre_test_object_deps_done" = no; then
 10966 	 case $p in
 10967 	 -L* | -R*)
 10968 	   # Internal compiler library paths should come after those
 10969 	   # provided the user.  The postdeps already come after the
 10970 	   # user supplied libs so there is no need to process them.
 10971 	   if test -z "$compiler_lib_search_path_CXX"; then
 10972 	     compiler_lib_search_path_CXX="${prev}${p}"
 10973 	   else
 10974 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 10975 	   fi
 10976 	   ;;
 10977 	 # The "-l" case would never come before the object being
 10978 	 # linked, so don't bother handling this case.
 10979 	 esac
 10980        else
 10981 	 if test -z "$postdeps_CXX"; then
 10982 	   postdeps_CXX="${prev}${p}"
 10983 	 else
 10984 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 10985 	 fi
 10986        fi
 10987        ;;
 10988 
 10989     *.$objext)
 10990        # This assumes that the test object file only shows up
 10991        # once in the compiler output.
 10992        if test "$p" = "conftest.$objext"; then
 10993 	 pre_test_object_deps_done=yes
 10994 	 continue
 10995        fi
 10996 
 10997        if test "$pre_test_object_deps_done" = no; then
 10998 	 if test -z "$predep_objects_CXX"; then
 10999 	   predep_objects_CXX="$p"
 11000 	 else
 11001 	   predep_objects_CXX="$predep_objects_CXX $p"
 11002 	 fi
 11003        else
 11004 	 if test -z "$postdep_objects_CXX"; then
 11005 	   postdep_objects_CXX="$p"
 11006 	 else
 11007 	   postdep_objects_CXX="$postdep_objects_CXX $p"
 11008 	 fi
 11009        fi
 11010        ;;
 11011 
 11012     *) ;; # Ignore the rest.
 11013 
 11014     esac
 11015   done
 11016 
 11017   # Clean up.
 11018   rm -f a.out a.exe
 11019 else
 11020   echo "libtool.m4: error: problem compiling CXX test program"
 11021 fi
 11022 
 11023 $rm -f confest.$objext
 11024 
 11025 # PORTME: override above test on systems where it is broken
 11026 case $host_os in
 11027 solaris*)
 11028   case $cc_basename in
 11029   CC*)
 11030     # Adding this requires a known-good setup of shared libraries for
 11031     # Sun compiler versions before 5.6, else PIC objects from an old
 11032     # archive will be linked into the output, leading to subtle bugs.
 11033     postdeps_CXX='-lCstd -lCrun'
 11034     ;;
 11035   esac
 11036 esac
 11037 
 11038 
 11039 case " $postdeps_CXX " in
 11040 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 11041 esac
 11042 
 11043 lt_prog_compiler_wl_CXX=
 11044 lt_prog_compiler_pic_CXX=
 11045 lt_prog_compiler_static_CXX=
 11046 
 11047 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 11048 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 11049 
 11050   # C++ specific cases for pic, static, wl, etc.
 11051   if test "$GXX" = yes; then
 11052     lt_prog_compiler_wl_CXX='-Wl,'
 11053     lt_prog_compiler_static_CXX='-static'
 11054 
 11055     case $host_os in
 11056     aix*)
 11057       # All AIX code is PIC.
 11058       if test "$host_cpu" = ia64; then
 11059 	# AIX 5 now supports IA64 processor
 11060 	lt_prog_compiler_static_CXX='-Bstatic'
 11061       fi
 11062       ;;
 11063     amigaos*)
 11064       # FIXME: we need at least 68020 code to build shared libraries, but
 11065       # adding the `-m68020' flag to GCC prevents building anything better,
 11066       # like `-m68040'.
 11067       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 11068       ;;
 11069     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 11070       # PIC is the default for these OSes.
 11071       ;;
 11072     mingw* | os2* | pw32*)
 11073       # This hack is so that the source file can tell whether it is being
 11074       # built for inclusion in a dll (and should export symbols for example).
 11075       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 11076       ;;
 11077     darwin* | rhapsody*)
 11078       # PIC is the default on this platform
 11079       # Common symbols not allowed in MH_DYLIB files
 11080       lt_prog_compiler_pic_CXX='-fno-common'
 11081       ;;
 11082     *djgpp*)
 11083       # DJGPP does not support shared libraries at all
 11084       lt_prog_compiler_pic_CXX=
 11085       ;;
 11086     sysv4*MP*)
 11087       if test -d /usr/nec; then
 11088 	lt_prog_compiler_pic_CXX=-Kconform_pic
 11089       fi
 11090       ;;
 11091     hpux*)
 11092       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 11093       # not for PA HP-UX.
 11094       case $host_cpu in
 11095       hppa*64*|ia64*)
 11096 	;;
 11097       *)
 11098 	lt_prog_compiler_pic_CXX='-fPIC'
 11099 	;;
 11100       esac
 11101       ;;
 11102     *)
 11103       lt_prog_compiler_pic_CXX='-fPIC'
 11104       ;;
 11105     esac
 11106   else
 11107     case $host_os in
 11108       aix4* | aix5*)
 11109 	# All AIX code is PIC.
 11110 	if test "$host_cpu" = ia64; then
 11111 	  # AIX 5 now supports IA64 processor
 11112 	  lt_prog_compiler_static_CXX='-Bstatic'
 11113 	else
 11114 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 11115 	fi
 11116 	;;
 11117       chorus*)
 11118 	case $cc_basename in
 11119 	cxch68*)
 11120 	  # Green Hills C++ Compiler
 11121 	  # _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"
 11122 	  ;;
 11123 	esac
 11124 	;;
 11125        darwin*)
 11126          # PIC is the default on this platform
 11127          # Common symbols not allowed in MH_DYLIB files
 11128          case $cc_basename in
 11129            xlc*)
 11130            lt_prog_compiler_pic_CXX='-qnocommon'
 11131            lt_prog_compiler_wl_CXX='-Wl,'
 11132            ;;
 11133          esac
 11134        ;;
 11135       dgux*)
 11136 	case $cc_basename in
 11137 	  ec++*)
 11138 	    lt_prog_compiler_pic_CXX='-KPIC'
 11139 	    ;;
 11140 	  ghcx*)
 11141 	    # Green Hills C++ Compiler
 11142 	    lt_prog_compiler_pic_CXX='-pic'
 11143 	    ;;
 11144 	  *)
 11145 	    ;;
 11146 	esac
 11147 	;;
 11148       freebsd* | kfreebsd*-gnu | dragonfly*)
 11149 	# FreeBSD uses GNU C++
 11150 	;;
 11151       hpux9* | hpux10* | hpux11*)
 11152 	case $cc_basename in
 11153 	  CC*)
 11154 	    lt_prog_compiler_wl_CXX='-Wl,'
 11155 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 11156 	    if test "$host_cpu" != ia64; then
 11157 	      lt_prog_compiler_pic_CXX='+Z'
 11158 	    fi
 11159 	    ;;
 11160 	  aCC*)
 11161 	    lt_prog_compiler_wl_CXX='-Wl,'
 11162 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 11163 	    case $host_cpu in
 11164 	    hppa*64*|ia64*)
 11165 	      # +Z the default
 11166 	      ;;
 11167 	    *)
 11168 	      lt_prog_compiler_pic_CXX='+Z'
 11169 	      ;;
 11170 	    esac
 11171 	    ;;
 11172 	  *)
 11173 	    ;;
 11174 	esac
 11175 	;;
 11176       irix5* | irix6* | nonstopux*)
 11177 	case $cc_basename in
 11178 	  CC*)
 11179 	    lt_prog_compiler_wl_CXX='-Wl,'
 11180 	    lt_prog_compiler_static_CXX='-non_shared'
 11181 	    # CC pic flag -KPIC is the default.
 11182 	    ;;
 11183 	  *)
 11184 	    ;;
 11185 	esac
 11186 	;;
 11187       linux*)
 11188 	case $cc_basename in
 11189 	  KCC*)
 11190 	    # KAI C++ Compiler
 11191 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 11192 	    lt_prog_compiler_pic_CXX='-fPIC'
 11193 	    ;;
 11194 	  icpc* | ecpc*)
 11195 	    # Intel C++
 11196 	    lt_prog_compiler_wl_CXX='-Wl,'
 11197 	    lt_prog_compiler_pic_CXX='-KPIC'
 11198 	    lt_prog_compiler_static_CXX='-static'
 11199 	    ;;
 11200 	  pgCC*)
 11201 	    # Portland Group C++ compiler.
 11202 	    lt_prog_compiler_wl_CXX='-Wl,'
 11203 	    lt_prog_compiler_pic_CXX='-fpic'
 11204 	    lt_prog_compiler_static_CXX='-Bstatic'
 11205 	    ;;
 11206 	  cxx*)
 11207 	    # Compaq C++
 11208 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 11209 	    # Linux and Compaq Tru64 Unix objects are PIC.
 11210 	    lt_prog_compiler_pic_CXX=
 11211 	    lt_prog_compiler_static_CXX='-non_shared'
 11212 	    ;;
 11213 	  *)
 11214 	    ;;
 11215 	esac
 11216 	;;
 11217       lynxos*)
 11218 	;;
 11219       m88k*)
 11220 	;;
 11221       mvs*)
 11222 	case $cc_basename in
 11223 	  cxx*)
 11224 	    lt_prog_compiler_pic_CXX='-W c,exportall'
 11225 	    ;;
 11226 	  *)
 11227 	    ;;
 11228 	esac
 11229 	;;
 11230       netbsd*)
 11231 	;;
 11232       osf3* | osf4* | osf5*)
 11233 	case $cc_basename in
 11234 	  KCC*)
 11235 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 11236 	    ;;
 11237 	  RCC*)
 11238 	    # Rational C++ 2.4.1
 11239 	    lt_prog_compiler_pic_CXX='-pic'
 11240 	    ;;
 11241 	  cxx*)
 11242 	    # Digital/Compaq C++
 11243 	    lt_prog_compiler_wl_CXX='-Wl,'
 11244 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 11245 	    # Linux and Compaq Tru64 Unix objects are PIC.
 11246 	    lt_prog_compiler_pic_CXX=
 11247 	    lt_prog_compiler_static_CXX='-non_shared'
 11248 	    ;;
 11249 	  *)
 11250 	    ;;
 11251 	esac
 11252 	;;
 11253       psos*)
 11254 	;;
 11255       sco*)
 11256 	case $cc_basename in
 11257 	  CC*)
 11258 	    lt_prog_compiler_pic_CXX='-fPIC'
 11259 	    ;;
 11260 	  *)
 11261 	    ;;
 11262 	esac
 11263 	;;
 11264       solaris*)
 11265 	case $cc_basename in
 11266 	  CC*)
 11267 	    # Sun C++ 4.2, 5.x and Centerline C++
 11268 	    lt_prog_compiler_pic_CXX='-KPIC'
 11269 	    lt_prog_compiler_static_CXX='-Bstatic'
 11270 	    lt_prog_compiler_wl_CXX='-Qoption ld '
 11271 	    ;;
 11272 	  gcx*)
 11273 	    # Green Hills C++ Compiler
 11274 	    lt_prog_compiler_pic_CXX='-PIC'
 11275 	    ;;
 11276 	  *)
 11277 	    ;;
 11278 	esac
 11279 	;;
 11280       sunos4*)
 11281 	case $cc_basename in
 11282 	  CC*)
 11283 	    # Sun C++ 4.x
 11284 	    lt_prog_compiler_pic_CXX='-pic'
 11285 	    lt_prog_compiler_static_CXX='-Bstatic'
 11286 	    ;;
 11287 	  lcc*)
 11288 	    # Lucid
 11289 	    lt_prog_compiler_pic_CXX='-pic'
 11290 	    ;;
 11291 	  *)
 11292 	    ;;
 11293 	esac
 11294 	;;
 11295       tandem*)
 11296 	case $cc_basename in
 11297 	  NCC*)
 11298 	    # NonStop-UX NCC 3.20
 11299 	    lt_prog_compiler_pic_CXX='-KPIC'
 11300 	    ;;
 11301 	  *)
 11302 	    ;;
 11303 	esac
 11304 	;;
 11305       unixware*)
 11306 	;;
 11307       vxworks*)
 11308 	;;
 11309       *)
 11310 	lt_prog_compiler_can_build_shared_CXX=no
 11311 	;;
 11312     esac
 11313   fi
 11314 
 11315 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 11316 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 11317 
 11318 #
 11319 # Check to make sure the PIC flag actually works.
 11320 #
 11321 if test -n "$lt_prog_compiler_pic_CXX"; then
 11322 
 11323 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 11324 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 11325 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 11326   echo $ECHO_N "(cached) $ECHO_C" >&6
 11327 else
 11328   lt_prog_compiler_pic_works_CXX=no
 11329   ac_outfile=conftest.$ac_objext
 11330    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11331    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 11332    # Insert the option either (1) after the last *FLAGS variable, or
 11333    # (2) before a word containing "conftest.", or (3) at the end.
 11334    # Note that $ac_compile itself does not contain backslashes and begins
 11335    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11336    # The option is referenced via a variable to avoid confusing sed.
 11337    lt_compile=`echo "$ac_compile" | $SED \
 11338    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11339    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11340    -e 's:$: $lt_compiler_flag:'`
 11341    (eval echo "\"\$as_me:11341: $lt_compile\"" >&5)
 11342    (eval "$lt_compile" 2>conftest.err)
 11343    ac_status=$?
 11344    cat conftest.err >&5
 11345    echo "$as_me:11345: \$? = $ac_status" >&5
 11346    if (exit $ac_status) && test -s "$ac_outfile"; then
 11347      # The compiler can only warn and ignore the option if not recognized
 11348      # So say no if there are warnings other than the usual output.
 11349      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 11350      $SED '/^$/d' conftest.err >conftest.er2
 11351      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 11352        lt_prog_compiler_pic_works_CXX=yes
 11353      fi
 11354    fi
 11355    $rm conftest*
 11356 
 11357 fi
 11358 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 11359 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 11360 
 11361 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 11362     case $lt_prog_compiler_pic_CXX in
 11363      "" | " "*) ;;
 11364      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 11365      esac
 11366 else
 11367     lt_prog_compiler_pic_CXX=
 11368      lt_prog_compiler_can_build_shared_CXX=no
 11369 fi
 11370 
 11371 fi
 11372 case $host_os in
 11373   # For platforms which do not support PIC, -DPIC is meaningless:
 11374   *djgpp*)
 11375     lt_prog_compiler_pic_CXX=
 11376     ;;
 11377   *)
 11378     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 11379     ;;
 11380 esac
 11381 
 11382 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 11383 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 11384 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 11385   echo $ECHO_N "(cached) $ECHO_C" >&6
 11386 else
 11387   lt_cv_prog_compiler_c_o_CXX=no
 11388    $rm -r conftest 2>/dev/null
 11389    mkdir conftest
 11390    cd conftest
 11391    mkdir out
 11392    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11393 
 11394    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11395    # Insert the option either (1) after the last *FLAGS variable, or
 11396    # (2) before a word containing "conftest.", or (3) at the end.
 11397    # Note that $ac_compile itself does not contain backslashes and begins
 11398    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11399    lt_compile=`echo "$ac_compile" | $SED \
 11400    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11401    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11402    -e 's:$: $lt_compiler_flag:'`
 11403    (eval echo "\"\$as_me:11403: $lt_compile\"" >&5)
 11404    (eval "$lt_compile" 2>out/conftest.err)
 11405    ac_status=$?
 11406    cat out/conftest.err >&5
 11407    echo "$as_me:11407: \$? = $ac_status" >&5
 11408    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11409    then
 11410      # The compiler can only warn and ignore the option if not recognized
 11411      # So say no if there are warnings
 11412      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 11413      $SED '/^$/d' out/conftest.err >out/conftest.er2
 11414      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11415        lt_cv_prog_compiler_c_o_CXX=yes
 11416      fi
 11417    fi
 11418    chmod u+w . 2>&5
 11419    $rm conftest*
 11420    # SGI C++ compiler will create directory out/ii_files/ for
 11421    # template instantiation
 11422    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 11423    $rm out/* && rmdir out
 11424    cd ..
 11425    rmdir conftest
 11426    $rm conftest*
 11427 
 11428 fi
 11429 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 11430 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 11431 
 11432 
 11433 hard_links="nottested"
 11434 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 11435   # do not overwrite the value of need_locks provided by the user
 11436   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 11437 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 11438   hard_links=yes
 11439   $rm conftest*
 11440   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11441   touch conftest.a
 11442   ln conftest.a conftest.b 2>&5 || hard_links=no
 11443   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11444   echo "$as_me:$LINENO: result: $hard_links" >&5
 11445 echo "${ECHO_T}$hard_links" >&6
 11446   if test "$hard_links" = no; then
 11447     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 11448 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 11449     need_locks=warn
 11450   fi
 11451 else
 11452   need_locks=no
 11453 fi
 11454 
 11455 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11456 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 11457 
 11458   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11459   case $host_os in
 11460   aix4* | aix5*)
 11461     # If we're using GNU nm, then we don't want the "-C" option.
 11462     # -C means demangle to AIX nm, but means don't demangle with GNU nm
 11463     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 11464       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'
 11465     else
 11466       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'
 11467     fi
 11468     ;;
 11469   pw32*)
 11470     export_symbols_cmds_CXX="$ltdll_cmds"
 11471   ;;
 11472   cygwin* | mingw*)
 11473     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'
 11474   ;;
 11475   *)
 11476     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11477   ;;
 11478   esac
 11479 
 11480 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 11481 echo "${ECHO_T}$ld_shlibs_CXX" >&6
 11482 test "$ld_shlibs_CXX" = no && can_build_shared=no
 11483 
 11484 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11485 if test "$GCC" = yes; then
 11486   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11487 fi
 11488 
 11489 #
 11490 # Do we need to explicitly link libc?
 11491 #
 11492 case "x$archive_cmds_need_lc_CXX" in
 11493 x|xyes)
 11494   # Assume -lc should be added
 11495   archive_cmds_need_lc_CXX=yes
 11496 
 11497   if test "$enable_shared" = yes && test "$GCC" = yes; then
 11498     case $archive_cmds_CXX in
 11499     *'~'*)
 11500       # FIXME: we may have to deal with multi-command sequences.
 11501       ;;
 11502     '$CC '*)
 11503       # Test whether the compiler implicitly links with -lc since on some
 11504       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 11505       # to ld, don't add -lc before -lgcc.
 11506       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 11507 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 11508       $rm conftest*
 11509       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11510 
 11511       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11512   (eval $ac_compile) 2>&5
 11513   ac_status=$?
 11514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11515   (exit $ac_status); } 2>conftest.err; then
 11516         soname=conftest
 11517         lib=conftest
 11518         libobjs=conftest.$ac_objext
 11519         deplibs=
 11520         wl=$lt_prog_compiler_wl_CXX
 11521         compiler_flags=-v
 11522         linker_flags=-v
 11523         verstring=
 11524         output_objdir=.
 11525         libname=conftest
 11526         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 11527         allow_undefined_flag_CXX=
 11528         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 11529   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 11530   ac_status=$?
 11531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11532   (exit $ac_status); }
 11533         then
 11534 	  archive_cmds_need_lc_CXX=no
 11535         else
 11536 	  archive_cmds_need_lc_CXX=yes
 11537         fi
 11538         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 11539       else
 11540         cat conftest.err 1>&5
 11541       fi
 11542       $rm conftest*
 11543       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 11544 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 11545       ;;
 11546     esac
 11547   fi
 11548   ;;
 11549 esac
 11550 
 11551 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 11552 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 11553 library_names_spec=
 11554 libname_spec='lib$name'
 11555 soname_spec=
 11556 shrext_cmds=".so"
 11557 postinstall_cmds=
 11558 postuninstall_cmds=
 11559 finish_cmds=
 11560 finish_eval=
 11561 shlibpath_var=
 11562 shlibpath_overrides_runpath=unknown
 11563 version_type=none
 11564 dynamic_linker="$host_os ld.so"
 11565 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 11566 if test "$GCC" = yes; then
 11567   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11568   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 11569     # if the path contains ";" then we assume it to be the separator
 11570     # otherwise default to the standard path separator (i.e. ":") - it is
 11571     # assumed that no part of a normal pathname contains ";" but that should
 11572     # okay in the real world where ";" in dirpaths is itself problematic.
 11573     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 11574   else
 11575     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11576   fi
 11577 else
 11578   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 11579 fi
 11580 need_lib_prefix=unknown
 11581 hardcode_into_libs=no
 11582 
 11583 # when you set need_version to no, make sure it does not cause -set_version
 11584 # flags to be left without arguments
 11585 need_version=unknown
 11586 
 11587 case $host_os in
 11588 aix3*)
 11589   version_type=linux
 11590   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 11591   shlibpath_var=LIBPATH
 11592 
 11593   # AIX 3 has no versioning support, so we append a major version to the name.
 11594   soname_spec='${libname}${release}${shared_ext}$major'
 11595   ;;
 11596 
 11597 aix4* | aix5*)
 11598   version_type=linux
 11599   need_lib_prefix=no
 11600   need_version=no
 11601   hardcode_into_libs=yes
 11602   if test "$host_cpu" = ia64; then
 11603     # AIX 5 supports IA64
 11604     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 11605     shlibpath_var=LD_LIBRARY_PATH
 11606   else
 11607     # With GCC up to 2.95.x, collect2 would create an import file
 11608     # for dependence libraries.  The import file would start with
 11609     # the line `#! .'.  This would cause the generated library to
 11610     # depend on `.', always an invalid library.  This was fixed in
 11611     # development snapshots of GCC prior to 3.0.
 11612     case $host_os in
 11613       aix4 | aix4.[01] | aix4.[01].*)
 11614       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 11615 	   echo ' yes '
 11616 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 11617 	:
 11618       else
 11619 	can_build_shared=no
 11620       fi
 11621       ;;
 11622     esac
 11623     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 11624     # soname into executable. Probably we can add versioning support to
 11625     # collect2, so additional links can be useful in future.
 11626     if test "$aix_use_runtimelinking" = yes; then
 11627       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 11628       # instead of lib<name>.a to let people know that these are not
 11629       # typical AIX shared libraries.
 11630       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11631     else
 11632       # We preserve .a as extension for shared libraries through AIX4.2
 11633       # and later when we are not doing run time linking.
 11634       library_names_spec='${libname}${release}.a $libname.a'
 11635       soname_spec='${libname}${release}${shared_ext}$major'
 11636     fi
 11637     shlibpath_var=LIBPATH
 11638   fi
 11639   ;;
 11640 
 11641 amigaos*)
 11642   library_names_spec='$libname.ixlibrary $libname.a'
 11643   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 11644   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'
 11645   ;;
 11646 
 11647 beos*)
 11648   library_names_spec='${libname}${shared_ext}'
 11649   dynamic_linker="$host_os ld.so"
 11650   shlibpath_var=LIBRARY_PATH
 11651   ;;
 11652 
 11653 bsdi[45]*)
 11654   version_type=linux
 11655   need_version=no
 11656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11657   soname_spec='${libname}${release}${shared_ext}$major'
 11658   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 11659   shlibpath_var=LD_LIBRARY_PATH
 11660   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 11661   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 11662   # the default ld.so.conf also contains /usr/contrib/lib and
 11663   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 11664   # libtool to hard-code these into programs
 11665   ;;
 11666 
 11667 cygwin* | mingw* | pw32*)
 11668   version_type=windows
 11669   shrext_cmds=".dll"
 11670   need_version=no
 11671   need_lib_prefix=no
 11672 
 11673   case $GCC,$host_os in
 11674   yes,cygwin* | yes,mingw* | yes,pw32*)
 11675     library_names_spec='$libname.dll.a'
 11676     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 11677     postinstall_cmds='base_file=`basename \${file}`~
 11678       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 11679       dldir=$destdir/`dirname \$dlpath`~
 11680       test -d \$dldir || mkdir -p \$dldir~
 11681       $install_prog $dir/$dlname \$dldir/$dlname~
 11682       chmod a+x \$dldir/$dlname'
 11683     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 11684       dlpath=$dir/\$dldll~
 11685        $rm \$dlpath'
 11686     shlibpath_overrides_runpath=yes
 11687 
 11688     case $host_os in
 11689     cygwin*)
 11690       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 11691       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11692       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 11693       ;;
 11694     mingw*)
 11695       # MinGW DLLs use traditional 'lib' prefix
 11696       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11697       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11698       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 11699         # It is most probably a Windows format PATH printed by
 11700         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 11701         # path with ; separators, and with drive letters. We can handle the
 11702         # drive letters (cygwin fileutils understands them), so leave them,
 11703         # especially as we might pass files found there to a mingw objdump,
 11704         # which wouldn't understand a cygwinified path. Ahh.
 11705         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 11706       else
 11707         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11708       fi
 11709       ;;
 11710     pw32*)
 11711       # pw32 DLLs use 'pw' prefix rather than 'lib'
 11712       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11713       ;;
 11714     esac
 11715     ;;
 11716 
 11717   *)
 11718     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 11719     ;;
 11720   esac
 11721   dynamic_linker='Win32 ld.exe'
 11722   # FIXME: first we should search . and the directory the executable is in
 11723   shlibpath_var=PATH
 11724   ;;
 11725 
 11726 darwin* | rhapsody*)
 11727   dynamic_linker="$host_os dyld"
 11728   version_type=darwin
 11729   need_lib_prefix=no
 11730   need_version=no
 11731   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 11732   soname_spec='${libname}${release}${major}$shared_ext'
 11733   shlibpath_overrides_runpath=yes
 11734   shlibpath_var=DYLD_LIBRARY_PATH
 11735   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 11736   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 11737   if test "$GCC" = yes; then
 11738     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"`
 11739   else
 11740     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 11741   fi
 11742   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 11743   ;;
 11744 
 11745 dgux*)
 11746   version_type=linux
 11747   need_lib_prefix=no
 11748   need_version=no
 11749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 11750   soname_spec='${libname}${release}${shared_ext}$major'
 11751   shlibpath_var=LD_LIBRARY_PATH
 11752   ;;
 11753 
 11754 freebsd1*)
 11755   dynamic_linker=no
 11756   ;;
 11757 
 11758 kfreebsd*-gnu)
 11759   version_type=linux
 11760   need_lib_prefix=no
 11761   need_version=no
 11762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11763   soname_spec='${libname}${release}${shared_ext}$major'
 11764   shlibpath_var=LD_LIBRARY_PATH
 11765   shlibpath_overrides_runpath=no
 11766   hardcode_into_libs=yes
 11767   dynamic_linker='GNU ld.so'
 11768   ;;
 11769 
 11770 freebsd* | dragonfly*)
 11771   # DragonFly does not have aout.  When/if they implement a new
 11772   # versioning mechanism, adjust this.
 11773   if test -x /usr/bin/objformat; then
 11774     objformat=`/usr/bin/objformat`
 11775   else
 11776     case $host_os in
 11777     freebsd[123]*) objformat=aout ;;
 11778     *) objformat=elf ;;
 11779     esac
 11780   fi
 11781   version_type=freebsd-$objformat
 11782   case $version_type in
 11783     freebsd-elf*)
 11784       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11785       need_version=no
 11786       need_lib_prefix=no
 11787       ;;
 11788     freebsd-*)
 11789       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 11790       need_version=yes
 11791       ;;
 11792   esac
 11793   shlibpath_var=LD_LIBRARY_PATH
 11794   case $host_os in
 11795   freebsd2*)
 11796     shlibpath_overrides_runpath=yes
 11797     ;;
 11798   freebsd3.[01]* | freebsdelf3.[01]*)
 11799     shlibpath_overrides_runpath=yes
 11800     hardcode_into_libs=yes
 11801     ;;
 11802   *) # from 3.2 on
 11803     shlibpath_overrides_runpath=no
 11804     hardcode_into_libs=yes
 11805     ;;
 11806   esac
 11807   ;;
 11808 
 11809 gnu*)
 11810   version_type=linux
 11811   need_lib_prefix=no
 11812   need_version=no
 11813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 11814   soname_spec='${libname}${release}${shared_ext}$major'
 11815   shlibpath_var=LD_LIBRARY_PATH
 11816   hardcode_into_libs=yes
 11817   ;;
 11818 
 11819 hpux9* | hpux10* | hpux11*)
 11820   # Give a soname corresponding to the major version so that dld.sl refuses to
 11821   # link against other versions.
 11822   version_type=sunos
 11823   need_lib_prefix=no
 11824   need_version=no
 11825   case $host_cpu in
 11826   ia64*)
 11827     shrext_cmds='.so'
 11828     hardcode_into_libs=yes
 11829     dynamic_linker="$host_os dld.so"
 11830     shlibpath_var=LD_LIBRARY_PATH
 11831     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11832     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11833     soname_spec='${libname}${release}${shared_ext}$major'
 11834     if test "X$HPUX_IA64_MODE" = X32; then
 11835       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 11836     else
 11837       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 11838     fi
 11839     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11840     ;;
 11841    hppa*64*)
 11842      shrext_cmds='.sl'
 11843      hardcode_into_libs=yes
 11844      dynamic_linker="$host_os dld.sl"
 11845      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 11846      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11847      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11848      soname_spec='${libname}${release}${shared_ext}$major'
 11849      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 11850      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11851      ;;
 11852    *)
 11853     shrext_cmds='.sl'
 11854     dynamic_linker="$host_os dld.sl"
 11855     shlibpath_var=SHLIB_PATH
 11856     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 11857     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11858     soname_spec='${libname}${release}${shared_ext}$major'
 11859     ;;
 11860   esac
 11861   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 11862   postinstall_cmds='chmod 555 $lib'
 11863   ;;
 11864 
 11865 irix5* | irix6* | nonstopux*)
 11866   case $host_os in
 11867     nonstopux*) version_type=nonstopux ;;
 11868     *)
 11869 	if test "$lt_cv_prog_gnu_ld" = yes; then
 11870 		version_type=linux
 11871 	else
 11872 		version_type=irix
 11873 	fi ;;
 11874   esac
 11875   need_lib_prefix=no
 11876   need_version=no
 11877   soname_spec='${libname}${release}${shared_ext}$major'
 11878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 11879   case $host_os in
 11880   irix5* | nonstopux*)
 11881     libsuff= shlibsuff=
 11882     ;;
 11883   *)
 11884     case $LD in # libtool.m4 will add one of these switches to LD
 11885     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 11886       libsuff= shlibsuff= libmagic=32-bit;;
 11887     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 11888       libsuff=32 shlibsuff=N32 libmagic=N32;;
 11889     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 11890       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 11891     *) libsuff= shlibsuff= libmagic=never-match;;
 11892     esac
 11893     ;;
 11894   esac
 11895   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 11896   shlibpath_overrides_runpath=no
 11897   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 11898   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 11899   hardcode_into_libs=yes
 11900   ;;
 11901 
 11902 # No shared lib support for Linux oldld, aout, or coff.
 11903 linux*oldld* | linux*aout* | linux*coff*)
 11904   dynamic_linker=no
 11905   ;;
 11906 
 11907 # This must be Linux ELF.
 11908 linux*)
 11909   version_type=linux
 11910   need_lib_prefix=no
 11911   need_version=no
 11912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11913   soname_spec='${libname}${release}${shared_ext}$major'
 11914   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 11915   shlibpath_var=LD_LIBRARY_PATH
 11916   shlibpath_overrides_runpath=no
 11917   # This implies no fast_install, which is unacceptable.
 11918   # Some rework will be needed to allow for fast_install
 11919   # before this can be enabled.
 11920   hardcode_into_libs=yes
 11921 
 11922   # Append ld.so.conf contents to the search path
 11923   if test -f /etc/ld.so.conf; then
 11924     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' ' '`
 11925     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 11926   fi
 11927 
 11928   # We used to test for /lib/ld.so.1 and disable shared libraries on
 11929   # powerpc, because MkLinux only supported shared libraries with the
 11930   # GNU dynamic linker.  Since this was broken with cross compilers,
 11931   # most powerpc-linux boxes support dynamic linking these days and
 11932   # people can always --disable-shared, the test was removed, and we
 11933   # assume the GNU/Linux dynamic linker is in use.
 11934   dynamic_linker='GNU/Linux ld.so'
 11935   ;;
 11936 
 11937 knetbsd*-gnu)
 11938   version_type=linux
 11939   need_lib_prefix=no
 11940   need_version=no
 11941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11942   soname_spec='${libname}${release}${shared_ext}$major'
 11943   shlibpath_var=LD_LIBRARY_PATH
 11944   shlibpath_overrides_runpath=no
 11945   hardcode_into_libs=yes
 11946   dynamic_linker='GNU ld.so'
 11947   ;;
 11948 
 11949 netbsd*)
 11950   version_type=sunos
 11951   need_lib_prefix=no
 11952   need_version=no
 11953   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 11954     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11955     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11956     dynamic_linker='NetBSD (a.out) ld.so'
 11957   else
 11958     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11959     soname_spec='${libname}${release}${shared_ext}$major'
 11960     dynamic_linker='NetBSD ld.elf_so'
 11961   fi
 11962   shlibpath_var=LD_LIBRARY_PATH
 11963   shlibpath_overrides_runpath=yes
 11964   hardcode_into_libs=yes
 11965   ;;
 11966 
 11967 newsos6)
 11968   version_type=linux
 11969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11970   shlibpath_var=LD_LIBRARY_PATH
 11971   shlibpath_overrides_runpath=yes
 11972   ;;
 11973 
 11974 nto-qnx*)
 11975   version_type=linux
 11976   need_lib_prefix=no
 11977   need_version=no
 11978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11979   soname_spec='${libname}${release}${shared_ext}$major'
 11980   shlibpath_var=LD_LIBRARY_PATH
 11981   shlibpath_overrides_runpath=yes
 11982   ;;
 11983 
 11984 openbsd*)
 11985   version_type=sunos
 11986   need_lib_prefix=no
 11987   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 11988   case $host_os in
 11989     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 11990     *)                         need_version=no  ;;
 11991   esac
 11992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11993   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11994   shlibpath_var=LD_LIBRARY_PATH
 11995   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 11996     case $host_os in
 11997       openbsd2.[89] | openbsd2.[89].*)
 11998 	shlibpath_overrides_runpath=no
 11999 	;;
 12000       *)
 12001 	shlibpath_overrides_runpath=yes
 12002 	;;
 12003       esac
 12004   else
 12005     shlibpath_overrides_runpath=yes
 12006   fi
 12007   ;;
 12008 
 12009 os2*)
 12010   libname_spec='$name'
 12011   shrext_cmds=".dll"
 12012   need_lib_prefix=no
 12013   library_names_spec='$libname${shared_ext} $libname.a'
 12014   dynamic_linker='OS/2 ld.exe'
 12015   shlibpath_var=LIBPATH
 12016   ;;
 12017 
 12018 osf3* | osf4* | osf5*)
 12019   version_type=osf
 12020   need_lib_prefix=no
 12021   need_version=no
 12022   soname_spec='${libname}${release}${shared_ext}$major'
 12023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12024   shlibpath_var=LD_LIBRARY_PATH
 12025   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 12026   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 12027   ;;
 12028 
 12029 sco3.2v5*)
 12030   version_type=osf
 12031   soname_spec='${libname}${release}${shared_ext}$major'
 12032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12033   shlibpath_var=LD_LIBRARY_PATH
 12034   ;;
 12035 
 12036 solaris*)
 12037   version_type=linux
 12038   need_lib_prefix=no
 12039   need_version=no
 12040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12041   soname_spec='${libname}${release}${shared_ext}$major'
 12042   shlibpath_var=LD_LIBRARY_PATH
 12043   shlibpath_overrides_runpath=yes
 12044   hardcode_into_libs=yes
 12045   # ldd complains unless libraries are executable
 12046   postinstall_cmds='chmod +x $lib'
 12047   ;;
 12048 
 12049 sunos4*)
 12050   version_type=sunos
 12051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 12052   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 12053   shlibpath_var=LD_LIBRARY_PATH
 12054   shlibpath_overrides_runpath=yes
 12055   if test "$with_gnu_ld" = yes; then
 12056     need_lib_prefix=no
 12057   fi
 12058   need_version=yes
 12059   ;;
 12060 
 12061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 12062   version_type=linux
 12063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12064   soname_spec='${libname}${release}${shared_ext}$major'
 12065   shlibpath_var=LD_LIBRARY_PATH
 12066   case $host_vendor in
 12067     sni)
 12068       shlibpath_overrides_runpath=no
 12069       need_lib_prefix=no
 12070       export_dynamic_flag_spec='${wl}-Blargedynsym'
 12071       runpath_var=LD_RUN_PATH
 12072       ;;
 12073     siemens)
 12074       need_lib_prefix=no
 12075       ;;
 12076     motorola)
 12077       need_lib_prefix=no
 12078       need_version=no
 12079       shlibpath_overrides_runpath=no
 12080       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 12081       ;;
 12082   esac
 12083   ;;
 12084 
 12085 sysv4*MP*)
 12086   if test -d /usr/nec ;then
 12087     version_type=linux
 12088     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 12089     soname_spec='$libname${shared_ext}.$major'
 12090     shlibpath_var=LD_LIBRARY_PATH
 12091   fi
 12092   ;;
 12093 
 12094 uts4*)
 12095   version_type=linux
 12096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 12097   soname_spec='${libname}${release}${shared_ext}$major'
 12098   shlibpath_var=LD_LIBRARY_PATH
 12099   ;;
 12100 
 12101 *)
 12102   dynamic_linker=no
 12103   ;;
 12104 esac
 12105 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 12106 echo "${ECHO_T}$dynamic_linker" >&6
 12107 test "$dynamic_linker" = no && can_build_shared=no
 12108 
 12109 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 12110 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 12111 hardcode_action_CXX=
 12112 if test -n "$hardcode_libdir_flag_spec_CXX" || \
 12113    test -n "$runpath_var_CXX" || \
 12114    test "X$hardcode_automatic_CXX" = "Xyes" ; then
 12115 
 12116   # We can hardcode non-existant directories.
 12117   if test "$hardcode_direct_CXX" != no &&
 12118      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 12119      # have to relink, otherwise we might link with an installed library
 12120      # when we should be linking with a yet-to-be-installed one
 12121      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 12122      test "$hardcode_minus_L_CXX" != no; then
 12123     # Linking always hardcodes the temporary library directory.
 12124     hardcode_action_CXX=relink
 12125   else
 12126     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 12127     hardcode_action_CXX=immediate
 12128   fi
 12129 else
 12130   # We cannot hardcode anything, or else we can only hardcode existing
 12131   # directories.
 12132   hardcode_action_CXX=unsupported
 12133 fi
 12134 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 12135 echo "${ECHO_T}$hardcode_action_CXX" >&6
 12136 
 12137 if test "$hardcode_action_CXX" = relink; then
 12138   # Fast installation is not supported
 12139   enable_fast_install=no
 12140 elif test "$shlibpath_overrides_runpath" = yes ||
 12141      test "$enable_shared" = no; then
 12142   # Fast installation is not necessary
 12143   enable_fast_install=needless
 12144 fi
 12145 
 12146 striplib=
 12147 old_striplib=
 12148 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 12149 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 12150 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 12151   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 12152   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 12153   echo "$as_me:$LINENO: result: yes" >&5
 12154 echo "${ECHO_T}yes" >&6
 12155 else
 12156 # FIXME - insert some real tests, host_os isn't really good enough
 12157   case $host_os in
 12158    darwin*)
 12159        if test -n "$STRIP" ; then
 12160          striplib="$STRIP -x"
 12161          echo "$as_me:$LINENO: result: yes" >&5
 12162 echo "${ECHO_T}yes" >&6
 12163        else
 12164   echo "$as_me:$LINENO: result: no" >&5
 12165 echo "${ECHO_T}no" >&6
 12166 fi
 12167        ;;
 12168    *)
 12169   echo "$as_me:$LINENO: result: no" >&5
 12170 echo "${ECHO_T}no" >&6
 12171     ;;
 12172   esac
 12173 fi
 12174 
 12175 if test "x$enable_dlopen" != xyes; then
 12176   enable_dlopen=unknown
 12177   enable_dlopen_self=unknown
 12178   enable_dlopen_self_static=unknown
 12179 else
 12180   lt_cv_dlopen=no
 12181   lt_cv_dlopen_libs=
 12182 
 12183   case $host_os in
 12184   beos*)
 12185     lt_cv_dlopen="load_add_on"
 12186     lt_cv_dlopen_libs=
 12187     lt_cv_dlopen_self=yes
 12188     ;;
 12189 
 12190   mingw* | pw32*)
 12191     lt_cv_dlopen="LoadLibrary"
 12192     lt_cv_dlopen_libs=
 12193    ;;
 12194 
 12195   cygwin*)
 12196     lt_cv_dlopen="dlopen"
 12197     lt_cv_dlopen_libs=
 12198    ;;
 12199 
 12200   darwin*)
 12201   # if libdl is installed we need to link against it
 12202     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 12203 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 12204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 12205   echo $ECHO_N "(cached) $ECHO_C" >&6
 12206 else
 12207   ac_check_lib_save_LIBS=$LIBS
 12208 LIBS="-ldl  $LIBS"
 12209 cat >conftest.$ac_ext <<_ACEOF
 12210 /* confdefs.h.  */
 12211 _ACEOF
 12212 cat confdefs.h >>conftest.$ac_ext
 12213 cat >>conftest.$ac_ext <<_ACEOF
 12214 /* end confdefs.h.  */
 12215 
 12216 /* Override any gcc2 internal prototype to avoid an error.  */
 12217 #ifdef __cplusplus
 12218 extern "C"
 12219 #endif
 12220 /* We use char because int might match the return type of a gcc2
 12221    builtin and then its argument prototype would still apply.  */
 12222 char dlopen ();
 12223 int
 12224 main ()
 12225 {
 12226 dlopen ();
 12227   ;
 12228   return 0;
 12229 }
 12230 _ACEOF
 12231 rm -f conftest.$ac_objext conftest$ac_exeext
 12232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12233   (eval $ac_link) 2>conftest.er1
 12234   ac_status=$?
 12235   grep -v '^ *+' conftest.er1 >conftest.err
 12236   rm -f conftest.er1
 12237   cat conftest.err >&5
 12238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12239   (exit $ac_status); } &&
 12240 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12242   (eval $ac_try) 2>&5
 12243   ac_status=$?
 12244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12245   (exit $ac_status); }; } &&
 12246 	 { ac_try='test -s conftest$ac_exeext'
 12247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12248   (eval $ac_try) 2>&5
 12249   ac_status=$?
 12250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12251   (exit $ac_status); }; }; then
 12252   ac_cv_lib_dl_dlopen=yes
 12253 else
 12254   echo "$as_me: failed program was:" >&5
 12255 sed 's/^/| /' conftest.$ac_ext >&5
 12256 
 12257 ac_cv_lib_dl_dlopen=no
 12258 fi
 12259 rm -f conftest.err conftest.$ac_objext \
 12260       conftest$ac_exeext conftest.$ac_ext
 12261 LIBS=$ac_check_lib_save_LIBS
 12262 fi
 12263 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 12264 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 12265 if test $ac_cv_lib_dl_dlopen = yes; then
 12266   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 12267 else
 12268 
 12269     lt_cv_dlopen="dyld"
 12270     lt_cv_dlopen_libs=
 12271     lt_cv_dlopen_self=yes
 12272 
 12273 fi
 12274 
 12275    ;;
 12276 
 12277   *)
 12278     echo "$as_me:$LINENO: checking for shl_load" >&5
 12279 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 12280 if test "${ac_cv_func_shl_load+set}" = set; then
 12281   echo $ECHO_N "(cached) $ECHO_C" >&6
 12282 else
 12283   cat >conftest.$ac_ext <<_ACEOF
 12284 /* confdefs.h.  */
 12285 _ACEOF
 12286 cat confdefs.h >>conftest.$ac_ext
 12287 cat >>conftest.$ac_ext <<_ACEOF
 12288 /* end confdefs.h.  */
 12289 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 12290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12291 #define shl_load innocuous_shl_load
 12292 
 12293 /* System header to define __stub macros and hopefully few prototypes,
 12294     which can conflict with char shl_load (); below.
 12295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12296     <limits.h> exists even on freestanding compilers.  */
 12297 
 12298 #ifdef __STDC__
 12299 # include <limits.h>
 12300 #else
 12301 # include <assert.h>
 12302 #endif
 12303 
 12304 #undef shl_load
 12305 
 12306 /* Override any gcc2 internal prototype to avoid an error.  */
 12307 #ifdef __cplusplus
 12308 extern "C"
 12309 {
 12310 #endif
 12311 /* We use char because int might match the return type of a gcc2
 12312    builtin and then its argument prototype would still apply.  */
 12313 char shl_load ();
 12314 /* The GNU C library defines this for functions which it implements
 12315     to always fail with ENOSYS.  Some functions are actually named
 12316     something starting with __ and the normal name is an alias.  */
 12317 #if defined (__stub_shl_load) || defined (__stub___shl_load)
 12318 choke me
 12319 #else
 12320 char (*f) () = shl_load;
 12321 #endif
 12322 #ifdef __cplusplus
 12323 }
 12324 #endif
 12325 
 12326 int
 12327 main ()
 12328 {
 12329 return f != shl_load;
 12330   ;
 12331   return 0;
 12332 }
 12333 _ACEOF
 12334 rm -f conftest.$ac_objext conftest$ac_exeext
 12335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12336   (eval $ac_link) 2>conftest.er1
 12337   ac_status=$?
 12338   grep -v '^ *+' conftest.er1 >conftest.err
 12339   rm -f conftest.er1
 12340   cat conftest.err >&5
 12341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12342   (exit $ac_status); } &&
 12343 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12345   (eval $ac_try) 2>&5
 12346   ac_status=$?
 12347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12348   (exit $ac_status); }; } &&
 12349 	 { ac_try='test -s conftest$ac_exeext'
 12350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12351   (eval $ac_try) 2>&5
 12352   ac_status=$?
 12353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12354   (exit $ac_status); }; }; then
 12355   ac_cv_func_shl_load=yes
 12356 else
 12357   echo "$as_me: failed program was:" >&5
 12358 sed 's/^/| /' conftest.$ac_ext >&5
 12359 
 12360 ac_cv_func_shl_load=no
 12361 fi
 12362 rm -f conftest.err conftest.$ac_objext \
 12363       conftest$ac_exeext conftest.$ac_ext
 12364 fi
 12365 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 12366 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 12367 if test $ac_cv_func_shl_load = yes; then
 12368   lt_cv_dlopen="shl_load"
 12369 else
 12370   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 12371 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 12372 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 12373   echo $ECHO_N "(cached) $ECHO_C" >&6
 12374 else
 12375   ac_check_lib_save_LIBS=$LIBS
 12376 LIBS="-ldld  $LIBS"
 12377 cat >conftest.$ac_ext <<_ACEOF
 12378 /* confdefs.h.  */
 12379 _ACEOF
 12380 cat confdefs.h >>conftest.$ac_ext
 12381 cat >>conftest.$ac_ext <<_ACEOF
 12382 /* end confdefs.h.  */
 12383 
 12384 /* Override any gcc2 internal prototype to avoid an error.  */
 12385 #ifdef __cplusplus
 12386 extern "C"
 12387 #endif
 12388 /* We use char because int might match the return type of a gcc2
 12389    builtin and then its argument prototype would still apply.  */
 12390 char shl_load ();
 12391 int
 12392 main ()
 12393 {
 12394 shl_load ();
 12395   ;
 12396   return 0;
 12397 }
 12398 _ACEOF
 12399 rm -f conftest.$ac_objext conftest$ac_exeext
 12400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12401   (eval $ac_link) 2>conftest.er1
 12402   ac_status=$?
 12403   grep -v '^ *+' conftest.er1 >conftest.err
 12404   rm -f conftest.er1
 12405   cat conftest.err >&5
 12406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12407   (exit $ac_status); } &&
 12408 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12410   (eval $ac_try) 2>&5
 12411   ac_status=$?
 12412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12413   (exit $ac_status); }; } &&
 12414 	 { ac_try='test -s conftest$ac_exeext'
 12415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12416   (eval $ac_try) 2>&5
 12417   ac_status=$?
 12418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12419   (exit $ac_status); }; }; then
 12420   ac_cv_lib_dld_shl_load=yes
 12421 else
 12422   echo "$as_me: failed program was:" >&5
 12423 sed 's/^/| /' conftest.$ac_ext >&5
 12424 
 12425 ac_cv_lib_dld_shl_load=no
 12426 fi
 12427 rm -f conftest.err conftest.$ac_objext \
 12428       conftest$ac_exeext conftest.$ac_ext
 12429 LIBS=$ac_check_lib_save_LIBS
 12430 fi
 12431 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 12432 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 12433 if test $ac_cv_lib_dld_shl_load = yes; then
 12434   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 12435 else
 12436   echo "$as_me:$LINENO: checking for dlopen" >&5
 12437 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 12438 if test "${ac_cv_func_dlopen+set}" = set; then
 12439   echo $ECHO_N "(cached) $ECHO_C" >&6
 12440 else
 12441   cat >conftest.$ac_ext <<_ACEOF
 12442 /* confdefs.h.  */
 12443 _ACEOF
 12444 cat confdefs.h >>conftest.$ac_ext
 12445 cat >>conftest.$ac_ext <<_ACEOF
 12446 /* end confdefs.h.  */
 12447 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 12448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12449 #define dlopen innocuous_dlopen
 12450 
 12451 /* System header to define __stub macros and hopefully few prototypes,
 12452     which can conflict with char dlopen (); below.
 12453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12454     <limits.h> exists even on freestanding compilers.  */
 12455 
 12456 #ifdef __STDC__
 12457 # include <limits.h>
 12458 #else
 12459 # include <assert.h>
 12460 #endif
 12461 
 12462 #undef dlopen
 12463 
 12464 /* Override any gcc2 internal prototype to avoid an error.  */
 12465 #ifdef __cplusplus
 12466 extern "C"
 12467 {
 12468 #endif
 12469 /* We use char because int might match the return type of a gcc2
 12470    builtin and then its argument prototype would still apply.  */
 12471 char dlopen ();
 12472 /* The GNU C library defines this for functions which it implements
 12473     to always fail with ENOSYS.  Some functions are actually named
 12474     something starting with __ and the normal name is an alias.  */
 12475 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 12476 choke me
 12477 #else
 12478 char (*f) () = dlopen;
 12479 #endif
 12480 #ifdef __cplusplus
 12481 }
 12482 #endif
 12483 
 12484 int
 12485 main ()
 12486 {
 12487 return f != dlopen;
 12488   ;
 12489   return 0;
 12490 }
 12491 _ACEOF
 12492 rm -f conftest.$ac_objext conftest$ac_exeext
 12493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12494   (eval $ac_link) 2>conftest.er1
 12495   ac_status=$?
 12496   grep -v '^ *+' conftest.er1 >conftest.err
 12497   rm -f conftest.er1
 12498   cat conftest.err >&5
 12499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12500   (exit $ac_status); } &&
 12501 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12503   (eval $ac_try) 2>&5
 12504   ac_status=$?
 12505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12506   (exit $ac_status); }; } &&
 12507 	 { ac_try='test -s conftest$ac_exeext'
 12508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12509   (eval $ac_try) 2>&5
 12510   ac_status=$?
 12511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12512   (exit $ac_status); }; }; then
 12513   ac_cv_func_dlopen=yes
 12514 else
 12515   echo "$as_me: failed program was:" >&5
 12516 sed 's/^/| /' conftest.$ac_ext >&5
 12517 
 12518 ac_cv_func_dlopen=no
 12519 fi
 12520 rm -f conftest.err conftest.$ac_objext \
 12521       conftest$ac_exeext conftest.$ac_ext
 12522 fi
 12523 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 12524 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 12525 if test $ac_cv_func_dlopen = yes; then
 12526   lt_cv_dlopen="dlopen"
 12527 else
 12528   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 12529 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 12530 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 12531   echo $ECHO_N "(cached) $ECHO_C" >&6
 12532 else
 12533   ac_check_lib_save_LIBS=$LIBS
 12534 LIBS="-ldl  $LIBS"
 12535 cat >conftest.$ac_ext <<_ACEOF
 12536 /* confdefs.h.  */
 12537 _ACEOF
 12538 cat confdefs.h >>conftest.$ac_ext
 12539 cat >>conftest.$ac_ext <<_ACEOF
 12540 /* end confdefs.h.  */
 12541 
 12542 /* Override any gcc2 internal prototype to avoid an error.  */
 12543 #ifdef __cplusplus
 12544 extern "C"
 12545 #endif
 12546 /* We use char because int might match the return type of a gcc2
 12547    builtin and then its argument prototype would still apply.  */
 12548 char dlopen ();
 12549 int
 12550 main ()
 12551 {
 12552 dlopen ();
 12553   ;
 12554   return 0;
 12555 }
 12556 _ACEOF
 12557 rm -f conftest.$ac_objext conftest$ac_exeext
 12558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12559   (eval $ac_link) 2>conftest.er1
 12560   ac_status=$?
 12561   grep -v '^ *+' conftest.er1 >conftest.err
 12562   rm -f conftest.er1
 12563   cat conftest.err >&5
 12564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12565   (exit $ac_status); } &&
 12566 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12568   (eval $ac_try) 2>&5
 12569   ac_status=$?
 12570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12571   (exit $ac_status); }; } &&
 12572 	 { ac_try='test -s conftest$ac_exeext'
 12573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12574   (eval $ac_try) 2>&5
 12575   ac_status=$?
 12576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12577   (exit $ac_status); }; }; then
 12578   ac_cv_lib_dl_dlopen=yes
 12579 else
 12580   echo "$as_me: failed program was:" >&5
 12581 sed 's/^/| /' conftest.$ac_ext >&5
 12582 
 12583 ac_cv_lib_dl_dlopen=no
 12584 fi
 12585 rm -f conftest.err conftest.$ac_objext \
 12586       conftest$ac_exeext conftest.$ac_ext
 12587 LIBS=$ac_check_lib_save_LIBS
 12588 fi
 12589 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 12590 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 12591 if test $ac_cv_lib_dl_dlopen = yes; then
 12592   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 12593 else
 12594   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 12595 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 12596 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 12597   echo $ECHO_N "(cached) $ECHO_C" >&6
 12598 else
 12599   ac_check_lib_save_LIBS=$LIBS
 12600 LIBS="-lsvld  $LIBS"
 12601 cat >conftest.$ac_ext <<_ACEOF
 12602 /* confdefs.h.  */
 12603 _ACEOF
 12604 cat confdefs.h >>conftest.$ac_ext
 12605 cat >>conftest.$ac_ext <<_ACEOF
 12606 /* end confdefs.h.  */
 12607 
 12608 /* Override any gcc2 internal prototype to avoid an error.  */
 12609 #ifdef __cplusplus
 12610 extern "C"
 12611 #endif
 12612 /* We use char because int might match the return type of a gcc2
 12613    builtin and then its argument prototype would still apply.  */
 12614 char dlopen ();
 12615 int
 12616 main ()
 12617 {
 12618 dlopen ();
 12619   ;
 12620   return 0;
 12621 }
 12622 _ACEOF
 12623 rm -f conftest.$ac_objext conftest$ac_exeext
 12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12625   (eval $ac_link) 2>conftest.er1
 12626   ac_status=$?
 12627   grep -v '^ *+' conftest.er1 >conftest.err
 12628   rm -f conftest.er1
 12629   cat conftest.err >&5
 12630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12631   (exit $ac_status); } &&
 12632 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12634   (eval $ac_try) 2>&5
 12635   ac_status=$?
 12636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12637   (exit $ac_status); }; } &&
 12638 	 { ac_try='test -s conftest$ac_exeext'
 12639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12640   (eval $ac_try) 2>&5
 12641   ac_status=$?
 12642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12643   (exit $ac_status); }; }; then
 12644   ac_cv_lib_svld_dlopen=yes
 12645 else
 12646   echo "$as_me: failed program was:" >&5
 12647 sed 's/^/| /' conftest.$ac_ext >&5
 12648 
 12649 ac_cv_lib_svld_dlopen=no
 12650 fi
 12651 rm -f conftest.err conftest.$ac_objext \
 12652       conftest$ac_exeext conftest.$ac_ext
 12653 LIBS=$ac_check_lib_save_LIBS
 12654 fi
 12655 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 12656 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 12657 if test $ac_cv_lib_svld_dlopen = yes; then
 12658   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 12659 else
 12660   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 12661 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 12662 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 12663   echo $ECHO_N "(cached) $ECHO_C" >&6
 12664 else
 12665   ac_check_lib_save_LIBS=$LIBS
 12666 LIBS="-ldld  $LIBS"
 12667 cat >conftest.$ac_ext <<_ACEOF
 12668 /* confdefs.h.  */
 12669 _ACEOF
 12670 cat confdefs.h >>conftest.$ac_ext
 12671 cat >>conftest.$ac_ext <<_ACEOF
 12672 /* end confdefs.h.  */
 12673 
 12674 /* Override any gcc2 internal prototype to avoid an error.  */
 12675 #ifdef __cplusplus
 12676 extern "C"
 12677 #endif
 12678 /* We use char because int might match the return type of a gcc2
 12679    builtin and then its argument prototype would still apply.  */
 12680 char dld_link ();
 12681 int
 12682 main ()
 12683 {
 12684 dld_link ();
 12685   ;
 12686   return 0;
 12687 }
 12688 _ACEOF
 12689 rm -f conftest.$ac_objext conftest$ac_exeext
 12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12691   (eval $ac_link) 2>conftest.er1
 12692   ac_status=$?
 12693   grep -v '^ *+' conftest.er1 >conftest.err
 12694   rm -f conftest.er1
 12695   cat conftest.err >&5
 12696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12697   (exit $ac_status); } &&
 12698 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 12699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12700   (eval $ac_try) 2>&5
 12701   ac_status=$?
 12702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12703   (exit $ac_status); }; } &&
 12704 	 { ac_try='test -s conftest$ac_exeext'
 12705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 12706   (eval $ac_try) 2>&5
 12707   ac_status=$?
 12708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12709   (exit $ac_status); }; }; then
 12710   ac_cv_lib_dld_dld_link=yes
 12711 else
 12712   echo "$as_me: failed program was:" >&5
 12713 sed 's/^/| /' conftest.$ac_ext >&5
 12714 
 12715 ac_cv_lib_dld_dld_link=no
 12716 fi
 12717 rm -f conftest.err conftest.$ac_objext \
 12718       conftest$ac_exeext conftest.$ac_ext
 12719 LIBS=$ac_check_lib_save_LIBS
 12720 fi
 12721 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 12722 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 12723 if test $ac_cv_lib_dld_dld_link = yes; then
 12724   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 12725 fi
 12726 
 12727 
 12728 fi
 12729 
 12730 
 12731 fi
 12732 
 12733 
 12734 fi
 12735 
 12736 
 12737 fi
 12738 
 12739 
 12740 fi
 12741 
 12742     ;;
 12743   esac
 12744 
 12745   if test "x$lt_cv_dlopen" != xno; then
 12746     enable_dlopen=yes
 12747   else
 12748     enable_dlopen=no
 12749   fi
 12750 
 12751   case $lt_cv_dlopen in
 12752   dlopen)
 12753     save_CPPFLAGS="$CPPFLAGS"
 12754     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 12755 
 12756     save_LDFLAGS="$LDFLAGS"
 12757     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 12758 
 12759     save_LIBS="$LIBS"
 12760     LIBS="$lt_cv_dlopen_libs $LIBS"
 12761 
 12762     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 12763 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 12764 if test "${lt_cv_dlopen_self+set}" = set; then
 12765   echo $ECHO_N "(cached) $ECHO_C" >&6
 12766 else
 12767   	  if test "$cross_compiling" = yes; then :
 12768   lt_cv_dlopen_self=cross
 12769 else
 12770   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12771   lt_status=$lt_dlunknown
 12772   cat > conftest.$ac_ext <<EOF
 12773 #line 12773 "configure"
 12774 #include "confdefs.h"
 12775 
 12776 #if HAVE_DLFCN_H
 12777 #include <dlfcn.h>
 12778 #endif
 12779 
 12780 #include <stdio.h>
 12781 
 12782 #ifdef RTLD_GLOBAL
 12783 #  define LT_DLGLOBAL		RTLD_GLOBAL
 12784 #else
 12785 #  ifdef DL_GLOBAL
 12786 #    define LT_DLGLOBAL		DL_GLOBAL
 12787 #  else
 12788 #    define LT_DLGLOBAL		0
 12789 #  endif
 12790 #endif
 12791 
 12792 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12793    find out it does not work in some platform. */
 12794 #ifndef LT_DLLAZY_OR_NOW
 12795 #  ifdef RTLD_LAZY
 12796 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12797 #  else
 12798 #    ifdef DL_LAZY
 12799 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12800 #    else
 12801 #      ifdef RTLD_NOW
 12802 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12803 #      else
 12804 #        ifdef DL_NOW
 12805 #          define LT_DLLAZY_OR_NOW	DL_NOW
 12806 #        else
 12807 #          define LT_DLLAZY_OR_NOW	0
 12808 #        endif
 12809 #      endif
 12810 #    endif
 12811 #  endif
 12812 #endif
 12813 
 12814 #ifdef __cplusplus
 12815 extern "C" void exit (int);
 12816 #endif
 12817 
 12818 void fnord() { int i=42;}
 12819 int main ()
 12820 {
 12821   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12822   int status = $lt_dlunknown;
 12823 
 12824   if (self)
 12825     {
 12826       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12827       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12828       /* dlclose (self); */
 12829     }
 12830 
 12831     exit (status);
 12832 }
 12833 EOF
 12834   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12835   (eval $ac_link) 2>&5
 12836   ac_status=$?
 12837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12838   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12839     (./conftest; exit; ) >&5 2>/dev/null
 12840     lt_status=$?
 12841     case x$lt_status in
 12842       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 12843       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 12844       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 12845     esac
 12846   else :
 12847     # compilation failed
 12848     lt_cv_dlopen_self=no
 12849   fi
 12850 fi
 12851 rm -fr conftest*
 12852 
 12853 
 12854 fi
 12855 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 12856 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 12857 
 12858     if test "x$lt_cv_dlopen_self" = xyes; then
 12859       LDFLAGS="$LDFLAGS $link_static_flag"
 12860       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 12861 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 12862 if test "${lt_cv_dlopen_self_static+set}" = set; then
 12863   echo $ECHO_N "(cached) $ECHO_C" >&6
 12864 else
 12865   	  if test "$cross_compiling" = yes; then :
 12866   lt_cv_dlopen_self_static=cross
 12867 else
 12868   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12869   lt_status=$lt_dlunknown
 12870   cat > conftest.$ac_ext <<EOF
 12871 #line 12871 "configure"
 12872 #include "confdefs.h"
 12873 
 12874 #if HAVE_DLFCN_H
 12875 #include <dlfcn.h>
 12876 #endif
 12877 
 12878 #include <stdio.h>
 12879 
 12880 #ifdef RTLD_GLOBAL
 12881 #  define LT_DLGLOBAL		RTLD_GLOBAL
 12882 #else
 12883 #  ifdef DL_GLOBAL
 12884 #    define LT_DLGLOBAL		DL_GLOBAL
 12885 #  else
 12886 #    define LT_DLGLOBAL		0
 12887 #  endif
 12888 #endif
 12889 
 12890 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12891    find out it does not work in some platform. */
 12892 #ifndef LT_DLLAZY_OR_NOW
 12893 #  ifdef RTLD_LAZY
 12894 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12895 #  else
 12896 #    ifdef DL_LAZY
 12897 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12898 #    else
 12899 #      ifdef RTLD_NOW
 12900 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12901 #      else
 12902 #        ifdef DL_NOW
 12903 #          define LT_DLLAZY_OR_NOW	DL_NOW
 12904 #        else
 12905 #          define LT_DLLAZY_OR_NOW	0
 12906 #        endif
 12907 #      endif
 12908 #    endif
 12909 #  endif
 12910 #endif
 12911 
 12912 #ifdef __cplusplus
 12913 extern "C" void exit (int);
 12914 #endif
 12915 
 12916 void fnord() { int i=42;}
 12917 int main ()
 12918 {
 12919   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12920   int status = $lt_dlunknown;
 12921 
 12922   if (self)
 12923     {
 12924       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12925       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12926       /* dlclose (self); */
 12927     }
 12928 
 12929     exit (status);
 12930 }
 12931 EOF
 12932   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12933   (eval $ac_link) 2>&5
 12934   ac_status=$?
 12935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12936   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12937     (./conftest; exit; ) >&5 2>/dev/null
 12938     lt_status=$?
 12939     case x$lt_status in
 12940       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 12941       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 12942       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 12943     esac
 12944   else :
 12945     # compilation failed
 12946     lt_cv_dlopen_self_static=no
 12947   fi
 12948 fi
 12949 rm -fr conftest*
 12950 
 12951 
 12952 fi
 12953 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 12954 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 12955     fi
 12956 
 12957     CPPFLAGS="$save_CPPFLAGS"
 12958     LDFLAGS="$save_LDFLAGS"
 12959     LIBS="$save_LIBS"
 12960     ;;
 12961   esac
 12962 
 12963   case $lt_cv_dlopen_self in
 12964   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 12965   *) enable_dlopen_self=unknown ;;
 12966   esac
 12967 
 12968   case $lt_cv_dlopen_self_static in
 12969   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 12970   *) enable_dlopen_self_static=unknown ;;
 12971   esac
 12972 fi
 12973 
 12974 
 12975 # The else clause should only fire when bootstrapping the
 12976 # libtool distribution, otherwise you forgot to ship ltmain.sh
 12977 # with your package, and you will get complaints that there are
 12978 # no rules to generate ltmain.sh.
 12979 if test -f "$ltmain"; then
 12980   # See if we are running on zsh, and set the options which allow our commands through
 12981   # without removal of \ escapes.
 12982   if test -n "${ZSH_VERSION+set}" ; then
 12983     setopt NO_GLOB_SUBST
 12984   fi
 12985   # Now quote all the things that may contain metacharacters while being
 12986   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 12987   # variables and quote the copies for generation of the libtool script.
 12988   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 12989     SED SHELL STRIP \
 12990     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 12991     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 12992     deplibs_check_method reload_flag reload_cmds need_locks \
 12993     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 12994     lt_cv_sys_global_symbol_to_c_name_address \
 12995     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 12996     old_postinstall_cmds old_postuninstall_cmds \
 12997     compiler_CXX \
 12998     CC_CXX \
 12999     LD_CXX \
 13000     lt_prog_compiler_wl_CXX \
 13001     lt_prog_compiler_pic_CXX \
 13002     lt_prog_compiler_static_CXX \
 13003     lt_prog_compiler_no_builtin_flag_CXX \
 13004     export_dynamic_flag_spec_CXX \
 13005     thread_safe_flag_spec_CXX \
 13006     whole_archive_flag_spec_CXX \
 13007     enable_shared_with_static_runtimes_CXX \
 13008     old_archive_cmds_CXX \
 13009     old_archive_from_new_cmds_CXX \
 13010     predep_objects_CXX \
 13011     postdep_objects_CXX \
 13012     predeps_CXX \
 13013     postdeps_CXX \
 13014     compiler_lib_search_path_CXX \
 13015     archive_cmds_CXX \
 13016     archive_expsym_cmds_CXX \
 13017     postinstall_cmds_CXX \
 13018     postuninstall_cmds_CXX \
 13019     old_archive_from_expsyms_cmds_CXX \
 13020     allow_undefined_flag_CXX \
 13021     no_undefined_flag_CXX \
 13022     export_symbols_cmds_CXX \
 13023     hardcode_libdir_flag_spec_CXX \
 13024     hardcode_libdir_flag_spec_ld_CXX \
 13025     hardcode_libdir_separator_CXX \
 13026     hardcode_automatic_CXX \
 13027     module_cmds_CXX \
 13028     module_expsym_cmds_CXX \
 13029     lt_cv_prog_compiler_c_o_CXX \
 13030     exclude_expsyms_CXX \
 13031     include_expsyms_CXX; do
 13032 
 13033     case $var in
 13034     old_archive_cmds_CXX | \
 13035     old_archive_from_new_cmds_CXX | \
 13036     archive_cmds_CXX | \
 13037     archive_expsym_cmds_CXX | \
 13038     module_cmds_CXX | \
 13039     module_expsym_cmds_CXX | \
 13040     old_archive_from_expsyms_cmds_CXX | \
 13041     export_symbols_cmds_CXX | \
 13042     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 13043     postinstall_cmds | postuninstall_cmds | \
 13044     old_postinstall_cmds | old_postuninstall_cmds | \
 13045     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 13046       # Double-quote double-evaled strings.
 13047       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 13048       ;;
 13049     *)
 13050       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 13051       ;;
 13052     esac
 13053   done
 13054 
 13055   case $lt_echo in
 13056   *'\$0 --fallback-echo"')
 13057     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 13058     ;;
 13059   esac
 13060 
 13061 cfgfile="$ofile"
 13062 
 13063   cat <<__EOF__ >> "$cfgfile"
 13064 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 13065 
 13066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 13067 
 13068 # Shell to use when invoking shell scripts.
 13069 SHELL=$lt_SHELL
 13070 
 13071 # Whether or not to build shared libraries.
 13072 build_libtool_libs=$enable_shared
 13073 
 13074 # Whether or not to build static libraries.
 13075 build_old_libs=$enable_static
 13076 
 13077 # Whether or not to add -lc for building shared libraries.
 13078 build_libtool_need_lc=$archive_cmds_need_lc_CXX
 13079 
 13080 # Whether or not to disallow shared libs when runtime libs are static
 13081 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 13082 
 13083 # Whether or not to optimize for fast installation.
 13084 fast_install=$enable_fast_install
 13085 
 13086 # The host system.
 13087 host_alias=$host_alias
 13088 host=$host
 13089 host_os=$host_os
 13090 
 13091 # The build system.
 13092 build_alias=$build_alias
 13093 build=$build
 13094 build_os=$build_os
 13095 
 13096 # An echo program that does not interpret backslashes.
 13097 echo=$lt_echo
 13098 
 13099 # The archiver.
 13100 AR=$lt_AR
 13101 AR_FLAGS=$lt_AR_FLAGS
 13102 
 13103 # A C compiler.
 13104 LTCC=$lt_LTCC
 13105 
 13106 # A language-specific compiler.
 13107 CC=$lt_compiler_CXX
 13108 
 13109 # Is the compiler the GNU C compiler?
 13110 with_gcc=$GCC_CXX
 13111 
 13112 # An ERE matcher.
 13113 EGREP=$lt_EGREP
 13114 
 13115 # The linker used to build libraries.
 13116 LD=$lt_LD_CXX
 13117 
 13118 # Whether we need hard or soft links.
 13119 LN_S=$lt_LN_S
 13120 
 13121 # A BSD-compatible nm program.
 13122 NM=$lt_NM
 13123 
 13124 # A symbol stripping program
 13125 STRIP=$lt_STRIP
 13126 
 13127 # Used to examine libraries when file_magic_cmd begins "file"
 13128 MAGIC_CMD=$MAGIC_CMD
 13129 
 13130 # Used on cygwin: DLL creation program.
 13131 DLLTOOL="$DLLTOOL"
 13132 
 13133 # Used on cygwin: object dumper.
 13134 OBJDUMP="$OBJDUMP"
 13135 
 13136 # Used on cygwin: assembler.
 13137 AS="$AS"
 13138 
 13139 # The name of the directory that contains temporary libtool files.
 13140 objdir=$objdir
 13141 
 13142 # How to create reloadable object files.
 13143 reload_flag=$lt_reload_flag
 13144 reload_cmds=$lt_reload_cmds
 13145 
 13146 # How to pass a linker flag through the compiler.
 13147 wl=$lt_lt_prog_compiler_wl_CXX
 13148 
 13149 # Object file suffix (normally "o").
 13150 objext="$ac_objext"
 13151 
 13152 # Old archive suffix (normally "a").
 13153 libext="$libext"
 13154 
 13155 # Shared library suffix (normally ".so").
 13156 shrext_cmds='$shrext_cmds'
 13157 
 13158 # Executable file suffix (normally "").
 13159 exeext="$exeext"
 13160 
 13161 # Additional compiler flags for building library objects.
 13162 pic_flag=$lt_lt_prog_compiler_pic_CXX
 13163 pic_mode=$pic_mode
 13164 
 13165 # What is the maximum length of a command?
 13166 max_cmd_len=$lt_cv_sys_max_cmd_len
 13167 
 13168 # Does compiler simultaneously support -c and -o options?
 13169 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 13170 
 13171 # Must we lock files when doing compilation?
 13172 need_locks=$lt_need_locks
 13173 
 13174 # Do we need the lib prefix for modules?
 13175 need_lib_prefix=$need_lib_prefix
 13176 
 13177 # Do we need a version for libraries?
 13178 need_version=$need_version
 13179 
 13180 # Whether dlopen is supported.
 13181 dlopen_support=$enable_dlopen
 13182 
 13183 # Whether dlopen of programs is supported.
 13184 dlopen_self=$enable_dlopen_self
 13185 
 13186 # Whether dlopen of statically linked programs is supported.
 13187 dlopen_self_static=$enable_dlopen_self_static
 13188 
 13189 # Compiler flag to prevent dynamic linking.
 13190 link_static_flag=$lt_lt_prog_compiler_static_CXX
 13191 
 13192 # Compiler flag to turn off builtin functions.
 13193 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 13194 
 13195 # Compiler flag to allow reflexive dlopens.
 13196 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 13197 
 13198 # Compiler flag to generate shared objects directly from archives.
 13199 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 13200 
 13201 # Compiler flag to generate thread-safe objects.
 13202 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 13203 
 13204 # Library versioning type.
 13205 version_type=$version_type
 13206 
 13207 # Format of library name prefix.
 13208 libname_spec=$lt_libname_spec
 13209 
 13210 # List of archive names.  First name is the real one, the rest are links.
 13211 # The last name is the one that the linker finds with -lNAME.
 13212 library_names_spec=$lt_library_names_spec
 13213 
 13214 # The coded name of the library, if different from the real name.
 13215 soname_spec=$lt_soname_spec
 13216 
 13217 # Commands used to build and install an old-style archive.
 13218 RANLIB=$lt_RANLIB
 13219 old_archive_cmds=$lt_old_archive_cmds_CXX
 13220 old_postinstall_cmds=$lt_old_postinstall_cmds
 13221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 13222 
 13223 # Create an old-style archive from a shared archive.
 13224 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 13225 
 13226 # Create a temporary old-style archive to link instead of a shared archive.
 13227 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 13228 
 13229 # Commands used to build and install a shared archive.
 13230 archive_cmds=$lt_archive_cmds_CXX
 13231 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 13232 postinstall_cmds=$lt_postinstall_cmds
 13233 postuninstall_cmds=$lt_postuninstall_cmds
 13234 
 13235 # Commands used to build a loadable module (assumed same as above if empty)
 13236 module_cmds=$lt_module_cmds_CXX
 13237 module_expsym_cmds=$lt_module_expsym_cmds_CXX
 13238 
 13239 # Commands to strip libraries.
 13240 old_striplib=$lt_old_striplib
 13241 striplib=$lt_striplib
 13242 
 13243 # Dependencies to place before the objects being linked to create a
 13244 # shared library.
 13245 predep_objects=$lt_predep_objects_CXX
 13246 
 13247 # Dependencies to place after the objects being linked to create a
 13248 # shared library.
 13249 postdep_objects=$lt_postdep_objects_CXX
 13250 
 13251 # Dependencies to place before the objects being linked to create a
 13252 # shared library.
 13253 predeps=$lt_predeps_CXX
 13254 
 13255 # Dependencies to place after the objects being linked to create a
 13256 # shared library.
 13257 postdeps=$lt_postdeps_CXX
 13258 
 13259 # The library search path used internally by the compiler when linking
 13260 # a shared library.
 13261 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 13262 
 13263 # Method to check whether dependent libraries are shared objects.
 13264 deplibs_check_method=$lt_deplibs_check_method
 13265 
 13266 # Command to use when deplibs_check_method == file_magic.
 13267 file_magic_cmd=$lt_file_magic_cmd
 13268 
 13269 # Flag that allows shared libraries with undefined symbols to be built.
 13270 allow_undefined_flag=$lt_allow_undefined_flag_CXX
 13271 
 13272 # Flag that forces no undefined symbols.
 13273 no_undefined_flag=$lt_no_undefined_flag_CXX
 13274 
 13275 # Commands used to finish a libtool library installation in a directory.
 13276 finish_cmds=$lt_finish_cmds
 13277 
 13278 # Same as above, but a single script fragment to be evaled but not shown.
 13279 finish_eval=$lt_finish_eval
 13280 
 13281 # Take the output of nm and produce a listing of raw symbols and C names.
 13282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 13283 
 13284 # Transform the output of nm in a proper C declaration
 13285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 13286 
 13287 # Transform the output of nm in a C name address pair
 13288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 13289 
 13290 # This is the shared library runtime path variable.
 13291 runpath_var=$runpath_var
 13292 
 13293 # This is the shared library path variable.
 13294 shlibpath_var=$shlibpath_var
 13295 
 13296 # Is shlibpath searched before the hard-coded library search path?
 13297 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 13298 
 13299 # How to hardcode a shared library path into an executable.
 13300 hardcode_action=$hardcode_action_CXX
 13301 
 13302 # Whether we should hardcode library paths into libraries.
 13303 hardcode_into_libs=$hardcode_into_libs
 13304 
 13305 # Flag to hardcode \$libdir into a binary during linking.
 13306 # This must work even if \$libdir does not exist.
 13307 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 13308 
 13309 # If ld is used when linking, flag to hardcode \$libdir into
 13310 # a binary during linking. This must work even if \$libdir does
 13311 # not exist.
 13312 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 13313 
 13314 # Whether we need a single -rpath flag with a separated argument.
 13315 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 13316 
 13317 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 13318 # resulting binary.
 13319 hardcode_direct=$hardcode_direct_CXX
 13320 
 13321 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 13322 # resulting binary.
 13323 hardcode_minus_L=$hardcode_minus_L_CXX
 13324 
 13325 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 13326 # the resulting binary.
 13327 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 13328 
 13329 # Set to yes if building a shared library automatically hardcodes DIR into the library
 13330 # and all subsequent libraries and executables linked against it.
 13331 hardcode_automatic=$hardcode_automatic_CXX
 13332 
 13333 # Variables whose values should be saved in libtool wrapper scripts and
 13334 # restored at relink time.
 13335 variables_saved_for_relink="$variables_saved_for_relink"
 13336 
 13337 # Whether libtool must link a program against all its dependency libraries.
 13338 link_all_deplibs=$link_all_deplibs_CXX
 13339 
 13340 # Compile-time system search path for libraries
 13341 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 13342 
 13343 # Run-time system search path for libraries
 13344 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 13345 
 13346 # Fix the shell variable \$srcfile for the compiler.
 13347 fix_srcfile_path="$fix_srcfile_path_CXX"
 13348 
 13349 # Set to yes if exported symbols are required.
 13350 always_export_symbols=$always_export_symbols_CXX
 13351 
 13352 # The commands to list exported symbols.
 13353 export_symbols_cmds=$lt_export_symbols_cmds_CXX
 13354 
 13355 # The commands to extract the exported symbol list from a shared archive.
 13356 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 13357 
 13358 # Symbols that should not be listed in the preloaded symbols.
 13359 exclude_expsyms=$lt_exclude_expsyms_CXX
 13360 
 13361 # Symbols that must always be exported.
 13362 include_expsyms=$lt_include_expsyms_CXX
 13363 
 13364 # ### END LIBTOOL TAG CONFIG: $tagname
 13365 
 13366 __EOF__
 13367 
 13368 
 13369 else
 13370   # If there is no Makefile yet, we rely on a make rule to execute
 13371   # `config.status --recheck' to rerun these tests and create the
 13372   # libtool script then.
 13373   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 13374   if test -f "$ltmain_in"; then
 13375     test -f Makefile && make "$ltmain"
 13376   fi
 13377 fi
 13378 
 13379 
 13380 ac_ext=c
 13381 ac_cpp='$CPP $CPPFLAGS'
 13382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 13383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 13384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 13385 
 13386 CC=$lt_save_CC
 13387 LDCXX=$LD
 13388 LD=$lt_save_LD
 13389 GCC=$lt_save_GCC
 13390 with_gnu_ldcxx=$with_gnu_ld
 13391 with_gnu_ld=$lt_save_with_gnu_ld
 13392 lt_cv_path_LDCXX=$lt_cv_path_LD
 13393 lt_cv_path_LD=$lt_save_path_LD
 13394 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 13395 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 13396 
 13397 	else
 13398 	  tagname=""
 13399 	fi
 13400 	;;
 13401 
 13402       F77)
 13403 	if test -n "$F77" && test "X$F77" != "Xno"; then
 13404 
 13405 ac_ext=f
 13406 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 13407 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 13408 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 13409 
 13410 
 13411 archive_cmds_need_lc_F77=no
 13412 allow_undefined_flag_F77=
 13413 always_export_symbols_F77=no
 13414 archive_expsym_cmds_F77=
 13415 export_dynamic_flag_spec_F77=
 13416 hardcode_direct_F77=no
 13417 hardcode_libdir_flag_spec_F77=
 13418 hardcode_libdir_flag_spec_ld_F77=
 13419 hardcode_libdir_separator_F77=
 13420 hardcode_minus_L_F77=no
 13421 hardcode_automatic_F77=no
 13422 module_cmds_F77=
 13423 module_expsym_cmds_F77=
 13424 link_all_deplibs_F77=unknown
 13425 old_archive_cmds_F77=$old_archive_cmds
 13426 no_undefined_flag_F77=
 13427 whole_archive_flag_spec_F77=
 13428 enable_shared_with_static_runtimes_F77=no
 13429 
 13430 # Source file extension for f77 test sources.
 13431 ac_ext=f
 13432 
 13433 # Object file extension for compiled f77 test sources.
 13434 objext=o
 13435 objext_F77=$objext
 13436 
 13437 # Code to be used in simple compile tests
 13438 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 13439 
 13440 # Code to be used in simple link tests
 13441 lt_simple_link_test_code="      program t\n      end\n"
 13442 
 13443 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 13444 
 13445 # If no C compiler was specified, use CC.
 13446 LTCC=${LTCC-"$CC"}
 13447 
 13448 # Allow CC to be a program name with arguments.
 13449 compiler=$CC
 13450 
 13451 
 13452 # save warnings/boilerplate of simple test code
 13453 ac_outfile=conftest.$ac_objext
 13454 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 13455 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 13456 _lt_compiler_boilerplate=`cat conftest.err`
 13457 $rm conftest*
 13458 
 13459 ac_outfile=conftest.$ac_objext
 13460 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 13461 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 13462 _lt_linker_boilerplate=`cat conftest.err`
 13463 $rm conftest*
 13464 
 13465 
 13466 # Allow CC to be a program name with arguments.
 13467 lt_save_CC="$CC"
 13468 CC=${F77-"f77"}
 13469 compiler=$CC
 13470 compiler_F77=$CC
 13471 for cc_temp in $compiler""; do
 13472   case $cc_temp in
 13473     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 13474     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 13475     \-*) ;;
 13476     *) break;;
 13477   esac
 13478 done
 13479 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 13480 
 13481 
 13482 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 13483 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 13484 echo "$as_me:$LINENO: result: $can_build_shared" >&5
 13485 echo "${ECHO_T}$can_build_shared" >&6
 13486 
 13487 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 13488 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 13489 test "$can_build_shared" = "no" && enable_shared=no
 13490 
 13491 # On AIX, shared libraries and static libraries use the same namespace, and
 13492 # are all built from PIC.
 13493 case $host_os in
 13494 aix3*)
 13495   test "$enable_shared" = yes && enable_static=no
 13496   if test -n "$RANLIB"; then
 13497     archive_cmds="$archive_cmds~\$RANLIB \$lib"
 13498     postinstall_cmds='$RANLIB $lib'
 13499   fi
 13500   ;;
 13501 aix4* | aix5*)
 13502   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 13503     test "$enable_shared" = yes && enable_static=no
 13504   fi
 13505   ;;
 13506 esac
 13507 echo "$as_me:$LINENO: result: $enable_shared" >&5
 13508 echo "${ECHO_T}$enable_shared" >&6
 13509 
 13510 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 13511 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 13512 # Make sure either enable_shared or enable_static is yes.
 13513 test "$enable_shared" = yes || enable_static=yes
 13514 echo "$as_me:$LINENO: result: $enable_static" >&5
 13515 echo "${ECHO_T}$enable_static" >&6
 13516 
 13517 test "$ld_shlibs_F77" = no && can_build_shared=no
 13518 
 13519 GCC_F77="$G77"
 13520 LD_F77="$LD"
 13521 
 13522 lt_prog_compiler_wl_F77=
 13523 lt_prog_compiler_pic_F77=
 13524 lt_prog_compiler_static_F77=
 13525 
 13526 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 13527 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 13528 
 13529   if test "$GCC" = yes; then
 13530     lt_prog_compiler_wl_F77='-Wl,'
 13531     lt_prog_compiler_static_F77='-static'
 13532 
 13533     case $host_os in
 13534       aix*)
 13535       # All AIX code is PIC.
 13536       if test "$host_cpu" = ia64; then
 13537 	# AIX 5 now supports IA64 processor
 13538 	lt_prog_compiler_static_F77='-Bstatic'
 13539       fi
 13540       ;;
 13541 
 13542     amigaos*)
 13543       # FIXME: we need at least 68020 code to build shared libraries, but
 13544       # adding the `-m68020' flag to GCC prevents building anything better,
 13545       # like `-m68040'.
 13546       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 13547       ;;
 13548 
 13549     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 13550       # PIC is the default for these OSes.
 13551       ;;
 13552 
 13553     mingw* | pw32* | os2*)
 13554       # This hack is so that the source file can tell whether it is being
 13555       # built for inclusion in a dll (and should export symbols for example).
 13556       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 13557       ;;
 13558 
 13559     darwin* | rhapsody*)
 13560       # PIC is the default on this platform
 13561       # Common symbols not allowed in MH_DYLIB files
 13562       lt_prog_compiler_pic_F77='-fno-common'
 13563       ;;
 13564 
 13565     msdosdjgpp*)
 13566       # Just because we use GCC doesn't mean we suddenly get shared libraries
 13567       # on systems that don't support them.
 13568       lt_prog_compiler_can_build_shared_F77=no
 13569       enable_shared=no
 13570       ;;
 13571 
 13572     sysv4*MP*)
 13573       if test -d /usr/nec; then
 13574 	lt_prog_compiler_pic_F77=-Kconform_pic
 13575       fi
 13576       ;;
 13577 
 13578     hpux*)
 13579       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 13580       # not for PA HP-UX.
 13581       case $host_cpu in
 13582       hppa*64*|ia64*)
 13583 	# +Z the default
 13584 	;;
 13585       *)
 13586 	lt_prog_compiler_pic_F77='-fPIC'
 13587 	;;
 13588       esac
 13589       ;;
 13590 
 13591     *)
 13592       lt_prog_compiler_pic_F77='-fPIC'
 13593       ;;
 13594     esac
 13595   else
 13596     # PORTME Check for flag to pass linker flags through the system compiler.
 13597     case $host_os in
 13598     aix*)
 13599       lt_prog_compiler_wl_F77='-Wl,'
 13600       if test "$host_cpu" = ia64; then
 13601 	# AIX 5 now supports IA64 processor
 13602 	lt_prog_compiler_static_F77='-Bstatic'
 13603       else
 13604 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 13605       fi
 13606       ;;
 13607       darwin*)
 13608         # PIC is the default on this platform
 13609         # Common symbols not allowed in MH_DYLIB files
 13610        case $cc_basename in
 13611          xlc*)
 13612          lt_prog_compiler_pic_F77='-qnocommon'
 13613          lt_prog_compiler_wl_F77='-Wl,'
 13614          ;;
 13615        esac
 13616        ;;
 13617 
 13618     mingw* | pw32* | os2*)
 13619       # This hack is so that the source file can tell whether it is being
 13620       # built for inclusion in a dll (and should export symbols for example).
 13621       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 13622       ;;
 13623 
 13624     hpux9* | hpux10* | hpux11*)
 13625       lt_prog_compiler_wl_F77='-Wl,'
 13626       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 13627       # not for PA HP-UX.
 13628       case $host_cpu in
 13629       hppa*64*|ia64*)
 13630 	# +Z the default
 13631 	;;
 13632       *)
 13633 	lt_prog_compiler_pic_F77='+Z'
 13634 	;;
 13635       esac
 13636       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 13637       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 13638       ;;
 13639 
 13640     irix5* | irix6* | nonstopux*)
 13641       lt_prog_compiler_wl_F77='-Wl,'
 13642       # PIC (with -KPIC) is the default.
 13643       lt_prog_compiler_static_F77='-non_shared'
 13644       ;;
 13645 
 13646     newsos6)
 13647       lt_prog_compiler_pic_F77='-KPIC'
 13648       lt_prog_compiler_static_F77='-Bstatic'
 13649       ;;
 13650 
 13651     linux*)
 13652       case $cc_basename in
 13653       icc* | ecc*)
 13654 	lt_prog_compiler_wl_F77='-Wl,'
 13655 	lt_prog_compiler_pic_F77='-KPIC'
 13656 	lt_prog_compiler_static_F77='-static'
 13657         ;;
 13658       pgcc* | pgf77* | pgf90* | pgf95*)
 13659         # Portland Group compilers (*not* the Pentium gcc compiler,
 13660 	# which looks to be a dead project)
 13661 	lt_prog_compiler_wl_F77='-Wl,'
 13662 	lt_prog_compiler_pic_F77='-fpic'
 13663 	lt_prog_compiler_static_F77='-Bstatic'
 13664         ;;
 13665       ccc*)
 13666         lt_prog_compiler_wl_F77='-Wl,'
 13667         # All Alpha code is PIC.
 13668         lt_prog_compiler_static_F77='-non_shared'
 13669         ;;
 13670       esac
 13671       ;;
 13672 
 13673     osf3* | osf4* | osf5*)
 13674       lt_prog_compiler_wl_F77='-Wl,'
 13675       # All OSF/1 code is PIC.
 13676       lt_prog_compiler_static_F77='-non_shared'
 13677       ;;
 13678 
 13679     sco3.2v5*)
 13680       lt_prog_compiler_pic_F77='-Kpic'
 13681       lt_prog_compiler_static_F77='-dn'
 13682       ;;
 13683 
 13684     solaris*)
 13685       lt_prog_compiler_pic_F77='-KPIC'
 13686       lt_prog_compiler_static_F77='-Bstatic'
 13687       case $cc_basename in
 13688       f77* | f90* | f95*)
 13689 	lt_prog_compiler_wl_F77='-Qoption ld ';;
 13690       *)
 13691 	lt_prog_compiler_wl_F77='-Wl,';;
 13692       esac
 13693       ;;
 13694 
 13695     sunos4*)
 13696       lt_prog_compiler_wl_F77='-Qoption ld '
 13697       lt_prog_compiler_pic_F77='-PIC'
 13698       lt_prog_compiler_static_F77='-Bstatic'
 13699       ;;
 13700 
 13701     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 13702       lt_prog_compiler_wl_F77='-Wl,'
 13703       lt_prog_compiler_pic_F77='-KPIC'
 13704       lt_prog_compiler_static_F77='-Bstatic'
 13705       ;;
 13706 
 13707     sysv4*MP*)
 13708       if test -d /usr/nec ;then
 13709 	lt_prog_compiler_pic_F77='-Kconform_pic'
 13710 	lt_prog_compiler_static_F77='-Bstatic'
 13711       fi
 13712       ;;
 13713 
 13714     unicos*)
 13715       lt_prog_compiler_wl_F77='-Wl,'
 13716       lt_prog_compiler_can_build_shared_F77=no
 13717       ;;
 13718 
 13719     uts4*)
 13720       lt_prog_compiler_pic_F77='-pic'
 13721       lt_prog_compiler_static_F77='-Bstatic'
 13722       ;;
 13723 
 13724     *)
 13725       lt_prog_compiler_can_build_shared_F77=no
 13726       ;;
 13727     esac
 13728   fi
 13729 
 13730 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 13731 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 13732 
 13733 #
 13734 # Check to make sure the PIC flag actually works.
 13735 #
 13736 if test -n "$lt_prog_compiler_pic_F77"; then
 13737 
 13738 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 13739 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 13740 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 13741   echo $ECHO_N "(cached) $ECHO_C" >&6
 13742 else
 13743   lt_prog_compiler_pic_works_F77=no
 13744   ac_outfile=conftest.$ac_objext
 13745    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 13746    lt_compiler_flag="$lt_prog_compiler_pic_F77"
 13747    # Insert the option either (1) after the last *FLAGS variable, or
 13748    # (2) before a word containing "conftest.", or (3) at the end.
 13749    # Note that $ac_compile itself does not contain backslashes and begins
 13750    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13751    # The option is referenced via a variable to avoid confusing sed.
 13752    lt_compile=`echo "$ac_compile" | $SED \
 13753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13755    -e 's:$: $lt_compiler_flag:'`
 13756    (eval echo "\"\$as_me:13756: $lt_compile\"" >&5)
 13757    (eval "$lt_compile" 2>conftest.err)
 13758    ac_status=$?
 13759    cat conftest.err >&5
 13760    echo "$as_me:13760: \$? = $ac_status" >&5
 13761    if (exit $ac_status) && test -s "$ac_outfile"; then
 13762      # The compiler can only warn and ignore the option if not recognized
 13763      # So say no if there are warnings other than the usual output.
 13764      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 13765      $SED '/^$/d' conftest.err >conftest.er2
 13766      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 13767        lt_prog_compiler_pic_works_F77=yes
 13768      fi
 13769    fi
 13770    $rm conftest*
 13771 
 13772 fi
 13773 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 13774 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 13775 
 13776 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 13777     case $lt_prog_compiler_pic_F77 in
 13778      "" | " "*) ;;
 13779      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 13780      esac
 13781 else
 13782     lt_prog_compiler_pic_F77=
 13783      lt_prog_compiler_can_build_shared_F77=no
 13784 fi
 13785 
 13786 fi
 13787 case $host_os in
 13788   # For platforms which do not support PIC, -DPIC is meaningless:
 13789   *djgpp*)
 13790     lt_prog_compiler_pic_F77=
 13791     ;;
 13792   *)
 13793     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 13794     ;;
 13795 esac
 13796 
 13797 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 13798 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 13799 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 13800   echo $ECHO_N "(cached) $ECHO_C" >&6
 13801 else
 13802   lt_cv_prog_compiler_c_o_F77=no
 13803    $rm -r conftest 2>/dev/null
 13804    mkdir conftest
 13805    cd conftest
 13806    mkdir out
 13807    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 13808 
 13809    lt_compiler_flag="-o out/conftest2.$ac_objext"
 13810    # Insert the option either (1) after the last *FLAGS variable, or
 13811    # (2) before a word containing "conftest.", or (3) at the end.
 13812    # Note that $ac_compile itself does not contain backslashes and begins
 13813    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13814    lt_compile=`echo "$ac_compile" | $SED \
 13815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13817    -e 's:$: $lt_compiler_flag:'`
 13818    (eval echo "\"\$as_me:13818: $lt_compile\"" >&5)
 13819    (eval "$lt_compile" 2>out/conftest.err)
 13820    ac_status=$?
 13821    cat out/conftest.err >&5
 13822    echo "$as_me:13822: \$? = $ac_status" >&5
 13823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 13824    then
 13825      # The compiler can only warn and ignore the option if not recognized
 13826      # So say no if there are warnings
 13827      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 13828      $SED '/^$/d' out/conftest.err >out/conftest.er2
 13829      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 13830        lt_cv_prog_compiler_c_o_F77=yes
 13831      fi
 13832    fi
 13833    chmod u+w . 2>&5
 13834    $rm conftest*
 13835    # SGI C++ compiler will create directory out/ii_files/ for
 13836    # template instantiation
 13837    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 13838    $rm out/* && rmdir out
 13839    cd ..
 13840    rmdir conftest
 13841    $rm conftest*
 13842 
 13843 fi
 13844 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 13845 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 13846 
 13847 
 13848 hard_links="nottested"
 13849 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 13850   # do not overwrite the value of need_locks provided by the user
 13851   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 13852 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 13853   hard_links=yes
 13854   $rm conftest*
 13855   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13856   touch conftest.a
 13857   ln conftest.a conftest.b 2>&5 || hard_links=no
 13858   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13859   echo "$as_me:$LINENO: result: $hard_links" >&5
 13860 echo "${ECHO_T}$hard_links" >&6
 13861   if test "$hard_links" = no; then
 13862     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 13863 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 13864     need_locks=warn
 13865   fi
 13866 else
 13867   need_locks=no
 13868 fi
 13869 
 13870 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 13871 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 13872 
 13873   runpath_var=
 13874   allow_undefined_flag_F77=
 13875   enable_shared_with_static_runtimes_F77=no
 13876   archive_cmds_F77=
 13877   archive_expsym_cmds_F77=
 13878   old_archive_From_new_cmds_F77=
 13879   old_archive_from_expsyms_cmds_F77=
 13880   export_dynamic_flag_spec_F77=
 13881   whole_archive_flag_spec_F77=
 13882   thread_safe_flag_spec_F77=
 13883   hardcode_libdir_flag_spec_F77=
 13884   hardcode_libdir_flag_spec_ld_F77=
 13885   hardcode_libdir_separator_F77=
 13886   hardcode_direct_F77=no
 13887   hardcode_minus_L_F77=no
 13888   hardcode_shlibpath_var_F77=unsupported
 13889   link_all_deplibs_F77=unknown
 13890   hardcode_automatic_F77=no
 13891   module_cmds_F77=
 13892   module_expsym_cmds_F77=
 13893   always_export_symbols_F77=no
 13894   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 13895   # include_expsyms should be a list of space-separated symbols to be *always*
 13896   # included in the symbol list
 13897   include_expsyms_F77=
 13898   # exclude_expsyms can be an extended regexp of symbols to exclude
 13899   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 13900   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 13901   # as well as any symbol that contains `d'.
 13902   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 13903   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 13904   # platforms (ab)use it in PIC code, but their linkers get confused if
 13905   # the symbol is explicitly referenced.  Since portable code cannot
 13906   # rely on this symbol name, it's probably fine to never include it in
 13907   # preloaded symbol tables.
 13908   extract_expsyms_cmds=
 13909   # Just being paranoid about ensuring that cc_basename is set.
 13910   for cc_temp in $compiler""; do
 13911   case $cc_temp in
 13912     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 13913     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 13914     \-*) ;;
 13915     *) break;;
 13916   esac
 13917 done
 13918 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 13919 
 13920   case $host_os in
 13921   cygwin* | mingw* | pw32*)
 13922     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 13923     # When not using gcc, we currently assume that we are using
 13924     # Microsoft Visual C++.
 13925     if test "$GCC" != yes; then
 13926       with_gnu_ld=no
 13927     fi
 13928     ;;
 13929   openbsd*)
 13930     with_gnu_ld=no
 13931     ;;
 13932   esac
 13933 
 13934   ld_shlibs_F77=yes
 13935   if test "$with_gnu_ld" = yes; then
 13936     # If archive_cmds runs LD, not CC, wlarc should be empty
 13937     wlarc='${wl}'
 13938 
 13939     # Set some defaults for GNU ld with shared library support. These
 13940     # are reset later if shared libraries are not supported. Putting them
 13941     # here allows them to be overridden if necessary.
 13942     runpath_var=LD_RUN_PATH
 13943     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 13944     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 13945     # ancient GNU ld didn't support --whole-archive et. al.
 13946     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 13947 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 13948       else
 13949   	whole_archive_flag_spec_F77=
 13950     fi
 13951     supports_anon_versioning=no
 13952     case `$LD -v 2>/dev/null` in
 13953       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 13954       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 13955       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 13956       *\ 2.11.*) ;; # other 2.11 versions
 13957       *) supports_anon_versioning=yes ;;
 13958     esac
 13959 
 13960     # See if GNU ld supports shared libraries.
 13961     case $host_os in
 13962     aix3* | aix4* | aix5*)
 13963       # On AIX/PPC, the GNU linker is very broken
 13964       if test "$host_cpu" != ia64; then
 13965 	ld_shlibs_F77=no
 13966 	cat <<EOF 1>&2
 13967 
 13968 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 13969 *** to be unable to reliably create shared libraries on AIX.
 13970 *** Therefore, libtool is disabling shared libraries support.  If you
 13971 *** really care for shared libraries, you may want to modify your PATH
 13972 *** so that a non-GNU linker is found, and then restart.
 13973 
 13974 EOF
 13975       fi
 13976       ;;
 13977 
 13978     amigaos*)
 13979       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)'
 13980       hardcode_libdir_flag_spec_F77='-L$libdir'
 13981       hardcode_minus_L_F77=yes
 13982 
 13983       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 13984       # that the semantics of dynamic libraries on AmigaOS, at least up
 13985       # to version 4, is to share data among multiple programs linked
 13986       # with the same dynamic library.  Since this doesn't match the
 13987       # behavior of shared libraries on other platforms, we can't use
 13988       # them.
 13989       ld_shlibs_F77=no
 13990       ;;
 13991 
 13992     beos*)
 13993       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 13994 	allow_undefined_flag_F77=unsupported
 13995 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 13996 	# support --undefined.  This deserves some investigation.  FIXME
 13997 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13998       else
 13999 	ld_shlibs_F77=no
 14000       fi
 14001       ;;
 14002 
 14003     cygwin* | mingw* | pw32*)
 14004       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 14005       # as there is no search path for DLLs.
 14006       hardcode_libdir_flag_spec_F77='-L$libdir'
 14007       allow_undefined_flag_F77=unsupported
 14008       always_export_symbols_F77=no
 14009       enable_shared_with_static_runtimes_F77=yes
 14010       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 14011 
 14012       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 14013         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 14014 	# If the export-symbols file already is a .def file (1st line
 14015 	# is EXPORTS), use it as is; otherwise, prepend...
 14016 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 14017 	  cp $export_symbols $output_objdir/$soname.def;
 14018 	else
 14019 	  echo EXPORTS > $output_objdir/$soname.def;
 14020 	  cat $export_symbols >> $output_objdir/$soname.def;
 14021 	fi~
 14022 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 14023       else
 14024 	ld_shlibs_F77=no
 14025       fi
 14026       ;;
 14027 
 14028     linux*)
 14029       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14030 	tmp_addflag=
 14031 	case $cc_basename,$host_cpu in
 14032 	pgcc*)				# Portland Group C compiler
 14033 	  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'
 14034 	  tmp_addflag=' $pic_flag'
 14035 	  ;;
 14036 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 14037 	  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'
 14038 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 14039 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 14040 	  tmp_addflag=' -i_dynamic' ;;
 14041 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 14042 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 14043 	ifc* | ifort*)			# Intel Fortran compiler
 14044 	  tmp_addflag=' -nofor_main' ;;
 14045 	esac
 14046 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14047 
 14048 	if test $supports_anon_versioning = yes; then
 14049 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 14050   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 14051   $echo "local: *; };" >> $output_objdir/$libname.ver~
 14052 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 14053 	fi
 14054       else
 14055 	ld_shlibs_F77=no
 14056       fi
 14057       ;;
 14058 
 14059     netbsd*)
 14060       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 14061 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 14062 	wlarc=
 14063       else
 14064 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14065 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14066       fi
 14067       ;;
 14068 
 14069     solaris* | sysv5*)
 14070       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 14071 	ld_shlibs_F77=no
 14072 	cat <<EOF 1>&2
 14073 
 14074 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 14075 *** create shared libraries on Solaris systems.  Therefore, libtool
 14076 *** is disabling shared libraries support.  We urge you to upgrade GNU
 14077 *** binutils to release 2.9.1 or newer.  Another option is to modify
 14078 *** your PATH or compiler configuration so that the native linker is
 14079 *** used, and then restart.
 14080 
 14081 EOF
 14082       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14083 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14084 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14085       else
 14086 	ld_shlibs_F77=no
 14087       fi
 14088       ;;
 14089 
 14090     sunos4*)
 14091       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14092       wlarc=
 14093       hardcode_direct_F77=yes
 14094       hardcode_shlibpath_var_F77=no
 14095       ;;
 14096 
 14097     *)
 14098       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 14099 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 14100 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 14101       else
 14102 	ld_shlibs_F77=no
 14103       fi
 14104       ;;
 14105     esac
 14106 
 14107     if test "$ld_shlibs_F77" = no; then
 14108       runpath_var=
 14109       hardcode_libdir_flag_spec_F77=
 14110       export_dynamic_flag_spec_F77=
 14111       whole_archive_flag_spec_F77=
 14112     fi
 14113   else
 14114     # PORTME fill in a description of your system's linker (not GNU ld)
 14115     case $host_os in
 14116     aix3*)
 14117       allow_undefined_flag_F77=unsupported
 14118       always_export_symbols_F77=yes
 14119       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'
 14120       # Note: this linker hardcodes the directories in LIBPATH if there
 14121       # are no directories specified by -L.
 14122       hardcode_minus_L_F77=yes
 14123       if test "$GCC" = yes && test -z "$link_static_flag"; then
 14124 	# Neither direct hardcoding nor static linking is supported with a
 14125 	# broken collect2.
 14126 	hardcode_direct_F77=unsupported
 14127       fi
 14128       ;;
 14129 
 14130     aix4* | aix5*)
 14131       if test "$host_cpu" = ia64; then
 14132 	# On IA64, the linker does run time linking by default, so we don't
 14133 	# have to do anything special.
 14134 	aix_use_runtimelinking=no
 14135 	exp_sym_flag='-Bexport'
 14136 	no_entry_flag=""
 14137       else
 14138 	# If we're using GNU nm, then we don't want the "-C" option.
 14139 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 14140 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 14141 	  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'
 14142 	else
 14143 	  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'
 14144 	fi
 14145 	aix_use_runtimelinking=no
 14146 
 14147 	# Test if we are trying to use run time linking or normal
 14148 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 14149 	# need to do runtime linking.
 14150 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 14151 	  for ld_flag in $LDFLAGS; do
 14152   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 14153   	    aix_use_runtimelinking=yes
 14154   	    break
 14155   	  fi
 14156 	  done
 14157 	esac
 14158 
 14159 	exp_sym_flag='-bexport'
 14160 	no_entry_flag='-bnoentry'
 14161       fi
 14162 
 14163       # When large executables or shared objects are built, AIX ld can
 14164       # have problems creating the table of contents.  If linking a library
 14165       # or program results in "error TOC overflow" add -mminimal-toc to
 14166       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 14167       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 14168 
 14169       archive_cmds_F77=''
 14170       hardcode_direct_F77=yes
 14171       hardcode_libdir_separator_F77=':'
 14172       link_all_deplibs_F77=yes
 14173 
 14174       if test "$GCC" = yes; then
 14175 	case $host_os in aix4.[012]|aix4.[012].*)
 14176 	# We only want to do this on AIX 4.2 and lower, the check
 14177 	# below for broken collect2 doesn't work under 4.3+
 14178 	  collect2name=`${CC} -print-prog-name=collect2`
 14179 	  if test -f "$collect2name" && \
 14180   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 14181 	  then
 14182   	  # We have reworked collect2
 14183   	  hardcode_direct_F77=yes
 14184 	  else
 14185   	  # We have old collect2
 14186   	  hardcode_direct_F77=unsupported
 14187   	  # It fails to find uninstalled libraries when the uninstalled
 14188   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 14189   	  # to unsupported forces relinking
 14190   	  hardcode_minus_L_F77=yes
 14191   	  hardcode_libdir_flag_spec_F77='-L$libdir'
 14192   	  hardcode_libdir_separator_F77=
 14193 	  fi
 14194 	esac
 14195 	shared_flag='-shared'
 14196 	if test "$aix_use_runtimelinking" = yes; then
 14197 	  shared_flag="$shared_flag "'${wl}-G'
 14198 	fi
 14199       else
 14200 	# not using gcc
 14201 	if test "$host_cpu" = ia64; then
 14202   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 14203   	# chokes on -Wl,-G. The following line is correct:
 14204 	  shared_flag='-G'
 14205 	else
 14206   	if test "$aix_use_runtimelinking" = yes; then
 14207 	    shared_flag='${wl}-G'
 14208 	  else
 14209 	    shared_flag='${wl}-bM:SRE'
 14210   	fi
 14211 	fi
 14212       fi
 14213 
 14214       # It seems that -bexpall does not export symbols beginning with
 14215       # underscore (_), so it is better to generate a list of symbols to export.
 14216       always_export_symbols_F77=yes
 14217       if test "$aix_use_runtimelinking" = yes; then
 14218 	# Warning - without using the other runtime loading flags (-brtl),
 14219 	# -berok will link without error, but may produce a broken library.
 14220 	allow_undefined_flag_F77='-berok'
 14221        # Determine the default libpath from the value encoded in an empty executable.
 14222        cat >conftest.$ac_ext <<_ACEOF
 14223       program main
 14224 
 14225       end
 14226 _ACEOF
 14227 rm -f conftest.$ac_objext conftest$ac_exeext
 14228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 14229   (eval $ac_link) 2>conftest.er1
 14230   ac_status=$?
 14231   grep -v '^ *+' conftest.er1 >conftest.err
 14232   rm -f conftest.er1
 14233   cat conftest.err >&5
 14234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14235   (exit $ac_status); } &&
 14236 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 14237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14238   (eval $ac_try) 2>&5
 14239   ac_status=$?
 14240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14241   (exit $ac_status); }; } &&
 14242 	 { ac_try='test -s conftest$ac_exeext'
 14243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14244   (eval $ac_try) 2>&5
 14245   ac_status=$?
 14246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14247   (exit $ac_status); }; }; then
 14248 
 14249 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 14250 }'`
 14251 # Check for a 64-bit object if we didn't find anything.
 14252 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; }
 14253 }'`; fi
 14254 else
 14255   echo "$as_me: failed program was:" >&5
 14256 sed 's/^/| /' conftest.$ac_ext >&5
 14257 
 14258 fi
 14259 rm -f conftest.err conftest.$ac_objext \
 14260       conftest$ac_exeext conftest.$ac_ext
 14261 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 14262 
 14263        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 14264 	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"
 14265        else
 14266 	if test "$host_cpu" = ia64; then
 14267 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 14268 	  allow_undefined_flag_F77="-z nodefs"
 14269 	  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"
 14270 	else
 14271 	 # Determine the default libpath from the value encoded in an empty executable.
 14272 	 cat >conftest.$ac_ext <<_ACEOF
 14273       program main
 14274 
 14275       end
 14276 _ACEOF
 14277 rm -f conftest.$ac_objext conftest$ac_exeext
 14278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 14279   (eval $ac_link) 2>conftest.er1
 14280   ac_status=$?
 14281   grep -v '^ *+' conftest.er1 >conftest.err
 14282   rm -f conftest.er1
 14283   cat conftest.err >&5
 14284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14285   (exit $ac_status); } &&
 14286 	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 14287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14288   (eval $ac_try) 2>&5
 14289   ac_status=$?
 14290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14291   (exit $ac_status); }; } &&
 14292 	 { ac_try='test -s conftest$ac_exeext'
 14293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 14294   (eval $ac_try) 2>&5
 14295   ac_status=$?
 14296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14297   (exit $ac_status); }; }; then
 14298 
 14299 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 14300 }'`
 14301 # Check for a 64-bit object if we didn't find anything.
 14302 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; }
 14303 }'`; fi
 14304 else
 14305   echo "$as_me: failed program was:" >&5
 14306 sed 's/^/| /' conftest.$ac_ext >&5
 14307 
 14308 fi
 14309 rm -f conftest.err conftest.$ac_objext \
 14310       conftest$ac_exeext conftest.$ac_ext
 14311 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 14312 
 14313 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 14314 	  # Warning - without using the other run time loading flags,
 14315 	  # -berok will link without error, but may produce a broken library.
 14316 	  no_undefined_flag_F77=' ${wl}-bernotok'
 14317 	  allow_undefined_flag_F77=' ${wl}-berok'
 14318 	  # -bexpall does not export symbols beginning with underscore (_)
 14319 	  always_export_symbols_F77=yes
 14320 	  # Exported symbols can be pulled into shared objects from archives
 14321 	  whole_archive_flag_spec_F77=' '
 14322 	  archive_cmds_need_lc_F77=yes
 14323 	  # This is similar to how AIX traditionally builds its shared libraries.
 14324 	  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'
 14325 	fi
 14326       fi
 14327       ;;
 14328 
 14329     amigaos*)
 14330       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)'
 14331       hardcode_libdir_flag_spec_F77='-L$libdir'
 14332       hardcode_minus_L_F77=yes
 14333       # see comment about different semantics on the GNU ld section
 14334       ld_shlibs_F77=no
 14335       ;;
 14336 
 14337     bsdi[45]*)
 14338       export_dynamic_flag_spec_F77=-rdynamic
 14339       ;;
 14340 
 14341     cygwin* | mingw* | pw32*)
 14342       # When not using gcc, we currently assume that we are using
 14343       # Microsoft Visual C++.
 14344       # hardcode_libdir_flag_spec is actually meaningless, as there is
 14345       # no search path for DLLs.
 14346       hardcode_libdir_flag_spec_F77=' '
 14347       allow_undefined_flag_F77=unsupported
 14348       # Tell ltmain to make .lib files, not .a files.
 14349       libext=lib
 14350       # Tell ltmain to make .dll files, not .so files.
 14351       shrext_cmds=".dll"
 14352       # FIXME: Setting linknames here is a bad hack.
 14353       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 14354       # The linker will automatically build a .lib file if we build a DLL.
 14355       old_archive_From_new_cmds_F77='true'
 14356       # FIXME: Should let the user specify the lib program.
 14357       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 14358       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 14359       enable_shared_with_static_runtimes_F77=yes
 14360       ;;
 14361 
 14362     darwin* | rhapsody*)
 14363       case $host_os in
 14364         rhapsody* | darwin1.[012])
 14365          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 14366          ;;
 14367        *) # Darwin 1.3 on
 14368          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 14369            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 14370          else
 14371            case ${MACOSX_DEPLOYMENT_TARGET} in
 14372              10.[012])
 14373                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 14374                ;;
 14375              10.*)
 14376                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 14377                ;;
 14378            esac
 14379          fi
 14380          ;;
 14381       esac
 14382       archive_cmds_need_lc_F77=no
 14383       hardcode_direct_F77=no
 14384       hardcode_automatic_F77=yes
 14385       hardcode_shlibpath_var_F77=unsupported
 14386       whole_archive_flag_spec_F77=''
 14387       link_all_deplibs_F77=yes
 14388     if test "$GCC" = yes ; then
 14389     	output_verbose_link_cmd='echo'
 14390         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 14391       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 14392       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 14393       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}'
 14394       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}'
 14395     else
 14396       case $cc_basename in
 14397         xlc*)
 14398          output_verbose_link_cmd='echo'
 14399          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 14400          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 14401           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 14402          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}'
 14403           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}'
 14404           ;;
 14405        *)
 14406          ld_shlibs_F77=no
 14407           ;;
 14408       esac
 14409     fi
 14410       ;;
 14411 
 14412     dgux*)
 14413       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14414       hardcode_libdir_flag_spec_F77='-L$libdir'
 14415       hardcode_shlibpath_var_F77=no
 14416       ;;
 14417 
 14418     freebsd1*)
 14419       ld_shlibs_F77=no
 14420       ;;
 14421 
 14422     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 14423     # support.  Future versions do this automatically, but an explicit c++rt0.o
 14424     # does not break anything, and helps significantly (at the cost of a little
 14425     # extra space).
 14426     freebsd2.2*)
 14427       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 14428       hardcode_libdir_flag_spec_F77='-R$libdir'
 14429       hardcode_direct_F77=yes
 14430       hardcode_shlibpath_var_F77=no
 14431       ;;
 14432 
 14433     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 14434     freebsd2*)
 14435       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14436       hardcode_direct_F77=yes
 14437       hardcode_minus_L_F77=yes
 14438       hardcode_shlibpath_var_F77=no
 14439       ;;
 14440 
 14441     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 14442     freebsd* | kfreebsd*-gnu | dragonfly*)
 14443       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 14444       hardcode_libdir_flag_spec_F77='-R$libdir'
 14445       hardcode_direct_F77=yes
 14446       hardcode_shlibpath_var_F77=no
 14447       ;;
 14448 
 14449     hpux9*)
 14450       if test "$GCC" = yes; then
 14451 	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'
 14452       else
 14453 	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'
 14454       fi
 14455       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14456       hardcode_libdir_separator_F77=:
 14457       hardcode_direct_F77=yes
 14458 
 14459       # hardcode_minus_L: Not really in the search PATH,
 14460       # but as the default location of the library.
 14461       hardcode_minus_L_F77=yes
 14462       export_dynamic_flag_spec_F77='${wl}-E'
 14463       ;;
 14464 
 14465     hpux10* | hpux11*)
 14466       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 14467 	case $host_cpu in
 14468 	hppa*64*|ia64*)
 14469 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14470 	  ;;
 14471 	*)
 14472 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 14473 	  ;;
 14474 	esac
 14475       else
 14476 	case $host_cpu in
 14477 	hppa*64*|ia64*)
 14478 	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 14479 	  ;;
 14480 	*)
 14481 	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 14482 	  ;;
 14483 	esac
 14484       fi
 14485       if test "$with_gnu_ld" = no; then
 14486 	case $host_cpu in
 14487 	hppa*64*)
 14488 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14489 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 14490 	  hardcode_libdir_separator_F77=:
 14491 	  hardcode_direct_F77=no
 14492 	  hardcode_shlibpath_var_F77=no
 14493 	  ;;
 14494 	ia64*)
 14495 	  hardcode_libdir_flag_spec_F77='-L$libdir'
 14496 	  hardcode_direct_F77=no
 14497 	  hardcode_shlibpath_var_F77=no
 14498 
 14499 	  # hardcode_minus_L: Not really in the search PATH,
 14500 	  # but as the default location of the library.
 14501 	  hardcode_minus_L_F77=yes
 14502 	  ;;
 14503 	*)
 14504 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 14505 	  hardcode_libdir_separator_F77=:
 14506 	  hardcode_direct_F77=yes
 14507 	  export_dynamic_flag_spec_F77='${wl}-E'
 14508 
 14509 	  # hardcode_minus_L: Not really in the search PATH,
 14510 	  # but as the default location of the library.
 14511 	  hardcode_minus_L_F77=yes
 14512 	  ;;
 14513 	esac
 14514       fi
 14515       ;;
 14516 
 14517     irix5* | irix6* | nonstopux*)
 14518       if test "$GCC" = yes; then
 14519 	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'
 14520       else
 14521 	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'
 14522 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 14523       fi
 14524       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14525       hardcode_libdir_separator_F77=:
 14526       link_all_deplibs_F77=yes
 14527       ;;
 14528 
 14529     netbsd*)
 14530       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 14531 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 14532       else
 14533 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 14534       fi
 14535       hardcode_libdir_flag_spec_F77='-R$libdir'
 14536       hardcode_direct_F77=yes
 14537       hardcode_shlibpath_var_F77=no
 14538       ;;
 14539 
 14540     newsos6)
 14541       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14542       hardcode_direct_F77=yes
 14543       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14544       hardcode_libdir_separator_F77=:
 14545       hardcode_shlibpath_var_F77=no
 14546       ;;
 14547 
 14548     openbsd*)
 14549       hardcode_direct_F77=yes
 14550       hardcode_shlibpath_var_F77=no
 14551       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 14552 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 14553 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 14554 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 14555 	export_dynamic_flag_spec_F77='${wl}-E'
 14556       else
 14557        case $host_os in
 14558 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 14559 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 14560 	   hardcode_libdir_flag_spec_F77='-R$libdir'
 14561 	   ;;
 14562 	 *)
 14563 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 14564 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 14565 	   ;;
 14566        esac
 14567       fi
 14568       ;;
 14569 
 14570     os2*)
 14571       hardcode_libdir_flag_spec_F77='-L$libdir'
 14572       hardcode_minus_L_F77=yes
 14573       allow_undefined_flag_F77=unsupported
 14574       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'
 14575       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 14576       ;;
 14577 
 14578     osf3*)
 14579       if test "$GCC" = yes; then
 14580 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 14581 	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'
 14582       else
 14583 	allow_undefined_flag_F77=' -expect_unresolved \*'
 14584 	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'
 14585       fi
 14586       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14587       hardcode_libdir_separator_F77=:
 14588       ;;
 14589 
 14590     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 14591       if test "$GCC" = yes; then
 14592 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 14593 	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'
 14594 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 14595       else
 14596 	allow_undefined_flag_F77=' -expect_unresolved \*'
 14597 	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'
 14598 	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~
 14599 	$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'
 14600 
 14601 	# Both c and cxx compiler support -rpath directly
 14602 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
 14603       fi
 14604       hardcode_libdir_separator_F77=:
 14605       ;;
 14606 
 14607     sco3.2v5*)
 14608       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14609       hardcode_shlibpath_var_F77=no
 14610       export_dynamic_flag_spec_F77='${wl}-Bexport'
 14611       runpath_var=LD_RUN_PATH
 14612       hardcode_runpath_var=yes
 14613       ;;
 14614 
 14615     solaris*)
 14616       no_undefined_flag_F77=' -z text'
 14617       if test "$GCC" = yes; then
 14618 	wlarc='${wl}'
 14619 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14620 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14621 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 14622       else
 14623 	wlarc=''
 14624 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14625 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14626   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 14627       fi
 14628       hardcode_libdir_flag_spec_F77='-R$libdir'
 14629       hardcode_shlibpath_var_F77=no
 14630       case $host_os in
 14631       solaris2.[0-5] | solaris2.[0-5].*) ;;
 14632       *)
 14633  	# The compiler driver will combine linker options so we
 14634  	# cannot just pass the convience library names through
 14635  	# without $wl, iff we do not link with $LD.
 14636  	# Luckily, gcc supports the same syntax we need for Sun Studio.
 14637  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 14638  	case $wlarc in
 14639  	'')
 14640  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 14641  	*)
 14642  	  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' ;;
 14643  	esac ;;
 14644       esac
 14645       link_all_deplibs_F77=yes
 14646       ;;
 14647 
 14648     sunos4*)
 14649       if test "x$host_vendor" = xsequent; then
 14650 	# Use $CC to link under sequent, because it throws in some extra .o
 14651 	# files that make .init and .fini sections work.
 14652 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 14653       else
 14654 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 14655       fi
 14656       hardcode_libdir_flag_spec_F77='-L$libdir'
 14657       hardcode_direct_F77=yes
 14658       hardcode_minus_L_F77=yes
 14659       hardcode_shlibpath_var_F77=no
 14660       ;;
 14661 
 14662     sysv4)
 14663       case $host_vendor in
 14664 	sni)
 14665 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14666 	  hardcode_direct_F77=yes # is this really true???
 14667 	;;
 14668 	siemens)
 14669 	  ## LD is ld it makes a PLAMLIB
 14670 	  ## CC just makes a GrossModule.
 14671 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 14672 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
 14673 	  hardcode_direct_F77=no
 14674         ;;
 14675 	motorola)
 14676 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14677 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 14678 	;;
 14679       esac
 14680       runpath_var='LD_RUN_PATH'
 14681       hardcode_shlibpath_var_F77=no
 14682       ;;
 14683 
 14684     sysv4.3*)
 14685       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14686       hardcode_shlibpath_var_F77=no
 14687       export_dynamic_flag_spec_F77='-Bexport'
 14688       ;;
 14689 
 14690     sysv4*MP*)
 14691       if test -d /usr/nec; then
 14692 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14693 	hardcode_shlibpath_var_F77=no
 14694 	runpath_var=LD_RUN_PATH
 14695 	hardcode_runpath_var=yes
 14696 	ld_shlibs_F77=yes
 14697       fi
 14698       ;;
 14699 
 14700     sysv4.2uw2*)
 14701       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 14702       hardcode_direct_F77=yes
 14703       hardcode_minus_L_F77=no
 14704       hardcode_shlibpath_var_F77=no
 14705       hardcode_runpath_var=yes
 14706       runpath_var=LD_RUN_PATH
 14707       ;;
 14708 
 14709    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 14710       no_undefined_flag_F77='${wl}-z ${wl}text'
 14711       if test "$GCC" = yes; then
 14712 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14713       else
 14714 	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 14715       fi
 14716       runpath_var='LD_RUN_PATH'
 14717       hardcode_shlibpath_var_F77=no
 14718       ;;
 14719 
 14720     sysv5*)
 14721       no_undefined_flag_F77=' -z text'
 14722       # $CC -shared without GNU ld will not create a library from C++
 14723       # object files and a static libstdc++, better avoid it by now
 14724       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14725       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 14726   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 14727       hardcode_libdir_flag_spec_F77=
 14728       hardcode_shlibpath_var_F77=no
 14729       runpath_var='LD_RUN_PATH'
 14730       ;;
 14731 
 14732     uts4*)
 14733       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 14734       hardcode_libdir_flag_spec_F77='-L$libdir'
 14735       hardcode_shlibpath_var_F77=no
 14736       ;;
 14737 
 14738     *)
 14739       ld_shlibs_F77=no
 14740       ;;
 14741     esac
 14742   fi
 14743 
 14744 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 14745 echo "${ECHO_T}$ld_shlibs_F77" >&6
 14746 test "$ld_shlibs_F77" = no && can_build_shared=no
 14747 
 14748 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 14749 if test "$GCC" = yes; then
 14750   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 14751 fi
 14752 
 14753 #
 14754 # Do we need to explicitly link libc?
 14755 #
 14756 case "x$archive_cmds_need_lc_F77" in
 14757 x|xyes)
 14758   # Assume -lc should be added
 14759   archive_cmds_need_lc_F77=yes
 14760 
 14761   if test "$enable_shared" = yes && test "$GCC" = yes; then
 14762     case $archive_cmds_F77 in
 14763     *'~'*)
 14764       # FIXME: we may have to deal with multi-command sequences.
 14765       ;;
 14766     '$CC '*)
 14767       # Test whether the compiler implicitly links with -lc since on some
 14768       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 14769       # to ld, don't add -lc before -lgcc.
 14770       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 14771 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 14772       $rm conftest*
 14773       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 14774 
 14775       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 14776   (eval $ac_compile) 2>&5
 14777   ac_status=$?
 14778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14779   (exit $ac_status); } 2>conftest.err; then
 14780         soname=conftest
 14781         lib=conftest
 14782         libobjs=conftest.$ac_objext
 14783         deplibs=
 14784         wl=$lt_prog_compiler_wl_F77
 14785         compiler_flags=-v
 14786         linker_flags=-v
 14787         verstring=
 14788         output_objdir=.
 14789         libname=conftest
 14790         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 14791         allow_undefined_flag_F77=
 14792         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 14793   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 14794   ac_status=$?
 14795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14796   (exit $ac_status); }
 14797         then
 14798 	  archive_cmds_need_lc_F77=no
 14799         else
 14800 	  archive_cmds_need_lc_F77=yes
 14801         fi
 14802         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 14803       else
 14804         cat conftest.err 1>&5
 14805       fi
 14806       $rm conftest*
 14807       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 14808 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 14809       ;;
 14810     esac
 14811   fi
 14812   ;;
 14813 esac
 14814 
 14815 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 14816 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 14817 library_names_spec=
 14818 libname_spec='lib$name'
 14819 soname_spec=
 14820 shrext_cmds=".so"
 14821 postinstall_cmds=
 14822 postuninstall_cmds=
 14823 finish_cmds=
 14824 finish_eval=
 14825 shlibpath_var=
 14826 shlibpath_overrides_runpath=unknown
 14827 version_type=none
 14828 dynamic_linker="$host_os ld.so"
 14829 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 14830 if test "$GCC" = yes; then
 14831   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 14832   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 14833     # if the path contains ";" then we assume it to be the separator
 14834     # otherwise default to the standard path separator (i.e. ":") - it is
 14835     # assumed that no part of a normal pathname contains ";" but that should
 14836     # okay in the real world where ";" in dirpaths is itself problematic.
 14837     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 14838   else
 14839     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 14840   fi
 14841 else
 14842   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 14843 fi
 14844 need_lib_prefix=unknown
 14845 hardcode_into_libs=no
 14846 
 14847 # when you set need_version to no, make sure it does not cause -set_version
 14848 # flags to be left without arguments
 14849 need_version=unknown
 14850 
 14851 case $host_os in
 14852 aix3*)
 14853   version_type=linux
 14854   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 14855   shlibpath_var=LIBPATH
 14856 
 14857   # AIX 3 has no versioning support, so we append a major version to the name.
 14858   soname_spec='${libname}${release}${shared_ext}$major'
 14859   ;;
 14860 
 14861 aix4* | aix5*)
 14862   version_type=linux
 14863   need_lib_prefix=no
 14864   need_version=no
 14865   hardcode_into_libs=yes
 14866   if test "$host_cpu" = ia64; then
 14867     # AIX 5 supports IA64
 14868     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 14869     shlibpath_var=LD_LIBRARY_PATH
 14870   else
 14871     # With GCC up to 2.95.x, collect2 would create an import file
 14872     # for dependence libraries.  The import file would start with
 14873     # the line `#! .'.  This would cause the generated library to
 14874     # depend on `.', always an invalid library.  This was fixed in
 14875     # development snapshots of GCC prior to 3.0.
 14876     case $host_os in
 14877       aix4 | aix4.[01] | aix4.[01].*)
 14878       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 14879 	   echo ' yes '
 14880 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 14881 	:
 14882       else
 14883 	can_build_shared=no
 14884       fi
 14885       ;;
 14886     esac
 14887     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 14888     # soname into executable. Probably we can add versioning support to
 14889     # collect2, so additional links can be useful in future.
 14890     if test "$aix_use_runtimelinking" = yes; then
 14891       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 14892       # instead of lib<name>.a to let people know that these are not
 14893       # typical AIX shared libraries.
 14894       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14895     else
 14896       # We preserve .a as extension for shared libraries through AIX4.2
 14897       # and later when we are not doing run time linking.
 14898       library_names_spec='${libname}${release}.a $libname.a'
 14899       soname_spec='${libname}${release}${shared_ext}$major'
 14900     fi
 14901     shlibpath_var=LIBPATH
 14902   fi
 14903   ;;
 14904 
 14905 amigaos*)
 14906   library_names_spec='$libname.ixlibrary $libname.a'
 14907   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 14908   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'
 14909   ;;
 14910 
 14911 beos*)
 14912   library_names_spec='${libname}${shared_ext}'
 14913   dynamic_linker="$host_os ld.so"
 14914   shlibpath_var=LIBRARY_PATH
 14915   ;;
 14916 
 14917 bsdi[45]*)
 14918   version_type=linux
 14919   need_version=no
 14920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14921   soname_spec='${libname}${release}${shared_ext}$major'
 14922   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 14923   shlibpath_var=LD_LIBRARY_PATH
 14924   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 14925   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 14926   # the default ld.so.conf also contains /usr/contrib/lib and
 14927   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 14928   # libtool to hard-code these into programs
 14929   ;;
 14930 
 14931 cygwin* | mingw* | pw32*)
 14932   version_type=windows
 14933   shrext_cmds=".dll"
 14934   need_version=no
 14935   need_lib_prefix=no
 14936 
 14937   case $GCC,$host_os in
 14938   yes,cygwin* | yes,mingw* | yes,pw32*)
 14939     library_names_spec='$libname.dll.a'
 14940     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 14941     postinstall_cmds='base_file=`basename \${file}`~
 14942       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 14943       dldir=$destdir/`dirname \$dlpath`~
 14944       test -d \$dldir || mkdir -p \$dldir~
 14945       $install_prog $dir/$dlname \$dldir/$dlname~
 14946       chmod a+x \$dldir/$dlname'
 14947     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 14948       dlpath=$dir/\$dldll~
 14949        $rm \$dlpath'
 14950     shlibpath_overrides_runpath=yes
 14951 
 14952     case $host_os in
 14953     cygwin*)
 14954       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 14955       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14956       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 14957       ;;
 14958     mingw*)
 14959       # MinGW DLLs use traditional 'lib' prefix
 14960       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14961       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 14962       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 14963         # It is most probably a Windows format PATH printed by
 14964         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 14965         # path with ; separators, and with drive letters. We can handle the
 14966         # drive letters (cygwin fileutils understands them), so leave them,
 14967         # especially as we might pass files found there to a mingw objdump,
 14968         # which wouldn't understand a cygwinified path. Ahh.
 14969         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 14970       else
 14971         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 14972       fi
 14973       ;;
 14974     pw32*)
 14975       # pw32 DLLs use 'pw' prefix rather than 'lib'
 14976       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14977       ;;
 14978     esac
 14979     ;;
 14980 
 14981   *)
 14982     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 14983     ;;
 14984   esac
 14985   dynamic_linker='Win32 ld.exe'
 14986   # FIXME: first we should search . and the directory the executable is in
 14987   shlibpath_var=PATH
 14988   ;;
 14989 
 14990 darwin* | rhapsody*)
 14991   dynamic_linker="$host_os dyld"
 14992   version_type=darwin
 14993   need_lib_prefix=no
 14994   need_version=no
 14995   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 14996   soname_spec='${libname}${release}${major}$shared_ext'
 14997   shlibpath_overrides_runpath=yes
 14998   shlibpath_var=DYLD_LIBRARY_PATH
 14999   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 15000   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 15001   if test "$GCC" = yes; then
 15002     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"`
 15003   else
 15004     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 15005   fi
 15006   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 15007   ;;
 15008 
 15009 dgux*)
 15010   version_type=linux
 15011   need_lib_prefix=no
 15012   need_version=no
 15013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 15014   soname_spec='${libname}${release}${shared_ext}$major'
 15015   shlibpath_var=LD_LIBRARY_PATH
 15016   ;;
 15017 
 15018 freebsd1*)
 15019   dynamic_linker=no
 15020   ;;
 15021 
 15022 kfreebsd*-gnu)
 15023   version_type=linux
 15024   need_lib_prefix=no
 15025   need_version=no
 15026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15027   soname_spec='${libname}${release}${shared_ext}$major'
 15028   shlibpath_var=LD_LIBRARY_PATH
 15029   shlibpath_overrides_runpath=no
 15030   hardcode_into_libs=yes
 15031   dynamic_linker='GNU ld.so'
 15032   ;;
 15033 
 15034 freebsd* | dragonfly*)
 15035   # DragonFly does not have aout.  When/if they implement a new
 15036   # versioning mechanism, adjust this.
 15037   if test -x /usr/bin/objformat; then
 15038     objformat=`/usr/bin/objformat`
 15039   else
 15040     case $host_os in
 15041     freebsd[123]*) objformat=aout ;;
 15042     *) objformat=elf ;;
 15043     esac
 15044   fi
 15045   version_type=freebsd-$objformat
 15046   case $version_type in
 15047     freebsd-elf*)
 15048       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 15049       need_version=no
 15050       need_lib_prefix=no
 15051       ;;
 15052     freebsd-*)
 15053       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 15054       need_version=yes
 15055       ;;
 15056   esac
 15057   shlibpath_var=LD_LIBRARY_PATH
 15058   case $host_os in
 15059   freebsd2*)
 15060     shlibpath_overrides_runpath=yes
 15061     ;;
 15062   freebsd3.[01]* | freebsdelf3.[01]*)
 15063     shlibpath_overrides_runpath=yes
 15064     hardcode_into_libs=yes
 15065     ;;
 15066   *) # from 3.2 on
 15067     shlibpath_overrides_runpath=no
 15068     hardcode_into_libs=yes
 15069     ;;
 15070   esac
 15071   ;;
 15072 
 15073 gnu*)
 15074   version_type=linux
 15075   need_lib_prefix=no
 15076   need_version=no
 15077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 15078   soname_spec='${libname}${release}${shared_ext}$major'
 15079   shlibpath_var=LD_LIBRARY_PATH
 15080   hardcode_into_libs=yes
 15081   ;;
 15082 
 15083 hpux9* | hpux10* | hpux11*)
 15084   # Give a soname corresponding to the major version so that dld.sl refuses to
 15085   # link against other versions.
 15086   version_type=sunos
 15087   need_lib_prefix=no
 15088   need_version=no
 15089   case $host_cpu in
 15090   ia64*)
 15091     shrext_cmds='.so'
 15092     hardcode_into_libs=yes
 15093     dynamic_linker="$host_os dld.so"
 15094     shlibpath_var=LD_LIBRARY_PATH
 15095     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 15096     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15097     soname_spec='${libname}${release}${shared_ext}$major'
 15098     if test "X$HPUX_IA64_MODE" = X32; then
 15099       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 15100     else
 15101       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 15102     fi
 15103     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 15104     ;;
 15105    hppa*64*)
 15106      shrext_cmds='.sl'
 15107      hardcode_into_libs=yes
 15108      dynamic_linker="$host_os dld.sl"
 15109      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 15110      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 15111      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15112      soname_spec='${libname}${release}${shared_ext}$major'
 15113      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 15114      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 15115      ;;
 15116    *)
 15117     shrext_cmds='.sl'
 15118     dynamic_linker="$host_os dld.sl"
 15119     shlibpath_var=SHLIB_PATH
 15120     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 15121     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15122     soname_spec='${libname}${release}${shared_ext}$major'
 15123     ;;
 15124   esac
 15125   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 15126   postinstall_cmds='chmod 555 $lib'
 15127   ;;
 15128 
 15129 irix5* | irix6* | nonstopux*)
 15130   case $host_os in
 15131     nonstopux*) version_type=nonstopux ;;
 15132     *)
 15133 	if test "$lt_cv_prog_gnu_ld" = yes; then
 15134 		version_type=linux
 15135 	else
 15136 		version_type=irix
 15137 	fi ;;
 15138   esac
 15139   need_lib_prefix=no
 15140   need_version=no
 15141   soname_spec='${libname}${release}${shared_ext}$major'
 15142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 15143   case $host_os in
 15144   irix5* | nonstopux*)
 15145     libsuff= shlibsuff=
 15146     ;;
 15147   *)
 15148     case $LD in # libtool.m4 will add one of these switches to LD
 15149     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 15150       libsuff= shlibsuff= libmagic=32-bit;;
 15151     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 15152       libsuff=32 shlibsuff=N32 libmagic=N32;;
 15153     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 15154       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 15155     *) libsuff= shlibsuff= libmagic=never-match;;
 15156     esac
 15157     ;;
 15158   esac
 15159   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 15160   shlibpath_overrides_runpath=no
 15161   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 15162   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 15163   hardcode_into_libs=yes
 15164   ;;
 15165 
 15166 # No shared lib support for Linux oldld, aout, or coff.
 15167 linux*oldld* | linux*aout* | linux*coff*)
 15168   dynamic_linker=no
 15169   ;;
 15170 
 15171 # This must be Linux ELF.
 15172 linux*)
 15173   version_type=linux
 15174   need_lib_prefix=no
 15175   need_version=no
 15176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15177   soname_spec='${libname}${release}${shared_ext}$major'
 15178   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 15179   shlibpath_var=LD_LIBRARY_PATH
 15180   shlibpath_overrides_runpath=no
 15181   # This implies no fast_install, which is unacceptable.
 15182   # Some rework will be needed to allow for fast_install
 15183   # before this can be enabled.
 15184   hardcode_into_libs=yes
 15185 
 15186   # Append ld.so.conf contents to the search path
 15187   if test -f /etc/ld.so.conf; then
 15188     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' ' '`
 15189     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 15190   fi
 15191 
 15192   # We used to test for /lib/ld.so.1 and disable shared libraries on
 15193   # powerpc, because MkLinux only supported shared libraries with the
 15194   # GNU dynamic linker.  Since this was broken with cross compilers,
 15195   # most powerpc-linux boxes support dynamic linking these days and
 15196   # people can always --disable-shared, the test was removed, and we
 15197   # assume the GNU/Linux dynamic linker is in use.
 15198   dynamic_linker='GNU/Linux ld.so'
 15199   ;;
 15200 
 15201 knetbsd*-gnu)
 15202   version_type=linux
 15203   need_lib_prefix=no
 15204   need_version=no
 15205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15206   soname_spec='${libname}${release}${shared_ext}$major'
 15207   shlibpath_var=LD_LIBRARY_PATH
 15208   shlibpath_overrides_runpath=no
 15209   hardcode_into_libs=yes
 15210   dynamic_linker='GNU ld.so'
 15211   ;;
 15212 
 15213 netbsd*)
 15214   version_type=sunos
 15215   need_lib_prefix=no
 15216   need_version=no
 15217   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 15218     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15219     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15220     dynamic_linker='NetBSD (a.out) ld.so'
 15221   else
 15222     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15223     soname_spec='${libname}${release}${shared_ext}$major'
 15224     dynamic_linker='NetBSD ld.elf_so'
 15225   fi
 15226   shlibpath_var=LD_LIBRARY_PATH
 15227   shlibpath_overrides_runpath=yes
 15228   hardcode_into_libs=yes
 15229   ;;
 15230 
 15231 newsos6)
 15232   version_type=linux
 15233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15234   shlibpath_var=LD_LIBRARY_PATH
 15235   shlibpath_overrides_runpath=yes
 15236   ;;
 15237 
 15238 nto-qnx*)
 15239   version_type=linux
 15240   need_lib_prefix=no
 15241   need_version=no
 15242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15243   soname_spec='${libname}${release}${shared_ext}$major'
 15244   shlibpath_var=LD_LIBRARY_PATH
 15245   shlibpath_overrides_runpath=yes
 15246   ;;
 15247 
 15248 openbsd*)
 15249   version_type=sunos
 15250   need_lib_prefix=no
 15251   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 15252   case $host_os in
 15253     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 15254     *)                         need_version=no  ;;
 15255   esac
 15256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15257   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15258   shlibpath_var=LD_LIBRARY_PATH
 15259   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 15260     case $host_os in
 15261       openbsd2.[89] | openbsd2.[89].*)
 15262 	shlibpath_overrides_runpath=no
 15263 	;;
 15264       *)
 15265 	shlibpath_overrides_runpath=yes
 15266 	;;
 15267       esac
 15268   else
 15269     shlibpath_overrides_runpath=yes
 15270   fi
 15271   ;;
 15272 
 15273 os2*)
 15274   libname_spec='$name'
 15275   shrext_cmds=".dll"
 15276   need_lib_prefix=no
 15277   library_names_spec='$libname${shared_ext} $libname.a'
 15278   dynamic_linker='OS/2 ld.exe'
 15279   shlibpath_var=LIBPATH
 15280   ;;
 15281 
 15282 osf3* | osf4* | osf5*)
 15283   version_type=osf
 15284   need_lib_prefix=no
 15285   need_version=no
 15286   soname_spec='${libname}${release}${shared_ext}$major'
 15287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15288   shlibpath_var=LD_LIBRARY_PATH
 15289   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 15290   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 15291   ;;
 15292 
 15293 sco3.2v5*)
 15294   version_type=osf
 15295   soname_spec='${libname}${release}${shared_ext}$major'
 15296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15297   shlibpath_var=LD_LIBRARY_PATH
 15298   ;;
 15299 
 15300 solaris*)
 15301   version_type=linux
 15302   need_lib_prefix=no
 15303   need_version=no
 15304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15305   soname_spec='${libname}${release}${shared_ext}$major'
 15306   shlibpath_var=LD_LIBRARY_PATH
 15307   shlibpath_overrides_runpath=yes
 15308   hardcode_into_libs=yes
 15309   # ldd complains unless libraries are executable
 15310   postinstall_cmds='chmod +x $lib'
 15311   ;;
 15312 
 15313 sunos4*)
 15314   version_type=sunos
 15315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15316   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 15317   shlibpath_var=LD_LIBRARY_PATH
 15318   shlibpath_overrides_runpath=yes
 15319   if test "$with_gnu_ld" = yes; then
 15320     need_lib_prefix=no
 15321   fi
 15322   need_version=yes
 15323   ;;
 15324 
 15325 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 15326   version_type=linux
 15327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15328   soname_spec='${libname}${release}${shared_ext}$major'
 15329   shlibpath_var=LD_LIBRARY_PATH
 15330   case $host_vendor in
 15331     sni)
 15332       shlibpath_overrides_runpath=no
 15333       need_lib_prefix=no
 15334       export_dynamic_flag_spec='${wl}-Blargedynsym'
 15335       runpath_var=LD_RUN_PATH
 15336       ;;
 15337     siemens)
 15338       need_lib_prefix=no
 15339       ;;
 15340     motorola)
 15341       need_lib_prefix=no
 15342       need_version=no
 15343       shlibpath_overrides_runpath=no
 15344       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 15345       ;;
 15346   esac
 15347   ;;
 15348 
 15349 sysv4*MP*)
 15350   if test -d /usr/nec ;then
 15351     version_type=linux
 15352     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 15353     soname_spec='$libname${shared_ext}.$major'
 15354     shlibpath_var=LD_LIBRARY_PATH
 15355   fi
 15356   ;;
 15357 
 15358 uts4*)
 15359   version_type=linux
 15360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15361   soname_spec='${libname}${release}${shared_ext}$major'
 15362   shlibpath_var=LD_LIBRARY_PATH
 15363   ;;
 15364 
 15365 *)
 15366   dynamic_linker=no
 15367   ;;
 15368 esac
 15369 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 15370 echo "${ECHO_T}$dynamic_linker" >&6
 15371 test "$dynamic_linker" = no && can_build_shared=no
 15372 
 15373 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 15374 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 15375 hardcode_action_F77=
 15376 if test -n "$hardcode_libdir_flag_spec_F77" || \
 15377    test -n "$runpath_var_F77" || \
 15378    test "X$hardcode_automatic_F77" = "Xyes" ; then
 15379 
 15380   # We can hardcode non-existant directories.
 15381   if test "$hardcode_direct_F77" != no &&
 15382      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 15383      # have to relink, otherwise we might link with an installed library
 15384      # when we should be linking with a yet-to-be-installed one
 15385      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 15386      test "$hardcode_minus_L_F77" != no; then
 15387     # Linking always hardcodes the temporary library directory.
 15388     hardcode_action_F77=relink
 15389   else
 15390     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 15391     hardcode_action_F77=immediate
 15392   fi
 15393 else
 15394   # We cannot hardcode anything, or else we can only hardcode existing
 15395   # directories.
 15396   hardcode_action_F77=unsupported
 15397 fi
 15398 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 15399 echo "${ECHO_T}$hardcode_action_F77" >&6
 15400 
 15401 if test "$hardcode_action_F77" = relink; then
 15402   # Fast installation is not supported
 15403   enable_fast_install=no
 15404 elif test "$shlibpath_overrides_runpath" = yes ||
 15405      test "$enable_shared" = no; then
 15406   # Fast installation is not necessary
 15407   enable_fast_install=needless
 15408 fi
 15409 
 15410 striplib=
 15411 old_striplib=
 15412 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 15413 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 15414 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 15415   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 15416   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 15417   echo "$as_me:$LINENO: result: yes" >&5
 15418 echo "${ECHO_T}yes" >&6
 15419 else
 15420 # FIXME - insert some real tests, host_os isn't really good enough
 15421   case $host_os in
 15422    darwin*)
 15423        if test -n "$STRIP" ; then
 15424          striplib="$STRIP -x"
 15425          echo "$as_me:$LINENO: result: yes" >&5
 15426 echo "${ECHO_T}yes" >&6
 15427        else
 15428   echo "$as_me:$LINENO: result: no" >&5
 15429 echo "${ECHO_T}no" >&6
 15430 fi
 15431        ;;
 15432    *)
 15433   echo "$as_me:$LINENO: result: no" >&5
 15434 echo "${ECHO_T}no" >&6
 15435     ;;
 15436   esac
 15437 fi
 15438 
 15439 
 15440 
 15441 # The else clause should only fire when bootstrapping the
 15442 # libtool distribution, otherwise you forgot to ship ltmain.sh
 15443 # with your package, and you will get complaints that there are
 15444 # no rules to generate ltmain.sh.
 15445 if test -f "$ltmain"; then
 15446   # See if we are running on zsh, and set the options which allow our commands through
 15447   # without removal of \ escapes.
 15448   if test -n "${ZSH_VERSION+set}" ; then
 15449     setopt NO_GLOB_SUBST
 15450   fi
 15451   # Now quote all the things that may contain metacharacters while being
 15452   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 15453   # variables and quote the copies for generation of the libtool script.
 15454   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 15455     SED SHELL STRIP \
 15456     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 15457     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 15458     deplibs_check_method reload_flag reload_cmds need_locks \
 15459     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 15460     lt_cv_sys_global_symbol_to_c_name_address \
 15461     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 15462     old_postinstall_cmds old_postuninstall_cmds \
 15463     compiler_F77 \
 15464     CC_F77 \
 15465     LD_F77 \
 15466     lt_prog_compiler_wl_F77 \
 15467     lt_prog_compiler_pic_F77 \
 15468     lt_prog_compiler_static_F77 \
 15469     lt_prog_compiler_no_builtin_flag_F77 \
 15470     export_dynamic_flag_spec_F77 \
 15471     thread_safe_flag_spec_F77 \
 15472     whole_archive_flag_spec_F77 \
 15473     enable_shared_with_static_runtimes_F77 \
 15474     old_archive_cmds_F77 \
 15475     old_archive_from_new_cmds_F77 \
 15476     predep_objects_F77 \
 15477     postdep_objects_F77 \
 15478     predeps_F77 \
 15479     postdeps_F77 \
 15480     compiler_lib_search_path_F77 \
 15481     archive_cmds_F77 \
 15482     archive_expsym_cmds_F77 \
 15483     postinstall_cmds_F77 \
 15484     postuninstall_cmds_F77 \
 15485     old_archive_from_expsyms_cmds_F77 \
 15486     allow_undefined_flag_F77 \
 15487     no_undefined_flag_F77 \
 15488     export_symbols_cmds_F77 \
 15489     hardcode_libdir_flag_spec_F77 \
 15490     hardcode_libdir_flag_spec_ld_F77 \
 15491     hardcode_libdir_separator_F77 \
 15492     hardcode_automatic_F77 \
 15493     module_cmds_F77 \
 15494     module_expsym_cmds_F77 \
 15495     lt_cv_prog_compiler_c_o_F77 \
 15496     exclude_expsyms_F77 \
 15497     include_expsyms_F77; do
 15498 
 15499     case $var in
 15500     old_archive_cmds_F77 | \
 15501     old_archive_from_new_cmds_F77 | \
 15502     archive_cmds_F77 | \
 15503     archive_expsym_cmds_F77 | \
 15504     module_cmds_F77 | \
 15505     module_expsym_cmds_F77 | \
 15506     old_archive_from_expsyms_cmds_F77 | \
 15507     export_symbols_cmds_F77 | \
 15508     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 15509     postinstall_cmds | postuninstall_cmds | \
 15510     old_postinstall_cmds | old_postuninstall_cmds | \
 15511     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 15512       # Double-quote double-evaled strings.
 15513       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 15514       ;;
 15515     *)
 15516       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 15517       ;;
 15518     esac
 15519   done
 15520 
 15521   case $lt_echo in
 15522   *'\$0 --fallback-echo"')
 15523     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 15524     ;;
 15525   esac
 15526 
 15527 cfgfile="$ofile"
 15528 
 15529   cat <<__EOF__ >> "$cfgfile"
 15530 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 15531 
 15532 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 15533 
 15534 # Shell to use when invoking shell scripts.
 15535 SHELL=$lt_SHELL
 15536 
 15537 # Whether or not to build shared libraries.
 15538 build_libtool_libs=$enable_shared
 15539 
 15540 # Whether or not to build static libraries.
 15541 build_old_libs=$enable_static
 15542 
 15543 # Whether or not to add -lc for building shared libraries.
 15544 build_libtool_need_lc=$archive_cmds_need_lc_F77
 15545 
 15546 # Whether or not to disallow shared libs when runtime libs are static
 15547 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 15548 
 15549 # Whether or not to optimize for fast installation.
 15550 fast_install=$enable_fast_install
 15551 
 15552 # The host system.
 15553 host_alias=$host_alias
 15554 host=$host
 15555 host_os=$host_os
 15556 
 15557 # The build system.
 15558 build_alias=$build_alias
 15559 build=$build
 15560 build_os=$build_os
 15561 
 15562 # An echo program that does not interpret backslashes.
 15563 echo=$lt_echo
 15564 
 15565 # The archiver.
 15566 AR=$lt_AR
 15567 AR_FLAGS=$lt_AR_FLAGS
 15568 
 15569 # A C compiler.
 15570 LTCC=$lt_LTCC
 15571 
 15572 # A language-specific compiler.
 15573 CC=$lt_compiler_F77
 15574 
 15575 # Is the compiler the GNU C compiler?
 15576 with_gcc=$GCC_F77
 15577 
 15578 # An ERE matcher.
 15579 EGREP=$lt_EGREP
 15580 
 15581 # The linker used to build libraries.
 15582 LD=$lt_LD_F77
 15583 
 15584 # Whether we need hard or soft links.
 15585 LN_S=$lt_LN_S
 15586 
 15587 # A BSD-compatible nm program.
 15588 NM=$lt_NM
 15589 
 15590 # A symbol stripping program
 15591 STRIP=$lt_STRIP
 15592 
 15593 # Used to examine libraries when file_magic_cmd begins "file"
 15594 MAGIC_CMD=$MAGIC_CMD
 15595 
 15596 # Used on cygwin: DLL creation program.
 15597 DLLTOOL="$DLLTOOL"
 15598 
 15599 # Used on cygwin: object dumper.
 15600 OBJDUMP="$OBJDUMP"
 15601 
 15602 # Used on cygwin: assembler.
 15603 AS="$AS"
 15604 
 15605 # The name of the directory that contains temporary libtool files.
 15606 objdir=$objdir
 15607 
 15608 # How to create reloadable object files.
 15609 reload_flag=$lt_reload_flag
 15610 reload_cmds=$lt_reload_cmds
 15611 
 15612 # How to pass a linker flag through the compiler.
 15613 wl=$lt_lt_prog_compiler_wl_F77
 15614 
 15615 # Object file suffix (normally "o").
 15616 objext="$ac_objext"
 15617 
 15618 # Old archive suffix (normally "a").
 15619 libext="$libext"
 15620 
 15621 # Shared library suffix (normally ".so").
 15622 shrext_cmds='$shrext_cmds'
 15623 
 15624 # Executable file suffix (normally "").
 15625 exeext="$exeext"
 15626 
 15627 # Additional compiler flags for building library objects.
 15628 pic_flag=$lt_lt_prog_compiler_pic_F77
 15629 pic_mode=$pic_mode
 15630 
 15631 # What is the maximum length of a command?
 15632 max_cmd_len=$lt_cv_sys_max_cmd_len
 15633 
 15634 # Does compiler simultaneously support -c and -o options?
 15635 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 15636 
 15637 # Must we lock files when doing compilation?
 15638 need_locks=$lt_need_locks
 15639 
 15640 # Do we need the lib prefix for modules?
 15641 need_lib_prefix=$need_lib_prefix
 15642 
 15643 # Do we need a version for libraries?
 15644 need_version=$need_version
 15645 
 15646 # Whether dlopen is supported.
 15647 dlopen_support=$enable_dlopen
 15648 
 15649 # Whether dlopen of programs is supported.
 15650 dlopen_self=$enable_dlopen_self
 15651 
 15652 # Whether dlopen of statically linked programs is supported.
 15653 dlopen_self_static=$enable_dlopen_self_static
 15654 
 15655 # Compiler flag to prevent dynamic linking.
 15656 link_static_flag=$lt_lt_prog_compiler_static_F77
 15657 
 15658 # Compiler flag to turn off builtin functions.
 15659 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 15660 
 15661 # Compiler flag to allow reflexive dlopens.
 15662 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 15663 
 15664 # Compiler flag to generate shared objects directly from archives.
 15665 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 15666 
 15667 # Compiler flag to generate thread-safe objects.
 15668 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 15669 
 15670 # Library versioning type.
 15671 version_type=$version_type
 15672 
 15673 # Format of library name prefix.
 15674 libname_spec=$lt_libname_spec
 15675 
 15676 # List of archive names.  First name is the real one, the rest are links.
 15677 # The last name is the one that the linker finds with -lNAME.
 15678 library_names_spec=$lt_library_names_spec
 15679 
 15680 # The coded name of the library, if different from the real name.
 15681 soname_spec=$lt_soname_spec
 15682 
 15683 # Commands used to build and install an old-style archive.
 15684 RANLIB=$lt_RANLIB
 15685 old_archive_cmds=$lt_old_archive_cmds_F77
 15686 old_postinstall_cmds=$lt_old_postinstall_cmds
 15687 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 15688 
 15689 # Create an old-style archive from a shared archive.
 15690 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 15691 
 15692 # Create a temporary old-style archive to link instead of a shared archive.
 15693 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 15694 
 15695 # Commands used to build and install a shared archive.
 15696 archive_cmds=$lt_archive_cmds_F77
 15697 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 15698 postinstall_cmds=$lt_postinstall_cmds
 15699 postuninstall_cmds=$lt_postuninstall_cmds
 15700 
 15701 # Commands used to build a loadable module (assumed same as above if empty)
 15702 module_cmds=$lt_module_cmds_F77
 15703 module_expsym_cmds=$lt_module_expsym_cmds_F77
 15704 
 15705 # Commands to strip libraries.
 15706 old_striplib=$lt_old_striplib
 15707 striplib=$lt_striplib
 15708 
 15709 # Dependencies to place before the objects being linked to create a
 15710 # shared library.
 15711 predep_objects=$lt_predep_objects_F77
 15712 
 15713 # Dependencies to place after the objects being linked to create a
 15714 # shared library.
 15715 postdep_objects=$lt_postdep_objects_F77
 15716 
 15717 # Dependencies to place before the objects being linked to create a
 15718 # shared library.
 15719 predeps=$lt_predeps_F77
 15720 
 15721 # Dependencies to place after the objects being linked to create a
 15722 # shared library.
 15723 postdeps=$lt_postdeps_F77
 15724 
 15725 # The library search path used internally by the compiler when linking
 15726 # a shared library.
 15727 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 15728 
 15729 # Method to check whether dependent libraries are shared objects.
 15730 deplibs_check_method=$lt_deplibs_check_method
 15731 
 15732 # Command to use when deplibs_check_method == file_magic.
 15733 file_magic_cmd=$lt_file_magic_cmd
 15734 
 15735 # Flag that allows shared libraries with undefined symbols to be built.
 15736 allow_undefined_flag=$lt_allow_undefined_flag_F77
 15737 
 15738 # Flag that forces no undefined symbols.
 15739 no_undefined_flag=$lt_no_undefined_flag_F77
 15740 
 15741 # Commands used to finish a libtool library installation in a directory.
 15742 finish_cmds=$lt_finish_cmds
 15743 
 15744 # Same as above, but a single script fragment to be evaled but not shown.
 15745 finish_eval=$lt_finish_eval
 15746 
 15747 # Take the output of nm and produce a listing of raw symbols and C names.
 15748 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 15749 
 15750 # Transform the output of nm in a proper C declaration
 15751 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 15752 
 15753 # Transform the output of nm in a C name address pair
 15754 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 15755 
 15756 # This is the shared library runtime path variable.
 15757 runpath_var=$runpath_var
 15758 
 15759 # This is the shared library path variable.
 15760 shlibpath_var=$shlibpath_var
 15761 
 15762 # Is shlibpath searched before the hard-coded library search path?
 15763 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 15764 
 15765 # How to hardcode a shared library path into an executable.
 15766 hardcode_action=$hardcode_action_F77
 15767 
 15768 # Whether we should hardcode library paths into libraries.
 15769 hardcode_into_libs=$hardcode_into_libs
 15770 
 15771 # Flag to hardcode \$libdir into a binary during linking.
 15772 # This must work even if \$libdir does not exist.
 15773 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 15774 
 15775 # If ld is used when linking, flag to hardcode \$libdir into
 15776 # a binary during linking. This must work even if \$libdir does
 15777 # not exist.
 15778 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 15779 
 15780 # Whether we need a single -rpath flag with a separated argument.
 15781 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 15782 
 15783 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 15784 # resulting binary.
 15785 hardcode_direct=$hardcode_direct_F77
 15786 
 15787 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 15788 # resulting binary.
 15789 hardcode_minus_L=$hardcode_minus_L_F77
 15790 
 15791 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 15792 # the resulting binary.
 15793 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 15794 
 15795 # Set to yes if building a shared library automatically hardcodes DIR into the library
 15796 # and all subsequent libraries and executables linked against it.
 15797 hardcode_automatic=$hardcode_automatic_F77
 15798 
 15799 # Variables whose values should be saved in libtool wrapper scripts and
 15800 # restored at relink time.
 15801 variables_saved_for_relink="$variables_saved_for_relink"
 15802 
 15803 # Whether libtool must link a program against all its dependency libraries.
 15804 link_all_deplibs=$link_all_deplibs_F77
 15805 
 15806 # Compile-time system search path for libraries
 15807 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 15808 
 15809 # Run-time system search path for libraries
 15810 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 15811 
 15812 # Fix the shell variable \$srcfile for the compiler.
 15813 fix_srcfile_path="$fix_srcfile_path_F77"
 15814 
 15815 # Set to yes if exported symbols are required.
 15816 always_export_symbols=$always_export_symbols_F77
 15817 
 15818 # The commands to list exported symbols.
 15819 export_symbols_cmds=$lt_export_symbols_cmds_F77
 15820 
 15821 # The commands to extract the exported symbol list from a shared archive.
 15822 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 15823 
 15824 # Symbols that should not be listed in the preloaded symbols.
 15825 exclude_expsyms=$lt_exclude_expsyms_F77
 15826 
 15827 # Symbols that must always be exported.
 15828 include_expsyms=$lt_include_expsyms_F77
 15829 
 15830 # ### END LIBTOOL TAG CONFIG: $tagname
 15831 
 15832 __EOF__
 15833 
 15834 
 15835 else
 15836   # If there is no Makefile yet, we rely on a make rule to execute
 15837   # `config.status --recheck' to rerun these tests and create the
 15838   # libtool script then.
 15839   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 15840   if test -f "$ltmain_in"; then
 15841     test -f Makefile && make "$ltmain"
 15842   fi
 15843 fi
 15844 
 15845 
 15846 ac_ext=c
 15847 ac_cpp='$CPP $CPPFLAGS'
 15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15851 
 15852 CC="$lt_save_CC"
 15853 
 15854 	else
 15855 	  tagname=""
 15856 	fi
 15857 	;;
 15858 
 15859       GCJ)
 15860 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 15861 
 15862 
 15863 
 15864 # Source file extension for Java test sources.
 15865 ac_ext=java
 15866 
 15867 # Object file extension for compiled Java test sources.
 15868 objext=o
 15869 objext_GCJ=$objext
 15870 
 15871 # Code to be used in simple compile tests
 15872 lt_simple_compile_test_code="class foo {}\n"
 15873 
 15874 # Code to be used in simple link tests
 15875 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 15876 
 15877 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 15878 
 15879 # If no C compiler was specified, use CC.
 15880 LTCC=${LTCC-"$CC"}
 15881 
 15882 # Allow CC to be a program name with arguments.
 15883 compiler=$CC
 15884 
 15885 
 15886 # save warnings/boilerplate of simple test code
 15887 ac_outfile=conftest.$ac_objext
 15888 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 15889 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 15890 _lt_compiler_boilerplate=`cat conftest.err`
 15891 $rm conftest*
 15892 
 15893 ac_outfile=conftest.$ac_objext
 15894 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 15895 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 15896 _lt_linker_boilerplate=`cat conftest.err`
 15897 $rm conftest*
 15898 
 15899 
 15900 # Allow CC to be a program name with arguments.
 15901 lt_save_CC="$CC"
 15902 CC=${GCJ-"gcj"}
 15903 compiler=$CC
 15904 compiler_GCJ=$CC
 15905 for cc_temp in $compiler""; do
 15906   case $cc_temp in
 15907     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 15908     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 15909     \-*) ;;
 15910     *) break;;
 15911   esac
 15912 done
 15913 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 15914 
 15915 
 15916 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 15917 archive_cmds_need_lc_GCJ=no
 15918 
 15919 old_archive_cmds_GCJ=$old_archive_cmds
 15920 
 15921 
 15922 lt_prog_compiler_no_builtin_flag_GCJ=
 15923 
 15924 if test "$GCC" = yes; then
 15925   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 15926 
 15927 
 15928 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 15929 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 15930 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 15931   echo $ECHO_N "(cached) $ECHO_C" >&6
 15932 else
 15933   lt_cv_prog_compiler_rtti_exceptions=no
 15934   ac_outfile=conftest.$ac_objext
 15935    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 15936    lt_compiler_flag="-fno-rtti -fno-exceptions"
 15937    # Insert the option either (1) after the last *FLAGS variable, or
 15938    # (2) before a word containing "conftest.", or (3) at the end.
 15939    # Note that $ac_compile itself does not contain backslashes and begins
 15940    # with a dollar sign (not a hyphen), so the echo should work correctly.
 15941    # The option is referenced via a variable to avoid confusing sed.
 15942    lt_compile=`echo "$ac_compile" | $SED \
 15943    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15944    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15945    -e 's:$: $lt_compiler_flag:'`
 15946    (eval echo "\"\$as_me:15946: $lt_compile\"" >&5)
 15947    (eval "$lt_compile" 2>conftest.err)
 15948    ac_status=$?
 15949    cat conftest.err >&5
 15950    echo "$as_me:15950: \$? = $ac_status" >&5
 15951    if (exit $ac_status) && test -s "$ac_outfile"; then
 15952      # The compiler can only warn and ignore the option if not recognized
 15953      # So say no if there are warnings other than the usual output.
 15954      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 15955      $SED '/^$/d' conftest.err >conftest.er2
 15956      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 15957        lt_cv_prog_compiler_rtti_exceptions=yes
 15958      fi
 15959    fi
 15960    $rm conftest*
 15961 
 15962 fi
 15963 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 15964 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 15965 
 15966 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 15967     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 15968 else
 15969     :
 15970 fi
 15971 
 15972 fi
 15973 
 15974 lt_prog_compiler_wl_GCJ=
 15975 lt_prog_compiler_pic_GCJ=
 15976 lt_prog_compiler_static_GCJ=
 15977 
 15978 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 15979 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 15980 
 15981   if test "$GCC" = yes; then
 15982     lt_prog_compiler_wl_GCJ='-Wl,'
 15983     lt_prog_compiler_static_GCJ='-static'
 15984 
 15985     case $host_os in
 15986       aix*)
 15987       # All AIX code is PIC.
 15988       if test "$host_cpu" = ia64; then
 15989 	# AIX 5 now supports IA64 processor
 15990 	lt_prog_compiler_static_GCJ='-Bstatic'
 15991       fi
 15992       ;;
 15993 
 15994     amigaos*)
 15995       # FIXME: we need at least 68020 code to build shared libraries, but
 15996       # adding the `-m68020' flag to GCC prevents building anything better,
 15997       # like `-m68040'.
 15998       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 15999       ;;
 16000 
 16001     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 16002       # PIC is the default for these OSes.
 16003       ;;
 16004 
 16005     mingw* | pw32* | os2*)
 16006       # This hack is so that the source file can tell whether it is being
 16007       # built for inclusion in a dll (and should export symbols for example).
 16008       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 16009       ;;
 16010 
 16011     darwin* | rhapsody*)
 16012       # PIC is the default on this platform
 16013       # Common symbols not allowed in MH_DYLIB files
 16014       lt_prog_compiler_pic_GCJ='-fno-common'
 16015       ;;
 16016 
 16017     msdosdjgpp*)
 16018       # Just because we use GCC doesn't mean we suddenly get shared libraries
 16019       # on systems that don't support them.
 16020       lt_prog_compiler_can_build_shared_GCJ=no
 16021       enable_shared=no
 16022       ;;
 16023 
 16024     sysv4*MP*)
 16025       if test -d /usr/nec; then
 16026 	lt_prog_compiler_pic_GCJ=-Kconform_pic
 16027       fi
 16028       ;;
 16029 
 16030     hpux*)
 16031       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 16032       # not for PA HP-UX.
 16033       case $host_cpu in
 16034       hppa*64*|ia64*)
 16035 	# +Z the default
 16036 	;;
 16037       *)
 16038 	lt_prog_compiler_pic_GCJ='-fPIC'
 16039 	;;
 16040       esac
 16041       ;;
 16042 
 16043     *)
 16044       lt_prog_compiler_pic_GCJ='-fPIC'
 16045       ;;
 16046     esac
 16047   else
 16048     # PORTME Check for flag to pass linker flags through the system compiler.
 16049     case $host_os in
 16050     aix*)
 16051       lt_prog_compiler_wl_GCJ='-Wl,'
 16052       if test "$host_cpu" = ia64; then
 16053 	# AIX 5 now supports IA64 processor
 16054 	lt_prog_compiler_static_GCJ='-Bstatic'
 16055       else
 16056 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 16057       fi
 16058       ;;
 16059       darwin*)
 16060         # PIC is the default on this platform
 16061         # Common symbols not allowed in MH_DYLIB files
 16062        case $cc_basename in
 16063          xlc*)
 16064          lt_prog_compiler_pic_GCJ='-qnocommon'
 16065          lt_prog_compiler_wl_GCJ='-Wl,'
 16066          ;;
 16067        esac
 16068        ;;
 16069 
 16070     mingw* | pw32* | os2*)
 16071       # This hack is so that the source file can tell whether it is being
 16072       # built for inclusion in a dll (and should export symbols for example).
 16073       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 16074       ;;
 16075 
 16076     hpux9* | hpux10* | hpux11*)
 16077       lt_prog_compiler_wl_GCJ='-Wl,'
 16078       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 16079       # not for PA HP-UX.
 16080       case $host_cpu in
 16081       hppa*64*|ia64*)
 16082 	# +Z the default
 16083 	;;
 16084       *)
 16085 	lt_prog_compiler_pic_GCJ='+Z'
 16086 	;;
 16087       esac
 16088       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 16089       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 16090       ;;
 16091 
 16092     irix5* | irix6* | nonstopux*)
 16093       lt_prog_compiler_wl_GCJ='-Wl,'
 16094       # PIC (with -KPIC) is the default.
 16095       lt_prog_compiler_static_GCJ='-non_shared'
 16096       ;;
 16097 
 16098     newsos6)
 16099       lt_prog_compiler_pic_GCJ='-KPIC'
 16100       lt_prog_compiler_static_GCJ='-Bstatic'
 16101       ;;
 16102 
 16103     linux*)
 16104       case $cc_basename in
 16105       icc* | ecc*)
 16106 	lt_prog_compiler_wl_GCJ='-Wl,'
 16107 	lt_prog_compiler_pic_GCJ='-KPIC'
 16108 	lt_prog_compiler_static_GCJ='-static'
 16109         ;;
 16110       pgcc* | pgf77* | pgf90* | pgf95*)
 16111         # Portland Group compilers (*not* the Pentium gcc compiler,
 16112 	# which looks to be a dead project)
 16113 	lt_prog_compiler_wl_GCJ='-Wl,'
 16114 	lt_prog_compiler_pic_GCJ='-fpic'
 16115 	lt_prog_compiler_static_GCJ='-Bstatic'
 16116         ;;
 16117       ccc*)
 16118         lt_prog_compiler_wl_GCJ='-Wl,'
 16119         # All Alpha code is PIC.
 16120         lt_prog_compiler_static_GCJ='-non_shared'
 16121         ;;
 16122       esac
 16123       ;;
 16124 
 16125     osf3* | osf4* | osf5*)
 16126       lt_prog_compiler_wl_GCJ='-Wl,'
 16127       # All OSF/1 code is PIC.
 16128       lt_prog_compiler_static_GCJ='-non_shared'
 16129       ;;
 16130 
 16131     sco3.2v5*)
 16132       lt_prog_compiler_pic_GCJ='-Kpic'
 16133       lt_prog_compiler_static_GCJ='-dn'
 16134       ;;
 16135 
 16136     solaris*)
 16137       lt_prog_compiler_pic_GCJ='-KPIC'
 16138       lt_prog_compiler_static_GCJ='-Bstatic'
 16139       case $cc_basename in
 16140       f77* | f90* | f95*)
 16141 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 16142       *)
 16143 	lt_prog_compiler_wl_GCJ='-Wl,';;
 16144       esac
 16145       ;;
 16146 
 16147     sunos4*)
 16148       lt_prog_compiler_wl_GCJ='-Qoption ld '
 16149       lt_prog_compiler_pic_GCJ='-PIC'
 16150       lt_prog_compiler_static_GCJ='-Bstatic'
 16151       ;;
 16152 
 16153     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 16154       lt_prog_compiler_wl_GCJ='-Wl,'
 16155       lt_prog_compiler_pic_GCJ='-KPIC'
 16156       lt_prog_compiler_static_GCJ='-Bstatic'
 16157       ;;
 16158 
 16159     sysv4*MP*)
 16160       if test -d /usr/nec ;then
 16161 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
 16162 	lt_prog_compiler_static_GCJ='-Bstatic'
 16163       fi
 16164       ;;
 16165 
 16166     unicos*)
 16167       lt_prog_compiler_wl_GCJ='-Wl,'
 16168       lt_prog_compiler_can_build_shared_GCJ=no
 16169       ;;
 16170 
 16171     uts4*)
 16172       lt_prog_compiler_pic_GCJ='-pic'
 16173       lt_prog_compiler_static_GCJ='-Bstatic'
 16174       ;;
 16175 
 16176     *)
 16177       lt_prog_compiler_can_build_shared_GCJ=no
 16178       ;;
 16179     esac
 16180   fi
 16181 
 16182 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 16183 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 16184 
 16185 #
 16186 # Check to make sure the PIC flag actually works.
 16187 #
 16188 if test -n "$lt_prog_compiler_pic_GCJ"; then
 16189 
 16190 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 16191 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 16192 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 16193   echo $ECHO_N "(cached) $ECHO_C" >&6
 16194 else
 16195   lt_prog_compiler_pic_works_GCJ=no
 16196   ac_outfile=conftest.$ac_objext
 16197    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 16198    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 16199    # Insert the option either (1) after the last *FLAGS variable, or
 16200    # (2) before a word containing "conftest.", or (3) at the end.
 16201    # Note that $ac_compile itself does not contain backslashes and begins
 16202    # with a dollar sign (not a hyphen), so the echo should work correctly.
 16203    # The option is referenced via a variable to avoid confusing sed.
 16204    lt_compile=`echo "$ac_compile" | $SED \
 16205    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 16206    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 16207    -e 's:$: $lt_compiler_flag:'`
 16208    (eval echo "\"\$as_me:16208: $lt_compile\"" >&5)
 16209    (eval "$lt_compile" 2>conftest.err)
 16210    ac_status=$?
 16211    cat conftest.err >&5
 16212    echo "$as_me:16212: \$? = $ac_status" >&5
 16213    if (exit $ac_status) && test -s "$ac_outfile"; then
 16214      # The compiler can only warn and ignore the option if not recognized
 16215      # So say no if there are warnings other than the usual output.
 16216      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 16217      $SED '/^$/d' conftest.err >conftest.er2
 16218      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 16219        lt_prog_compiler_pic_works_GCJ=yes
 16220      fi
 16221    fi
 16222    $rm conftest*
 16223 
 16224 fi
 16225 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 16226 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 16227 
 16228 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 16229     case $lt_prog_compiler_pic_GCJ in
 16230      "" | " "*) ;;
 16231      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 16232      esac
 16233 else
 16234     lt_prog_compiler_pic_GCJ=
 16235      lt_prog_compiler_can_build_shared_GCJ=no
 16236 fi
 16237 
 16238 fi
 16239 case $host_os in
 16240   # For platforms which do not support PIC, -DPIC is meaningless:
 16241   *djgpp*)
 16242     lt_prog_compiler_pic_GCJ=
 16243     ;;
 16244   *)
 16245     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 16246     ;;
 16247 esac
 16248 
 16249 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 16250 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 16251 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 16252   echo $ECHO_N "(cached) $ECHO_C" >&6
 16253 else
 16254   lt_cv_prog_compiler_c_o_GCJ=no
 16255    $rm -r conftest 2>/dev/null
 16256    mkdir conftest
 16257    cd conftest
 16258    mkdir out
 16259    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 16260 
 16261    lt_compiler_flag="-o out/conftest2.$ac_objext"
 16262    # Insert the option either (1) after the last *FLAGS variable, or
 16263    # (2) before a word containing "conftest.", or (3) at the end.
 16264    # Note that $ac_compile itself does not contain backslashes and begins
 16265    # with a dollar sign (not a hyphen), so the echo should work correctly.
 16266    lt_compile=`echo "$ac_compile" | $SED \
 16267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 16268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 16269    -e 's:$: $lt_compiler_flag:'`
 16270    (eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
 16271    (eval "$lt_compile" 2>out/conftest.err)
 16272    ac_status=$?
 16273    cat out/conftest.err >&5
 16274    echo "$as_me:16274: \$? = $ac_status" >&5
 16275    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 16276    then
 16277      # The compiler can only warn and ignore the option if not recognized
 16278      # So say no if there are warnings
 16279      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 16280      $SED '/^$/d' out/conftest.err >out/conftest.er2
 16281      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 16282        lt_cv_prog_compiler_c_o_GCJ=yes
 16283      fi
 16284    fi
 16285    chmod u+w . 2>&5
 16286    $rm conftest*
 16287    # SGI C++ compiler will create directory out/ii_files/ for
 16288    # template instantiation
 16289    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 16290    $rm out/* && rmdir out
 16291    cd ..
 16292    rmdir conftest
 16293    $rm conftest*
 16294 
 16295 fi
 16296 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 16297 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 16298 
 16299 
 16300 hard_links="nottested"
 16301 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 16302   # do not overwrite the value of need_locks provided by the user
 16303   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 16304 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 16305   hard_links=yes
 16306   $rm conftest*
 16307   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 16308   touch conftest.a
 16309   ln conftest.a conftest.b 2>&5 || hard_links=no
 16310   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 16311   echo "$as_me:$LINENO: result: $hard_links" >&5
 16312 echo "${ECHO_T}$hard_links" >&6
 16313   if test "$hard_links" = no; then
 16314     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 16315 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 16316     need_locks=warn
 16317   fi
 16318 else
 16319   need_locks=no
 16320 fi
 16321 
 16322 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 16323 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 16324 
 16325   runpath_var=
 16326   allow_undefined_flag_GCJ=
 16327   enable_shared_with_static_runtimes_GCJ=no
 16328   archive_cmds_GCJ=
 16329   archive_expsym_cmds_GCJ=
 16330   old_archive_From_new_cmds_GCJ=
 16331   old_archive_from_expsyms_cmds_GCJ=
 16332   export_dynamic_flag_spec_GCJ=
 16333   whole_archive_flag_spec_GCJ=
 16334   thread_safe_flag_spec_GCJ=
 16335   hardcode_libdir_flag_spec_GCJ=
 16336   hardcode_libdir_flag_spec_ld_GCJ=
 16337   hardcode_libdir_separator_GCJ=
 16338   hardcode_direct_GCJ=no
 16339   hardcode_minus_L_GCJ=no
 16340   hardcode_shlibpath_var_GCJ=unsupported
 16341   link_all_deplibs_GCJ=unknown
 16342   hardcode_automatic_GCJ=no
 16343   module_cmds_GCJ=
 16344   module_expsym_cmds_GCJ=
 16345   always_export_symbols_GCJ=no
 16346   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 16347   # include_expsyms should be a list of space-separated symbols to be *always*
 16348   # included in the symbol list
 16349   include_expsyms_GCJ=
 16350   # exclude_expsyms can be an extended regexp of symbols to exclude
 16351   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 16352   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 16353   # as well as any symbol that contains `d'.
 16354   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 16355   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 16356   # platforms (ab)use it in PIC code, but their linkers get confused if
 16357   # the symbol is explicitly referenced.  Since portable code cannot
 16358   # rely on this symbol name, it's probably fine to never include it in
 16359   # preloaded symbol tables.
 16360   extract_expsyms_cmds=
 16361   # Just being paranoid about ensuring that cc_basename is set.
 16362   for cc_temp in $compiler""; do
 16363   case $cc_temp in
 16364     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 16365     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 16366     \-*) ;;
 16367     *) break;;
 16368   esac
 16369 done
 16370 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 16371 
 16372   case $host_os in
 16373   cygwin* | mingw* | pw32*)
 16374     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 16375     # When not using gcc, we currently assume that we are using
 16376     # Microsoft Visual C++.
 16377     if test "$GCC" != yes; then
 16378       with_gnu_ld=no
 16379     fi
 16380     ;;
 16381   openbsd*)
 16382     with_gnu_ld=no
 16383     ;;
 16384   esac
 16385 
 16386   ld_shlibs_GCJ=yes
 16387   if test "$with_gnu_ld" = yes; then
 16388     # If archive_cmds runs LD, not CC, wlarc should be empty
 16389     wlarc='${wl}'
 16390 
 16391     # Set some defaults for GNU ld with shared library support. These
 16392     # are reset later if shared libraries are not supported. Putting them
 16393     # here allows them to be overridden if necessary.
 16394     runpath_var=LD_RUN_PATH
 16395     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 16396     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 16397     # ancient GNU ld didn't support --whole-archive et. al.
 16398     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 16399 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 16400       else
 16401   	whole_archive_flag_spec_GCJ=
 16402     fi
 16403     supports_anon_versioning=no
 16404     case `$LD -v 2>/dev/null` in
 16405       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 16406       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 16407       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 16408       *\ 2.11.*) ;; # other 2.11 versions
 16409       *) supports_anon_versioning=yes ;;
 16410     esac
 16411 
 16412     # See if GNU ld supports shared libraries.
 16413     case $host_os in
 16414     aix3* | aix4* | aix5*)
 16415       # On AIX/PPC, the GNU linker is very broken
 16416       if test "$host_cpu" != ia64; then
 16417 	ld_shlibs_GCJ=no
 16418 	cat <<EOF 1>&2
 16419 
 16420 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 16421 *** to be unable to reliably create shared libraries on AIX.
 16422 *** Therefore, libtool is disabling shared libraries support.  If you
 16423 *** really care for shared libraries, you may want to modify your PATH
 16424 *** so that a non-GNU linker is found, and then restart.
 16425 
 16426 EOF
 16427       fi
 16428       ;;
 16429 
 16430     amigaos*)
 16431       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)'
 16432       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16433       hardcode_minus_L_GCJ=yes
 16434 
 16435       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 16436       # that the semantics of dynamic libraries on AmigaOS, at least up
 16437       # to version 4, is to share data among multiple programs linked
 16438       # with the same dynamic library.  Since this doesn't match the
 16439       # behavior of shared libraries on other platforms, we can't use
 16440       # them.
 16441       ld_shlibs_GCJ=no
 16442       ;;
 16443 
 16444     beos*)
 16445       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16446 	allow_undefined_flag_GCJ=unsupported
 16447 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 16448 	# support --undefined.  This deserves some investigation.  FIXME
 16449 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16450       else
 16451 	ld_shlibs_GCJ=no
 16452       fi
 16453       ;;
 16454 
 16455     cygwin* | mingw* | pw32*)
 16456       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 16457       # as there is no search path for DLLs.
 16458       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16459       allow_undefined_flag_GCJ=unsupported
 16460       always_export_symbols_GCJ=no
 16461       enable_shared_with_static_runtimes_GCJ=yes
 16462       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 16463 
 16464       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 16465         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 16466 	# If the export-symbols file already is a .def file (1st line
 16467 	# is EXPORTS), use it as is; otherwise, prepend...
 16468 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 16469 	  cp $export_symbols $output_objdir/$soname.def;
 16470 	else
 16471 	  echo EXPORTS > $output_objdir/$soname.def;
 16472 	  cat $export_symbols >> $output_objdir/$soname.def;
 16473 	fi~
 16474 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 16475       else
 16476 	ld_shlibs_GCJ=no
 16477       fi
 16478       ;;
 16479 
 16480     linux*)
 16481       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16482 	tmp_addflag=
 16483 	case $cc_basename,$host_cpu in
 16484 	pgcc*)				# Portland Group C compiler
 16485 	  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'
 16486 	  tmp_addflag=' $pic_flag'
 16487 	  ;;
 16488 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 16489 	  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'
 16490 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 16491 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 16492 	  tmp_addflag=' -i_dynamic' ;;
 16493 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 16494 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 16495 	ifc* | ifort*)			# Intel Fortran compiler
 16496 	  tmp_addflag=' -nofor_main' ;;
 16497 	esac
 16498 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16499 
 16500 	if test $supports_anon_versioning = yes; then
 16501 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 16502   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 16503   $echo "local: *; };" >> $output_objdir/$libname.ver~
 16504 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 16505 	fi
 16506       else
 16507 	ld_shlibs_GCJ=no
 16508       fi
 16509       ;;
 16510 
 16511     netbsd*)
 16512       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 16513 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 16514 	wlarc=
 16515       else
 16516 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16517 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16518       fi
 16519       ;;
 16520 
 16521     solaris* | sysv5*)
 16522       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 16523 	ld_shlibs_GCJ=no
 16524 	cat <<EOF 1>&2
 16525 
 16526 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 16527 *** create shared libraries on Solaris systems.  Therefore, libtool
 16528 *** is disabling shared libraries support.  We urge you to upgrade GNU
 16529 *** binutils to release 2.9.1 or newer.  Another option is to modify
 16530 *** your PATH or compiler configuration so that the native linker is
 16531 *** used, and then restart.
 16532 
 16533 EOF
 16534       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16535 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16536 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16537       else
 16538 	ld_shlibs_GCJ=no
 16539       fi
 16540       ;;
 16541 
 16542     sunos4*)
 16543       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 16544       wlarc=
 16545       hardcode_direct_GCJ=yes
 16546       hardcode_shlibpath_var_GCJ=no
 16547       ;;
 16548 
 16549     *)
 16550       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 16551 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 16552 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 16553       else
 16554 	ld_shlibs_GCJ=no
 16555       fi
 16556       ;;
 16557     esac
 16558 
 16559     if test "$ld_shlibs_GCJ" = no; then
 16560       runpath_var=
 16561       hardcode_libdir_flag_spec_GCJ=
 16562       export_dynamic_flag_spec_GCJ=
 16563       whole_archive_flag_spec_GCJ=
 16564     fi
 16565   else
 16566     # PORTME fill in a description of your system's linker (not GNU ld)
 16567     case $host_os in
 16568     aix3*)
 16569       allow_undefined_flag_GCJ=unsupported
 16570       always_export_symbols_GCJ=yes
 16571       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'
 16572       # Note: this linker hardcodes the directories in LIBPATH if there
 16573       # are no directories specified by -L.
 16574       hardcode_minus_L_GCJ=yes
 16575       if test "$GCC" = yes && test -z "$link_static_flag"; then
 16576 	# Neither direct hardcoding nor static linking is supported with a
 16577 	# broken collect2.
 16578 	hardcode_direct_GCJ=unsupported
 16579       fi
 16580       ;;
 16581 
 16582     aix4* | aix5*)
 16583       if test "$host_cpu" = ia64; then
 16584 	# On IA64, the linker does run time linking by default, so we don't
 16585 	# have to do anything special.
 16586 	aix_use_runtimelinking=no
 16587 	exp_sym_flag='-Bexport'
 16588 	no_entry_flag=""
 16589       else
 16590 	# If we're using GNU nm, then we don't want the "-C" option.
 16591 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 16592 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 16593 	  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'
 16594 	else
 16595 	  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'
 16596 	fi
 16597 	aix_use_runtimelinking=no
 16598 
 16599 	# Test if we are trying to use run time linking or normal
 16600 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 16601 	# need to do runtime linking.
 16602 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 16603 	  for ld_flag in $LDFLAGS; do
 16604   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 16605   	    aix_use_runtimelinking=yes
 16606   	    break
 16607   	  fi
 16608 	  done
 16609 	esac
 16610 
 16611 	exp_sym_flag='-bexport'
 16612 	no_entry_flag='-bnoentry'
 16613       fi
 16614 
 16615       # When large executables or shared objects are built, AIX ld can
 16616       # have problems creating the table of contents.  If linking a library
 16617       # or program results in "error TOC overflow" add -mminimal-toc to
 16618       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 16619       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 16620 
 16621       archive_cmds_GCJ=''
 16622       hardcode_direct_GCJ=yes
 16623       hardcode_libdir_separator_GCJ=':'
 16624       link_all_deplibs_GCJ=yes
 16625 
 16626       if test "$GCC" = yes; then
 16627 	case $host_os in aix4.[012]|aix4.[012].*)
 16628 	# We only want to do this on AIX 4.2 and lower, the check
 16629 	# below for broken collect2 doesn't work under 4.3+
 16630 	  collect2name=`${CC} -print-prog-name=collect2`
 16631 	  if test -f "$collect2name" && \
 16632   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 16633 	  then
 16634   	  # We have reworked collect2
 16635   	  hardcode_direct_GCJ=yes
 16636 	  else
 16637   	  # We have old collect2
 16638   	  hardcode_direct_GCJ=unsupported
 16639   	  # It fails to find uninstalled libraries when the uninstalled
 16640   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 16641   	  # to unsupported forces relinking
 16642   	  hardcode_minus_L_GCJ=yes
 16643   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16644   	  hardcode_libdir_separator_GCJ=
 16645 	  fi
 16646 	esac
 16647 	shared_flag='-shared'
 16648 	if test "$aix_use_runtimelinking" = yes; then
 16649 	  shared_flag="$shared_flag "'${wl}-G'
 16650 	fi
 16651       else
 16652 	# not using gcc
 16653 	if test "$host_cpu" = ia64; then
 16654   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 16655   	# chokes on -Wl,-G. The following line is correct:
 16656 	  shared_flag='-G'
 16657 	else
 16658   	if test "$aix_use_runtimelinking" = yes; then
 16659 	    shared_flag='${wl}-G'
 16660 	  else
 16661 	    shared_flag='${wl}-bM:SRE'
 16662   	fi
 16663 	fi
 16664       fi
 16665 
 16666       # It seems that -bexpall does not export symbols beginning with
 16667       # underscore (_), so it is better to generate a list of symbols to export.
 16668       always_export_symbols_GCJ=yes
 16669       if test "$aix_use_runtimelinking" = yes; then
 16670 	# Warning - without using the other runtime loading flags (-brtl),
 16671 	# -berok will link without error, but may produce a broken library.
 16672 	allow_undefined_flag_GCJ='-berok'
 16673        # Determine the default libpath from the value encoded in an empty executable.
 16674        cat >conftest.$ac_ext <<_ACEOF
 16675 /* confdefs.h.  */
 16676 _ACEOF
 16677 cat confdefs.h >>conftest.$ac_ext
 16678 cat >>conftest.$ac_ext <<_ACEOF
 16679 /* end confdefs.h.  */
 16680 
 16681 int
 16682 main ()
 16683 {
 16684 
 16685   ;
 16686   return 0;
 16687 }
 16688 _ACEOF
 16689 rm -f conftest.$ac_objext conftest$ac_exeext
 16690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16691   (eval $ac_link) 2>conftest.er1
 16692   ac_status=$?
 16693   grep -v '^ *+' conftest.er1 >conftest.err
 16694   rm -f conftest.er1
 16695   cat conftest.err >&5
 16696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16697   (exit $ac_status); } &&
 16698 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 16699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16700   (eval $ac_try) 2>&5
 16701   ac_status=$?
 16702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16703   (exit $ac_status); }; } &&
 16704 	 { ac_try='test -s conftest$ac_exeext'
 16705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16706   (eval $ac_try) 2>&5
 16707   ac_status=$?
 16708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16709   (exit $ac_status); }; }; then
 16710 
 16711 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 16712 }'`
 16713 # Check for a 64-bit object if we didn't find anything.
 16714 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; }
 16715 }'`; fi
 16716 else
 16717   echo "$as_me: failed program was:" >&5
 16718 sed 's/^/| /' conftest.$ac_ext >&5
 16719 
 16720 fi
 16721 rm -f conftest.err conftest.$ac_objext \
 16722       conftest$ac_exeext conftest.$ac_ext
 16723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 16724 
 16725        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 16726 	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"
 16727        else
 16728 	if test "$host_cpu" = ia64; then
 16729 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 16730 	  allow_undefined_flag_GCJ="-z nodefs"
 16731 	  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"
 16732 	else
 16733 	 # Determine the default libpath from the value encoded in an empty executable.
 16734 	 cat >conftest.$ac_ext <<_ACEOF
 16735 /* confdefs.h.  */
 16736 _ACEOF
 16737 cat confdefs.h >>conftest.$ac_ext
 16738 cat >>conftest.$ac_ext <<_ACEOF
 16739 /* end confdefs.h.  */
 16740 
 16741 int
 16742 main ()
 16743 {
 16744 
 16745   ;
 16746   return 0;
 16747 }
 16748 _ACEOF
 16749 rm -f conftest.$ac_objext conftest$ac_exeext
 16750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16751   (eval $ac_link) 2>conftest.er1
 16752   ac_status=$?
 16753   grep -v '^ *+' conftest.er1 >conftest.err
 16754   rm -f conftest.er1
 16755   cat conftest.err >&5
 16756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16757   (exit $ac_status); } &&
 16758 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 16759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16760   (eval $ac_try) 2>&5
 16761   ac_status=$?
 16762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16763   (exit $ac_status); }; } &&
 16764 	 { ac_try='test -s conftest$ac_exeext'
 16765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16766   (eval $ac_try) 2>&5
 16767   ac_status=$?
 16768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16769   (exit $ac_status); }; }; then
 16770 
 16771 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 16772 }'`
 16773 # Check for a 64-bit object if we didn't find anything.
 16774 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; }
 16775 }'`; fi
 16776 else
 16777   echo "$as_me: failed program was:" >&5
 16778 sed 's/^/| /' conftest.$ac_ext >&5
 16779 
 16780 fi
 16781 rm -f conftest.err conftest.$ac_objext \
 16782       conftest$ac_exeext conftest.$ac_ext
 16783 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 16784 
 16785 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 16786 	  # Warning - without using the other run time loading flags,
 16787 	  # -berok will link without error, but may produce a broken library.
 16788 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
 16789 	  allow_undefined_flag_GCJ=' ${wl}-berok'
 16790 	  # -bexpall does not export symbols beginning with underscore (_)
 16791 	  always_export_symbols_GCJ=yes
 16792 	  # Exported symbols can be pulled into shared objects from archives
 16793 	  whole_archive_flag_spec_GCJ=' '
 16794 	  archive_cmds_need_lc_GCJ=yes
 16795 	  # This is similar to how AIX traditionally builds its shared libraries.
 16796 	  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'
 16797 	fi
 16798       fi
 16799       ;;
 16800 
 16801     amigaos*)
 16802       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)'
 16803       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16804       hardcode_minus_L_GCJ=yes
 16805       # see comment about different semantics on the GNU ld section
 16806       ld_shlibs_GCJ=no
 16807       ;;
 16808 
 16809     bsdi[45]*)
 16810       export_dynamic_flag_spec_GCJ=-rdynamic
 16811       ;;
 16812 
 16813     cygwin* | mingw* | pw32*)
 16814       # When not using gcc, we currently assume that we are using
 16815       # Microsoft Visual C++.
 16816       # hardcode_libdir_flag_spec is actually meaningless, as there is
 16817       # no search path for DLLs.
 16818       hardcode_libdir_flag_spec_GCJ=' '
 16819       allow_undefined_flag_GCJ=unsupported
 16820       # Tell ltmain to make .lib files, not .a files.
 16821       libext=lib
 16822       # Tell ltmain to make .dll files, not .so files.
 16823       shrext_cmds=".dll"
 16824       # FIXME: Setting linknames here is a bad hack.
 16825       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 16826       # The linker will automatically build a .lib file if we build a DLL.
 16827       old_archive_From_new_cmds_GCJ='true'
 16828       # FIXME: Should let the user specify the lib program.
 16829       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 16830       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 16831       enable_shared_with_static_runtimes_GCJ=yes
 16832       ;;
 16833 
 16834     darwin* | rhapsody*)
 16835       case $host_os in
 16836         rhapsody* | darwin1.[012])
 16837          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 16838          ;;
 16839        *) # Darwin 1.3 on
 16840          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 16841            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 16842          else
 16843            case ${MACOSX_DEPLOYMENT_TARGET} in
 16844              10.[012])
 16845                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 16846                ;;
 16847              10.*)
 16848                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 16849                ;;
 16850            esac
 16851          fi
 16852          ;;
 16853       esac
 16854       archive_cmds_need_lc_GCJ=no
 16855       hardcode_direct_GCJ=no
 16856       hardcode_automatic_GCJ=yes
 16857       hardcode_shlibpath_var_GCJ=unsupported
 16858       whole_archive_flag_spec_GCJ=''
 16859       link_all_deplibs_GCJ=yes
 16860     if test "$GCC" = yes ; then
 16861     	output_verbose_link_cmd='echo'
 16862         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 16863       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 16864       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 16865       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}'
 16866       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}'
 16867     else
 16868       case $cc_basename in
 16869         xlc*)
 16870          output_verbose_link_cmd='echo'
 16871          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 16872          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 16873           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 16874          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}'
 16875           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}'
 16876           ;;
 16877        *)
 16878          ld_shlibs_GCJ=no
 16879           ;;
 16880       esac
 16881     fi
 16882       ;;
 16883 
 16884     dgux*)
 16885       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16886       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16887       hardcode_shlibpath_var_GCJ=no
 16888       ;;
 16889 
 16890     freebsd1*)
 16891       ld_shlibs_GCJ=no
 16892       ;;
 16893 
 16894     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 16895     # support.  Future versions do this automatically, but an explicit c++rt0.o
 16896     # does not break anything, and helps significantly (at the cost of a little
 16897     # extra space).
 16898     freebsd2.2*)
 16899       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 16900       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 16901       hardcode_direct_GCJ=yes
 16902       hardcode_shlibpath_var_GCJ=no
 16903       ;;
 16904 
 16905     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 16906     freebsd2*)
 16907       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 16908       hardcode_direct_GCJ=yes
 16909       hardcode_minus_L_GCJ=yes
 16910       hardcode_shlibpath_var_GCJ=no
 16911       ;;
 16912 
 16913     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 16914     freebsd* | kfreebsd*-gnu | dragonfly*)
 16915       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 16916       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 16917       hardcode_direct_GCJ=yes
 16918       hardcode_shlibpath_var_GCJ=no
 16919       ;;
 16920 
 16921     hpux9*)
 16922       if test "$GCC" = yes; then
 16923 	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'
 16924       else
 16925 	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'
 16926       fi
 16927       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16928       hardcode_libdir_separator_GCJ=:
 16929       hardcode_direct_GCJ=yes
 16930 
 16931       # hardcode_minus_L: Not really in the search PATH,
 16932       # but as the default location of the library.
 16933       hardcode_minus_L_GCJ=yes
 16934       export_dynamic_flag_spec_GCJ='${wl}-E'
 16935       ;;
 16936 
 16937     hpux10* | hpux11*)
 16938       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 16939 	case $host_cpu in
 16940 	hppa*64*|ia64*)
 16941 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16942 	  ;;
 16943 	*)
 16944 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 16945 	  ;;
 16946 	esac
 16947       else
 16948 	case $host_cpu in
 16949 	hppa*64*|ia64*)
 16950 	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 16951 	  ;;
 16952 	*)
 16953 	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 16954 	  ;;
 16955 	esac
 16956       fi
 16957       if test "$with_gnu_ld" = no; then
 16958 	case $host_cpu in
 16959 	hppa*64*)
 16960 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16961 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 16962 	  hardcode_libdir_separator_GCJ=:
 16963 	  hardcode_direct_GCJ=no
 16964 	  hardcode_shlibpath_var_GCJ=no
 16965 	  ;;
 16966 	ia64*)
 16967 	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 16968 	  hardcode_direct_GCJ=no
 16969 	  hardcode_shlibpath_var_GCJ=no
 16970 
 16971 	  # hardcode_minus_L: Not really in the search PATH,
 16972 	  # but as the default location of the library.
 16973 	  hardcode_minus_L_GCJ=yes
 16974 	  ;;
 16975 	*)
 16976 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 16977 	  hardcode_libdir_separator_GCJ=:
 16978 	  hardcode_direct_GCJ=yes
 16979 	  export_dynamic_flag_spec_GCJ='${wl}-E'
 16980 
 16981 	  # hardcode_minus_L: Not really in the search PATH,
 16982 	  # but as the default location of the library.
 16983 	  hardcode_minus_L_GCJ=yes
 16984 	  ;;
 16985 	esac
 16986       fi
 16987       ;;
 16988 
 16989     irix5* | irix6* | nonstopux*)
 16990       if test "$GCC" = yes; then
 16991 	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'
 16992       else
 16993 	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'
 16994 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 16995       fi
 16996       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 16997       hardcode_libdir_separator_GCJ=:
 16998       link_all_deplibs_GCJ=yes
 16999       ;;
 17000 
 17001     netbsd*)
 17002       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 17003 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 17004       else
 17005 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 17006       fi
 17007       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17008       hardcode_direct_GCJ=yes
 17009       hardcode_shlibpath_var_GCJ=no
 17010       ;;
 17011 
 17012     newsos6)
 17013       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17014       hardcode_direct_GCJ=yes
 17015       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17016       hardcode_libdir_separator_GCJ=:
 17017       hardcode_shlibpath_var_GCJ=no
 17018       ;;
 17019 
 17020     openbsd*)
 17021       hardcode_direct_GCJ=yes
 17022       hardcode_shlibpath_var_GCJ=no
 17023       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 17024 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 17025 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 17026 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 17027 	export_dynamic_flag_spec_GCJ='${wl}-E'
 17028       else
 17029        case $host_os in
 17030 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 17031 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 17032 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17033 	   ;;
 17034 	 *)
 17035 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 17036 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 17037 	   ;;
 17038        esac
 17039       fi
 17040       ;;
 17041 
 17042     os2*)
 17043       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17044       hardcode_minus_L_GCJ=yes
 17045       allow_undefined_flag_GCJ=unsupported
 17046       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'
 17047       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 17048       ;;
 17049 
 17050     osf3*)
 17051       if test "$GCC" = yes; then
 17052 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 17053 	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'
 17054       else
 17055 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 17056 	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'
 17057       fi
 17058       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17059       hardcode_libdir_separator_GCJ=:
 17060       ;;
 17061 
 17062     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 17066 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 17067       else
 17068 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 17069 	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'
 17070 	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~
 17071 	$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'
 17072 
 17073 	# Both c and cxx compiler support -rpath directly
 17074 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 17075       fi
 17076       hardcode_libdir_separator_GCJ=:
 17077       ;;
 17078 
 17079     sco3.2v5*)
 17080       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17081       hardcode_shlibpath_var_GCJ=no
 17082       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 17083       runpath_var=LD_RUN_PATH
 17084       hardcode_runpath_var=yes
 17085       ;;
 17086 
 17087     solaris*)
 17088       no_undefined_flag_GCJ=' -z text'
 17089       if test "$GCC" = yes; then
 17090 	wlarc='${wl}'
 17091 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17092 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17093 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 17094       else
 17095 	wlarc=''
 17096 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17097 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17098   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 17099       fi
 17100       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 17101       hardcode_shlibpath_var_GCJ=no
 17102       case $host_os in
 17103       solaris2.[0-5] | solaris2.[0-5].*) ;;
 17104       *)
 17105  	# The compiler driver will combine linker options so we
 17106  	# cannot just pass the convience library names through
 17107  	# without $wl, iff we do not link with $LD.
 17108  	# Luckily, gcc supports the same syntax we need for Sun Studio.
 17109  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 17110  	case $wlarc in
 17111  	'')
 17112  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 17113  	*)
 17114  	  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' ;;
 17115  	esac ;;
 17116       esac
 17117       link_all_deplibs_GCJ=yes
 17118       ;;
 17119 
 17120     sunos4*)
 17121       if test "x$host_vendor" = xsequent; then
 17122 	# Use $CC to link under sequent, because it throws in some extra .o
 17123 	# files that make .init and .fini sections work.
 17124 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 17125       else
 17126 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 17127       fi
 17128       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17129       hardcode_direct_GCJ=yes
 17130       hardcode_minus_L_GCJ=yes
 17131       hardcode_shlibpath_var_GCJ=no
 17132       ;;
 17133 
 17134     sysv4)
 17135       case $host_vendor in
 17136 	sni)
 17137 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17138 	  hardcode_direct_GCJ=yes # is this really true???
 17139 	;;
 17140 	siemens)
 17141 	  ## LD is ld it makes a PLAMLIB
 17142 	  ## CC just makes a GrossModule.
 17143 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 17144 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 17145 	  hardcode_direct_GCJ=no
 17146         ;;
 17147 	motorola)
 17148 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17149 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 17150 	;;
 17151       esac
 17152       runpath_var='LD_RUN_PATH'
 17153       hardcode_shlibpath_var_GCJ=no
 17154       ;;
 17155 
 17156     sysv4.3*)
 17157       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17158       hardcode_shlibpath_var_GCJ=no
 17159       export_dynamic_flag_spec_GCJ='-Bexport'
 17160       ;;
 17161 
 17162     sysv4*MP*)
 17163       if test -d /usr/nec; then
 17164 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17165 	hardcode_shlibpath_var_GCJ=no
 17166 	runpath_var=LD_RUN_PATH
 17167 	hardcode_runpath_var=yes
 17168 	ld_shlibs_GCJ=yes
 17169       fi
 17170       ;;
 17171 
 17172     sysv4.2uw2*)
 17173       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 17174       hardcode_direct_GCJ=yes
 17175       hardcode_minus_L_GCJ=no
 17176       hardcode_shlibpath_var_GCJ=no
 17177       hardcode_runpath_var=yes
 17178       runpath_var=LD_RUN_PATH
 17179       ;;
 17180 
 17181    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
 17182       no_undefined_flag_GCJ='${wl}-z ${wl}text'
 17183       if test "$GCC" = yes; then
 17184 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17185       else
 17186 	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 17187       fi
 17188       runpath_var='LD_RUN_PATH'
 17189       hardcode_shlibpath_var_GCJ=no
 17190       ;;
 17191 
 17192     sysv5*)
 17193       no_undefined_flag_GCJ=' -z text'
 17194       # $CC -shared without GNU ld will not create a library from C++
 17195       # object files and a static libstdc++, better avoid it by now
 17196       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17197       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 17198   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 17199       hardcode_libdir_flag_spec_GCJ=
 17200       hardcode_shlibpath_var_GCJ=no
 17201       runpath_var='LD_RUN_PATH'
 17202       ;;
 17203 
 17204     uts4*)
 17205       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 17206       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 17207       hardcode_shlibpath_var_GCJ=no
 17208       ;;
 17209 
 17210     *)
 17211       ld_shlibs_GCJ=no
 17212       ;;
 17213     esac
 17214   fi
 17215 
 17216 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 17217 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 17218 test "$ld_shlibs_GCJ" = no && can_build_shared=no
 17219 
 17220 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 17221 if test "$GCC" = yes; then
 17222   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 17223 fi
 17224 
 17225 #
 17226 # Do we need to explicitly link libc?
 17227 #
 17228 case "x$archive_cmds_need_lc_GCJ" in
 17229 x|xyes)
 17230   # Assume -lc should be added
 17231   archive_cmds_need_lc_GCJ=yes
 17232 
 17233   if test "$enable_shared" = yes && test "$GCC" = yes; then
 17234     case $archive_cmds_GCJ in
 17235     *'~'*)
 17236       # FIXME: we may have to deal with multi-command sequences.
 17237       ;;
 17238     '$CC '*)
 17239       # Test whether the compiler implicitly links with -lc since on some
 17240       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 17241       # to ld, don't add -lc before -lgcc.
 17242       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 17243 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 17244       $rm conftest*
 17245       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 17246 
 17247       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 17248   (eval $ac_compile) 2>&5
 17249   ac_status=$?
 17250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17251   (exit $ac_status); } 2>conftest.err; then
 17252         soname=conftest
 17253         lib=conftest
 17254         libobjs=conftest.$ac_objext
 17255         deplibs=
 17256         wl=$lt_prog_compiler_wl_GCJ
 17257         compiler_flags=-v
 17258         linker_flags=-v
 17259         verstring=
 17260         output_objdir=.
 17261         libname=conftest
 17262         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 17263         allow_undefined_flag_GCJ=
 17264         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 17265   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 17266   ac_status=$?
 17267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17268   (exit $ac_status); }
 17269         then
 17270 	  archive_cmds_need_lc_GCJ=no
 17271         else
 17272 	  archive_cmds_need_lc_GCJ=yes
 17273         fi
 17274         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 17275       else
 17276         cat conftest.err 1>&5
 17277       fi
 17278       $rm conftest*
 17279       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 17280 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 17281       ;;
 17282     esac
 17283   fi
 17284   ;;
 17285 esac
 17286 
 17287 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 17288 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 17289 library_names_spec=
 17290 libname_spec='lib$name'
 17291 soname_spec=
 17292 shrext_cmds=".so"
 17293 postinstall_cmds=
 17294 postuninstall_cmds=
 17295 finish_cmds=
 17296 finish_eval=
 17297 shlibpath_var=
 17298 shlibpath_overrides_runpath=unknown
 17299 version_type=none
 17300 dynamic_linker="$host_os ld.so"
 17301 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 17302 if test "$GCC" = yes; then
 17303   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 17304   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 17305     # if the path contains ";" then we assume it to be the separator
 17306     # otherwise default to the standard path separator (i.e. ":") - it is
 17307     # assumed that no part of a normal pathname contains ";" but that should
 17308     # okay in the real world where ";" in dirpaths is itself problematic.
 17309     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 17310   else
 17311     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 17312   fi
 17313 else
 17314   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 17315 fi
 17316 need_lib_prefix=unknown
 17317 hardcode_into_libs=no
 17318 
 17319 # when you set need_version to no, make sure it does not cause -set_version
 17320 # flags to be left without arguments
 17321 need_version=unknown
 17322 
 17323 case $host_os in
 17324 aix3*)
 17325   version_type=linux
 17326   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 17327   shlibpath_var=LIBPATH
 17328 
 17329   # AIX 3 has no versioning support, so we append a major version to the name.
 17330   soname_spec='${libname}${release}${shared_ext}$major'
 17331   ;;
 17332 
 17333 aix4* | aix5*)
 17334   version_type=linux
 17335   need_lib_prefix=no
 17336   need_version=no
 17337   hardcode_into_libs=yes
 17338   if test "$host_cpu" = ia64; then
 17339     # AIX 5 supports IA64
 17340     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 17341     shlibpath_var=LD_LIBRARY_PATH
 17342   else
 17343     # With GCC up to 2.95.x, collect2 would create an import file
 17344     # for dependence libraries.  The import file would start with
 17345     # the line `#! .'.  This would cause the generated library to
 17346     # depend on `.', always an invalid library.  This was fixed in
 17347     # development snapshots of GCC prior to 3.0.
 17348     case $host_os in
 17349       aix4 | aix4.[01] | aix4.[01].*)
 17350       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 17351 	   echo ' yes '
 17352 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 17353 	:
 17354       else
 17355 	can_build_shared=no
 17356       fi
 17357       ;;
 17358     esac
 17359     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 17360     # soname into executable. Probably we can add versioning support to
 17361     # collect2, so additional links can be useful in future.
 17362     if test "$aix_use_runtimelinking" = yes; then
 17363       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 17364       # instead of lib<name>.a to let people know that these are not
 17365       # typical AIX shared libraries.
 17366       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17367     else
 17368       # We preserve .a as extension for shared libraries through AIX4.2
 17369       # and later when we are not doing run time linking.
 17370       library_names_spec='${libname}${release}.a $libname.a'
 17371       soname_spec='${libname}${release}${shared_ext}$major'
 17372     fi
 17373     shlibpath_var=LIBPATH
 17374   fi
 17375   ;;
 17376 
 17377 amigaos*)
 17378   library_names_spec='$libname.ixlibrary $libname.a'
 17379   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 17380   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'
 17381   ;;
 17382 
 17383 beos*)
 17384   library_names_spec='${libname}${shared_ext}'
 17385   dynamic_linker="$host_os ld.so"
 17386   shlibpath_var=LIBRARY_PATH
 17387   ;;
 17388 
 17389 bsdi[45]*)
 17390   version_type=linux
 17391   need_version=no
 17392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17393   soname_spec='${libname}${release}${shared_ext}$major'
 17394   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 17395   shlibpath_var=LD_LIBRARY_PATH
 17396   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 17397   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 17398   # the default ld.so.conf also contains /usr/contrib/lib and
 17399   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 17400   # libtool to hard-code these into programs
 17401   ;;
 17402 
 17403 cygwin* | mingw* | pw32*)
 17404   version_type=windows
 17405   shrext_cmds=".dll"
 17406   need_version=no
 17407   need_lib_prefix=no
 17408 
 17409   case $GCC,$host_os in
 17410   yes,cygwin* | yes,mingw* | yes,pw32*)
 17411     library_names_spec='$libname.dll.a'
 17412     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 17413     postinstall_cmds='base_file=`basename \${file}`~
 17414       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 17415       dldir=$destdir/`dirname \$dlpath`~
 17416       test -d \$dldir || mkdir -p \$dldir~
 17417       $install_prog $dir/$dlname \$dldir/$dlname~
 17418       chmod a+x \$dldir/$dlname'
 17419     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 17420       dlpath=$dir/\$dldll~
 17421        $rm \$dlpath'
 17422     shlibpath_overrides_runpath=yes
 17423 
 17424     case $host_os in
 17425     cygwin*)
 17426       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 17427       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17428       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 17429       ;;
 17430     mingw*)
 17431       # MinGW DLLs use traditional 'lib' prefix
 17432       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17433       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 17434       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 17435         # It is most probably a Windows format PATH printed by
 17436         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 17437         # path with ; separators, and with drive letters. We can handle the
 17438         # drive letters (cygwin fileutils understands them), so leave them,
 17439         # especially as we might pass files found there to a mingw objdump,
 17440         # which wouldn't understand a cygwinified path. Ahh.
 17441         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 17442       else
 17443         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 17444       fi
 17445       ;;
 17446     pw32*)
 17447       # pw32 DLLs use 'pw' prefix rather than 'lib'
 17448       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 17449       ;;
 17450     esac
 17451     ;;
 17452 
 17453   *)
 17454     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 17455     ;;
 17456   esac
 17457   dynamic_linker='Win32 ld.exe'
 17458   # FIXME: first we should search . and the directory the executable is in
 17459   shlibpath_var=PATH
 17460   ;;
 17461 
 17462 darwin* | rhapsody*)
 17463   dynamic_linker="$host_os dyld"
 17464   version_type=darwin
 17465   need_lib_prefix=no
 17466   need_version=no
 17467   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 17468   soname_spec='${libname}${release}${major}$shared_ext'
 17469   shlibpath_overrides_runpath=yes
 17470   shlibpath_var=DYLD_LIBRARY_PATH
 17471   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 17472   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 17473   if test "$GCC" = yes; then
 17474     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"`
 17475   else
 17476     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 17477   fi
 17478   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 17479   ;;
 17480 
 17481 dgux*)
 17482   version_type=linux
 17483   need_lib_prefix=no
 17484   need_version=no
 17485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 17486   soname_spec='${libname}${release}${shared_ext}$major'
 17487   shlibpath_var=LD_LIBRARY_PATH
 17488   ;;
 17489 
 17490 freebsd1*)
 17491   dynamic_linker=no
 17492   ;;
 17493 
 17494 kfreebsd*-gnu)
 17495   version_type=linux
 17496   need_lib_prefix=no
 17497   need_version=no
 17498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17499   soname_spec='${libname}${release}${shared_ext}$major'
 17500   shlibpath_var=LD_LIBRARY_PATH
 17501   shlibpath_overrides_runpath=no
 17502   hardcode_into_libs=yes
 17503   dynamic_linker='GNU ld.so'
 17504   ;;
 17505 
 17506 freebsd* | dragonfly*)
 17507   # DragonFly does not have aout.  When/if they implement a new
 17508   # versioning mechanism, adjust this.
 17509   if test -x /usr/bin/objformat; then
 17510     objformat=`/usr/bin/objformat`
 17511   else
 17512     case $host_os in
 17513     freebsd[123]*) objformat=aout ;;
 17514     *) objformat=elf ;;
 17515     esac
 17516   fi
 17517   version_type=freebsd-$objformat
 17518   case $version_type in
 17519     freebsd-elf*)
 17520       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 17521       need_version=no
 17522       need_lib_prefix=no
 17523       ;;
 17524     freebsd-*)
 17525       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 17526       need_version=yes
 17527       ;;
 17528   esac
 17529   shlibpath_var=LD_LIBRARY_PATH
 17530   case $host_os in
 17531   freebsd2*)
 17532     shlibpath_overrides_runpath=yes
 17533     ;;
 17534   freebsd3.[01]* | freebsdelf3.[01]*)
 17535     shlibpath_overrides_runpath=yes
 17536     hardcode_into_libs=yes
 17537     ;;
 17538   *) # from 3.2 on
 17539     shlibpath_overrides_runpath=no
 17540     hardcode_into_libs=yes
 17541     ;;
 17542   esac
 17543   ;;
 17544 
 17545 gnu*)
 17546   version_type=linux
 17547   need_lib_prefix=no
 17548   need_version=no
 17549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 17550   soname_spec='${libname}${release}${shared_ext}$major'
 17551   shlibpath_var=LD_LIBRARY_PATH
 17552   hardcode_into_libs=yes
 17553   ;;
 17554 
 17555 hpux9* | hpux10* | hpux11*)
 17556   # Give a soname corresponding to the major version so that dld.sl refuses to
 17557   # link against other versions.
 17558   version_type=sunos
 17559   need_lib_prefix=no
 17560   need_version=no
 17561   case $host_cpu in
 17562   ia64*)
 17563     shrext_cmds='.so'
 17564     hardcode_into_libs=yes
 17565     dynamic_linker="$host_os dld.so"
 17566     shlibpath_var=LD_LIBRARY_PATH
 17567     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 17568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17569     soname_spec='${libname}${release}${shared_ext}$major'
 17570     if test "X$HPUX_IA64_MODE" = X32; then
 17571       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 17572     else
 17573       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 17574     fi
 17575     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 17576     ;;
 17577    hppa*64*)
 17578      shrext_cmds='.sl'
 17579      hardcode_into_libs=yes
 17580      dynamic_linker="$host_os dld.sl"
 17581      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 17582      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 17583      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17584      soname_spec='${libname}${release}${shared_ext}$major'
 17585      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 17586      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 17587      ;;
 17588    *)
 17589     shrext_cmds='.sl'
 17590     dynamic_linker="$host_os dld.sl"
 17591     shlibpath_var=SHLIB_PATH
 17592     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 17593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17594     soname_spec='${libname}${release}${shared_ext}$major'
 17595     ;;
 17596   esac
 17597   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 17598   postinstall_cmds='chmod 555 $lib'
 17599   ;;
 17600 
 17601 irix5* | irix6* | nonstopux*)
 17602   case $host_os in
 17603     nonstopux*) version_type=nonstopux ;;
 17604     *)
 17605 	if test "$lt_cv_prog_gnu_ld" = yes; then
 17606 		version_type=linux
 17607 	else
 17608 		version_type=irix
 17609 	fi ;;
 17610   esac
 17611   need_lib_prefix=no
 17612   need_version=no
 17613   soname_spec='${libname}${release}${shared_ext}$major'
 17614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 17615   case $host_os in
 17616   irix5* | nonstopux*)
 17617     libsuff= shlibsuff=
 17618     ;;
 17619   *)
 17620     case $LD in # libtool.m4 will add one of these switches to LD
 17621     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 17622       libsuff= shlibsuff= libmagic=32-bit;;
 17623     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 17624       libsuff=32 shlibsuff=N32 libmagic=N32;;
 17625     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 17626       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 17627     *) libsuff= shlibsuff= libmagic=never-match;;
 17628     esac
 17629     ;;
 17630   esac
 17631   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 17632   shlibpath_overrides_runpath=no
 17633   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 17634   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 17635   hardcode_into_libs=yes
 17636   ;;
 17637 
 17638 # No shared lib support for Linux oldld, aout, or coff.
 17639 linux*oldld* | linux*aout* | linux*coff*)
 17640   dynamic_linker=no
 17641   ;;
 17642 
 17643 # This must be Linux ELF.
 17644 linux*)
 17645   version_type=linux
 17646   need_lib_prefix=no
 17647   need_version=no
 17648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17649   soname_spec='${libname}${release}${shared_ext}$major'
 17650   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 17651   shlibpath_var=LD_LIBRARY_PATH
 17652   shlibpath_overrides_runpath=no
 17653   # This implies no fast_install, which is unacceptable.
 17654   # Some rework will be needed to allow for fast_install
 17655   # before this can be enabled.
 17656   hardcode_into_libs=yes
 17657 
 17658   # Append ld.so.conf contents to the search path
 17659   if test -f /etc/ld.so.conf; then
 17660     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' ' '`
 17661     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 17662   fi
 17663 
 17664   # We used to test for /lib/ld.so.1 and disable shared libraries on
 17665   # powerpc, because MkLinux only supported shared libraries with the
 17666   # GNU dynamic linker.  Since this was broken with cross compilers,
 17667   # most powerpc-linux boxes support dynamic linking these days and
 17668   # people can always --disable-shared, the test was removed, and we
 17669   # assume the GNU/Linux dynamic linker is in use.
 17670   dynamic_linker='GNU/Linux ld.so'
 17671   ;;
 17672 
 17673 knetbsd*-gnu)
 17674   version_type=linux
 17675   need_lib_prefix=no
 17676   need_version=no
 17677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17678   soname_spec='${libname}${release}${shared_ext}$major'
 17679   shlibpath_var=LD_LIBRARY_PATH
 17680   shlibpath_overrides_runpath=no
 17681   hardcode_into_libs=yes
 17682   dynamic_linker='GNU ld.so'
 17683   ;;
 17684 
 17685 netbsd*)
 17686   version_type=sunos
 17687   need_lib_prefix=no
 17688   need_version=no
 17689   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 17690     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17691     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 17692     dynamic_linker='NetBSD (a.out) ld.so'
 17693   else
 17694     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 17695     soname_spec='${libname}${release}${shared_ext}$major'
 17696     dynamic_linker='NetBSD ld.elf_so'
 17697   fi
 17698   shlibpath_var=LD_LIBRARY_PATH
 17699   shlibpath_overrides_runpath=yes
 17700   hardcode_into_libs=yes
 17701   ;;
 17702 
 17703 newsos6)
 17704   version_type=linux
 17705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17706   shlibpath_var=LD_LIBRARY_PATH
 17707   shlibpath_overrides_runpath=yes
 17708   ;;
 17709 
 17710 nto-qnx*)
 17711   version_type=linux
 17712   need_lib_prefix=no
 17713   need_version=no
 17714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17715   soname_spec='${libname}${release}${shared_ext}$major'
 17716   shlibpath_var=LD_LIBRARY_PATH
 17717   shlibpath_overrides_runpath=yes
 17718   ;;
 17719 
 17720 openbsd*)
 17721   version_type=sunos
 17722   need_lib_prefix=no
 17723   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 17724   case $host_os in
 17725     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 17726     *)                         need_version=no  ;;
 17727   esac
 17728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17729   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 17730   shlibpath_var=LD_LIBRARY_PATH
 17731   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 17732     case $host_os in
 17733       openbsd2.[89] | openbsd2.[89].*)
 17734 	shlibpath_overrides_runpath=no
 17735 	;;
 17736       *)
 17737 	shlibpath_overrides_runpath=yes
 17738 	;;
 17739       esac
 17740   else
 17741     shlibpath_overrides_runpath=yes
 17742   fi
 17743   ;;
 17744 
 17745 os2*)
 17746   libname_spec='$name'
 17747   shrext_cmds=".dll"
 17748   need_lib_prefix=no
 17749   library_names_spec='$libname${shared_ext} $libname.a'
 17750   dynamic_linker='OS/2 ld.exe'
 17751   shlibpath_var=LIBPATH
 17752   ;;
 17753 
 17754 osf3* | osf4* | osf5*)
 17755   version_type=osf
 17756   need_lib_prefix=no
 17757   need_version=no
 17758   soname_spec='${libname}${release}${shared_ext}$major'
 17759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17760   shlibpath_var=LD_LIBRARY_PATH
 17761   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 17762   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 17763   ;;
 17764 
 17765 sco3.2v5*)
 17766   version_type=osf
 17767   soname_spec='${libname}${release}${shared_ext}$major'
 17768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17769   shlibpath_var=LD_LIBRARY_PATH
 17770   ;;
 17771 
 17772 solaris*)
 17773   version_type=linux
 17774   need_lib_prefix=no
 17775   need_version=no
 17776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17777   soname_spec='${libname}${release}${shared_ext}$major'
 17778   shlibpath_var=LD_LIBRARY_PATH
 17779   shlibpath_overrides_runpath=yes
 17780   hardcode_into_libs=yes
 17781   # ldd complains unless libraries are executable
 17782   postinstall_cmds='chmod +x $lib'
 17783   ;;
 17784 
 17785 sunos4*)
 17786   version_type=sunos
 17787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 17788   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 17789   shlibpath_var=LD_LIBRARY_PATH
 17790   shlibpath_overrides_runpath=yes
 17791   if test "$with_gnu_ld" = yes; then
 17792     need_lib_prefix=no
 17793   fi
 17794   need_version=yes
 17795   ;;
 17796 
 17797 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 17798   version_type=linux
 17799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17800   soname_spec='${libname}${release}${shared_ext}$major'
 17801   shlibpath_var=LD_LIBRARY_PATH
 17802   case $host_vendor in
 17803     sni)
 17804       shlibpath_overrides_runpath=no
 17805       need_lib_prefix=no
 17806       export_dynamic_flag_spec='${wl}-Blargedynsym'
 17807       runpath_var=LD_RUN_PATH
 17808       ;;
 17809     siemens)
 17810       need_lib_prefix=no
 17811       ;;
 17812     motorola)
 17813       need_lib_prefix=no
 17814       need_version=no
 17815       shlibpath_overrides_runpath=no
 17816       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 17817       ;;
 17818   esac
 17819   ;;
 17820 
 17821 sysv4*MP*)
 17822   if test -d /usr/nec ;then
 17823     version_type=linux
 17824     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 17825     soname_spec='$libname${shared_ext}.$major'
 17826     shlibpath_var=LD_LIBRARY_PATH
 17827   fi
 17828   ;;
 17829 
 17830 uts4*)
 17831   version_type=linux
 17832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 17833   soname_spec='${libname}${release}${shared_ext}$major'
 17834   shlibpath_var=LD_LIBRARY_PATH
 17835   ;;
 17836 
 17837 *)
 17838   dynamic_linker=no
 17839   ;;
 17840 esac
 17841 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 17842 echo "${ECHO_T}$dynamic_linker" >&6
 17843 test "$dynamic_linker" = no && can_build_shared=no
 17844 
 17845 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 17846 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 17847 hardcode_action_GCJ=
 17848 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 17849    test -n "$runpath_var_GCJ" || \
 17850    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 17851 
 17852   # We can hardcode non-existant directories.
 17853   if test "$hardcode_direct_GCJ" != no &&
 17854      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 17855      # have to relink, otherwise we might link with an installed library
 17856      # when we should be linking with a yet-to-be-installed one
 17857      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 17858      test "$hardcode_minus_L_GCJ" != no; then
 17859     # Linking always hardcodes the temporary library directory.
 17860     hardcode_action_GCJ=relink
 17861   else
 17862     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 17863     hardcode_action_GCJ=immediate
 17864   fi
 17865 else
 17866   # We cannot hardcode anything, or else we can only hardcode existing
 17867   # directories.
 17868   hardcode_action_GCJ=unsupported
 17869 fi
 17870 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 17871 echo "${ECHO_T}$hardcode_action_GCJ" >&6
 17872 
 17873 if test "$hardcode_action_GCJ" = relink; then
 17874   # Fast installation is not supported
 17875   enable_fast_install=no
 17876 elif test "$shlibpath_overrides_runpath" = yes ||
 17877      test "$enable_shared" = no; then
 17878   # Fast installation is not necessary
 17879   enable_fast_install=needless
 17880 fi
 17881 
 17882 striplib=
 17883 old_striplib=
 17884 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 17885 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 17886 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 17887   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 17888   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 17889   echo "$as_me:$LINENO: result: yes" >&5
 17890 echo "${ECHO_T}yes" >&6
 17891 else
 17892 # FIXME - insert some real tests, host_os isn't really good enough
 17893   case $host_os in
 17894    darwin*)
 17895        if test -n "$STRIP" ; then
 17896          striplib="$STRIP -x"
 17897          echo "$as_me:$LINENO: result: yes" >&5
 17898 echo "${ECHO_T}yes" >&6
 17899        else
 17900   echo "$as_me:$LINENO: result: no" >&5
 17901 echo "${ECHO_T}no" >&6
 17902 fi
 17903        ;;
 17904    *)
 17905   echo "$as_me:$LINENO: result: no" >&5
 17906 echo "${ECHO_T}no" >&6
 17907     ;;
 17908   esac
 17909 fi
 17910 
 17911 if test "x$enable_dlopen" != xyes; then
 17912   enable_dlopen=unknown
 17913   enable_dlopen_self=unknown
 17914   enable_dlopen_self_static=unknown
 17915 else
 17916   lt_cv_dlopen=no
 17917   lt_cv_dlopen_libs=
 17918 
 17919   case $host_os in
 17920   beos*)
 17921     lt_cv_dlopen="load_add_on"
 17922     lt_cv_dlopen_libs=
 17923     lt_cv_dlopen_self=yes
 17924     ;;
 17925 
 17926   mingw* | pw32*)
 17927     lt_cv_dlopen="LoadLibrary"
 17928     lt_cv_dlopen_libs=
 17929    ;;
 17930 
 17931   cygwin*)
 17932     lt_cv_dlopen="dlopen"
 17933     lt_cv_dlopen_libs=
 17934    ;;
 17935 
 17936   darwin*)
 17937   # if libdl is installed we need to link against it
 17938     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 17939 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 17940 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 17941   echo $ECHO_N "(cached) $ECHO_C" >&6
 17942 else
 17943   ac_check_lib_save_LIBS=$LIBS
 17944 LIBS="-ldl  $LIBS"
 17945 cat >conftest.$ac_ext <<_ACEOF
 17946 /* confdefs.h.  */
 17947 _ACEOF
 17948 cat confdefs.h >>conftest.$ac_ext
 17949 cat >>conftest.$ac_ext <<_ACEOF
 17950 /* end confdefs.h.  */
 17951 
 17952 /* Override any gcc2 internal prototype to avoid an error.  */
 17953 #ifdef __cplusplus
 17954 extern "C"
 17955 #endif
 17956 /* We use char because int might match the return type of a gcc2
 17957    builtin and then its argument prototype would still apply.  */
 17958 char dlopen ();
 17959 int
 17960 main ()
 17961 {
 17962 dlopen ();
 17963   ;
 17964   return 0;
 17965 }
 17966 _ACEOF
 17967 rm -f conftest.$ac_objext conftest$ac_exeext
 17968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 17969   (eval $ac_link) 2>conftest.er1
 17970   ac_status=$?
 17971   grep -v '^ *+' conftest.er1 >conftest.err
 17972   rm -f conftest.er1
 17973   cat conftest.err >&5
 17974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17975   (exit $ac_status); } &&
 17976 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 17977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 17978   (eval $ac_try) 2>&5
 17979   ac_status=$?
 17980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17981   (exit $ac_status); }; } &&
 17982 	 { ac_try='test -s conftest$ac_exeext'
 17983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 17984   (eval $ac_try) 2>&5
 17985   ac_status=$?
 17986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17987   (exit $ac_status); }; }; then
 17988   ac_cv_lib_dl_dlopen=yes
 17989 else
 17990   echo "$as_me: failed program was:" >&5
 17991 sed 's/^/| /' conftest.$ac_ext >&5
 17992 
 17993 ac_cv_lib_dl_dlopen=no
 17994 fi
 17995 rm -f conftest.err conftest.$ac_objext \
 17996       conftest$ac_exeext conftest.$ac_ext
 17997 LIBS=$ac_check_lib_save_LIBS
 17998 fi
 17999 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 18000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 18001 if test $ac_cv_lib_dl_dlopen = yes; then
 18002   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 18003 else
 18004 
 18005     lt_cv_dlopen="dyld"
 18006     lt_cv_dlopen_libs=
 18007     lt_cv_dlopen_self=yes
 18008 
 18009 fi
 18010 
 18011    ;;
 18012 
 18013   *)
 18014     echo "$as_me:$LINENO: checking for shl_load" >&5
 18015 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 18016 if test "${ac_cv_func_shl_load+set}" = set; then
 18017   echo $ECHO_N "(cached) $ECHO_C" >&6
 18018 else
 18019   cat >conftest.$ac_ext <<_ACEOF
 18020 /* confdefs.h.  */
 18021 _ACEOF
 18022 cat confdefs.h >>conftest.$ac_ext
 18023 cat >>conftest.$ac_ext <<_ACEOF
 18024 /* end confdefs.h.  */
 18025 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 18026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 18027 #define shl_load innocuous_shl_load
 18028 
 18029 /* System header to define __stub macros and hopefully few prototypes,
 18030     which can conflict with char shl_load (); below.
 18031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 18032     <limits.h> exists even on freestanding compilers.  */
 18033 
 18034 #ifdef __STDC__
 18035 # include <limits.h>
 18036 #else
 18037 # include <assert.h>
 18038 #endif
 18039 
 18040 #undef shl_load
 18041 
 18042 /* Override any gcc2 internal prototype to avoid an error.  */
 18043 #ifdef __cplusplus
 18044 extern "C"
 18045 {
 18046 #endif
 18047 /* We use char because int might match the return type of a gcc2
 18048    builtin and then its argument prototype would still apply.  */
 18049 char shl_load ();
 18050 /* The GNU C library defines this for functions which it implements
 18051     to always fail with ENOSYS.  Some functions are actually named
 18052     something starting with __ and the normal name is an alias.  */
 18053 #if defined (__stub_shl_load) || defined (__stub___shl_load)
 18054 choke me
 18055 #else
 18056 char (*f) () = shl_load;
 18057 #endif
 18058 #ifdef __cplusplus
 18059 }
 18060 #endif
 18061 
 18062 int
 18063 main ()
 18064 {
 18065 return f != shl_load;
 18066   ;
 18067   return 0;
 18068 }
 18069 _ACEOF
 18070 rm -f conftest.$ac_objext conftest$ac_exeext
 18071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18072   (eval $ac_link) 2>conftest.er1
 18073   ac_status=$?
 18074   grep -v '^ *+' conftest.er1 >conftest.err
 18075   rm -f conftest.er1
 18076   cat conftest.err >&5
 18077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18078   (exit $ac_status); } &&
 18079 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18081   (eval $ac_try) 2>&5
 18082   ac_status=$?
 18083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18084   (exit $ac_status); }; } &&
 18085 	 { ac_try='test -s conftest$ac_exeext'
 18086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18087   (eval $ac_try) 2>&5
 18088   ac_status=$?
 18089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18090   (exit $ac_status); }; }; then
 18091   ac_cv_func_shl_load=yes
 18092 else
 18093   echo "$as_me: failed program was:" >&5
 18094 sed 's/^/| /' conftest.$ac_ext >&5
 18095 
 18096 ac_cv_func_shl_load=no
 18097 fi
 18098 rm -f conftest.err conftest.$ac_objext \
 18099       conftest$ac_exeext conftest.$ac_ext
 18100 fi
 18101 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 18102 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 18103 if test $ac_cv_func_shl_load = yes; then
 18104   lt_cv_dlopen="shl_load"
 18105 else
 18106   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 18107 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 18108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 18109   echo $ECHO_N "(cached) $ECHO_C" >&6
 18110 else
 18111   ac_check_lib_save_LIBS=$LIBS
 18112 LIBS="-ldld  $LIBS"
 18113 cat >conftest.$ac_ext <<_ACEOF
 18114 /* confdefs.h.  */
 18115 _ACEOF
 18116 cat confdefs.h >>conftest.$ac_ext
 18117 cat >>conftest.$ac_ext <<_ACEOF
 18118 /* end confdefs.h.  */
 18119 
 18120 /* Override any gcc2 internal prototype to avoid an error.  */
 18121 #ifdef __cplusplus
 18122 extern "C"
 18123 #endif
 18124 /* We use char because int might match the return type of a gcc2
 18125    builtin and then its argument prototype would still apply.  */
 18126 char shl_load ();
 18127 int
 18128 main ()
 18129 {
 18130 shl_load ();
 18131   ;
 18132   return 0;
 18133 }
 18134 _ACEOF
 18135 rm -f conftest.$ac_objext conftest$ac_exeext
 18136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18137   (eval $ac_link) 2>conftest.er1
 18138   ac_status=$?
 18139   grep -v '^ *+' conftest.er1 >conftest.err
 18140   rm -f conftest.er1
 18141   cat conftest.err >&5
 18142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18143   (exit $ac_status); } &&
 18144 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18146   (eval $ac_try) 2>&5
 18147   ac_status=$?
 18148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18149   (exit $ac_status); }; } &&
 18150 	 { ac_try='test -s conftest$ac_exeext'
 18151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18152   (eval $ac_try) 2>&5
 18153   ac_status=$?
 18154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18155   (exit $ac_status); }; }; then
 18156   ac_cv_lib_dld_shl_load=yes
 18157 else
 18158   echo "$as_me: failed program was:" >&5
 18159 sed 's/^/| /' conftest.$ac_ext >&5
 18160 
 18161 ac_cv_lib_dld_shl_load=no
 18162 fi
 18163 rm -f conftest.err conftest.$ac_objext \
 18164       conftest$ac_exeext conftest.$ac_ext
 18165 LIBS=$ac_check_lib_save_LIBS
 18166 fi
 18167 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 18168 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 18169 if test $ac_cv_lib_dld_shl_load = yes; then
 18170   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 18171 else
 18172   echo "$as_me:$LINENO: checking for dlopen" >&5
 18173 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 18174 if test "${ac_cv_func_dlopen+set}" = set; then
 18175   echo $ECHO_N "(cached) $ECHO_C" >&6
 18176 else
 18177   cat >conftest.$ac_ext <<_ACEOF
 18178 /* confdefs.h.  */
 18179 _ACEOF
 18180 cat confdefs.h >>conftest.$ac_ext
 18181 cat >>conftest.$ac_ext <<_ACEOF
 18182 /* end confdefs.h.  */
 18183 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 18184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 18185 #define dlopen innocuous_dlopen
 18186 
 18187 /* System header to define __stub macros and hopefully few prototypes,
 18188     which can conflict with char dlopen (); below.
 18189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 18190     <limits.h> exists even on freestanding compilers.  */
 18191 
 18192 #ifdef __STDC__
 18193 # include <limits.h>
 18194 #else
 18195 # include <assert.h>
 18196 #endif
 18197 
 18198 #undef dlopen
 18199 
 18200 /* Override any gcc2 internal prototype to avoid an error.  */
 18201 #ifdef __cplusplus
 18202 extern "C"
 18203 {
 18204 #endif
 18205 /* We use char because int might match the return type of a gcc2
 18206    builtin and then its argument prototype would still apply.  */
 18207 char dlopen ();
 18208 /* The GNU C library defines this for functions which it implements
 18209     to always fail with ENOSYS.  Some functions are actually named
 18210     something starting with __ and the normal name is an alias.  */
 18211 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 18212 choke me
 18213 #else
 18214 char (*f) () = dlopen;
 18215 #endif
 18216 #ifdef __cplusplus
 18217 }
 18218 #endif
 18219 
 18220 int
 18221 main ()
 18222 {
 18223 return f != dlopen;
 18224   ;
 18225   return 0;
 18226 }
 18227 _ACEOF
 18228 rm -f conftest.$ac_objext conftest$ac_exeext
 18229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18230   (eval $ac_link) 2>conftest.er1
 18231   ac_status=$?
 18232   grep -v '^ *+' conftest.er1 >conftest.err
 18233   rm -f conftest.er1
 18234   cat conftest.err >&5
 18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18236   (exit $ac_status); } &&
 18237 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18239   (eval $ac_try) 2>&5
 18240   ac_status=$?
 18241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18242   (exit $ac_status); }; } &&
 18243 	 { ac_try='test -s conftest$ac_exeext'
 18244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18245   (eval $ac_try) 2>&5
 18246   ac_status=$?
 18247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18248   (exit $ac_status); }; }; then
 18249   ac_cv_func_dlopen=yes
 18250 else
 18251   echo "$as_me: failed program was:" >&5
 18252 sed 's/^/| /' conftest.$ac_ext >&5
 18253 
 18254 ac_cv_func_dlopen=no
 18255 fi
 18256 rm -f conftest.err conftest.$ac_objext \
 18257       conftest$ac_exeext conftest.$ac_ext
 18258 fi
 18259 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 18260 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 18261 if test $ac_cv_func_dlopen = yes; then
 18262   lt_cv_dlopen="dlopen"
 18263 else
 18264   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 18265 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 18266 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 18267   echo $ECHO_N "(cached) $ECHO_C" >&6
 18268 else
 18269   ac_check_lib_save_LIBS=$LIBS
 18270 LIBS="-ldl  $LIBS"
 18271 cat >conftest.$ac_ext <<_ACEOF
 18272 /* confdefs.h.  */
 18273 _ACEOF
 18274 cat confdefs.h >>conftest.$ac_ext
 18275 cat >>conftest.$ac_ext <<_ACEOF
 18276 /* end confdefs.h.  */
 18277 
 18278 /* Override any gcc2 internal prototype to avoid an error.  */
 18279 #ifdef __cplusplus
 18280 extern "C"
 18281 #endif
 18282 /* We use char because int might match the return type of a gcc2
 18283    builtin and then its argument prototype would still apply.  */
 18284 char dlopen ();
 18285 int
 18286 main ()
 18287 {
 18288 dlopen ();
 18289   ;
 18290   return 0;
 18291 }
 18292 _ACEOF
 18293 rm -f conftest.$ac_objext conftest$ac_exeext
 18294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18295   (eval $ac_link) 2>conftest.er1
 18296   ac_status=$?
 18297   grep -v '^ *+' conftest.er1 >conftest.err
 18298   rm -f conftest.er1
 18299   cat conftest.err >&5
 18300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18301   (exit $ac_status); } &&
 18302 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18304   (eval $ac_try) 2>&5
 18305   ac_status=$?
 18306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18307   (exit $ac_status); }; } &&
 18308 	 { ac_try='test -s conftest$ac_exeext'
 18309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18310   (eval $ac_try) 2>&5
 18311   ac_status=$?
 18312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18313   (exit $ac_status); }; }; then
 18314   ac_cv_lib_dl_dlopen=yes
 18315 else
 18316   echo "$as_me: failed program was:" >&5
 18317 sed 's/^/| /' conftest.$ac_ext >&5
 18318 
 18319 ac_cv_lib_dl_dlopen=no
 18320 fi
 18321 rm -f conftest.err conftest.$ac_objext \
 18322       conftest$ac_exeext conftest.$ac_ext
 18323 LIBS=$ac_check_lib_save_LIBS
 18324 fi
 18325 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 18326 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 18327 if test $ac_cv_lib_dl_dlopen = yes; then
 18328   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 18329 else
 18330   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 18331 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 18332 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 18333   echo $ECHO_N "(cached) $ECHO_C" >&6
 18334 else
 18335   ac_check_lib_save_LIBS=$LIBS
 18336 LIBS="-lsvld  $LIBS"
 18337 cat >conftest.$ac_ext <<_ACEOF
 18338 /* confdefs.h.  */
 18339 _ACEOF
 18340 cat confdefs.h >>conftest.$ac_ext
 18341 cat >>conftest.$ac_ext <<_ACEOF
 18342 /* end confdefs.h.  */
 18343 
 18344 /* Override any gcc2 internal prototype to avoid an error.  */
 18345 #ifdef __cplusplus
 18346 extern "C"
 18347 #endif
 18348 /* We use char because int might match the return type of a gcc2
 18349    builtin and then its argument prototype would still apply.  */
 18350 char dlopen ();
 18351 int
 18352 main ()
 18353 {
 18354 dlopen ();
 18355   ;
 18356   return 0;
 18357 }
 18358 _ACEOF
 18359 rm -f conftest.$ac_objext conftest$ac_exeext
 18360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18361   (eval $ac_link) 2>conftest.er1
 18362   ac_status=$?
 18363   grep -v '^ *+' conftest.er1 >conftest.err
 18364   rm -f conftest.er1
 18365   cat conftest.err >&5
 18366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18367   (exit $ac_status); } &&
 18368 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18370   (eval $ac_try) 2>&5
 18371   ac_status=$?
 18372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18373   (exit $ac_status); }; } &&
 18374 	 { ac_try='test -s conftest$ac_exeext'
 18375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18376   (eval $ac_try) 2>&5
 18377   ac_status=$?
 18378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18379   (exit $ac_status); }; }; then
 18380   ac_cv_lib_svld_dlopen=yes
 18381 else
 18382   echo "$as_me: failed program was:" >&5
 18383 sed 's/^/| /' conftest.$ac_ext >&5
 18384 
 18385 ac_cv_lib_svld_dlopen=no
 18386 fi
 18387 rm -f conftest.err conftest.$ac_objext \
 18388       conftest$ac_exeext conftest.$ac_ext
 18389 LIBS=$ac_check_lib_save_LIBS
 18390 fi
 18391 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 18392 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 18393 if test $ac_cv_lib_svld_dlopen = yes; then
 18394   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 18395 else
 18396   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 18397 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 18398 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 18399   echo $ECHO_N "(cached) $ECHO_C" >&6
 18400 else
 18401   ac_check_lib_save_LIBS=$LIBS
 18402 LIBS="-ldld  $LIBS"
 18403 cat >conftest.$ac_ext <<_ACEOF
 18404 /* confdefs.h.  */
 18405 _ACEOF
 18406 cat confdefs.h >>conftest.$ac_ext
 18407 cat >>conftest.$ac_ext <<_ACEOF
 18408 /* end confdefs.h.  */
 18409 
 18410 /* Override any gcc2 internal prototype to avoid an error.  */
 18411 #ifdef __cplusplus
 18412 extern "C"
 18413 #endif
 18414 /* We use char because int might match the return type of a gcc2
 18415    builtin and then its argument prototype would still apply.  */
 18416 char dld_link ();
 18417 int
 18418 main ()
 18419 {
 18420 dld_link ();
 18421   ;
 18422   return 0;
 18423 }
 18424 _ACEOF
 18425 rm -f conftest.$ac_objext conftest$ac_exeext
 18426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18427   (eval $ac_link) 2>conftest.er1
 18428   ac_status=$?
 18429   grep -v '^ *+' conftest.er1 >conftest.err
 18430   rm -f conftest.er1
 18431   cat conftest.err >&5
 18432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18433   (exit $ac_status); } &&
 18434 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18436   (eval $ac_try) 2>&5
 18437   ac_status=$?
 18438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18439   (exit $ac_status); }; } &&
 18440 	 { ac_try='test -s conftest$ac_exeext'
 18441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18442   (eval $ac_try) 2>&5
 18443   ac_status=$?
 18444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18445   (exit $ac_status); }; }; then
 18446   ac_cv_lib_dld_dld_link=yes
 18447 else
 18448   echo "$as_me: failed program was:" >&5
 18449 sed 's/^/| /' conftest.$ac_ext >&5
 18450 
 18451 ac_cv_lib_dld_dld_link=no
 18452 fi
 18453 rm -f conftest.err conftest.$ac_objext \
 18454       conftest$ac_exeext conftest.$ac_ext
 18455 LIBS=$ac_check_lib_save_LIBS
 18456 fi
 18457 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 18458 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 18459 if test $ac_cv_lib_dld_dld_link = yes; then
 18460   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 18461 fi
 18462 
 18463 
 18464 fi
 18465 
 18466 
 18467 fi
 18468 
 18469 
 18470 fi
 18471 
 18472 
 18473 fi
 18474 
 18475 
 18476 fi
 18477 
 18478     ;;
 18479   esac
 18480 
 18481   if test "x$lt_cv_dlopen" != xno; then
 18482     enable_dlopen=yes
 18483   else
 18484     enable_dlopen=no
 18485   fi
 18486 
 18487   case $lt_cv_dlopen in
 18488   dlopen)
 18489     save_CPPFLAGS="$CPPFLAGS"
 18490     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 18491 
 18492     save_LDFLAGS="$LDFLAGS"
 18493     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 18494 
 18495     save_LIBS="$LIBS"
 18496     LIBS="$lt_cv_dlopen_libs $LIBS"
 18497 
 18498     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 18499 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 18500 if test "${lt_cv_dlopen_self+set}" = set; then
 18501   echo $ECHO_N "(cached) $ECHO_C" >&6
 18502 else
 18503   	  if test "$cross_compiling" = yes; then :
 18504   lt_cv_dlopen_self=cross
 18505 else
 18506   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 18507   lt_status=$lt_dlunknown
 18508   cat > conftest.$ac_ext <<EOF
 18509 #line 18509 "configure"
 18510 #include "confdefs.h"
 18511 
 18512 #if HAVE_DLFCN_H
 18513 #include <dlfcn.h>
 18514 #endif
 18515 
 18516 #include <stdio.h>
 18517 
 18518 #ifdef RTLD_GLOBAL
 18519 #  define LT_DLGLOBAL		RTLD_GLOBAL
 18520 #else
 18521 #  ifdef DL_GLOBAL
 18522 #    define LT_DLGLOBAL		DL_GLOBAL
 18523 #  else
 18524 #    define LT_DLGLOBAL		0
 18525 #  endif
 18526 #endif
 18527 
 18528 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 18529    find out it does not work in some platform. */
 18530 #ifndef LT_DLLAZY_OR_NOW
 18531 #  ifdef RTLD_LAZY
 18532 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 18533 #  else
 18534 #    ifdef DL_LAZY
 18535 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 18536 #    else
 18537 #      ifdef RTLD_NOW
 18538 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 18539 #      else
 18540 #        ifdef DL_NOW
 18541 #          define LT_DLLAZY_OR_NOW	DL_NOW
 18542 #        else
 18543 #          define LT_DLLAZY_OR_NOW	0
 18544 #        endif
 18545 #      endif
 18546 #    endif
 18547 #  endif
 18548 #endif
 18549 
 18550 #ifdef __cplusplus
 18551 extern "C" void exit (int);
 18552 #endif
 18553 
 18554 void fnord() { int i=42;}
 18555 int main ()
 18556 {
 18557   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 18558   int status = $lt_dlunknown;
 18559 
 18560   if (self)
 18561     {
 18562       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 18563       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 18564       /* dlclose (self); */
 18565     }
 18566 
 18567     exit (status);
 18568 }
 18569 EOF
 18570   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18571   (eval $ac_link) 2>&5
 18572   ac_status=$?
 18573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18574   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 18575     (./conftest; exit; ) >&5 2>/dev/null
 18576     lt_status=$?
 18577     case x$lt_status in
 18578       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 18579       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 18580       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 18581     esac
 18582   else :
 18583     # compilation failed
 18584     lt_cv_dlopen_self=no
 18585   fi
 18586 fi
 18587 rm -fr conftest*
 18588 
 18589 
 18590 fi
 18591 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 18592 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 18593 
 18594     if test "x$lt_cv_dlopen_self" = xyes; then
 18595       LDFLAGS="$LDFLAGS $link_static_flag"
 18596       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 18597 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 18598 if test "${lt_cv_dlopen_self_static+set}" = set; then
 18599   echo $ECHO_N "(cached) $ECHO_C" >&6
 18600 else
 18601   	  if test "$cross_compiling" = yes; then :
 18602   lt_cv_dlopen_self_static=cross
 18603 else
 18604   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 18605   lt_status=$lt_dlunknown
 18606   cat > conftest.$ac_ext <<EOF
 18607 #line 18607 "configure"
 18608 #include "confdefs.h"
 18609 
 18610 #if HAVE_DLFCN_H
 18611 #include <dlfcn.h>
 18612 #endif
 18613 
 18614 #include <stdio.h>
 18615 
 18616 #ifdef RTLD_GLOBAL
 18617 #  define LT_DLGLOBAL		RTLD_GLOBAL
 18618 #else
 18619 #  ifdef DL_GLOBAL
 18620 #    define LT_DLGLOBAL		DL_GLOBAL
 18621 #  else
 18622 #    define LT_DLGLOBAL		0
 18623 #  endif
 18624 #endif
 18625 
 18626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 18627    find out it does not work in some platform. */
 18628 #ifndef LT_DLLAZY_OR_NOW
 18629 #  ifdef RTLD_LAZY
 18630 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 18631 #  else
 18632 #    ifdef DL_LAZY
 18633 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 18634 #    else
 18635 #      ifdef RTLD_NOW
 18636 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 18637 #      else
 18638 #        ifdef DL_NOW
 18639 #          define LT_DLLAZY_OR_NOW	DL_NOW
 18640 #        else
 18641 #          define LT_DLLAZY_OR_NOW	0
 18642 #        endif
 18643 #      endif
 18644 #    endif
 18645 #  endif
 18646 #endif
 18647 
 18648 #ifdef __cplusplus
 18649 extern "C" void exit (int);
 18650 #endif
 18651 
 18652 void fnord() { int i=42;}
 18653 int main ()
 18654 {
 18655   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 18656   int status = $lt_dlunknown;
 18657 
 18658   if (self)
 18659     {
 18660       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 18661       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 18662       /* dlclose (self); */
 18663     }
 18664 
 18665     exit (status);
 18666 }
 18667 EOF
 18668   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18669   (eval $ac_link) 2>&5
 18670   ac_status=$?
 18671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18672   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 18673     (./conftest; exit; ) >&5 2>/dev/null
 18674     lt_status=$?
 18675     case x$lt_status in
 18676       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 18677       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 18678       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 18679     esac
 18680   else :
 18681     # compilation failed
 18682     lt_cv_dlopen_self_static=no
 18683   fi
 18684 fi
 18685 rm -fr conftest*
 18686 
 18687 
 18688 fi
 18689 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 18690 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 18691     fi
 18692 
 18693     CPPFLAGS="$save_CPPFLAGS"
 18694     LDFLAGS="$save_LDFLAGS"
 18695     LIBS="$save_LIBS"
 18696     ;;
 18697   esac
 18698 
 18699   case $lt_cv_dlopen_self in
 18700   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 18701   *) enable_dlopen_self=unknown ;;
 18702   esac
 18703 
 18704   case $lt_cv_dlopen_self_static in
 18705   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 18706   *) enable_dlopen_self_static=unknown ;;
 18707   esac
 18708 fi
 18709 
 18710 
 18711 # The else clause should only fire when bootstrapping the
 18712 # libtool distribution, otherwise you forgot to ship ltmain.sh
 18713 # with your package, and you will get complaints that there are
 18714 # no rules to generate ltmain.sh.
 18715 if test -f "$ltmain"; then
 18716   # See if we are running on zsh, and set the options which allow our commands through
 18717   # without removal of \ escapes.
 18718   if test -n "${ZSH_VERSION+set}" ; then
 18719     setopt NO_GLOB_SUBST
 18720   fi
 18721   # Now quote all the things that may contain metacharacters while being
 18722   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 18723   # variables and quote the copies for generation of the libtool script.
 18724   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 18725     SED SHELL STRIP \
 18726     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 18727     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 18728     deplibs_check_method reload_flag reload_cmds need_locks \
 18729     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 18730     lt_cv_sys_global_symbol_to_c_name_address \
 18731     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 18732     old_postinstall_cmds old_postuninstall_cmds \
 18733     compiler_GCJ \
 18734     CC_GCJ \
 18735     LD_GCJ \
 18736     lt_prog_compiler_wl_GCJ \
 18737     lt_prog_compiler_pic_GCJ \
 18738     lt_prog_compiler_static_GCJ \
 18739     lt_prog_compiler_no_builtin_flag_GCJ \
 18740     export_dynamic_flag_spec_GCJ \
 18741     thread_safe_flag_spec_GCJ \
 18742     whole_archive_flag_spec_GCJ \
 18743     enable_shared_with_static_runtimes_GCJ \
 18744     old_archive_cmds_GCJ \
 18745     old_archive_from_new_cmds_GCJ \
 18746     predep_objects_GCJ \
 18747     postdep_objects_GCJ \
 18748     predeps_GCJ \
 18749     postdeps_GCJ \
 18750     compiler_lib_search_path_GCJ \
 18751     archive_cmds_GCJ \
 18752     archive_expsym_cmds_GCJ \
 18753     postinstall_cmds_GCJ \
 18754     postuninstall_cmds_GCJ \
 18755     old_archive_from_expsyms_cmds_GCJ \
 18756     allow_undefined_flag_GCJ \
 18757     no_undefined_flag_GCJ \
 18758     export_symbols_cmds_GCJ \
 18759     hardcode_libdir_flag_spec_GCJ \
 18760     hardcode_libdir_flag_spec_ld_GCJ \
 18761     hardcode_libdir_separator_GCJ \
 18762     hardcode_automatic_GCJ \
 18763     module_cmds_GCJ \
 18764     module_expsym_cmds_GCJ \
 18765     lt_cv_prog_compiler_c_o_GCJ \
 18766     exclude_expsyms_GCJ \
 18767     include_expsyms_GCJ; do
 18768 
 18769     case $var in
 18770     old_archive_cmds_GCJ | \
 18771     old_archive_from_new_cmds_GCJ | \
 18772     archive_cmds_GCJ | \
 18773     archive_expsym_cmds_GCJ | \
 18774     module_cmds_GCJ | \
 18775     module_expsym_cmds_GCJ | \
 18776     old_archive_from_expsyms_cmds_GCJ | \
 18777     export_symbols_cmds_GCJ | \
 18778     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 18779     postinstall_cmds | postuninstall_cmds | \
 18780     old_postinstall_cmds | old_postuninstall_cmds | \
 18781     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 18782       # Double-quote double-evaled strings.
 18783       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 18784       ;;
 18785     *)
 18786       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 18787       ;;
 18788     esac
 18789   done
 18790 
 18791   case $lt_echo in
 18792   *'\$0 --fallback-echo"')
 18793     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 18794     ;;
 18795   esac
 18796 
 18797 cfgfile="$ofile"
 18798 
 18799   cat <<__EOF__ >> "$cfgfile"
 18800 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 18801 
 18802 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 18803 
 18804 # Shell to use when invoking shell scripts.
 18805 SHELL=$lt_SHELL
 18806 
 18807 # Whether or not to build shared libraries.
 18808 build_libtool_libs=$enable_shared
 18809 
 18810 # Whether or not to build static libraries.
 18811 build_old_libs=$enable_static
 18812 
 18813 # Whether or not to add -lc for building shared libraries.
 18814 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 18815 
 18816 # Whether or not to disallow shared libs when runtime libs are static
 18817 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 18818 
 18819 # Whether or not to optimize for fast installation.
 18820 fast_install=$enable_fast_install
 18821 
 18822 # The host system.
 18823 host_alias=$host_alias
 18824 host=$host
 18825 host_os=$host_os
 18826 
 18827 # The build system.
 18828 build_alias=$build_alias
 18829 build=$build
 18830 build_os=$build_os
 18831 
 18832 # An echo program that does not interpret backslashes.
 18833 echo=$lt_echo
 18834 
 18835 # The archiver.
 18836 AR=$lt_AR
 18837 AR_FLAGS=$lt_AR_FLAGS
 18838 
 18839 # A C compiler.
 18840 LTCC=$lt_LTCC
 18841 
 18842 # A language-specific compiler.
 18843 CC=$lt_compiler_GCJ
 18844 
 18845 # Is the compiler the GNU C compiler?
 18846 with_gcc=$GCC_GCJ
 18847 
 18848 # An ERE matcher.
 18849 EGREP=$lt_EGREP
 18850 
 18851 # The linker used to build libraries.
 18852 LD=$lt_LD_GCJ
 18853 
 18854 # Whether we need hard or soft links.
 18855 LN_S=$lt_LN_S
 18856 
 18857 # A BSD-compatible nm program.
 18858 NM=$lt_NM
 18859 
 18860 # A symbol stripping program
 18861 STRIP=$lt_STRIP
 18862 
 18863 # Used to examine libraries when file_magic_cmd begins "file"
 18864 MAGIC_CMD=$MAGIC_CMD
 18865 
 18866 # Used on cygwin: DLL creation program.
 18867 DLLTOOL="$DLLTOOL"
 18868 
 18869 # Used on cygwin: object dumper.
 18870 OBJDUMP="$OBJDUMP"
 18871 
 18872 # Used on cygwin: assembler.
 18873 AS="$AS"
 18874 
 18875 # The name of the directory that contains temporary libtool files.
 18876 objdir=$objdir
 18877 
 18878 # How to create reloadable object files.
 18879 reload_flag=$lt_reload_flag
 18880 reload_cmds=$lt_reload_cmds
 18881 
 18882 # How to pass a linker flag through the compiler.
 18883 wl=$lt_lt_prog_compiler_wl_GCJ
 18884 
 18885 # Object file suffix (normally "o").
 18886 objext="$ac_objext"
 18887 
 18888 # Old archive suffix (normally "a").
 18889 libext="$libext"
 18890 
 18891 # Shared library suffix (normally ".so").
 18892 shrext_cmds='$shrext_cmds'
 18893 
 18894 # Executable file suffix (normally "").
 18895 exeext="$exeext"
 18896 
 18897 # Additional compiler flags for building library objects.
 18898 pic_flag=$lt_lt_prog_compiler_pic_GCJ
 18899 pic_mode=$pic_mode
 18900 
 18901 # What is the maximum length of a command?
 18902 max_cmd_len=$lt_cv_sys_max_cmd_len
 18903 
 18904 # Does compiler simultaneously support -c and -o options?
 18905 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 18906 
 18907 # Must we lock files when doing compilation?
 18908 need_locks=$lt_need_locks
 18909 
 18910 # Do we need the lib prefix for modules?
 18911 need_lib_prefix=$need_lib_prefix
 18912 
 18913 # Do we need a version for libraries?
 18914 need_version=$need_version
 18915 
 18916 # Whether dlopen is supported.
 18917 dlopen_support=$enable_dlopen
 18918 
 18919 # Whether dlopen of programs is supported.
 18920 dlopen_self=$enable_dlopen_self
 18921 
 18922 # Whether dlopen of statically linked programs is supported.
 18923 dlopen_self_static=$enable_dlopen_self_static
 18924 
 18925 # Compiler flag to prevent dynamic linking.
 18926 link_static_flag=$lt_lt_prog_compiler_static_GCJ
 18927 
 18928 # Compiler flag to turn off builtin functions.
 18929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 18930 
 18931 # Compiler flag to allow reflexive dlopens.
 18932 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 18933 
 18934 # Compiler flag to generate shared objects directly from archives.
 18935 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 18936 
 18937 # Compiler flag to generate thread-safe objects.
 18938 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 18939 
 18940 # Library versioning type.
 18941 version_type=$version_type
 18942 
 18943 # Format of library name prefix.
 18944 libname_spec=$lt_libname_spec
 18945 
 18946 # List of archive names.  First name is the real one, the rest are links.
 18947 # The last name is the one that the linker finds with -lNAME.
 18948 library_names_spec=$lt_library_names_spec
 18949 
 18950 # The coded name of the library, if different from the real name.
 18951 soname_spec=$lt_soname_spec
 18952 
 18953 # Commands used to build and install an old-style archive.
 18954 RANLIB=$lt_RANLIB
 18955 old_archive_cmds=$lt_old_archive_cmds_GCJ
 18956 old_postinstall_cmds=$lt_old_postinstall_cmds
 18957 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 18958 
 18959 # Create an old-style archive from a shared archive.
 18960 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 18961 
 18962 # Create a temporary old-style archive to link instead of a shared archive.
 18963 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 18964 
 18965 # Commands used to build and install a shared archive.
 18966 archive_cmds=$lt_archive_cmds_GCJ
 18967 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 18968 postinstall_cmds=$lt_postinstall_cmds
 18969 postuninstall_cmds=$lt_postuninstall_cmds
 18970 
 18971 # Commands used to build a loadable module (assumed same as above if empty)
 18972 module_cmds=$lt_module_cmds_GCJ
 18973 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 18974 
 18975 # Commands to strip libraries.
 18976 old_striplib=$lt_old_striplib
 18977 striplib=$lt_striplib
 18978 
 18979 # Dependencies to place before the objects being linked to create a
 18980 # shared library.
 18981 predep_objects=$lt_predep_objects_GCJ
 18982 
 18983 # Dependencies to place after the objects being linked to create a
 18984 # shared library.
 18985 postdep_objects=$lt_postdep_objects_GCJ
 18986 
 18987 # Dependencies to place before the objects being linked to create a
 18988 # shared library.
 18989 predeps=$lt_predeps_GCJ
 18990 
 18991 # Dependencies to place after the objects being linked to create a
 18992 # shared library.
 18993 postdeps=$lt_postdeps_GCJ
 18994 
 18995 # The library search path used internally by the compiler when linking
 18996 # a shared library.
 18997 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 18998 
 18999 # Method to check whether dependent libraries are shared objects.
 19000 deplibs_check_method=$lt_deplibs_check_method
 19001 
 19002 # Command to use when deplibs_check_method == file_magic.
 19003 file_magic_cmd=$lt_file_magic_cmd
 19004 
 19005 # Flag that allows shared libraries with undefined symbols to be built.
 19006 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 19007 
 19008 # Flag that forces no undefined symbols.
 19009 no_undefined_flag=$lt_no_undefined_flag_GCJ
 19010 
 19011 # Commands used to finish a libtool library installation in a directory.
 19012 finish_cmds=$lt_finish_cmds
 19013 
 19014 # Same as above, but a single script fragment to be evaled but not shown.
 19015 finish_eval=$lt_finish_eval
 19016 
 19017 # Take the output of nm and produce a listing of raw symbols and C names.
 19018 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19019 
 19020 # Transform the output of nm in a proper C declaration
 19021 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19022 
 19023 # Transform the output of nm in a C name address pair
 19024 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19025 
 19026 # This is the shared library runtime path variable.
 19027 runpath_var=$runpath_var
 19028 
 19029 # This is the shared library path variable.
 19030 shlibpath_var=$shlibpath_var
 19031 
 19032 # Is shlibpath searched before the hard-coded library search path?
 19033 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 19034 
 19035 # How to hardcode a shared library path into an executable.
 19036 hardcode_action=$hardcode_action_GCJ
 19037 
 19038 # Whether we should hardcode library paths into libraries.
 19039 hardcode_into_libs=$hardcode_into_libs
 19040 
 19041 # Flag to hardcode \$libdir into a binary during linking.
 19042 # This must work even if \$libdir does not exist.
 19043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 19044 
 19045 # If ld is used when linking, flag to hardcode \$libdir into
 19046 # a binary during linking. This must work even if \$libdir does
 19047 # not exist.
 19048 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 19049 
 19050 # Whether we need a single -rpath flag with a separated argument.
 19051 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 19052 
 19053 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 19054 # resulting binary.
 19055 hardcode_direct=$hardcode_direct_GCJ
 19056 
 19057 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 19058 # resulting binary.
 19059 hardcode_minus_L=$hardcode_minus_L_GCJ
 19060 
 19061 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 19062 # the resulting binary.
 19063 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 19064 
 19065 # Set to yes if building a shared library automatically hardcodes DIR into the library
 19066 # and all subsequent libraries and executables linked against it.
 19067 hardcode_automatic=$hardcode_automatic_GCJ
 19068 
 19069 # Variables whose values should be saved in libtool wrapper scripts and
 19070 # restored at relink time.
 19071 variables_saved_for_relink="$variables_saved_for_relink"
 19072 
 19073 # Whether libtool must link a program against all its dependency libraries.
 19074 link_all_deplibs=$link_all_deplibs_GCJ
 19075 
 19076 # Compile-time system search path for libraries
 19077 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 19078 
 19079 # Run-time system search path for libraries
 19080 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 19081 
 19082 # Fix the shell variable \$srcfile for the compiler.
 19083 fix_srcfile_path="$fix_srcfile_path_GCJ"
 19084 
 19085 # Set to yes if exported symbols are required.
 19086 always_export_symbols=$always_export_symbols_GCJ
 19087 
 19088 # The commands to list exported symbols.
 19089 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 19090 
 19091 # The commands to extract the exported symbol list from a shared archive.
 19092 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19093 
 19094 # Symbols that should not be listed in the preloaded symbols.
 19095 exclude_expsyms=$lt_exclude_expsyms_GCJ
 19096 
 19097 # Symbols that must always be exported.
 19098 include_expsyms=$lt_include_expsyms_GCJ
 19099 
 19100 # ### END LIBTOOL TAG CONFIG: $tagname
 19101 
 19102 __EOF__
 19103 
 19104 
 19105 else
 19106   # If there is no Makefile yet, we rely on a make rule to execute
 19107   # `config.status --recheck' to rerun these tests and create the
 19108   # libtool script then.
 19109   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 19110   if test -f "$ltmain_in"; then
 19111     test -f Makefile && make "$ltmain"
 19112   fi
 19113 fi
 19114 
 19115 
 19116 ac_ext=c
 19117 ac_cpp='$CPP $CPPFLAGS'
 19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19121 
 19122 CC="$lt_save_CC"
 19123 
 19124 	else
 19125 	  tagname=""
 19126 	fi
 19127 	;;
 19128 
 19129       RC)
 19130 
 19131 
 19132 
 19133 # Source file extension for RC test sources.
 19134 ac_ext=rc
 19135 
 19136 # Object file extension for compiled RC test sources.
 19137 objext=o
 19138 objext_RC=$objext
 19139 
 19140 # Code to be used in simple compile tests
 19141 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 19142 
 19143 # Code to be used in simple link tests
 19144 lt_simple_link_test_code="$lt_simple_compile_test_code"
 19145 
 19146 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 19147 
 19148 # If no C compiler was specified, use CC.
 19149 LTCC=${LTCC-"$CC"}
 19150 
 19151 # Allow CC to be a program name with arguments.
 19152 compiler=$CC
 19153 
 19154 
 19155 # save warnings/boilerplate of simple test code
 19156 ac_outfile=conftest.$ac_objext
 19157 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 19158 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 19159 _lt_compiler_boilerplate=`cat conftest.err`
 19160 $rm conftest*
 19161 
 19162 ac_outfile=conftest.$ac_objext
 19163 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 19164 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 19165 _lt_linker_boilerplate=`cat conftest.err`
 19166 $rm conftest*
 19167 
 19168 
 19169 # Allow CC to be a program name with arguments.
 19170 lt_save_CC="$CC"
 19171 CC=${RC-"windres"}
 19172 compiler=$CC
 19173 compiler_RC=$CC
 19174 for cc_temp in $compiler""; do
 19175   case $cc_temp in
 19176     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 19177     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 19178     \-*) ;;
 19179     *) break;;
 19180   esac
 19181 done
 19182 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 19183 
 19184 lt_cv_prog_compiler_c_o_RC=yes
 19185 
 19186 # The else clause should only fire when bootstrapping the
 19187 # libtool distribution, otherwise you forgot to ship ltmain.sh
 19188 # with your package, and you will get complaints that there are
 19189 # no rules to generate ltmain.sh.
 19190 if test -f "$ltmain"; then
 19191   # See if we are running on zsh, and set the options which allow our commands through
 19192   # without removal of \ escapes.
 19193   if test -n "${ZSH_VERSION+set}" ; then
 19194     setopt NO_GLOB_SUBST
 19195   fi
 19196   # Now quote all the things that may contain metacharacters while being
 19197   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 19198   # variables and quote the copies for generation of the libtool script.
 19199   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 19200     SED SHELL STRIP \
 19201     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 19202     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 19203     deplibs_check_method reload_flag reload_cmds need_locks \
 19204     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 19205     lt_cv_sys_global_symbol_to_c_name_address \
 19206     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 19207     old_postinstall_cmds old_postuninstall_cmds \
 19208     compiler_RC \
 19209     CC_RC \
 19210     LD_RC \
 19211     lt_prog_compiler_wl_RC \
 19212     lt_prog_compiler_pic_RC \
 19213     lt_prog_compiler_static_RC \
 19214     lt_prog_compiler_no_builtin_flag_RC \
 19215     export_dynamic_flag_spec_RC \
 19216     thread_safe_flag_spec_RC \
 19217     whole_archive_flag_spec_RC \
 19218     enable_shared_with_static_runtimes_RC \
 19219     old_archive_cmds_RC \
 19220     old_archive_from_new_cmds_RC \
 19221     predep_objects_RC \
 19222     postdep_objects_RC \
 19223     predeps_RC \
 19224     postdeps_RC \
 19225     compiler_lib_search_path_RC \
 19226     archive_cmds_RC \
 19227     archive_expsym_cmds_RC \
 19228     postinstall_cmds_RC \
 19229     postuninstall_cmds_RC \
 19230     old_archive_from_expsyms_cmds_RC \
 19231     allow_undefined_flag_RC \
 19232     no_undefined_flag_RC \
 19233     export_symbols_cmds_RC \
 19234     hardcode_libdir_flag_spec_RC \
 19235     hardcode_libdir_flag_spec_ld_RC \
 19236     hardcode_libdir_separator_RC \
 19237     hardcode_automatic_RC \
 19238     module_cmds_RC \
 19239     module_expsym_cmds_RC \
 19240     lt_cv_prog_compiler_c_o_RC \
 19241     exclude_expsyms_RC \
 19242     include_expsyms_RC; do
 19243 
 19244     case $var in
 19245     old_archive_cmds_RC | \
 19246     old_archive_from_new_cmds_RC | \
 19247     archive_cmds_RC | \
 19248     archive_expsym_cmds_RC | \
 19249     module_cmds_RC | \
 19250     module_expsym_cmds_RC | \
 19251     old_archive_from_expsyms_cmds_RC | \
 19252     export_symbols_cmds_RC | \
 19253     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 19254     postinstall_cmds | postuninstall_cmds | \
 19255     old_postinstall_cmds | old_postuninstall_cmds | \
 19256     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 19257       # Double-quote double-evaled strings.
 19258       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 19259       ;;
 19260     *)
 19261       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 19262       ;;
 19263     esac
 19264   done
 19265 
 19266   case $lt_echo in
 19267   *'\$0 --fallback-echo"')
 19268     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 19269     ;;
 19270   esac
 19271 
 19272 cfgfile="$ofile"
 19273 
 19274   cat <<__EOF__ >> "$cfgfile"
 19275 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 19276 
 19277 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 19278 
 19279 # Shell to use when invoking shell scripts.
 19280 SHELL=$lt_SHELL
 19281 
 19282 # Whether or not to build shared libraries.
 19283 build_libtool_libs=$enable_shared
 19284 
 19285 # Whether or not to build static libraries.
 19286 build_old_libs=$enable_static
 19287 
 19288 # Whether or not to add -lc for building shared libraries.
 19289 build_libtool_need_lc=$archive_cmds_need_lc_RC
 19290 
 19291 # Whether or not to disallow shared libs when runtime libs are static
 19292 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 19293 
 19294 # Whether or not to optimize for fast installation.
 19295 fast_install=$enable_fast_install
 19296 
 19297 # The host system.
 19298 host_alias=$host_alias
 19299 host=$host
 19300 host_os=$host_os
 19301 
 19302 # The build system.
 19303 build_alias=$build_alias
 19304 build=$build
 19305 build_os=$build_os
 19306 
 19307 # An echo program that does not interpret backslashes.
 19308 echo=$lt_echo
 19309 
 19310 # The archiver.
 19311 AR=$lt_AR
 19312 AR_FLAGS=$lt_AR_FLAGS
 19313 
 19314 # A C compiler.
 19315 LTCC=$lt_LTCC
 19316 
 19317 # A language-specific compiler.
 19318 CC=$lt_compiler_RC
 19319 
 19320 # Is the compiler the GNU C compiler?
 19321 with_gcc=$GCC_RC
 19322 
 19323 # An ERE matcher.
 19324 EGREP=$lt_EGREP
 19325 
 19326 # The linker used to build libraries.
 19327 LD=$lt_LD_RC
 19328 
 19329 # Whether we need hard or soft links.
 19330 LN_S=$lt_LN_S
 19331 
 19332 # A BSD-compatible nm program.
 19333 NM=$lt_NM
 19334 
 19335 # A symbol stripping program
 19336 STRIP=$lt_STRIP
 19337 
 19338 # Used to examine libraries when file_magic_cmd begins "file"
 19339 MAGIC_CMD=$MAGIC_CMD
 19340 
 19341 # Used on cygwin: DLL creation program.
 19342 DLLTOOL="$DLLTOOL"
 19343 
 19344 # Used on cygwin: object dumper.
 19345 OBJDUMP="$OBJDUMP"
 19346 
 19347 # Used on cygwin: assembler.
 19348 AS="$AS"
 19349 
 19350 # The name of the directory that contains temporary libtool files.
 19351 objdir=$objdir
 19352 
 19353 # How to create reloadable object files.
 19354 reload_flag=$lt_reload_flag
 19355 reload_cmds=$lt_reload_cmds
 19356 
 19357 # How to pass a linker flag through the compiler.
 19358 wl=$lt_lt_prog_compiler_wl_RC
 19359 
 19360 # Object file suffix (normally "o").
 19361 objext="$ac_objext"
 19362 
 19363 # Old archive suffix (normally "a").
 19364 libext="$libext"
 19365 
 19366 # Shared library suffix (normally ".so").
 19367 shrext_cmds='$shrext_cmds'
 19368 
 19369 # Executable file suffix (normally "").
 19370 exeext="$exeext"
 19371 
 19372 # Additional compiler flags for building library objects.
 19373 pic_flag=$lt_lt_prog_compiler_pic_RC
 19374 pic_mode=$pic_mode
 19375 
 19376 # What is the maximum length of a command?
 19377 max_cmd_len=$lt_cv_sys_max_cmd_len
 19378 
 19379 # Does compiler simultaneously support -c and -o options?
 19380 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 19381 
 19382 # Must we lock files when doing compilation?
 19383 need_locks=$lt_need_locks
 19384 
 19385 # Do we need the lib prefix for modules?
 19386 need_lib_prefix=$need_lib_prefix
 19387 
 19388 # Do we need a version for libraries?
 19389 need_version=$need_version
 19390 
 19391 # Whether dlopen is supported.
 19392 dlopen_support=$enable_dlopen
 19393 
 19394 # Whether dlopen of programs is supported.
 19395 dlopen_self=$enable_dlopen_self
 19396 
 19397 # Whether dlopen of statically linked programs is supported.
 19398 dlopen_self_static=$enable_dlopen_self_static
 19399 
 19400 # Compiler flag to prevent dynamic linking.
 19401 link_static_flag=$lt_lt_prog_compiler_static_RC
 19402 
 19403 # Compiler flag to turn off builtin functions.
 19404 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 19405 
 19406 # Compiler flag to allow reflexive dlopens.
 19407 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 19408 
 19409 # Compiler flag to generate shared objects directly from archives.
 19410 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 19411 
 19412 # Compiler flag to generate thread-safe objects.
 19413 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 19414 
 19415 # Library versioning type.
 19416 version_type=$version_type
 19417 
 19418 # Format of library name prefix.
 19419 libname_spec=$lt_libname_spec
 19420 
 19421 # List of archive names.  First name is the real one, the rest are links.
 19422 # The last name is the one that the linker finds with -lNAME.
 19423 library_names_spec=$lt_library_names_spec
 19424 
 19425 # The coded name of the library, if different from the real name.
 19426 soname_spec=$lt_soname_spec
 19427 
 19428 # Commands used to build and install an old-style archive.
 19429 RANLIB=$lt_RANLIB
 19430 old_archive_cmds=$lt_old_archive_cmds_RC
 19431 old_postinstall_cmds=$lt_old_postinstall_cmds
 19432 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 19433 
 19434 # Create an old-style archive from a shared archive.
 19435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 19436 
 19437 # Create a temporary old-style archive to link instead of a shared archive.
 19438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 19439 
 19440 # Commands used to build and install a shared archive.
 19441 archive_cmds=$lt_archive_cmds_RC
 19442 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 19443 postinstall_cmds=$lt_postinstall_cmds
 19444 postuninstall_cmds=$lt_postuninstall_cmds
 19445 
 19446 # Commands used to build a loadable module (assumed same as above if empty)
 19447 module_cmds=$lt_module_cmds_RC
 19448 module_expsym_cmds=$lt_module_expsym_cmds_RC
 19449 
 19450 # Commands to strip libraries.
 19451 old_striplib=$lt_old_striplib
 19452 striplib=$lt_striplib
 19453 
 19454 # Dependencies to place before the objects being linked to create a
 19455 # shared library.
 19456 predep_objects=$lt_predep_objects_RC
 19457 
 19458 # Dependencies to place after the objects being linked to create a
 19459 # shared library.
 19460 postdep_objects=$lt_postdep_objects_RC
 19461 
 19462 # Dependencies to place before the objects being linked to create a
 19463 # shared library.
 19464 predeps=$lt_predeps_RC
 19465 
 19466 # Dependencies to place after the objects being linked to create a
 19467 # shared library.
 19468 postdeps=$lt_postdeps_RC
 19469 
 19470 # The library search path used internally by the compiler when linking
 19471 # a shared library.
 19472 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 19473 
 19474 # Method to check whether dependent libraries are shared objects.
 19475 deplibs_check_method=$lt_deplibs_check_method
 19476 
 19477 # Command to use when deplibs_check_method == file_magic.
 19478 file_magic_cmd=$lt_file_magic_cmd
 19479 
 19480 # Flag that allows shared libraries with undefined symbols to be built.
 19481 allow_undefined_flag=$lt_allow_undefined_flag_RC
 19482 
 19483 # Flag that forces no undefined symbols.
 19484 no_undefined_flag=$lt_no_undefined_flag_RC
 19485 
 19486 # Commands used to finish a libtool library installation in a directory.
 19487 finish_cmds=$lt_finish_cmds
 19488 
 19489 # Same as above, but a single script fragment to be evaled but not shown.
 19490 finish_eval=$lt_finish_eval
 19491 
 19492 # Take the output of nm and produce a listing of raw symbols and C names.
 19493 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19494 
 19495 # Transform the output of nm in a proper C declaration
 19496 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19497 
 19498 # Transform the output of nm in a C name address pair
 19499 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19500 
 19501 # This is the shared library runtime path variable.
 19502 runpath_var=$runpath_var
 19503 
 19504 # This is the shared library path variable.
 19505 shlibpath_var=$shlibpath_var
 19506 
 19507 # Is shlibpath searched before the hard-coded library search path?
 19508 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 19509 
 19510 # How to hardcode a shared library path into an executable.
 19511 hardcode_action=$hardcode_action_RC
 19512 
 19513 # Whether we should hardcode library paths into libraries.
 19514 hardcode_into_libs=$hardcode_into_libs
 19515 
 19516 # Flag to hardcode \$libdir into a binary during linking.
 19517 # This must work even if \$libdir does not exist.
 19518 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 19519 
 19520 # If ld is used when linking, flag to hardcode \$libdir into
 19521 # a binary during linking. This must work even if \$libdir does
 19522 # not exist.
 19523 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 19524 
 19525 # Whether we need a single -rpath flag with a separated argument.
 19526 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 19527 
 19528 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 19529 # resulting binary.
 19530 hardcode_direct=$hardcode_direct_RC
 19531 
 19532 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 19533 # resulting binary.
 19534 hardcode_minus_L=$hardcode_minus_L_RC
 19535 
 19536 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 19537 # the resulting binary.
 19538 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 19539 
 19540 # Set to yes if building a shared library automatically hardcodes DIR into the library
 19541 # and all subsequent libraries and executables linked against it.
 19542 hardcode_automatic=$hardcode_automatic_RC
 19543 
 19544 # Variables whose values should be saved in libtool wrapper scripts and
 19545 # restored at relink time.
 19546 variables_saved_for_relink="$variables_saved_for_relink"
 19547 
 19548 # Whether libtool must link a program against all its dependency libraries.
 19549 link_all_deplibs=$link_all_deplibs_RC
 19550 
 19551 # Compile-time system search path for libraries
 19552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 19553 
 19554 # Run-time system search path for libraries
 19555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 19556 
 19557 # Fix the shell variable \$srcfile for the compiler.
 19558 fix_srcfile_path="$fix_srcfile_path_RC"
 19559 
 19560 # Set to yes if exported symbols are required.
 19561 always_export_symbols=$always_export_symbols_RC
 19562 
 19563 # The commands to list exported symbols.
 19564 export_symbols_cmds=$lt_export_symbols_cmds_RC
 19565 
 19566 # The commands to extract the exported symbol list from a shared archive.
 19567 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19568 
 19569 # Symbols that should not be listed in the preloaded symbols.
 19570 exclude_expsyms=$lt_exclude_expsyms_RC
 19571 
 19572 # Symbols that must always be exported.
 19573 include_expsyms=$lt_include_expsyms_RC
 19574 
 19575 # ### END LIBTOOL TAG CONFIG: $tagname
 19576 
 19577 __EOF__
 19578 
 19579 
 19580 else
 19581   # If there is no Makefile yet, we rely on a make rule to execute
 19582   # `config.status --recheck' to rerun these tests and create the
 19583   # libtool script then.
 19584   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 19585   if test -f "$ltmain_in"; then
 19586     test -f Makefile && make "$ltmain"
 19587   fi
 19588 fi
 19589 
 19590 
 19591 ac_ext=c
 19592 ac_cpp='$CPP $CPPFLAGS'
 19593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19596 
 19597 CC="$lt_save_CC"
 19598 
 19599 	;;
 19600 
 19601       *)
 19602 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 19603 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 19604    { (exit 1); exit 1; }; }
 19605 	;;
 19606       esac
 19607 
 19608       # Append the new tag name to the list of available tags.
 19609       if test -n "$tagname" ; then
 19610       available_tags="$available_tags $tagname"
 19611     fi
 19612     fi
 19613   done
 19614   IFS="$lt_save_ifs"
 19615 
 19616   # Now substitute the updated list of available tags.
 19617   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 19618     mv "${ofile}T" "$ofile"
 19619     chmod +x "$ofile"
 19620   else
 19621     rm -f "${ofile}T"
 19622     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 19623 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 19624    { (exit 1); exit 1; }; }
 19625   fi
 19626 fi
 19627 
 19628 
 19629 
 19630 # This can be used to rebuild libtool when needed
 19631 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 19632 
 19633 # Always use our own libtool.
 19634 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 19635 
 19636 # Prevent multiple expansion
 19637 
 19638 
 19639 
 19640 
 19641 
 19642 
 19643 
 19644 
 19645 
 19646 
 19647 
 19648 
 19649 
 19650 
 19651 
 19652 
 19653 
 19654 
 19655 
 19656 
 19657 
 19658           ac_config_headers="$ac_config_headers config.h"
 19659 
 19660 
 19661 ACLOCAL_AMFLAGS="-I m4"
 19662 
 19663 
 19664 ac_ext=c
 19665 ac_cpp='$CPP $CPPFLAGS'
 19666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19669 if test -n "$ac_tool_prefix"; then
 19670   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 19671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 19672 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19674 if test "${ac_cv_prog_CC+set}" = set; then
 19675   echo $ECHO_N "(cached) $ECHO_C" >&6
 19676 else
 19677   if test -n "$CC"; then
 19678   ac_cv_prog_CC="$CC" # Let the user override the test.
 19679 else
 19680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19681 for as_dir in $PATH
 19682 do
 19683   IFS=$as_save_IFS
 19684   test -z "$as_dir" && as_dir=.
 19685   for ac_exec_ext in '' $ac_executable_extensions; do
 19686   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19687     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 19688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19689     break 2
 19690   fi
 19691 done
 19692 done
 19693 
 19694 fi
 19695 fi
 19696 CC=$ac_cv_prog_CC
 19697 if test -n "$CC"; then
 19698   echo "$as_me:$LINENO: result: $CC" >&5
 19699 echo "${ECHO_T}$CC" >&6
 19700 else
 19701   echo "$as_me:$LINENO: result: no" >&5
 19702 echo "${ECHO_T}no" >&6
 19703 fi
 19704 
 19705 fi
 19706 if test -z "$ac_cv_prog_CC"; then
 19707   ac_ct_CC=$CC
 19708   # Extract the first word of "gcc", so it can be a program name with args.
 19709 set dummy gcc; ac_word=$2
 19710 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19713   echo $ECHO_N "(cached) $ECHO_C" >&6
 19714 else
 19715   if test -n "$ac_ct_CC"; then
 19716   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19717 else
 19718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19719 for as_dir in $PATH
 19720 do
 19721   IFS=$as_save_IFS
 19722   test -z "$as_dir" && as_dir=.
 19723   for ac_exec_ext in '' $ac_executable_extensions; do
 19724   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19725     ac_cv_prog_ac_ct_CC="gcc"
 19726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19727     break 2
 19728   fi
 19729 done
 19730 done
 19731 
 19732 fi
 19733 fi
 19734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19735 if test -n "$ac_ct_CC"; then
 19736   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19737 echo "${ECHO_T}$ac_ct_CC" >&6
 19738 else
 19739   echo "$as_me:$LINENO: result: no" >&5
 19740 echo "${ECHO_T}no" >&6
 19741 fi
 19742 
 19743   CC=$ac_ct_CC
 19744 else
 19745   CC="$ac_cv_prog_CC"
 19746 fi
 19747 
 19748 if test -z "$CC"; then
 19749   if test -n "$ac_tool_prefix"; then
 19750   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 19751 set dummy ${ac_tool_prefix}cc; ac_word=$2
 19752 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19754 if test "${ac_cv_prog_CC+set}" = set; then
 19755   echo $ECHO_N "(cached) $ECHO_C" >&6
 19756 else
 19757   if test -n "$CC"; then
 19758   ac_cv_prog_CC="$CC" # Let the user override the test.
 19759 else
 19760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19761 for as_dir in $PATH
 19762 do
 19763   IFS=$as_save_IFS
 19764   test -z "$as_dir" && as_dir=.
 19765   for ac_exec_ext in '' $ac_executable_extensions; do
 19766   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19767     ac_cv_prog_CC="${ac_tool_prefix}cc"
 19768     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19769     break 2
 19770   fi
 19771 done
 19772 done
 19773 
 19774 fi
 19775 fi
 19776 CC=$ac_cv_prog_CC
 19777 if test -n "$CC"; then
 19778   echo "$as_me:$LINENO: result: $CC" >&5
 19779 echo "${ECHO_T}$CC" >&6
 19780 else
 19781   echo "$as_me:$LINENO: result: no" >&5
 19782 echo "${ECHO_T}no" >&6
 19783 fi
 19784 
 19785 fi
 19786 if test -z "$ac_cv_prog_CC"; then
 19787   ac_ct_CC=$CC
 19788   # Extract the first word of "cc", so it can be a program name with args.
 19789 set dummy cc; ac_word=$2
 19790 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19793   echo $ECHO_N "(cached) $ECHO_C" >&6
 19794 else
 19795   if test -n "$ac_ct_CC"; then
 19796   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19797 else
 19798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19799 for as_dir in $PATH
 19800 do
 19801   IFS=$as_save_IFS
 19802   test -z "$as_dir" && as_dir=.
 19803   for ac_exec_ext in '' $ac_executable_extensions; do
 19804   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19805     ac_cv_prog_ac_ct_CC="cc"
 19806     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19807     break 2
 19808   fi
 19809 done
 19810 done
 19811 
 19812 fi
 19813 fi
 19814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19815 if test -n "$ac_ct_CC"; then
 19816   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19817 echo "${ECHO_T}$ac_ct_CC" >&6
 19818 else
 19819   echo "$as_me:$LINENO: result: no" >&5
 19820 echo "${ECHO_T}no" >&6
 19821 fi
 19822 
 19823   CC=$ac_ct_CC
 19824 else
 19825   CC="$ac_cv_prog_CC"
 19826 fi
 19827 
 19828 fi
 19829 if test -z "$CC"; then
 19830   # Extract the first word of "cc", so it can be a program name with args.
 19831 set dummy cc; ac_word=$2
 19832 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19834 if test "${ac_cv_prog_CC+set}" = set; then
 19835   echo $ECHO_N "(cached) $ECHO_C" >&6
 19836 else
 19837   if test -n "$CC"; then
 19838   ac_cv_prog_CC="$CC" # Let the user override the test.
 19839 else
 19840   ac_prog_rejected=no
 19841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19842 for as_dir in $PATH
 19843 do
 19844   IFS=$as_save_IFS
 19845   test -z "$as_dir" && as_dir=.
 19846   for ac_exec_ext in '' $ac_executable_extensions; do
 19847   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19848     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 19849        ac_prog_rejected=yes
 19850        continue
 19851      fi
 19852     ac_cv_prog_CC="cc"
 19853     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19854     break 2
 19855   fi
 19856 done
 19857 done
 19858 
 19859 if test $ac_prog_rejected = yes; then
 19860   # We found a bogon in the path, so make sure we never use it.
 19861   set dummy $ac_cv_prog_CC
 19862   shift
 19863   if test $# != 0; then
 19864     # We chose a different compiler from the bogus one.
 19865     # However, it has the same basename, so the bogon will be chosen
 19866     # first if we set CC to just the basename; use the full file name.
 19867     shift
 19868     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 19869   fi
 19870 fi
 19871 fi
 19872 fi
 19873 CC=$ac_cv_prog_CC
 19874 if test -n "$CC"; then
 19875   echo "$as_me:$LINENO: result: $CC" >&5
 19876 echo "${ECHO_T}$CC" >&6
 19877 else
 19878   echo "$as_me:$LINENO: result: no" >&5
 19879 echo "${ECHO_T}no" >&6
 19880 fi
 19881 
 19882 fi
 19883 if test -z "$CC"; then
 19884   if test -n "$ac_tool_prefix"; then
 19885   for ac_prog in cl
 19886   do
 19887     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 19888 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 19889 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19891 if test "${ac_cv_prog_CC+set}" = set; then
 19892   echo $ECHO_N "(cached) $ECHO_C" >&6
 19893 else
 19894   if test -n "$CC"; then
 19895   ac_cv_prog_CC="$CC" # Let the user override the test.
 19896 else
 19897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19898 for as_dir in $PATH
 19899 do
 19900   IFS=$as_save_IFS
 19901   test -z "$as_dir" && as_dir=.
 19902   for ac_exec_ext in '' $ac_executable_extensions; do
 19903   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19904     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 19905     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19906     break 2
 19907   fi
 19908 done
 19909 done
 19910 
 19911 fi
 19912 fi
 19913 CC=$ac_cv_prog_CC
 19914 if test -n "$CC"; then
 19915   echo "$as_me:$LINENO: result: $CC" >&5
 19916 echo "${ECHO_T}$CC" >&6
 19917 else
 19918   echo "$as_me:$LINENO: result: no" >&5
 19919 echo "${ECHO_T}no" >&6
 19920 fi
 19921 
 19922     test -n "$CC" && break
 19923   done
 19924 fi
 19925 if test -z "$CC"; then
 19926   ac_ct_CC=$CC
 19927   for ac_prog in cl
 19928 do
 19929   # Extract the first word of "$ac_prog", so it can be a program name with args.
 19930 set dummy $ac_prog; ac_word=$2
 19931 echo "$as_me:$LINENO: checking for $ac_word" >&5
 19932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 19933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 19934   echo $ECHO_N "(cached) $ECHO_C" >&6
 19935 else
 19936   if test -n "$ac_ct_CC"; then
 19937   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 19938 else
 19939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 19940 for as_dir in $PATH
 19941 do
 19942   IFS=$as_save_IFS
 19943   test -z "$as_dir" && as_dir=.
 19944   for ac_exec_ext in '' $ac_executable_extensions; do
 19945   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 19946     ac_cv_prog_ac_ct_CC="$ac_prog"
 19947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 19948     break 2
 19949   fi
 19950 done
 19951 done
 19952 
 19953 fi
 19954 fi
 19955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 19956 if test -n "$ac_ct_CC"; then
 19957   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 19958 echo "${ECHO_T}$ac_ct_CC" >&6
 19959 else
 19960   echo "$as_me:$LINENO: result: no" >&5
 19961 echo "${ECHO_T}no" >&6
 19962 fi
 19963 
 19964   test -n "$ac_ct_CC" && break
 19965 done
 19966 
 19967   CC=$ac_ct_CC
 19968 fi
 19969 
 19970 fi
 19971 
 19972 
 19973 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 19974 See \`config.log' for more details." >&5
 19975 echo "$as_me: error: no acceptable C compiler found in \$PATH
 19976 See \`config.log' for more details." >&2;}
 19977    { (exit 1); exit 1; }; }
 19978 
 19979 # Provide some information about the compiler.
 19980 echo "$as_me:$LINENO:" \
 19981      "checking for C compiler version" >&5
 19982 ac_compiler=`set X $ac_compile; echo $2`
 19983 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 19984   (eval $ac_compiler --version </dev/null >&5) 2>&5
 19985   ac_status=$?
 19986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 19987   (exit $ac_status); }
 19988 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 19989   (eval $ac_compiler -v </dev/null >&5) 2>&5
 19990   ac_status=$?
 19991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 19992   (exit $ac_status); }
 19993 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 19994   (eval $ac_compiler -V </dev/null >&5) 2>&5
 19995   ac_status=$?
 19996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 19997   (exit $ac_status); }
 19998 
 19999 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 20000 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 20001 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 20002   echo $ECHO_N "(cached) $ECHO_C" >&6
 20003 else
 20004   cat >conftest.$ac_ext <<_ACEOF
 20005 /* confdefs.h.  */
 20006 _ACEOF
 20007 cat confdefs.h >>conftest.$ac_ext
 20008 cat >>conftest.$ac_ext <<_ACEOF
 20009 /* end confdefs.h.  */
 20010 
 20011 int
 20012 main ()
 20013 {
 20014 #ifndef __GNUC__
 20015        choke me
 20016 #endif
 20017 
 20018   ;
 20019   return 0;
 20020 }
 20021 _ACEOF
 20022 rm -f conftest.$ac_objext
 20023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20024   (eval $ac_compile) 2>conftest.er1
 20025   ac_status=$?
 20026   grep -v '^ *+' conftest.er1 >conftest.err
 20027   rm -f conftest.er1
 20028   cat conftest.err >&5
 20029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20030   (exit $ac_status); } &&
 20031 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20033   (eval $ac_try) 2>&5
 20034   ac_status=$?
 20035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20036   (exit $ac_status); }; } &&
 20037 	 { ac_try='test -s conftest.$ac_objext'
 20038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20039   (eval $ac_try) 2>&5
 20040   ac_status=$?
 20041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20042   (exit $ac_status); }; }; then
 20043   ac_compiler_gnu=yes
 20044 else
 20045   echo "$as_me: failed program was:" >&5
 20046 sed 's/^/| /' conftest.$ac_ext >&5
 20047 
 20048 ac_compiler_gnu=no
 20049 fi
 20050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 20052 
 20053 fi
 20054 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 20055 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 20056 GCC=`test $ac_compiler_gnu = yes && echo yes`
 20057 ac_test_CFLAGS=${CFLAGS+set}
 20058 ac_save_CFLAGS=$CFLAGS
 20059 CFLAGS="-g"
 20060 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 20061 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 20062 if test "${ac_cv_prog_cc_g+set}" = set; then
 20063   echo $ECHO_N "(cached) $ECHO_C" >&6
 20064 else
 20065   cat >conftest.$ac_ext <<_ACEOF
 20066 /* confdefs.h.  */
 20067 _ACEOF
 20068 cat confdefs.h >>conftest.$ac_ext
 20069 cat >>conftest.$ac_ext <<_ACEOF
 20070 /* end confdefs.h.  */
 20071 
 20072 int
 20073 main ()
 20074 {
 20075 
 20076   ;
 20077   return 0;
 20078 }
 20079 _ACEOF
 20080 rm -f conftest.$ac_objext
 20081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20082   (eval $ac_compile) 2>conftest.er1
 20083   ac_status=$?
 20084   grep -v '^ *+' conftest.er1 >conftest.err
 20085   rm -f conftest.er1
 20086   cat conftest.err >&5
 20087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20088   (exit $ac_status); } &&
 20089 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20091   (eval $ac_try) 2>&5
 20092   ac_status=$?
 20093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20094   (exit $ac_status); }; } &&
 20095 	 { ac_try='test -s conftest.$ac_objext'
 20096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20097   (eval $ac_try) 2>&5
 20098   ac_status=$?
 20099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20100   (exit $ac_status); }; }; then
 20101   ac_cv_prog_cc_g=yes
 20102 else
 20103   echo "$as_me: failed program was:" >&5
 20104 sed 's/^/| /' conftest.$ac_ext >&5
 20105 
 20106 ac_cv_prog_cc_g=no
 20107 fi
 20108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20109 fi
 20110 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 20111 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 20112 if test "$ac_test_CFLAGS" = set; then
 20113   CFLAGS=$ac_save_CFLAGS
 20114 elif test $ac_cv_prog_cc_g = yes; then
 20115   if test "$GCC" = yes; then
 20116     CFLAGS="-g -O2"
 20117   else
 20118     CFLAGS="-g"
 20119   fi
 20120 else
 20121   if test "$GCC" = yes; then
 20122     CFLAGS="-O2"
 20123   else
 20124     CFLAGS=
 20125   fi
 20126 fi
 20127 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 20128 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 20129 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 20130   echo $ECHO_N "(cached) $ECHO_C" >&6
 20131 else
 20132   ac_cv_prog_cc_stdc=no
 20133 ac_save_CC=$CC
 20134 cat >conftest.$ac_ext <<_ACEOF
 20135 /* confdefs.h.  */
 20136 _ACEOF
 20137 cat confdefs.h >>conftest.$ac_ext
 20138 cat >>conftest.$ac_ext <<_ACEOF
 20139 /* end confdefs.h.  */
 20140 #include <stdarg.h>
 20141 #include <stdio.h>
 20142 #include <sys/types.h>
 20143 #include <sys/stat.h>
 20144 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 20145 struct buf { int x; };
 20146 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 20147 static char *e (p, i)
 20148      char **p;
 20149      int i;
 20150 {
 20151   return p[i];
 20152 }
 20153 static char *f (char * (*g) (char **, int), char **p, ...)
 20154 {
 20155   char *s;
 20156   va_list v;
 20157   va_start (v,p);
 20158   s = g (p, va_arg (v,int));
 20159   va_end (v);
 20160   return s;
 20161 }
 20162 
 20163 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 20164    function prototypes and stuff, but not '\xHH' hex character constants.
 20165    These don't provoke an error unfortunately, instead are silently treated
 20166    as 'x'.  The following induces an error, until -std1 is added to get
 20167    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 20168    array size at least.  It's necessary to write '\x00'==0 to get something
 20169    that's true only with -std1.  */
 20170 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 20171 
 20172 int test (int i, double x);
 20173 struct s1 {int (*f) (int a);};
 20174 struct s2 {int (*f) (double a);};
 20175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 20176 int argc;
 20177 char **argv;
 20178 int
 20179 main ()
 20180 {
 20181 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 20182   ;
 20183   return 0;
 20184 }
 20185 _ACEOF
 20186 # Don't try gcc -ansi; that turns off useful extensions and
 20187 # breaks some systems' header files.
 20188 # AIX			-qlanglvl=ansi
 20189 # Ultrix and OSF/1	-std1
 20190 # HP-UX 10.20 and later	-Ae
 20191 # HP-UX older versions	-Aa -D_HPUX_SOURCE
 20192 # SVR4			-Xc -D__EXTENSIONS__
 20193 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 20194 do
 20195   CC="$ac_save_CC $ac_arg"
 20196   rm -f conftest.$ac_objext
 20197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20198   (eval $ac_compile) 2>conftest.er1
 20199   ac_status=$?
 20200   grep -v '^ *+' conftest.er1 >conftest.err
 20201   rm -f conftest.er1
 20202   cat conftest.err >&5
 20203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20204   (exit $ac_status); } &&
 20205 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20207   (eval $ac_try) 2>&5
 20208   ac_status=$?
 20209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20210   (exit $ac_status); }; } &&
 20211 	 { ac_try='test -s conftest.$ac_objext'
 20212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20213   (eval $ac_try) 2>&5
 20214   ac_status=$?
 20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20216   (exit $ac_status); }; }; then
 20217   ac_cv_prog_cc_stdc=$ac_arg
 20218 break
 20219 else
 20220   echo "$as_me: failed program was:" >&5
 20221 sed 's/^/| /' conftest.$ac_ext >&5
 20222 
 20223 fi
 20224 rm -f conftest.err conftest.$ac_objext
 20225 done
 20226 rm -f conftest.$ac_ext conftest.$ac_objext
 20227 CC=$ac_save_CC
 20228 
 20229 fi
 20230 
 20231 case "x$ac_cv_prog_cc_stdc" in
 20232   x|xno)
 20233     echo "$as_me:$LINENO: result: none needed" >&5
 20234 echo "${ECHO_T}none needed" >&6 ;;
 20235   *)
 20236     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 20237 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 20238     CC="$CC $ac_cv_prog_cc_stdc" ;;
 20239 esac
 20240 
 20241 # Some people use a C++ compiler to compile C.  Since we use `exit',
 20242 # in C++ we need to declare it.  In case someone uses the same compiler
 20243 # for both compiling C and C++ we need to have the C++ compiler decide
 20244 # the declaration of exit, since it's the most demanding environment.
 20245 cat >conftest.$ac_ext <<_ACEOF
 20246 #ifndef __cplusplus
 20247   choke me
 20248 #endif
 20249 _ACEOF
 20250 rm -f conftest.$ac_objext
 20251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20252   (eval $ac_compile) 2>conftest.er1
 20253   ac_status=$?
 20254   grep -v '^ *+' conftest.er1 >conftest.err
 20255   rm -f conftest.er1
 20256   cat conftest.err >&5
 20257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20258   (exit $ac_status); } &&
 20259 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20261   (eval $ac_try) 2>&5
 20262   ac_status=$?
 20263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20264   (exit $ac_status); }; } &&
 20265 	 { ac_try='test -s conftest.$ac_objext'
 20266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20267   (eval $ac_try) 2>&5
 20268   ac_status=$?
 20269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20270   (exit $ac_status); }; }; then
 20271   for ac_declaration in \
 20272    '' \
 20273    'extern "C" void std::exit (int) throw (); using std::exit;' \
 20274    'extern "C" void std::exit (int); using std::exit;' \
 20275    'extern "C" void exit (int) throw ();' \
 20276    'extern "C" void exit (int);' \
 20277    'void exit (int);'
 20278 do
 20279   cat >conftest.$ac_ext <<_ACEOF
 20280 /* confdefs.h.  */
 20281 _ACEOF
 20282 cat confdefs.h >>conftest.$ac_ext
 20283 cat >>conftest.$ac_ext <<_ACEOF
 20284 /* end confdefs.h.  */
 20285 $ac_declaration
 20286 #include <stdlib.h>
 20287 int
 20288 main ()
 20289 {
 20290 exit (42);
 20291   ;
 20292   return 0;
 20293 }
 20294 _ACEOF
 20295 rm -f conftest.$ac_objext
 20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20297   (eval $ac_compile) 2>conftest.er1
 20298   ac_status=$?
 20299   grep -v '^ *+' conftest.er1 >conftest.err
 20300   rm -f conftest.er1
 20301   cat conftest.err >&5
 20302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20303   (exit $ac_status); } &&
 20304 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20306   (eval $ac_try) 2>&5
 20307   ac_status=$?
 20308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20309   (exit $ac_status); }; } &&
 20310 	 { ac_try='test -s conftest.$ac_objext'
 20311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20312   (eval $ac_try) 2>&5
 20313   ac_status=$?
 20314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20315   (exit $ac_status); }; }; then
 20316   :
 20317 else
 20318   echo "$as_me: failed program was:" >&5
 20319 sed 's/^/| /' conftest.$ac_ext >&5
 20320 
 20321 continue
 20322 fi
 20323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20324   cat >conftest.$ac_ext <<_ACEOF
 20325 /* confdefs.h.  */
 20326 _ACEOF
 20327 cat confdefs.h >>conftest.$ac_ext
 20328 cat >>conftest.$ac_ext <<_ACEOF
 20329 /* end confdefs.h.  */
 20330 $ac_declaration
 20331 int
 20332 main ()
 20333 {
 20334 exit (42);
 20335   ;
 20336   return 0;
 20337 }
 20338 _ACEOF
 20339 rm -f conftest.$ac_objext
 20340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20341   (eval $ac_compile) 2>conftest.er1
 20342   ac_status=$?
 20343   grep -v '^ *+' conftest.er1 >conftest.err
 20344   rm -f conftest.er1
 20345   cat conftest.err >&5
 20346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20347   (exit $ac_status); } &&
 20348 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20350   (eval $ac_try) 2>&5
 20351   ac_status=$?
 20352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20353   (exit $ac_status); }; } &&
 20354 	 { ac_try='test -s conftest.$ac_objext'
 20355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20356   (eval $ac_try) 2>&5
 20357   ac_status=$?
 20358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20359   (exit $ac_status); }; }; then
 20360   break
 20361 else
 20362   echo "$as_me: failed program was:" >&5
 20363 sed 's/^/| /' conftest.$ac_ext >&5
 20364 
 20365 fi
 20366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20367 done
 20368 rm -f conftest*
 20369 if test -n "$ac_declaration"; then
 20370   echo '#ifdef __cplusplus' >>confdefs.h
 20371   echo $ac_declaration      >>confdefs.h
 20372   echo '#endif'             >>confdefs.h
 20373 fi
 20374 
 20375 else
 20376   echo "$as_me: failed program was:" >&5
 20377 sed 's/^/| /' conftest.$ac_ext >&5
 20378 
 20379 fi
 20380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20381 ac_ext=c
 20382 ac_cpp='$CPP $CPPFLAGS'
 20383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 20386 
 20387 depcc="$CC"   am_compiler_list=
 20388 
 20389 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 20390 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 20391 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 20392   echo $ECHO_N "(cached) $ECHO_C" >&6
 20393 else
 20394   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 20395   # We make a subdir and do the tests there.  Otherwise we can end up
 20396   # making bogus files that we don't know about and never remove.  For
 20397   # instance it was reported that on HP-UX the gcc test will end up
 20398   # making a dummy file named `D' -- because `-MD' means `put the output
 20399   # in D'.
 20400   mkdir conftest.dir
 20401   # Copy depcomp to subdir because otherwise we won't find it if we're
 20402   # using a relative directory.
 20403   cp "$am_depcomp" conftest.dir
 20404   cd conftest.dir
 20405   # We will build objects and dependencies in a subdirectory because
 20406   # it helps to detect inapplicable dependency modes.  For instance
 20407   # both Tru64's cc and ICC support -MD to output dependencies as a
 20408   # side effect of compilation, but ICC will put the dependencies in
 20409   # the current directory while Tru64 will put them in the object
 20410   # directory.
 20411   mkdir sub
 20412 
 20413   am_cv_CC_dependencies_compiler_type=none
 20414   if test "$am_compiler_list" = ""; then
 20415      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 20416   fi
 20417   for depmode in $am_compiler_list; do
 20418     # Setup a source with many dependencies, because some compilers
 20419     # like to wrap large dependency lists on column 80 (with \), and
 20420     # we should not choose a depcomp mode which is confused by this.
 20421     #
 20422     # We need to recreate these files for each test, as the compiler may
 20423     # overwrite some of them when testing with obscure command lines.
 20424     # This happens at least with the AIX C compiler.
 20425     : > sub/conftest.c
 20426     for i in 1 2 3 4 5 6; do
 20427       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 20428       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 20429       # Solaris 8's {/usr,}/bin/sh.
 20430       touch sub/conftst$i.h
 20431     done
 20432     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 20433 
 20434     case $depmode in
 20435     nosideeffect)
 20436       # after this tag, mechanisms are not by side-effect, so they'll
 20437       # only be used when explicitly requested
 20438       if test "x$enable_dependency_tracking" = xyes; then
 20439 	continue
 20440       else
 20441 	break
 20442       fi
 20443       ;;
 20444     none) break ;;
 20445     esac
 20446     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 20447     # mode.  It turns out that the SunPro C++ compiler does not properly
 20448     # handle `-M -o', and we need to detect this.
 20449     if depmode=$depmode \
 20450        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 20451        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 20452        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 20453          >/dev/null 2>conftest.err &&
 20454        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 20455        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 20456        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 20457       # icc doesn't choke on unknown options, it will just issue warnings
 20458       # or remarks (even with -Werror).  So we grep stderr for any message
 20459       # that says an option was ignored or not supported.
 20460       # When given -MP, icc 7.0 and 7.1 complain thusly:
 20461       #   icc: Command line warning: ignoring option '-M'; no argument required
 20462       # The diagnosis changed in icc 8.0:
 20463       #   icc: Command line remark: option '-MP' not supported
 20464       if (grep 'ignoring option' conftest.err ||
 20465           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 20466         am_cv_CC_dependencies_compiler_type=$depmode
 20467         break
 20468       fi
 20469     fi
 20470   done
 20471 
 20472   cd ..
 20473   rm -rf conftest.dir
 20474 else
 20475   am_cv_CC_dependencies_compiler_type=none
 20476 fi
 20477 
 20478 fi
 20479 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 20480 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 20481 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 20482 
 20483 
 20484 
 20485 if
 20486   test "x$enable_dependency_tracking" != xno \
 20487   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 20488   am__fastdepCC_TRUE=
 20489   am__fastdepCC_FALSE='#'
 20490 else
 20491   am__fastdepCC_TRUE='#'
 20492   am__fastdepCC_FALSE=
 20493 fi
 20494 
 20495 
 20496 
 20497 # By default we simply use the C compiler to build assembly code.
 20498 
 20499 test "${CCAS+set}" = set || CCAS=$CC
 20500 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 20501 
 20502 
 20503 
 20504 
 20505 
 20506   echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
 20507 echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
 20508 
 20509   save_CFLAGS="$CFLAGS"
 20510   CFLAGS="$CFLAGS -Wall"
 20511 
 20512   cat >conftest.$ac_ext <<_ACEOF
 20513 /* confdefs.h.  */
 20514 _ACEOF
 20515 cat confdefs.h >>conftest.$ac_ext
 20516 cat >>conftest.$ac_ext <<_ACEOF
 20517 /* end confdefs.h.  */
 20518 
 20519 int
 20520 main ()
 20521 {
 20522 
 20523   ;
 20524   return 0;
 20525 }
 20526 _ACEOF
 20527 rm -f conftest.$ac_objext
 20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20529   (eval $ac_compile) 2>conftest.er1
 20530   ac_status=$?
 20531   grep -v '^ *+' conftest.er1 >conftest.err
 20532   rm -f conftest.er1
 20533   cat conftest.err >&5
 20534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20535   (exit $ac_status); } &&
 20536 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20538   (eval $ac_try) 2>&5
 20539   ac_status=$?
 20540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20541   (exit $ac_status); }; } &&
 20542 	 { ac_try='test -s conftest.$ac_objext'
 20543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20544   (eval $ac_try) 2>&5
 20545   ac_status=$?
 20546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20547   (exit $ac_status); }; }; then
 20548   flag_ok=yes
 20549 else
 20550   echo "$as_me: failed program was:" >&5
 20551 sed 's/^/| /' conftest.$ac_ext >&5
 20552 
 20553 flag_ok=no
 20554 fi
 20555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20556   CFLAGS="$save_CFLAGS"
 20557 
 20558   if test "X$flag_ok" = Xyes ; then
 20559     GST_WALL="yes"
 20560     true
 20561   else
 20562     GST_WALL="no"
 20563     true
 20564   fi
 20565   echo "$as_me:$LINENO: result: $flag_ok" >&5
 20566 echo "${ECHO_T}$flag_ok" >&6
 20567 
 20568 
 20569 if test "x$GST_WALL" = "xyes"; then
 20570   ERROR_CFLAGS="$GST_ERROR -Wall"
 20571 
 20572   if test "x$GST_CVS" = "xyes"; then
 20573 
 20574   echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
 20575 echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
 20576 
 20577   save_CFLAGS="$CFLAGS"
 20578   CFLAGS="$CFLAGS -Werror"
 20579 
 20580   cat >conftest.$ac_ext <<_ACEOF
 20581 /* confdefs.h.  */
 20582 _ACEOF
 20583 cat confdefs.h >>conftest.$ac_ext
 20584 cat >>conftest.$ac_ext <<_ACEOF
 20585 /* end confdefs.h.  */
 20586 
 20587 int
 20588 main ()
 20589 {
 20590 
 20591   ;
 20592   return 0;
 20593 }
 20594 _ACEOF
 20595 rm -f conftest.$ac_objext
 20596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20597   (eval $ac_compile) 2>conftest.er1
 20598   ac_status=$?
 20599   grep -v '^ *+' conftest.er1 >conftest.err
 20600   rm -f conftest.er1
 20601   cat conftest.err >&5
 20602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20603   (exit $ac_status); } &&
 20604 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 20605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20606   (eval $ac_try) 2>&5
 20607   ac_status=$?
 20608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20609   (exit $ac_status); }; } &&
 20610 	 { ac_try='test -s conftest.$ac_objext'
 20611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20612   (eval $ac_try) 2>&5
 20613   ac_status=$?
 20614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20615   (exit $ac_status); }; }; then
 20616   flag_ok=yes
 20617 else
 20618   echo "$as_me: failed program was:" >&5
 20619 sed 's/^/| /' conftest.$ac_ext >&5
 20620 
 20621 flag_ok=no
 20622 fi
 20623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20624   CFLAGS="$save_CFLAGS"
 20625 
 20626   if test "X$flag_ok" = Xyes ; then
 20627     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
 20628     true
 20629   else
 20630     ERROR_CFLAGS="$ERROR_CFLAGS"
 20631     true
 20632   fi
 20633   echo "$as_me:$LINENO: result: $flag_ok" >&5
 20634 echo "${ECHO_T}$flag_ok" >&6
 20635 
 20636   fi
 20637 fi
 20638 
 20639 
 20640 
 20641 ac_ext=cc
 20642 ac_cpp='$CXXCPP $CPPFLAGS'
 20643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 20646 if test -n "$ac_tool_prefix"; then
 20647   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 20648   do
 20649     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 20650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 20651 echo "$as_me:$LINENO: checking for $ac_word" >&5
 20652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 20653 if test "${ac_cv_prog_CXX+set}" = set; then
 20654   echo $ECHO_N "(cached) $ECHO_C" >&6
 20655 else
 20656   if test -n "$CXX"; then
 20657   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 20658 else
 20659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 20660 for as_dir in $PATH
 20661 do
 20662   IFS=$as_save_IFS
 20663   test -z "$as_dir" && as_dir=.
 20664   for ac_exec_ext in '' $ac_executable_extensions; do
 20665   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 20666     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 20667     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 20668     break 2
 20669   fi
 20670 done
 20671 done
 20672 
 20673 fi
 20674 fi
 20675 CXX=$ac_cv_prog_CXX
 20676 if test -n "$CXX"; then
 20677   echo "$as_me:$LINENO: result: $CXX" >&5
 20678 echo "${ECHO_T}$CXX" >&6
 20679 else
 20680   echo "$as_me:$LINENO: result: no" >&5
 20681 echo "${ECHO_T}no" >&6
 20682 fi
 20683 
 20684     test -n "$CXX" && break
 20685   done
 20686 fi
 20687 if test -z "$CXX"; then
 20688   ac_ct_CXX=$CXX
 20689   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 20690 do
 20691   # Extract the first word of "$ac_prog", so it can be a program name with args.
 20692 set dummy $ac_prog; ac_word=$2
 20693 echo "$as_me:$LINENO: checking for $ac_word" >&5
 20694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 20695 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 20696   echo $ECHO_N "(cached) $ECHO_C" >&6
 20697 else
 20698   if test -n "$ac_ct_CXX"; then
 20699   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 20700 else
 20701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 20702 for as_dir in $PATH
 20703 do
 20704   IFS=$as_save_IFS
 20705   test -z "$as_dir" && as_dir=.
 20706   for ac_exec_ext in '' $ac_executable_extensions; do
 20707   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 20708     ac_cv_prog_ac_ct_CXX="$ac_prog"
 20709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 20710     break 2
 20711   fi
 20712 done
 20713 done
 20714 
 20715 fi
 20716 fi
 20717 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 20718 if test -n "$ac_ct_CXX"; then
 20719   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 20720 echo "${ECHO_T}$ac_ct_CXX" >&6
 20721 else
 20722   echo "$as_me:$LINENO: result: no" >&5
 20723 echo "${ECHO_T}no" >&6
 20724 fi
 20725 
 20726   test -n "$ac_ct_CXX" && break
 20727 done
 20728 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 20729 
 20730   CXX=$ac_ct_CXX
 20731 fi
 20732 
 20733 
 20734 # Provide some information about the compiler.
 20735 echo "$as_me:$LINENO:" \
 20736      "checking for C++ compiler version" >&5
 20737 ac_compiler=`set X $ac_compile; echo $2`
 20738 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 20739   (eval $ac_compiler --version </dev/null >&5) 2>&5
 20740   ac_status=$?
 20741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20742   (exit $ac_status); }
 20743 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 20744   (eval $ac_compiler -v </dev/null >&5) 2>&5
 20745   ac_status=$?
 20746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20747   (exit $ac_status); }
 20748 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 20749   (eval $ac_compiler -V </dev/null >&5) 2>&5
 20750   ac_status=$?
 20751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20752   (exit $ac_status); }
 20753 
 20754 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 20755 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 20756 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 20757   echo $ECHO_N "(cached) $ECHO_C" >&6
 20758 else
 20759   cat >conftest.$ac_ext <<_ACEOF
 20760 /* confdefs.h.  */
 20761 _ACEOF
 20762 cat confdefs.h >>conftest.$ac_ext
 20763 cat >>conftest.$ac_ext <<_ACEOF
 20764 /* end confdefs.h.  */
 20765 
 20766 int
 20767 main ()
 20768 {
 20769 #ifndef __GNUC__
 20770        choke me
 20771 #endif
 20772 
 20773   ;
 20774   return 0;
 20775 }
 20776 _ACEOF
 20777 rm -f conftest.$ac_objext
 20778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20779   (eval $ac_compile) 2>conftest.er1
 20780   ac_status=$?
 20781   grep -v '^ *+' conftest.er1 >conftest.err
 20782   rm -f conftest.er1
 20783   cat conftest.err >&5
 20784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20785   (exit $ac_status); } &&
 20786 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20788   (eval $ac_try) 2>&5
 20789   ac_status=$?
 20790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20791   (exit $ac_status); }; } &&
 20792 	 { ac_try='test -s conftest.$ac_objext'
 20793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20794   (eval $ac_try) 2>&5
 20795   ac_status=$?
 20796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20797   (exit $ac_status); }; }; then
 20798   ac_compiler_gnu=yes
 20799 else
 20800   echo "$as_me: failed program was:" >&5
 20801 sed 's/^/| /' conftest.$ac_ext >&5
 20802 
 20803 ac_compiler_gnu=no
 20804 fi
 20805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20806 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 20807 
 20808 fi
 20809 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 20810 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 20811 GXX=`test $ac_compiler_gnu = yes && echo yes`
 20812 ac_test_CXXFLAGS=${CXXFLAGS+set}
 20813 ac_save_CXXFLAGS=$CXXFLAGS
 20814 CXXFLAGS="-g"
 20815 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 20816 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 20817 if test "${ac_cv_prog_cxx_g+set}" = set; then
 20818   echo $ECHO_N "(cached) $ECHO_C" >&6
 20819 else
 20820   cat >conftest.$ac_ext <<_ACEOF
 20821 /* confdefs.h.  */
 20822 _ACEOF
 20823 cat confdefs.h >>conftest.$ac_ext
 20824 cat >>conftest.$ac_ext <<_ACEOF
 20825 /* end confdefs.h.  */
 20826 
 20827 int
 20828 main ()
 20829 {
 20830 
 20831   ;
 20832   return 0;
 20833 }
 20834 _ACEOF
 20835 rm -f conftest.$ac_objext
 20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20837   (eval $ac_compile) 2>conftest.er1
 20838   ac_status=$?
 20839   grep -v '^ *+' conftest.er1 >conftest.err
 20840   rm -f conftest.er1
 20841   cat conftest.err >&5
 20842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20843   (exit $ac_status); } &&
 20844 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20846   (eval $ac_try) 2>&5
 20847   ac_status=$?
 20848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20849   (exit $ac_status); }; } &&
 20850 	 { ac_try='test -s conftest.$ac_objext'
 20851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20852   (eval $ac_try) 2>&5
 20853   ac_status=$?
 20854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20855   (exit $ac_status); }; }; then
 20856   ac_cv_prog_cxx_g=yes
 20857 else
 20858   echo "$as_me: failed program was:" >&5
 20859 sed 's/^/| /' conftest.$ac_ext >&5
 20860 
 20861 ac_cv_prog_cxx_g=no
 20862 fi
 20863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20864 fi
 20865 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 20866 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 20867 if test "$ac_test_CXXFLAGS" = set; then
 20868   CXXFLAGS=$ac_save_CXXFLAGS
 20869 elif test $ac_cv_prog_cxx_g = yes; then
 20870   if test "$GXX" = yes; then
 20871     CXXFLAGS="-g -O2"
 20872   else
 20873     CXXFLAGS="-g"
 20874   fi
 20875 else
 20876   if test "$GXX" = yes; then
 20877     CXXFLAGS="-O2"
 20878   else
 20879     CXXFLAGS=
 20880   fi
 20881 fi
 20882 for ac_declaration in \
 20883    '' \
 20884    'extern "C" void std::exit (int) throw (); using std::exit;' \
 20885    'extern "C" void std::exit (int); using std::exit;' \
 20886    'extern "C" void exit (int) throw ();' \
 20887    'extern "C" void exit (int);' \
 20888    'void exit (int);'
 20889 do
 20890   cat >conftest.$ac_ext <<_ACEOF
 20891 /* confdefs.h.  */
 20892 _ACEOF
 20893 cat confdefs.h >>conftest.$ac_ext
 20894 cat >>conftest.$ac_ext <<_ACEOF
 20895 /* end confdefs.h.  */
 20896 $ac_declaration
 20897 #include <stdlib.h>
 20898 int
 20899 main ()
 20900 {
 20901 exit (42);
 20902   ;
 20903   return 0;
 20904 }
 20905 _ACEOF
 20906 rm -f conftest.$ac_objext
 20907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20908   (eval $ac_compile) 2>conftest.er1
 20909   ac_status=$?
 20910   grep -v '^ *+' conftest.er1 >conftest.err
 20911   rm -f conftest.er1
 20912   cat conftest.err >&5
 20913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20914   (exit $ac_status); } &&
 20915 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20917   (eval $ac_try) 2>&5
 20918   ac_status=$?
 20919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20920   (exit $ac_status); }; } &&
 20921 	 { ac_try='test -s conftest.$ac_objext'
 20922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20923   (eval $ac_try) 2>&5
 20924   ac_status=$?
 20925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20926   (exit $ac_status); }; }; then
 20927   :
 20928 else
 20929   echo "$as_me: failed program was:" >&5
 20930 sed 's/^/| /' conftest.$ac_ext >&5
 20931 
 20932 continue
 20933 fi
 20934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20935   cat >conftest.$ac_ext <<_ACEOF
 20936 /* confdefs.h.  */
 20937 _ACEOF
 20938 cat confdefs.h >>conftest.$ac_ext
 20939 cat >>conftest.$ac_ext <<_ACEOF
 20940 /* end confdefs.h.  */
 20941 $ac_declaration
 20942 int
 20943 main ()
 20944 {
 20945 exit (42);
 20946   ;
 20947   return 0;
 20948 }
 20949 _ACEOF
 20950 rm -f conftest.$ac_objext
 20951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 20952   (eval $ac_compile) 2>conftest.er1
 20953   ac_status=$?
 20954   grep -v '^ *+' conftest.er1 >conftest.err
 20955   rm -f conftest.er1
 20956   cat conftest.err >&5
 20957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20958   (exit $ac_status); } &&
 20959 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 20960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20961   (eval $ac_try) 2>&5
 20962   ac_status=$?
 20963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20964   (exit $ac_status); }; } &&
 20965 	 { ac_try='test -s conftest.$ac_objext'
 20966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 20967   (eval $ac_try) 2>&5
 20968   ac_status=$?
 20969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20970   (exit $ac_status); }; }; then
 20971   break
 20972 else
 20973   echo "$as_me: failed program was:" >&5
 20974 sed 's/^/| /' conftest.$ac_ext >&5
 20975 
 20976 fi
 20977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 20978 done
 20979 rm -f conftest*
 20980 if test -n "$ac_declaration"; then
 20981   echo '#ifdef __cplusplus' >>confdefs.h
 20982   echo $ac_declaration      >>confdefs.h
 20983   echo '#endif'             >>confdefs.h
 20984 fi
 20985 
 20986 ac_ext=c
 20987 ac_cpp='$CPP $CPPFLAGS'
 20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 20991 
 20992 depcc="$CXX"  am_compiler_list=
 20993 
 20994 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 20995 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 20996 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 20997   echo $ECHO_N "(cached) $ECHO_C" >&6
 20998 else
 20999   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 21000   # We make a subdir and do the tests there.  Otherwise we can end up
 21001   # making bogus files that we don't know about and never remove.  For
 21002   # instance it was reported that on HP-UX the gcc test will end up
 21003   # making a dummy file named `D' -- because `-MD' means `put the output
 21004   # in D'.
 21005   mkdir conftest.dir
 21006   # Copy depcomp to subdir because otherwise we won't find it if we're
 21007   # using a relative directory.
 21008   cp "$am_depcomp" conftest.dir
 21009   cd conftest.dir
 21010   # We will build objects and dependencies in a subdirectory because
 21011   # it helps to detect inapplicable dependency modes.  For instance
 21012   # both Tru64's cc and ICC support -MD to output dependencies as a
 21013   # side effect of compilation, but ICC will put the dependencies in
 21014   # the current directory while Tru64 will put them in the object
 21015   # directory.
 21016   mkdir sub
 21017 
 21018   am_cv_CXX_dependencies_compiler_type=none
 21019   if test "$am_compiler_list" = ""; then
 21020      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 21021   fi
 21022   for depmode in $am_compiler_list; do
 21023     # Setup a source with many dependencies, because some compilers
 21024     # like to wrap large dependency lists on column 80 (with \), and
 21025     # we should not choose a depcomp mode which is confused by this.
 21026     #
 21027     # We need to recreate these files for each test, as the compiler may
 21028     # overwrite some of them when testing with obscure command lines.
 21029     # This happens at least with the AIX C compiler.
 21030     : > sub/conftest.c
 21031     for i in 1 2 3 4 5 6; do
 21032       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 21033       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 21034       # Solaris 8's {/usr,}/bin/sh.
 21035       touch sub/conftst$i.h
 21036     done
 21037     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 21038 
 21039     case $depmode in
 21040     nosideeffect)
 21041       # after this tag, mechanisms are not by side-effect, so they'll
 21042       # only be used when explicitly requested
 21043       if test "x$enable_dependency_tracking" = xyes; then
 21044 	continue
 21045       else
 21046 	break
 21047       fi
 21048       ;;
 21049     none) break ;;
 21050     esac
 21051     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 21052     # mode.  It turns out that the SunPro C++ compiler does not properly
 21053     # handle `-M -o', and we need to detect this.
 21054     if depmode=$depmode \
 21055        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 21056        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 21057        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 21058          >/dev/null 2>conftest.err &&
 21059        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 21060        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 21061        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 21062       # icc doesn't choke on unknown options, it will just issue warnings
 21063       # or remarks (even with -Werror).  So we grep stderr for any message
 21064       # that says an option was ignored or not supported.
 21065       # When given -MP, icc 7.0 and 7.1 complain thusly:
 21066       #   icc: Command line warning: ignoring option '-M'; no argument required
 21067       # The diagnosis changed in icc 8.0:
 21068       #   icc: Command line remark: option '-MP' not supported
 21069       if (grep 'ignoring option' conftest.err ||
 21070           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 21071         am_cv_CXX_dependencies_compiler_type=$depmode
 21072         break
 21073       fi
 21074     fi
 21075   done
 21076 
 21077   cd ..
 21078   rm -rf conftest.dir
 21079 else
 21080   am_cv_CXX_dependencies_compiler_type=none
 21081 fi
 21082 
 21083 fi
 21084 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 21085 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 21086 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 21087 
 21088 
 21089 
 21090 if
 21091   test "x$enable_dependency_tracking" != xno \
 21092   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 21093   am__fastdepCXX_TRUE=
 21094   am__fastdepCXX_FALSE='#'
 21095 else
 21096   am__fastdepCXX_TRUE='#'
 21097   am__fastdepCXX_FALSE=
 21098 fi
 21099 
 21100 
 21101 # Extract the first word of "$CXX", so it can be a program name with args.
 21102 set dummy $CXX; ac_word=$2
 21103 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21105 if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
 21106   echo $ECHO_N "(cached) $ECHO_C" >&6
 21107 else
 21108   if test -n "$HAVE_CXX"; then
 21109   ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
 21110 else
 21111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21112 for as_dir in $PATH
 21113 do
 21114   IFS=$as_save_IFS
 21115   test -z "$as_dir" && as_dir=.
 21116   for ac_exec_ext in '' $ac_executable_extensions; do
 21117   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21118     ac_cv_prog_HAVE_CXX="yes"
 21119     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21120     break 2
 21121   fi
 21122 done
 21123 done
 21124 
 21125   test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
 21126 fi
 21127 fi
 21128 HAVE_CXX=$ac_cv_prog_HAVE_CXX
 21129 if test -n "$HAVE_CXX"; then
 21130   echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
 21131 echo "${ECHO_T}$HAVE_CXX" >&6
 21132 else
 21133   echo "$as_me:$LINENO: result: no" >&5
 21134 echo "${ECHO_T}no" >&6
 21135 fi
 21136 
 21137 ac_ext=cc
 21138 ac_cpp='$CXXCPP $CPPFLAGS'
 21139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 21142 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 21143 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 21144 if test -z "$CXXCPP"; then
 21145   if test "${ac_cv_prog_CXXCPP+set}" = set; then
 21146   echo $ECHO_N "(cached) $ECHO_C" >&6
 21147 else
 21148       # Double quotes because CXXCPP needs to be expanded
 21149     for CXXCPP in "$CXX -E" "/lib/cpp"
 21150     do
 21151       ac_preproc_ok=false
 21152 for ac_cxx_preproc_warn_flag in '' yes
 21153 do
 21154   # Use a header file that comes with gcc, so configuring glibc
 21155   # with a fresh cross-compiler works.
 21156   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 21157   # <limits.h> exists even on freestanding compilers.
 21158   # On the NeXT, cc -E runs the code through the compiler's parser,
 21159   # not just through cpp. "Syntax error" is here to catch this case.
 21160   cat >conftest.$ac_ext <<_ACEOF
 21161 /* confdefs.h.  */
 21162 _ACEOF
 21163 cat confdefs.h >>conftest.$ac_ext
 21164 cat >>conftest.$ac_ext <<_ACEOF
 21165 /* end confdefs.h.  */
 21166 #ifdef __STDC__
 21167 # include <limits.h>
 21168 #else
 21169 # include <assert.h>
 21170 #endif
 21171 		     Syntax error
 21172 _ACEOF
 21173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21174   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21175   ac_status=$?
 21176   grep -v '^ *+' conftest.er1 >conftest.err
 21177   rm -f conftest.er1
 21178   cat conftest.err >&5
 21179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21180   (exit $ac_status); } >/dev/null; then
 21181   if test -s conftest.err; then
 21182     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21183     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21184   else
 21185     ac_cpp_err=
 21186   fi
 21187 else
 21188   ac_cpp_err=yes
 21189 fi
 21190 if test -z "$ac_cpp_err"; then
 21191   :
 21192 else
 21193   echo "$as_me: failed program was:" >&5
 21194 sed 's/^/| /' conftest.$ac_ext >&5
 21195 
 21196   # Broken: fails on valid input.
 21197 continue
 21198 fi
 21199 rm -f conftest.err conftest.$ac_ext
 21200 
 21201   # OK, works on sane cases.  Now check whether non-existent headers
 21202   # can be detected and how.
 21203   cat >conftest.$ac_ext <<_ACEOF
 21204 /* confdefs.h.  */
 21205 _ACEOF
 21206 cat confdefs.h >>conftest.$ac_ext
 21207 cat >>conftest.$ac_ext <<_ACEOF
 21208 /* end confdefs.h.  */
 21209 #include <ac_nonexistent.h>
 21210 _ACEOF
 21211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21212   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21213   ac_status=$?
 21214   grep -v '^ *+' conftest.er1 >conftest.err
 21215   rm -f conftest.er1
 21216   cat conftest.err >&5
 21217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21218   (exit $ac_status); } >/dev/null; then
 21219   if test -s conftest.err; then
 21220     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21221     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21222   else
 21223     ac_cpp_err=
 21224   fi
 21225 else
 21226   ac_cpp_err=yes
 21227 fi
 21228 if test -z "$ac_cpp_err"; then
 21229   # Broken: success on invalid input.
 21230 continue
 21231 else
 21232   echo "$as_me: failed program was:" >&5
 21233 sed 's/^/| /' conftest.$ac_ext >&5
 21234 
 21235   # Passes both tests.
 21236 ac_preproc_ok=:
 21237 break
 21238 fi
 21239 rm -f conftest.err conftest.$ac_ext
 21240 
 21241 done
 21242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 21243 rm -f conftest.err conftest.$ac_ext
 21244 if $ac_preproc_ok; then
 21245   break
 21246 fi
 21247 
 21248     done
 21249     ac_cv_prog_CXXCPP=$CXXCPP
 21250 
 21251 fi
 21252   CXXCPP=$ac_cv_prog_CXXCPP
 21253 else
 21254   ac_cv_prog_CXXCPP=$CXXCPP
 21255 fi
 21256 echo "$as_me:$LINENO: result: $CXXCPP" >&5
 21257 echo "${ECHO_T}$CXXCPP" >&6
 21258 ac_preproc_ok=false
 21259 for ac_cxx_preproc_warn_flag in '' yes
 21260 do
 21261   # Use a header file that comes with gcc, so configuring glibc
 21262   # with a fresh cross-compiler works.
 21263   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 21264   # <limits.h> exists even on freestanding compilers.
 21265   # On the NeXT, cc -E runs the code through the compiler's parser,
 21266   # not just through cpp. "Syntax error" is here to catch this case.
 21267   cat >conftest.$ac_ext <<_ACEOF
 21268 /* confdefs.h.  */
 21269 _ACEOF
 21270 cat confdefs.h >>conftest.$ac_ext
 21271 cat >>conftest.$ac_ext <<_ACEOF
 21272 /* end confdefs.h.  */
 21273 #ifdef __STDC__
 21274 # include <limits.h>
 21275 #else
 21276 # include <assert.h>
 21277 #endif
 21278 		     Syntax error
 21279 _ACEOF
 21280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21281   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21282   ac_status=$?
 21283   grep -v '^ *+' conftest.er1 >conftest.err
 21284   rm -f conftest.er1
 21285   cat conftest.err >&5
 21286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21287   (exit $ac_status); } >/dev/null; then
 21288   if test -s conftest.err; then
 21289     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21290     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21291   else
 21292     ac_cpp_err=
 21293   fi
 21294 else
 21295   ac_cpp_err=yes
 21296 fi
 21297 if test -z "$ac_cpp_err"; then
 21298   :
 21299 else
 21300   echo "$as_me: failed program was:" >&5
 21301 sed 's/^/| /' conftest.$ac_ext >&5
 21302 
 21303   # Broken: fails on valid input.
 21304 continue
 21305 fi
 21306 rm -f conftest.err conftest.$ac_ext
 21307 
 21308   # OK, works on sane cases.  Now check whether non-existent headers
 21309   # can be detected and how.
 21310   cat >conftest.$ac_ext <<_ACEOF
 21311 /* confdefs.h.  */
 21312 _ACEOF
 21313 cat confdefs.h >>conftest.$ac_ext
 21314 cat >>conftest.$ac_ext <<_ACEOF
 21315 /* end confdefs.h.  */
 21316 #include <ac_nonexistent.h>
 21317 _ACEOF
 21318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 21319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 21320   ac_status=$?
 21321   grep -v '^ *+' conftest.er1 >conftest.err
 21322   rm -f conftest.er1
 21323   cat conftest.err >&5
 21324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21325   (exit $ac_status); } >/dev/null; then
 21326   if test -s conftest.err; then
 21327     ac_cpp_err=$ac_cxx_preproc_warn_flag
 21328     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 21329   else
 21330     ac_cpp_err=
 21331   fi
 21332 else
 21333   ac_cpp_err=yes
 21334 fi
 21335 if test -z "$ac_cpp_err"; then
 21336   # Broken: success on invalid input.
 21337 continue
 21338 else
 21339   echo "$as_me: failed program was:" >&5
 21340 sed 's/^/| /' conftest.$ac_ext >&5
 21341 
 21342   # Passes both tests.
 21343 ac_preproc_ok=:
 21344 break
 21345 fi
 21346 rm -f conftest.err conftest.$ac_ext
 21347 
 21348 done
 21349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 21350 rm -f conftest.err conftest.$ac_ext
 21351 if $ac_preproc_ok; then
 21352   :
 21353 else
 21354   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 21355 See \`config.log' for more details." >&5
 21356 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 21357 See \`config.log' for more details." >&2;}
 21358    { (exit 1); exit 1; }; }
 21359 fi
 21360 
 21361 ac_ext=c
 21362 ac_cpp='$CPP $CPPFLAGS'
 21363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 21366 
 21367 echo "$as_me:$LINENO: checking for library containing strerror" >&5
 21368 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 21369 if test "${ac_cv_search_strerror+set}" = set; then
 21370   echo $ECHO_N "(cached) $ECHO_C" >&6
 21371 else
 21372   ac_func_search_save_LIBS=$LIBS
 21373 ac_cv_search_strerror=no
 21374 cat >conftest.$ac_ext <<_ACEOF
 21375 /* confdefs.h.  */
 21376 _ACEOF
 21377 cat confdefs.h >>conftest.$ac_ext
 21378 cat >>conftest.$ac_ext <<_ACEOF
 21379 /* end confdefs.h.  */
 21380 
 21381 /* Override any gcc2 internal prototype to avoid an error.  */
 21382 #ifdef __cplusplus
 21383 extern "C"
 21384 #endif
 21385 /* We use char because int might match the return type of a gcc2
 21386    builtin and then its argument prototype would still apply.  */
 21387 char strerror ();
 21388 int
 21389 main ()
 21390 {
 21391 strerror ();
 21392   ;
 21393   return 0;
 21394 }
 21395 _ACEOF
 21396 rm -f conftest.$ac_objext conftest$ac_exeext
 21397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 21398   (eval $ac_link) 2>conftest.er1
 21399   ac_status=$?
 21400   grep -v '^ *+' conftest.er1 >conftest.err
 21401   rm -f conftest.er1
 21402   cat conftest.err >&5
 21403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21404   (exit $ac_status); } &&
 21405 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21407   (eval $ac_try) 2>&5
 21408   ac_status=$?
 21409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21410   (exit $ac_status); }; } &&
 21411 	 { ac_try='test -s conftest$ac_exeext'
 21412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21413   (eval $ac_try) 2>&5
 21414   ac_status=$?
 21415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21416   (exit $ac_status); }; }; then
 21417   ac_cv_search_strerror="none required"
 21418 else
 21419   echo "$as_me: failed program was:" >&5
 21420 sed 's/^/| /' conftest.$ac_ext >&5
 21421 
 21422 fi
 21423 rm -f conftest.err conftest.$ac_objext \
 21424       conftest$ac_exeext conftest.$ac_ext
 21425 if test "$ac_cv_search_strerror" = no; then
 21426   for ac_lib in cposix; do
 21427     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 21428     cat >conftest.$ac_ext <<_ACEOF
 21429 /* confdefs.h.  */
 21430 _ACEOF
 21431 cat confdefs.h >>conftest.$ac_ext
 21432 cat >>conftest.$ac_ext <<_ACEOF
 21433 /* end confdefs.h.  */
 21434 
 21435 /* Override any gcc2 internal prototype to avoid an error.  */
 21436 #ifdef __cplusplus
 21437 extern "C"
 21438 #endif
 21439 /* We use char because int might match the return type of a gcc2
 21440    builtin and then its argument prototype would still apply.  */
 21441 char strerror ();
 21442 int
 21443 main ()
 21444 {
 21445 strerror ();
 21446   ;
 21447   return 0;
 21448 }
 21449 _ACEOF
 21450 rm -f conftest.$ac_objext conftest$ac_exeext
 21451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 21452   (eval $ac_link) 2>conftest.er1
 21453   ac_status=$?
 21454   grep -v '^ *+' conftest.er1 >conftest.err
 21455   rm -f conftest.er1
 21456   cat conftest.err >&5
 21457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21458   (exit $ac_status); } &&
 21459 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21461   (eval $ac_try) 2>&5
 21462   ac_status=$?
 21463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21464   (exit $ac_status); }; } &&
 21465 	 { ac_try='test -s conftest$ac_exeext'
 21466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21467   (eval $ac_try) 2>&5
 21468   ac_status=$?
 21469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21470   (exit $ac_status); }; }; then
 21471   ac_cv_search_strerror="-l$ac_lib"
 21472 break
 21473 else
 21474   echo "$as_me: failed program was:" >&5
 21475 sed 's/^/| /' conftest.$ac_ext >&5
 21476 
 21477 fi
 21478 rm -f conftest.err conftest.$ac_objext \
 21479       conftest$ac_exeext conftest.$ac_ext
 21480   done
 21481 fi
 21482 LIBS=$ac_func_search_save_LIBS
 21483 fi
 21484 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 21485 echo "${ECHO_T}$ac_cv_search_strerror" >&6
 21486 if test "$ac_cv_search_strerror" != no; then
 21487   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 21488 
 21489 fi
 21490 
 21491 
 21492 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 21493 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 21494 if test "${ac_cv_header_stdc+set}" = set; then
 21495   echo $ECHO_N "(cached) $ECHO_C" >&6
 21496 else
 21497   cat >conftest.$ac_ext <<_ACEOF
 21498 /* confdefs.h.  */
 21499 _ACEOF
 21500 cat confdefs.h >>conftest.$ac_ext
 21501 cat >>conftest.$ac_ext <<_ACEOF
 21502 /* end confdefs.h.  */
 21503 #include <stdlib.h>
 21504 #include <stdarg.h>
 21505 #include <string.h>
 21506 #include <float.h>
 21507 
 21508 int
 21509 main ()
 21510 {
 21511 
 21512   ;
 21513   return 0;
 21514 }
 21515 _ACEOF
 21516 rm -f conftest.$ac_objext
 21517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 21518   (eval $ac_compile) 2>conftest.er1
 21519   ac_status=$?
 21520   grep -v '^ *+' conftest.er1 >conftest.err
 21521   rm -f conftest.er1
 21522   cat conftest.err >&5
 21523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21524   (exit $ac_status); } &&
 21525 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21527   (eval $ac_try) 2>&5
 21528   ac_status=$?
 21529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21530   (exit $ac_status); }; } &&
 21531 	 { ac_try='test -s conftest.$ac_objext'
 21532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21533   (eval $ac_try) 2>&5
 21534   ac_status=$?
 21535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21536   (exit $ac_status); }; }; then
 21537   ac_cv_header_stdc=yes
 21538 else
 21539   echo "$as_me: failed program was:" >&5
 21540 sed 's/^/| /' conftest.$ac_ext >&5
 21541 
 21542 ac_cv_header_stdc=no
 21543 fi
 21544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 21545 
 21546 if test $ac_cv_header_stdc = yes; then
 21547   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 21548   cat >conftest.$ac_ext <<_ACEOF
 21549 /* confdefs.h.  */
 21550 _ACEOF
 21551 cat confdefs.h >>conftest.$ac_ext
 21552 cat >>conftest.$ac_ext <<_ACEOF
 21553 /* end confdefs.h.  */
 21554 #include <string.h>
 21555 
 21556 _ACEOF
 21557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 21558   $EGREP "memchr" >/dev/null 2>&1; then
 21559   :
 21560 else
 21561   ac_cv_header_stdc=no
 21562 fi
 21563 rm -f conftest*
 21564 
 21565 fi
 21566 
 21567 if test $ac_cv_header_stdc = yes; then
 21568   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 21569   cat >conftest.$ac_ext <<_ACEOF
 21570 /* confdefs.h.  */
 21571 _ACEOF
 21572 cat confdefs.h >>conftest.$ac_ext
 21573 cat >>conftest.$ac_ext <<_ACEOF
 21574 /* end confdefs.h.  */
 21575 #include <stdlib.h>
 21576 
 21577 _ACEOF
 21578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 21579   $EGREP "free" >/dev/null 2>&1; then
 21580   :
 21581 else
 21582   ac_cv_header_stdc=no
 21583 fi
 21584 rm -f conftest*
 21585 
 21586 fi
 21587 
 21588 if test $ac_cv_header_stdc = yes; then
 21589   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 21590   if test "$cross_compiling" = yes; then
 21591   :
 21592 else
 21593   cat >conftest.$ac_ext <<_ACEOF
 21594 /* confdefs.h.  */
 21595 _ACEOF
 21596 cat confdefs.h >>conftest.$ac_ext
 21597 cat >>conftest.$ac_ext <<_ACEOF
 21598 /* end confdefs.h.  */
 21599 #include <ctype.h>
 21600 #if ((' ' & 0x0FF) == 0x020)
 21601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 21602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 21603 #else
 21604 # define ISLOWER(c) \
 21605 		   (('a' <= (c) && (c) <= 'i') \
 21606 		     || ('j' <= (c) && (c) <= 'r') \
 21607 		     || ('s' <= (c) && (c) <= 'z'))
 21608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 21609 #endif
 21610 
 21611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 21612 int
 21613 main ()
 21614 {
 21615   int i;
 21616   for (i = 0; i < 256; i++)
 21617     if (XOR (islower (i), ISLOWER (i))
 21618 	|| toupper (i) != TOUPPER (i))
 21619       exit(2);
 21620   exit (0);
 21621 }
 21622 _ACEOF
 21623 rm -f conftest$ac_exeext
 21624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 21625   (eval $ac_link) 2>&5
 21626   ac_status=$?
 21627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21628   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 21629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21630   (eval $ac_try) 2>&5
 21631   ac_status=$?
 21632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21633   (exit $ac_status); }; }; then
 21634   :
 21635 else
 21636   echo "$as_me: program exited with status $ac_status" >&5
 21637 echo "$as_me: failed program was:" >&5
 21638 sed 's/^/| /' conftest.$ac_ext >&5
 21639 
 21640 ( exit $ac_status )
 21641 ac_cv_header_stdc=no
 21642 fi
 21643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 21644 fi
 21645 fi
 21646 fi
 21647 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 21648 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 21649 if test $ac_cv_header_stdc = yes; then
 21650 
 21651 cat >>confdefs.h <<\_ACEOF
 21652 #define STDC_HEADERS 1
 21653 _ACEOF
 21654 
 21655 fi
 21656 
 21657 echo "$as_me:$LINENO: checking for inline" >&5
 21658 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 21659 if test "${ac_cv_c_inline+set}" = set; then
 21660   echo $ECHO_N "(cached) $ECHO_C" >&6
 21661 else
 21662   ac_cv_c_inline=no
 21663 for ac_kw in inline __inline__ __inline; do
 21664   cat >conftest.$ac_ext <<_ACEOF
 21665 /* confdefs.h.  */
 21666 _ACEOF
 21667 cat confdefs.h >>conftest.$ac_ext
 21668 cat >>conftest.$ac_ext <<_ACEOF
 21669 /* end confdefs.h.  */
 21670 #ifndef __cplusplus
 21671 typedef int foo_t;
 21672 static $ac_kw foo_t static_foo () {return 0; }
 21673 $ac_kw foo_t foo () {return 0; }
 21674 #endif
 21675 
 21676 _ACEOF
 21677 rm -f conftest.$ac_objext
 21678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 21679   (eval $ac_compile) 2>conftest.er1
 21680   ac_status=$?
 21681   grep -v '^ *+' conftest.er1 >conftest.err
 21682   rm -f conftest.er1
 21683   cat conftest.err >&5
 21684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21685   (exit $ac_status); } &&
 21686 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 21687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21688   (eval $ac_try) 2>&5
 21689   ac_status=$?
 21690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21691   (exit $ac_status); }; } &&
 21692 	 { ac_try='test -s conftest.$ac_objext'
 21693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 21694   (eval $ac_try) 2>&5
 21695   ac_status=$?
 21696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21697   (exit $ac_status); }; }; then
 21698   ac_cv_c_inline=$ac_kw; break
 21699 else
 21700   echo "$as_me: failed program was:" >&5
 21701 sed 's/^/| /' conftest.$ac_ext >&5
 21702 
 21703 fi
 21704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 21705 done
 21706 
 21707 fi
 21708 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 21709 echo "${ECHO_T}$ac_cv_c_inline" >&6
 21710 
 21711 
 21712 case $ac_cv_c_inline in
 21713   inline | yes) ;;
 21714   *)
 21715     case $ac_cv_c_inline in
 21716       no) ac_val=;;
 21717       *) ac_val=$ac_cv_c_inline;;
 21718     esac
 21719     cat >>confdefs.h <<_ACEOF
 21720 #ifndef __cplusplus
 21721 #define inline $ac_val
 21722 #endif
 21723 _ACEOF
 21724     ;;
 21725 esac
 21726 
 21727 
 21728 # Extract the first word of "pkg-config", so it can be a program name with args.
 21729 set dummy pkg-config; ac_word=$2
 21730 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21732 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
 21733   echo $ECHO_N "(cached) $ECHO_C" >&6
 21734 else
 21735   if test -n "$HAVE_PKGCONFIG"; then
 21736   ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
 21737 else
 21738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21739 for as_dir in $PATH
 21740 do
 21741   IFS=$as_save_IFS
 21742   test -z "$as_dir" && as_dir=.
 21743   for ac_exec_ext in '' $ac_executable_extensions; do
 21744   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21745     ac_cv_prog_HAVE_PKGCONFIG="yes"
 21746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21747     break 2
 21748   fi
 21749 done
 21750 done
 21751 
 21752   test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
 21753 fi
 21754 fi
 21755 HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
 21756 if test -n "$HAVE_PKGCONFIG"; then
 21757   echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
 21758 echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
 21759 else
 21760   echo "$as_me:$LINENO: result: no" >&5
 21761 echo "${ECHO_T}no" >&6
 21762 fi
 21763 
 21764 
 21765 if test "x$HAVE_PKGCONFIG" = "xno"; then
 21766   { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
 21767 echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
 21768    { (exit 1); exit 1; }; }
 21769 fi
 21770 
 21771 
 21772 GST_REQUIRED=0.10.3
 21773 GST_MAJORMINOR=0.10
 21774 
 21775 
 21776   succeeded=no
 21777 
 21778   if test -z "$PKG_CONFIG"; then
 21779     # Extract the first word of "pkg-config", so it can be a program name with args.
 21780 set dummy pkg-config; ac_word=$2
 21781 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21783 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 21784   echo $ECHO_N "(cached) $ECHO_C" >&6
 21785 else
 21786   case $PKG_CONFIG in
 21787   [\\/]* | ?:[\\/]*)
 21788   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 21789   ;;
 21790   *)
 21791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21792 for as_dir in $PATH
 21793 do
 21794   IFS=$as_save_IFS
 21795   test -z "$as_dir" && as_dir=.
 21796   for ac_exec_ext in '' $ac_executable_extensions; do
 21797   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21798     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 21799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21800     break 2
 21801   fi
 21802 done
 21803 done
 21804 
 21805   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 21806   ;;
 21807 esac
 21808 fi
 21809 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 21810 
 21811 if test -n "$PKG_CONFIG"; then
 21812   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 21813 echo "${ECHO_T}$PKG_CONFIG" >&6
 21814 else
 21815   echo "$as_me:$LINENO: result: no" >&5
 21816 echo "${ECHO_T}no" >&6
 21817 fi
 21818 
 21819   fi
 21820 
 21821   if test "$PKG_CONFIG" = "no" ; then
 21822      echo "*** The pkg-config script could not be found. Make sure it is"
 21823      echo "*** in your path, or set the PKG_CONFIG environment variable"
 21824      echo "*** to the full path to pkg-config."
 21825      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 21826   else
 21827      PKG_CONFIG_MIN_VERSION=0.9.0
 21828      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 21829         echo "$as_me:$LINENO: checking for \
 21830   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 21831 echo $ECHO_N "checking for \
 21832   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 21833 
 21834         if $PKG_CONFIG --exists "\
 21835   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 21836             echo "$as_me:$LINENO: result: yes" >&5
 21837 echo "${ECHO_T}yes" >&6
 21838             succeeded=yes
 21839 
 21840             echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
 21841 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
 21842             GST_CFLAGS=`$PKG_CONFIG --cflags "\
 21843   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21844             echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
 21845 echo "${ECHO_T}$GST_CFLAGS" >&6
 21846 
 21847             echo "$as_me:$LINENO: checking GST_LIBS" >&5
 21848 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
 21849             GST_LIBS=`$PKG_CONFIG --libs "\
 21850   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21851             echo "$as_me:$LINENO: result: $GST_LIBS" >&5
 21852 echo "${ECHO_T}$GST_LIBS" >&6
 21853         else
 21854             GST_CFLAGS=""
 21855             GST_LIBS=""
 21856             ## If we have a custom action on failure, don't print errors, but
 21857             ## do set a variable so people can do so.
 21858             GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
 21859   gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21860 
 21861         fi
 21862 
 21863 
 21864 
 21865      else
 21866         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 21867         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 21868      fi
 21869   fi
 21870 
 21871   if test $succeeded = yes; then
 21872      HAVE_GST=yes
 21873   else
 21874      HAVE_GST=no
 21875   fi
 21876 
 21877 
 21878 if test "x$HAVE_GST" = "xno"; then
 21879   { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
 21880 echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
 21881    { (exit 1); exit 1; }; }
 21882 fi
 21883 
 21884 if test "x$USE_DEBUG" = xyes; then
 21885   GST_CFLAGS="$GST_CFLAGS -g"
 21886 fi
 21887 
 21888 
 21889 
 21890 
 21891 
 21892 
 21893 
 21894   succeeded=no
 21895 
 21896   if test -z "$PKG_CONFIG"; then
 21897     # Extract the first word of "pkg-config", so it can be a program name with args.
 21898 set dummy pkg-config; ac_word=$2
 21899 echo "$as_me:$LINENO: checking for $ac_word" >&5
 21900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 21901 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 21902   echo $ECHO_N "(cached) $ECHO_C" >&6
 21903 else
 21904   case $PKG_CONFIG in
 21905   [\\/]* | ?:[\\/]*)
 21906   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 21907   ;;
 21908   *)
 21909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 21910 for as_dir in $PATH
 21911 do
 21912   IFS=$as_save_IFS
 21913   test -z "$as_dir" && as_dir=.
 21914   for ac_exec_ext in '' $ac_executable_extensions; do
 21915   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 21916     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 21917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 21918     break 2
 21919   fi
 21920 done
 21921 done
 21922 
 21923   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 21924   ;;
 21925 esac
 21926 fi
 21927 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 21928 
 21929 if test -n "$PKG_CONFIG"; then
 21930   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 21931 echo "${ECHO_T}$PKG_CONFIG" >&6
 21932 else
 21933   echo "$as_me:$LINENO: result: no" >&5
 21934 echo "${ECHO_T}no" >&6
 21935 fi
 21936 
 21937   fi
 21938 
 21939   if test "$PKG_CONFIG" = "no" ; then
 21940      echo "*** The pkg-config script could not be found. Make sure it is"
 21941      echo "*** in your path, or set the PKG_CONFIG environment variable"
 21942      echo "*** to the full path to pkg-config."
 21943      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 21944   else
 21945      PKG_CONFIG_MIN_VERSION=0.9.0
 21946      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 21947         echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 21948 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 21949 
 21950         if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 21951             echo "$as_me:$LINENO: result: yes" >&5
 21952 echo "${ECHO_T}yes" >&6
 21953             succeeded=yes
 21954 
 21955             echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
 21956 echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
 21957             GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21958             echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
 21959 echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
 21960 
 21961             echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
 21962 echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
 21963             GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21964             echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
 21965 echo "${ECHO_T}$GST_BASE_LIBS" >&6
 21966         else
 21967             GST_BASE_CFLAGS=""
 21968             GST_BASE_LIBS=""
 21969             ## If we have a custom action on failure, don't print errors, but
 21970             ## do set a variable so people can do so.
 21971             GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 21972 
 21973         fi
 21974 
 21975 
 21976 
 21977      else
 21978         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 21979         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 21980      fi
 21981   fi
 21982 
 21983   if test $succeeded = yes; then
 21984      HAVE_GST_BASE="yes"
 21985   else
 21986      HAVE_GST_BASE="no"
 21987   fi
 21988 
 21989 
 21990 if test "x$HAVE_GST_BASE" = "xno"; then
 21991   { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
 21992 echo "$as_me: error: no GStreamer Base Libs found" >&2;}
 21993    { (exit 1); exit 1; }; }
 21994 fi
 21995 
 21996 
 21997 
 21998 
 21999 
 22000   succeeded=no
 22001 
 22002   if test -z "$PKG_CONFIG"; then
 22003     # Extract the first word of "pkg-config", so it can be a program name with args.
 22004 set dummy pkg-config; ac_word=$2
 22005 echo "$as_me:$LINENO: checking for $ac_word" >&5
 22006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 22007 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 22008   echo $ECHO_N "(cached) $ECHO_C" >&6
 22009 else
 22010   case $PKG_CONFIG in
 22011   [\\/]* | ?:[\\/]*)
 22012   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 22013   ;;
 22014   *)
 22015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 22016 for as_dir in $PATH
 22017 do
 22018   IFS=$as_save_IFS
 22019   test -z "$as_dir" && as_dir=.
 22020   for ac_exec_ext in '' $ac_executable_extensions; do
 22021   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 22022     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 22023     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 22024     break 2
 22025   fi
 22026 done
 22027 done
 22028 
 22029   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 22030   ;;
 22031 esac
 22032 fi
 22033 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 22034 
 22035 if test -n "$PKG_CONFIG"; then
 22036   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 22037 echo "${ECHO_T}$PKG_CONFIG" >&6
 22038 else
 22039   echo "$as_me:$LINENO: result: no" >&5
 22040 echo "${ECHO_T}no" >&6
 22041 fi
 22042 
 22043   fi
 22044 
 22045   if test "$PKG_CONFIG" = "no" ; then
 22046      echo "*** The pkg-config script could not be found. Make sure it is"
 22047      echo "*** in your path, or set the PKG_CONFIG environment variable"
 22048      echo "*** to the full path to pkg-config."
 22049      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 22050   else
 22051      PKG_CONFIG_MIN_VERSION=0.9.0
 22052      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 22053         echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
 22054 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
 22055 
 22056         if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
 22057             echo "$as_me:$LINENO: result: yes" >&5
 22058 echo "${ECHO_T}yes" >&6
 22059             succeeded=yes
 22060 
 22061             echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
 22062 echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
 22063             GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22064             echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
 22065 echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
 22066 
 22067             echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
 22068 echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
 22069             GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22070             echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
 22071 echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
 22072         else
 22073             GST_PLUGINS_BASE_CFLAGS=""
 22074             GST_PLUGINS_BASE_LIBS=""
 22075             ## If we have a custom action on failure, don't print errors, but
 22076             ## do set a variable so people can do so.
 22077             GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 22078 
 22079         fi
 22080 
 22081 
 22082 
 22083      else
 22084         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 22085         echo "*** See http://www.freedesktop.org/software/pkgconfig"
 22086      fi
 22087   fi
 22088 
 22089   if test $succeeded = yes; then
 22090      HAVE_GST_PLUGINS="yes"
 22091   else
 22092      HAVE_GST_PLUGINS="no"
 22093   fi
 22094 
 22095 
 22096 if test "x$HAVE_GST_PLUGINS" = "xno"; then
 22097   { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
 22098 echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
 22099    { (exit 1); exit 1; }; }
 22100 fi
 22101 
 22102 
 22103 
 22104 
 22105 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
 22106 
 22107 
 22108 GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
 22109 
 22110 
 22111                               ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
 22112 cat >confcache <<\_ACEOF
 22113 # This file is a shell script that caches the results of configure
 22114 # tests run on this system so they can be shared between configure
 22115 # scripts and configure runs, see configure's option --config-cache.
 22116 # It is not useful on other systems.  If it contains results you don't
 22117 # want to keep, you may remove or edit it.
 22118 #
 22119 # config.status only pays attention to the cache file if you give it
 22120 # the --recheck option to rerun configure.
 22121 #
 22122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 22123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 22124 # following values.
 22125 
 22126 _ACEOF
 22127 
 22128 # The following way of writing the cache mishandles newlines in values,
 22129 # but we know of no workaround that is simple, portable, and efficient.
 22130 # So, don't put newlines in cache variables' values.
 22131 # Ultrix sh set writes to stderr and can't be redirected directly,
 22132 # and sets the high bit in the cache file unless we assign to the vars.
 22133 {
 22134   (set) 2>&1 |
 22135     case `(ac_space=' '; set | grep ac_space) 2>&1` in
 22136     *ac_space=\ *)
 22137       # `set' does not quote correctly, so add quotes (double-quote
 22138       # substitution turns \\\\ into \\, and sed turns \\ into \).
 22139       sed -n \
 22140 	"s/'/'\\\\''/g;
 22141 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 22142       ;;
 22143     *)
 22144       # `set' quotes correctly as required by POSIX, so do not add quotes.
 22145       sed -n \
 22146 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 22147       ;;
 22148     esac;
 22149 } |
 22150   sed '
 22151      t clear
 22152      : clear
 22153      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 22154      t end
 22155      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 22156      : end' >>confcache
 22157 if diff $cache_file confcache >/dev/null 2>&1; then :; else
 22158   if test -w $cache_file; then
 22159     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 22160     cat confcache >$cache_file
 22161   else
 22162     echo "not updating unwritable cache $cache_file"
 22163   fi
 22164 fi
 22165 rm -f confcache
 22166 
 22167 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 22168 # Let make expand exec_prefix.
 22169 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 22170 
 22171 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 22172 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 22173 # trailing colons and then remove the whole line if VPATH becomes empty
 22174 # (actually we leave an empty line to preserve line numbers).
 22175 if test "x$srcdir" = x.; then
 22176   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 22177 s/:*\$(srcdir):*/:/;
 22178 s/:*\${srcdir}:*/:/;
 22179 s/:*@srcdir@:*/:/;
 22180 s/^\([^=]*=[	 ]*\):*/\1/;
 22181 s/:*$//;
 22182 s/^[^=]*=[	 ]*$//;
 22183 }'
 22184 fi
 22185 
 22186 DEFS=-DHAVE_CONFIG_H
 22187 
 22188 ac_libobjs=
 22189 ac_ltlibobjs=
 22190 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 22191   # 1. Remove the extension, and $U if already installed.
 22192   ac_i=`echo "$ac_i" |
 22193 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 22194   # 2. Add them.
 22195   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 22196   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 22197 done
 22198 LIBOBJS=$ac_libobjs
 22199 
 22200 LTLIBOBJS=$ac_ltlibobjs
 22201 
 22202 
 22203 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 22204   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 22205 Usually this means the macro was only invoked conditionally." >&5
 22206 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 22207 Usually this means the macro was only invoked conditionally." >&2;}
 22208    { (exit 1); exit 1; }; }
 22209 fi
 22210 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 22211   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 22212 Usually this means the macro was only invoked conditionally." >&5
 22213 echo "$as_me: error: conditional \"AMDEP\" was never defined.
 22214 Usually this means the macro was only invoked conditionally." >&2;}
 22215    { (exit 1); exit 1; }; }
 22216 fi
 22217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 22218   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 22219 Usually this means the macro was only invoked conditionally." >&5
 22220 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 22221 Usually this means the macro was only invoked conditionally." >&2;}
 22222    { (exit 1); exit 1; }; }
 22223 fi
 22224 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 22225   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 22226 Usually this means the macro was only invoked conditionally." >&5
 22227 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 22228 Usually this means the macro was only invoked conditionally." >&2;}
 22229    { (exit 1); exit 1; }; }
 22230 fi
 22231 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 22232   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 22233 Usually this means the macro was only invoked conditionally." >&5
 22234 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 22235 Usually this means the macro was only invoked conditionally." >&2;}
 22236    { (exit 1); exit 1; }; }
 22237 fi
 22238 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 22239   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 22240 Usually this means the macro was only invoked conditionally." >&5
 22241 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 22242 Usually this means the macro was only invoked conditionally." >&2;}
 22243    { (exit 1); exit 1; }; }
 22244 fi
 22245 
 22246 : ${CONFIG_STATUS=./config.status}
 22247 ac_clean_files_save=$ac_clean_files
 22248 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 22249 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 22250 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 22251 cat >$CONFIG_STATUS <<_ACEOF
 22252 #! $SHELL
 22253 # Generated by $as_me.
 22254 # Run this file to recreate the current configuration.
 22255 # Compiler output produced by configure, useful for debugging
 22256 # configure, is in config.log if it exists.
 22257 
 22258 debug=false
 22259 ac_cs_recheck=false
 22260 ac_cs_silent=false
 22261 SHELL=\${CONFIG_SHELL-$SHELL}
 22262 _ACEOF
 22263 
 22264 cat >>$CONFIG_STATUS <<\_ACEOF
 22265 ## --------------------- ##
 22266 ## M4sh Initialization.  ##
 22267 ## --------------------- ##
 22268 
 22269 # Be Bourne compatible
 22270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 22271   emulate sh
 22272   NULLCMD=:
 22273   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 22274   # is contrary to our usage.  Disable this feature.
 22275   alias -g '${1+"$@"}'='"$@"'
 22276 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 22277   set -o posix
 22278 fi
 22279 DUALCASE=1; export DUALCASE # for MKS sh
 22280 
 22281 # Support unset when possible.
 22282 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 22283   as_unset=unset
 22284 else
 22285   as_unset=false
 22286 fi
 22287 
 22288 
 22289 # Work around bugs in pre-3.0 UWIN ksh.
 22290 $as_unset ENV MAIL MAILPATH
 22291 PS1='$ '
 22292 PS2='> '
 22293 PS4='+ '
 22294 
 22295 # NLS nuisances.
 22296 for as_var in \
 22297   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 22298   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 22299   LC_TELEPHONE LC_TIME
 22300 do
 22301   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 22302     eval $as_var=C; export $as_var
 22303   else
 22304     $as_unset $as_var
 22305   fi
 22306 done
 22307 
 22308 # Required to use basename.
 22309 if expr a : '\(a\)' >/dev/null 2>&1; then
 22310   as_expr=expr
 22311 else
 22312   as_expr=false
 22313 fi
 22314 
 22315 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 22316   as_basename=basename
 22317 else
 22318   as_basename=false
 22319 fi
 22320 
 22321 
 22322 # Name of the executable.
 22323 as_me=`$as_basename "$0" ||
 22324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 22325 	 X"$0" : 'X\(//\)$' \| \
 22326 	 X"$0" : 'X\(/\)$' \| \
 22327 	 .     : '\(.\)' 2>/dev/null ||
 22328 echo X/"$0" |
 22329     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 22330   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
 22331   	  /^X\/\(\/\).*/{ s//\1/; q; }
 22332   	  s/.*/./; q'`
 22333 
 22334 
 22335 # PATH needs CR, and LINENO needs CR and PATH.
 22336 # Avoid depending upon Character Ranges.
 22337 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 22338 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 22339 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 22340 as_cr_digits='0123456789'
 22341 as_cr_alnum=$as_cr_Letters$as_cr_digits
 22342 
 22343 # The user is always right.
 22344 if test "${PATH_SEPARATOR+set}" != set; then
 22345   echo "#! /bin/sh" >conf$$.sh
 22346   echo  "exit 0"   >>conf$$.sh
 22347   chmod +x conf$$.sh
 22348   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 22349     PATH_SEPARATOR=';'
 22350   else
 22351     PATH_SEPARATOR=:
 22352   fi
 22353   rm -f conf$$.sh
 22354 fi
 22355 
 22356 
 22357   as_lineno_1=$LINENO
 22358   as_lineno_2=$LINENO
 22359   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 22360   test "x$as_lineno_1" != "x$as_lineno_2" &&
 22361   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 22362   # Find who we are.  Look in the path if we contain no path at all
 22363   # relative or not.
 22364   case $0 in
 22365     *[\\/]* ) as_myself=$0 ;;
 22366     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 22367 for as_dir in $PATH
 22368 do
 22369   IFS=$as_save_IFS
 22370   test -z "$as_dir" && as_dir=.
 22371   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 22372 done
 22373 
 22374        ;;
 22375   esac
 22376   # We did not find ourselves, most probably we were run as `sh COMMAND'
 22377   # in which case we are not to be found in the path.
 22378   if test "x$as_myself" = x; then
 22379     as_myself=$0
 22380   fi
 22381   if test ! -f "$as_myself"; then
 22382     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 22383 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 22384    { (exit 1); exit 1; }; }
 22385   fi
 22386   case $CONFIG_SHELL in
 22387   '')
 22388     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 22389 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 22390 do
 22391   IFS=$as_save_IFS
 22392   test -z "$as_dir" && as_dir=.
 22393   for as_base in sh bash ksh sh5; do
 22394 	 case $as_dir in
 22395 	 /*)
 22396 	   if ("$as_dir/$as_base" -c '
 22397   as_lineno_1=$LINENO
 22398   as_lineno_2=$LINENO
 22399   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 22400   test "x$as_lineno_1" != "x$as_lineno_2" &&
 22401   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 22402 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 22403 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 22404 	     CONFIG_SHELL=$as_dir/$as_base
 22405 	     export CONFIG_SHELL
 22406 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 22407 	   fi;;
 22408 	 esac
 22409        done
 22410 done
 22411 ;;
 22412   esac
 22413 
 22414   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 22415   # uniformly replaced by the line number.  The first 'sed' inserts a
 22416   # line-number line before each line; the second 'sed' does the real
 22417   # work.  The second script uses 'N' to pair each line-number line
 22418   # with the numbered line, and appends trailing '-' during
 22419   # substitution so that $LINENO is not a special case at line end.
 22420   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 22421   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 22422   sed '=' <$as_myself |
 22423     sed '
 22424       N
 22425       s,$,-,
 22426       : loop
 22427       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 22428       t loop
 22429       s,-$,,
 22430       s,^['$as_cr_digits']*\n,,
 22431     ' >$as_me.lineno &&
 22432   chmod +x $as_me.lineno ||
 22433     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 22434 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 22435    { (exit 1); exit 1; }; }
 22436 
 22437   # Don't try to exec as it changes $[0], causing all sort of problems
 22438   # (the dirname of $[0] is not the place where we might find the
 22439   # original and so on.  Autoconf is especially sensible to this).
 22440   . ./$as_me.lineno
 22441   # Exit status is that of the last command.
 22442   exit
 22443 }
 22444 
 22445 
 22446 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 22447   *c*,-n*) ECHO_N= ECHO_C='
 22448 ' ECHO_T='	' ;;
 22449   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 22450   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 22451 esac
 22452 
 22453 if expr a : '\(a\)' >/dev/null 2>&1; then
 22454   as_expr=expr
 22455 else
 22456   as_expr=false
 22457 fi
 22458 
 22459 rm -f conf$$ conf$$.exe conf$$.file
 22460 echo >conf$$.file
 22461 if ln -s conf$$.file conf$$ 2>/dev/null; then
 22462   # We could just check for DJGPP; but this test a) works b) is more generic
 22463   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 22464   if test -f conf$$.exe; then
 22465     # Don't use ln at all; we don't have any links
 22466     as_ln_s='cp -p'
 22467   else
 22468     as_ln_s='ln -s'
 22469   fi
 22470 elif ln conf$$.file conf$$ 2>/dev/null; then
 22471   as_ln_s=ln
 22472 else
 22473   as_ln_s='cp -p'
 22474 fi
 22475 rm -f conf$$ conf$$.exe conf$$.file
 22476 
 22477 if mkdir -p . 2>/dev/null; then
 22478   as_mkdir_p=:
 22479 else
 22480   test -d ./-p && rmdir ./-p
 22481   as_mkdir_p=false
 22482 fi
 22483 
 22484 as_executable_p="test -f"
 22485 
 22486 # Sed expression to map a string onto a valid CPP name.
 22487 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 22488 
 22489 # Sed expression to map a string onto a valid variable name.
 22490 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 22491 
 22492 
 22493 # IFS
 22494 # We need space, tab and new line, in precisely that order.
 22495 as_nl='
 22496 '
 22497 IFS=" 	$as_nl"
 22498 
 22499 # CDPATH.
 22500 $as_unset CDPATH
 22501 
 22502 exec 6>&1
 22503 
 22504 # Open the log real soon, to keep \$[0] and so on meaningful, and to
 22505 # report actual input values of CONFIG_FILES etc. instead of their
 22506 # values after options handling.  Logging --version etc. is OK.
 22507 exec 5>>config.log
 22508 {
 22509   echo
 22510   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 22511 ## Running $as_me. ##
 22512 _ASBOX
 22513 } >&5
 22514 cat >&5 <<_CSEOF
 22515 
 22516 This file was extended by $as_me, which was
 22517 generated by GNU Autoconf 2.59.  Invocation command line was
 22518 
 22519   CONFIG_FILES    = $CONFIG_FILES
 22520   CONFIG_HEADERS  = $CONFIG_HEADERS
 22521   CONFIG_LINKS    = $CONFIG_LINKS
 22522   CONFIG_COMMANDS = $CONFIG_COMMANDS
 22523   $ $0 $@
 22524 
 22525 _CSEOF
 22526 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 22527 echo >&5
 22528 _ACEOF
 22529 
 22530 # Files that config.status was made for.
 22531 if test -n "$ac_config_files"; then
 22532   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 22533 fi
 22534 
 22535 if test -n "$ac_config_headers"; then
 22536   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 22537 fi
 22538 
 22539 if test -n "$ac_config_links"; then
 22540   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 22541 fi
 22542 
 22543 if test -n "$ac_config_commands"; then
 22544   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 22545 fi
 22546 
 22547 cat >>$CONFIG_STATUS <<\_ACEOF
 22548 
 22549 ac_cs_usage="\
 22550 \`$as_me' instantiates files from templates according to the
 22551 current configuration.
 22552 
 22553 Usage: $0 [OPTIONS] [FILE]...
 22554 
 22555   -h, --help       print this help, then exit
 22556   -V, --version    print version number, then exit
 22557   -q, --quiet      do not print progress messages
 22558   -d, --debug      don't remove temporary files
 22559       --recheck    update $as_me by reconfiguring in the same conditions
 22560   --file=FILE[:TEMPLATE]
 22561 		   instantiate the configuration file FILE
 22562   --header=FILE[:TEMPLATE]
 22563 		   instantiate the configuration header FILE
 22564 
 22565 Configuration files:
 22566 $config_files
 22567 
 22568 Configuration headers:
 22569 $config_headers
 22570 
 22571 Configuration commands:
 22572 $config_commands
 22573 
 22574 Report bugs to <bug-autoconf@gnu.org>."
 22575 _ACEOF
 22576 
 22577 cat >>$CONFIG_STATUS <<_ACEOF
 22578 ac_cs_version="\\
 22579 config.status
 22580 configured by $0, generated by GNU Autoconf 2.59,
 22581   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 22582 
 22583 Copyright (C) 2003 Free Software Foundation, Inc.
 22584 This config.status script is free software; the Free Software Foundation
 22585 gives unlimited permission to copy, distribute and modify it."
 22586 srcdir=$srcdir
 22587 INSTALL="$INSTALL"
 22588 _ACEOF
 22589 
 22590 cat >>$CONFIG_STATUS <<\_ACEOF
 22591 # If no file are specified by the user, then we need to provide default
 22592 # value.  By we need to know if files were specified by the user.
 22593 ac_need_defaults=:
 22594 while test $# != 0
 22595 do
 22596   case $1 in
 22597   --*=*)
 22598     ac_option=`expr "x$1" : 'x\([^=]*\)='`
 22599     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 22600     ac_shift=:
 22601     ;;
 22602   -*)
 22603     ac_option=$1
 22604     ac_optarg=$2
 22605     ac_shift=shift
 22606     ;;
 22607   *) # This is not an option, so the user has probably given explicit
 22608      # arguments.
 22609      ac_option=$1
 22610      ac_need_defaults=false;;
 22611   esac
 22612 
 22613   case $ac_option in
 22614   # Handling of the options.
 22615 _ACEOF
 22616 cat >>$CONFIG_STATUS <<\_ACEOF
 22617   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 22618     ac_cs_recheck=: ;;
 22619   --version | --vers* | -V )
 22620     echo "$ac_cs_version"; exit 0 ;;
 22621   --he | --h)
 22622     # Conflict between --help and --header
 22623     { { echo "$as_me:$LINENO: error: ambiguous option: $1
 22624 Try \`$0 --help' for more information." >&5
 22625 echo "$as_me: error: ambiguous option: $1
 22626 Try \`$0 --help' for more information." >&2;}
 22627    { (exit 1); exit 1; }; };;
 22628   --help | --hel | -h )
 22629     echo "$ac_cs_usage"; exit 0 ;;
 22630   --debug | --d* | -d )
 22631     debug=: ;;
 22632   --file | --fil | --fi | --f )
 22633     $ac_shift
 22634     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 22635     ac_need_defaults=false;;
 22636   --header | --heade | --head | --hea )
 22637     $ac_shift
 22638     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 22639     ac_need_defaults=false;;
 22640   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 22641   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 22642     ac_cs_silent=: ;;
 22643 
 22644   # This is an error.
 22645   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 22646 Try \`$0 --help' for more information." >&5
 22647 echo "$as_me: error: unrecognized option: $1
 22648 Try \`$0 --help' for more information." >&2;}
 22649    { (exit 1); exit 1; }; } ;;
 22650 
 22651   *) ac_config_targets="$ac_config_targets $1" ;;
 22652 
 22653   esac
 22654   shift
 22655 done
 22656 
 22657 ac_configure_extra_args=
 22658 
 22659 if $ac_cs_silent; then
 22660   exec 6>/dev/null
 22661   ac_configure_extra_args="$ac_configure_extra_args --silent"
 22662 fi
 22663 
 22664 _ACEOF
 22665 cat >>$CONFIG_STATUS <<_ACEOF
 22666 if \$ac_cs_recheck; then
 22667   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 22668   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 22669 fi
 22670 
 22671 _ACEOF
 22672 
 22673 cat >>$CONFIG_STATUS <<_ACEOF
 22674 #
 22675 # INIT-COMMANDS section.
 22676 #
 22677 
 22678 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 22679 
 22680 _ACEOF
 22681 
 22682 
 22683 
 22684 cat >>$CONFIG_STATUS <<\_ACEOF
 22685 for ac_config_target in $ac_config_targets
 22686 do
 22687   case "$ac_config_target" in
 22688   # Handling of arguments.
 22689   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 22690   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 22691   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 22692   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 22693   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 22694   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 22695 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 22696    { (exit 1); exit 1; }; };;
 22697   esac
 22698 done
 22699 
 22700 # If the user did not use the arguments to specify the items to instantiate,
 22701 # then the envvar interface is used.  Set only those that are not.
 22702 # We use the long form for the default assignment because of an extremely
 22703 # bizarre bug on SunOS 4.1.3.
 22704 if $ac_need_defaults; then
 22705   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 22706   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 22707   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 22708 fi
 22709 
 22710 # Have a temporary directory for convenience.  Make it in the build tree
 22711 # simply because there is no reason to put it here, and in addition,
 22712 # creating and moving files from /tmp can sometimes cause problems.
 22713 # Create a temporary directory, and hook for its removal unless debugging.
 22714 $debug ||
 22715 {
 22716   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 22717   trap '{ (exit 1); exit 1; }' 1 2 13 15
 22718 }
 22719 
 22720 # Create a (secure) tmp directory for tmp files.
 22721 
 22722 {
 22723   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 22724   test -n "$tmp" && test -d "$tmp"
 22725 }  ||
 22726 {
 22727   tmp=./confstat$$-$RANDOM
 22728   (umask 077 && mkdir $tmp)
 22729 } ||
 22730 {
 22731    echo "$me: cannot create a temporary directory in ." >&2
 22732    { (exit 1); exit 1; }
 22733 }
 22734 
 22735 _ACEOF
 22736 
 22737 cat >>$CONFIG_STATUS <<_ACEOF
 22738 
 22739 #
 22740 # CONFIG_FILES section.
 22741 #
 22742 
 22743 # No need to generate the scripts if there are no CONFIG_FILES.
 22744 # This happens for instance when ./config.status config.h
 22745 if test -n "\$CONFIG_FILES"; then
 22746   # Protect against being on the right side of a sed subst in config.status.
 22747   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 22748    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 22749 s,@SHELL@,$SHELL,;t t
 22750 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 22751 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 22752 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 22753 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 22754 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 22755 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 22756 s,@exec_prefix@,$exec_prefix,;t t
 22757 s,@prefix@,$prefix,;t t
 22758 s,@program_transform_name@,$program_transform_name,;t t
 22759 s,@bindir@,$bindir,;t t
 22760 s,@sbindir@,$sbindir,;t t
 22761 s,@libexecdir@,$libexecdir,;t t
 22762 s,@datadir@,$datadir,;t t
 22763 s,@sysconfdir@,$sysconfdir,;t t
 22764 s,@sharedstatedir@,$sharedstatedir,;t t
 22765 s,@localstatedir@,$localstatedir,;t t
 22766 s,@libdir@,$libdir,;t t
 22767 s,@includedir@,$includedir,;t t
 22768 s,@oldincludedir@,$oldincludedir,;t t
 22769 s,@infodir@,$infodir,;t t
 22770 s,@mandir@,$mandir,;t t
 22771 s,@build_alias@,$build_alias,;t t
 22772 s,@host_alias@,$host_alias,;t t
 22773 s,@target_alias@,$target_alias,;t t
 22774 s,@DEFS@,$DEFS,;t t
 22775 s,@ECHO_C@,$ECHO_C,;t t
 22776 s,@ECHO_N@,$ECHO_N,;t t
 22777 s,@ECHO_T@,$ECHO_T,;t t
 22778 s,@LIBS@,$LIBS,;t t
 22779 s,@build@,$build,;t t
 22780 s,@build_cpu@,$build_cpu,;t t
 22781 s,@build_vendor@,$build_vendor,;t t
 22782 s,@build_os@,$build_os,;t t
 22783 s,@host@,$host,;t t
 22784 s,@host_cpu@,$host_cpu,;t t
 22785 s,@host_vendor@,$host_vendor,;t t
 22786 s,@host_os@,$host_os,;t t
 22787 s,@target@,$target,;t t
 22788 s,@target_cpu@,$target_cpu,;t t
 22789 s,@target_vendor@,$target_vendor,;t t
 22790 s,@target_os@,$target_os,;t t
 22791 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 22792 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 22793 s,@MAINT@,$MAINT,;t t
 22794 s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
 22795 s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
 22796 s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
 22797 s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
 22798 s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
 22799 s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
 22800 s,@PACKAGE@,$PACKAGE,;t t
 22801 s,@VERSION@,$VERSION,;t t
 22802 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 22803 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 22804 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 22805 s,@CYGPATH_W@,$CYGPATH_W,;t t
 22806 s,@ACLOCAL@,$ACLOCAL,;t t
 22807 s,@AUTOCONF@,$AUTOCONF,;t t
 22808 s,@AUTOMAKE@,$AUTOMAKE,;t t
 22809 s,@AUTOHEADER@,$AUTOHEADER,;t t
 22810 s,@MAKEINFO@,$MAKEINFO,;t t
 22811 s,@AMTAR@,$AMTAR,;t t
 22812 s,@install_sh@,$install_sh,;t t
 22813 s,@STRIP@,$STRIP,;t t
 22814 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 22815 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 22816 s,@mkdir_p@,$mkdir_p,;t t
 22817 s,@AWK@,$AWK,;t t
 22818 s,@SET_MAKE@,$SET_MAKE,;t t
 22819 s,@am__leading_dot@,$am__leading_dot,;t t
 22820 s,@CC@,$CC,;t t
 22821 s,@CFLAGS@,$CFLAGS,;t t
 22822 s,@LDFLAGS@,$LDFLAGS,;t t
 22823 s,@CPPFLAGS@,$CPPFLAGS,;t t
 22824 s,@ac_ct_CC@,$ac_ct_CC,;t t
 22825 s,@EXEEXT@,$EXEEXT,;t t
 22826 s,@OBJEXT@,$OBJEXT,;t t
 22827 s,@DEPDIR@,$DEPDIR,;t t
 22828 s,@am__include@,$am__include,;t t
 22829 s,@am__quote@,$am__quote,;t t
 22830 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 22831 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 22832 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 22833 s,@CCDEPMODE@,$CCDEPMODE,;t t
 22834 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 22835 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 22836 s,@EGREP@,$EGREP,;t t
 22837 s,@LN_S@,$LN_S,;t t
 22838 s,@ECHO@,$ECHO,;t t
 22839 s,@AR@,$AR,;t t
 22840 s,@ac_ct_AR@,$ac_ct_AR,;t t
 22841 s,@RANLIB@,$RANLIB,;t t
 22842 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 22843 s,@CPP@,$CPP,;t t
 22844 s,@CXX@,$CXX,;t t
 22845 s,@CXXFLAGS@,$CXXFLAGS,;t t
 22846 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 22847 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 22848 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 22849 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
 22850 s,@CXXCPP@,$CXXCPP,;t t
 22851 s,@F77@,$F77,;t t
 22852 s,@FFLAGS@,$FFLAGS,;t t
 22853 s,@ac_ct_F77@,$ac_ct_F77,;t t
 22854 s,@LIBTOOL@,$LIBTOOL,;t t
 22855 s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
 22856 s,@CCAS@,$CCAS,;t t
 22857 s,@CCASFLAGS@,$CCASFLAGS,;t t
 22858 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
 22859 s,@HAVE_CXX@,$HAVE_CXX,;t t
 22860 s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
 22861 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 22862 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
 22863 s,@GST_LIBS@,$GST_LIBS,;t t
 22864 s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
 22865 s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
 22866 s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
 22867 s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
 22868 s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
 22869 s,@plugindir@,$plugindir,;t t
 22870 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
 22871 s,@LIBOBJS@,$LIBOBJS,;t t
 22872 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 22873 CEOF
 22874 
 22875 _ACEOF
 22876 
 22877   cat >>$CONFIG_STATUS <<\_ACEOF
 22878   # Split the substitutions into bite-sized pieces for seds with
 22879   # small command number limits, like on Digital OSF/1 and HP-UX.
 22880   ac_max_sed_lines=48
 22881   ac_sed_frag=1 # Number of current file.
 22882   ac_beg=1 # First line for current file.
 22883   ac_end=$ac_max_sed_lines # Line after last line for current file.
 22884   ac_more_lines=:
 22885   ac_sed_cmds=
 22886   while $ac_more_lines; do
 22887     if test $ac_beg -gt 1; then
 22888       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 22889     else
 22890       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 22891     fi
 22892     if test ! -s $tmp/subs.frag; then
 22893       ac_more_lines=false
 22894     else
 22895       # The purpose of the label and of the branching condition is to
 22896       # speed up the sed processing (if there are no `@' at all, there
 22897       # is no need to browse any of the substitutions).
 22898       # These are the two extra sed commands mentioned above.
 22899       (echo ':t
 22900   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 22901       if test -z "$ac_sed_cmds"; then
 22902 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 22903       else
 22904 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 22905       fi
 22906       ac_sed_frag=`expr $ac_sed_frag + 1`
 22907       ac_beg=$ac_end
 22908       ac_end=`expr $ac_end + $ac_max_sed_lines`
 22909     fi
 22910   done
 22911   if test -z "$ac_sed_cmds"; then
 22912     ac_sed_cmds=cat
 22913   fi
 22914 fi # test -n "$CONFIG_FILES"
 22915 
 22916 _ACEOF
 22917 cat >>$CONFIG_STATUS <<\_ACEOF
 22918 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 22919   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 22920   case $ac_file in
 22921   - | *:- | *:-:* ) # input from stdin
 22922 	cat >$tmp/stdin
 22923 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 22924 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 22925   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 22926 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 22927   * )   ac_file_in=$ac_file.in ;;
 22928   esac
 22929 
 22930   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 22931   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 22932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 22933 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 22934 	 X"$ac_file" : 'X\(//\)$' \| \
 22935 	 X"$ac_file" : 'X\(/\)' \| \
 22936 	 .     : '\(.\)' 2>/dev/null ||
 22937 echo X"$ac_file" |
 22938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 22939   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 22940   	  /^X\(\/\/\)$/{ s//\1/; q; }
 22941   	  /^X\(\/\).*/{ s//\1/; q; }
 22942   	  s/.*/./; q'`
 22943   { if $as_mkdir_p; then
 22944     mkdir -p "$ac_dir"
 22945   else
 22946     as_dir="$ac_dir"
 22947     as_dirs=
 22948     while test ! -d "$as_dir"; do
 22949       as_dirs="$as_dir $as_dirs"
 22950       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 22951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 22952 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 22953 	 X"$as_dir" : 'X\(//\)$' \| \
 22954 	 X"$as_dir" : 'X\(/\)' \| \
 22955 	 .     : '\(.\)' 2>/dev/null ||
 22956 echo X"$as_dir" |
 22957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 22958   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 22959   	  /^X\(\/\/\)$/{ s//\1/; q; }
 22960   	  /^X\(\/\).*/{ s//\1/; q; }
 22961   	  s/.*/./; q'`
 22962     done
 22963     test ! -n "$as_dirs" || mkdir $as_dirs
 22964   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 22965 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 22966    { (exit 1); exit 1; }; }; }
 22967 
 22968   ac_builddir=.
 22969 
 22970 if test "$ac_dir" != .; then
 22971   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 22972   # A "../" for each directory in $ac_dir_suffix.
 22973   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 22974 else
 22975   ac_dir_suffix= ac_top_builddir=
 22976 fi
 22977 
 22978 case $srcdir in
 22979   .)  # No --srcdir option.  We are building in place.
 22980     ac_srcdir=.
 22981     if test -z "$ac_top_builddir"; then
 22982        ac_top_srcdir=.
 22983     else
 22984        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 22985     fi ;;
 22986   [\\/]* | ?:[\\/]* )  # Absolute path.
 22987     ac_srcdir=$srcdir$ac_dir_suffix;
 22988     ac_top_srcdir=$srcdir ;;
 22989   *) # Relative path.
 22990     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 22991     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 22992 esac
 22993 
 22994 # Do not use `cd foo && pwd` to compute absolute paths, because
 22995 # the directories may not exist.
 22996 case `pwd` in
 22997 .) ac_abs_builddir="$ac_dir";;
 22998 *)
 22999   case "$ac_dir" in
 23000   .) ac_abs_builddir=`pwd`;;
 23001   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 23002   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 23003   esac;;
 23004 esac
 23005 case $ac_abs_builddir in
 23006 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 23007 *)
 23008   case ${ac_top_builddir}. in
 23009   .) ac_abs_top_builddir=$ac_abs_builddir;;
 23010   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 23011   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 23012   esac;;
 23013 esac
 23014 case $ac_abs_builddir in
 23015 .) ac_abs_srcdir=$ac_srcdir;;
 23016 *)
 23017   case $ac_srcdir in
 23018   .) ac_abs_srcdir=$ac_abs_builddir;;
 23019   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 23020   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 23021   esac;;
 23022 esac
 23023 case $ac_abs_builddir in
 23024 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 23025 *)
 23026   case $ac_top_srcdir in
 23027   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 23028   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 23029   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 23030   esac;;
 23031 esac
 23032 
 23033 
 23034   case $INSTALL in
 23035   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 23036   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 23037   esac
 23038 
 23039   # Let's still pretend it is `configure' which instantiates (i.e., don't
 23040   # use $as_me), people would be surprised to read:
 23041   #    /* config.h.  Generated by config.status.  */
 23042   if test x"$ac_file" = x-; then
 23043     configure_input=
 23044   else
 23045     configure_input="$ac_file.  "
 23046   fi
 23047   configure_input=$configure_input"Generated from `echo $ac_file_in |
 23048 				     sed 's,.*/,,'` by configure."
 23049 
 23050   # First look for the input files in the build tree, otherwise in the
 23051   # src tree.
 23052   ac_file_inputs=`IFS=:
 23053     for f in $ac_file_in; do
 23054       case $f in
 23055       -) echo $tmp/stdin ;;
 23056       [\\/$]*)
 23057 	 # Absolute (can't be DOS-style, as IFS=:)
 23058 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23059 echo "$as_me: error: cannot find input file: $f" >&2;}
 23060    { (exit 1); exit 1; }; }
 23061 	 echo "$f";;
 23062       *) # Relative
 23063 	 if test -f "$f"; then
 23064 	   # Build tree
 23065 	   echo "$f"
 23066 	 elif test -f "$srcdir/$f"; then
 23067 	   # Source tree
 23068 	   echo "$srcdir/$f"
 23069 	 else
 23070 	   # /dev/null tree
 23071 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23072 echo "$as_me: error: cannot find input file: $f" >&2;}
 23073    { (exit 1); exit 1; }; }
 23074 	 fi;;
 23075       esac
 23076     done` || { (exit 1); exit 1; }
 23077 
 23078   if test x"$ac_file" != x-; then
 23079     { echo "$as_me:$LINENO: creating $ac_file" >&5
 23080 echo "$as_me: creating $ac_file" >&6;}
 23081     rm -f "$ac_file"
 23082   fi
 23083 _ACEOF
 23084 cat >>$CONFIG_STATUS <<_ACEOF
 23085   sed "$ac_vpsub
 23086 $extrasub
 23087 _ACEOF
 23088 cat >>$CONFIG_STATUS <<\_ACEOF
 23089 :t
 23090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 23091 s,@configure_input@,$configure_input,;t t
 23092 s,@srcdir@,$ac_srcdir,;t t
 23093 s,@abs_srcdir@,$ac_abs_srcdir,;t t
 23094 s,@top_srcdir@,$ac_top_srcdir,;t t
 23095 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 23096 s,@builddir@,$ac_builddir,;t t
 23097 s,@abs_builddir@,$ac_abs_builddir,;t t
 23098 s,@top_builddir@,$ac_top_builddir,;t t
 23099 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 23100 s,@INSTALL@,$ac_INSTALL,;t t
 23101 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 23102   rm -f $tmp/stdin
 23103   if test x"$ac_file" != x-; then
 23104     mv $tmp/out $ac_file
 23105   else
 23106     cat $tmp/out
 23107     rm -f $tmp/out
 23108   fi
 23109 
 23110 done
 23111 _ACEOF
 23112 cat >>$CONFIG_STATUS <<\_ACEOF
 23113 
 23114 #
 23115 # CONFIG_HEADER section.
 23116 #
 23117 
 23118 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 23119 # NAME is the cpp macro being defined and VALUE is the value it is being given.
 23120 #
 23121 # ac_d sets the value in "#define NAME VALUE" lines.
 23122 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
 23123 ac_dB='[	 ].*$,\1#\2'
 23124 ac_dC=' '
 23125 ac_dD=',;t'
 23126 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 23127 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
 23128 ac_uB='$,\1#\2define\3'
 23129 ac_uC=' '
 23130 ac_uD=',;t'
 23131 
 23132 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 23133   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 23134   case $ac_file in
 23135   - | *:- | *:-:* ) # input from stdin
 23136 	cat >$tmp/stdin
 23137 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23138 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 23139   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23140 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 23141   * )   ac_file_in=$ac_file.in ;;
 23142   esac
 23143 
 23144   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 23145 echo "$as_me: creating $ac_file" >&6;}
 23146 
 23147   # First look for the input files in the build tree, otherwise in the
 23148   # src tree.
 23149   ac_file_inputs=`IFS=:
 23150     for f in $ac_file_in; do
 23151       case $f in
 23152       -) echo $tmp/stdin ;;
 23153       [\\/$]*)
 23154 	 # Absolute (can't be DOS-style, as IFS=:)
 23155 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23156 echo "$as_me: error: cannot find input file: $f" >&2;}
 23157    { (exit 1); exit 1; }; }
 23158 	 # Do quote $f, to prevent DOS paths from being IFS'd.
 23159 	 echo "$f";;
 23160       *) # Relative
 23161 	 if test -f "$f"; then
 23162 	   # Build tree
 23163 	   echo "$f"
 23164 	 elif test -f "$srcdir/$f"; then
 23165 	   # Source tree
 23166 	   echo "$srcdir/$f"
 23167 	 else
 23168 	   # /dev/null tree
 23169 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 23170 echo "$as_me: error: cannot find input file: $f" >&2;}
 23171    { (exit 1); exit 1; }; }
 23172 	 fi;;
 23173       esac
 23174     done` || { (exit 1); exit 1; }
 23175   # Remove the trailing spaces.
 23176   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
 23177 
 23178 _ACEOF
 23179 
 23180 # Transform confdefs.h into two sed scripts, `conftest.defines' and
 23181 # `conftest.undefs', that substitutes the proper values into
 23182 # config.h.in to produce config.h.  The first handles `#define'
 23183 # templates, and the second `#undef' templates.
 23184 # And first: Protect against being on the right side of a sed subst in
 23185 # config.status.  Protect against being in an unquoted here document
 23186 # in config.status.
 23187 rm -f conftest.defines conftest.undefs
 23188 # Using a here document instead of a string reduces the quoting nightmare.
 23189 # Putting comments in sed scripts is not portable.
 23190 #
 23191 # `end' is used to avoid that the second main sed command (meant for
 23192 # 0-ary CPP macros) applies to n-ary macro definitions.
 23193 # See the Autoconf documentation for `clear'.
 23194 cat >confdef2sed.sed <<\_ACEOF
 23195 s/[\\&,]/\\&/g
 23196 s,[\\$`],\\&,g
 23197 t clear
 23198 : clear
 23199 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 23200 t end
 23201 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 23202 : end
 23203 _ACEOF
 23204 # If some macros were called several times there might be several times
 23205 # the same #defines, which is useless.  Nevertheless, we may not want to
 23206 # sort them, since we want the *last* AC-DEFINE to be honored.
 23207 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 23208 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 23209 rm -f confdef2sed.sed
 23210 
 23211 # This sed command replaces #undef with comments.  This is necessary, for
 23212 # example, in the case of _POSIX_SOURCE, which is predefined and required
 23213 # on some systems where configure will not decide to define it.
 23214 cat >>conftest.undefs <<\_ACEOF
 23215 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 23216 _ACEOF
 23217 
 23218 # Break up conftest.defines because some shells have a limit on the size
 23219 # of here documents, and old seds have small limits too (100 cmds).
 23220 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 23221 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 23222 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 23223 echo '  :' >>$CONFIG_STATUS
 23224 rm -f conftest.tail
 23225 while grep . conftest.defines >/dev/null
 23226 do
 23227   # Write a limited-size here document to $tmp/defines.sed.
 23228   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 23229   # Speed up: don't consider the non `#define' lines.
 23230   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
 23231   # Work around the forget-to-reset-the-flag bug.
 23232   echo 't clr' >>$CONFIG_STATUS
 23233   echo ': clr' >>$CONFIG_STATUS
 23234   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 23235   echo 'CEOF
 23236   sed -f $tmp/defines.sed $tmp/in >$tmp/out
 23237   rm -f $tmp/in
 23238   mv $tmp/out $tmp/in
 23239 ' >>$CONFIG_STATUS
 23240   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 23241   rm -f conftest.defines
 23242   mv conftest.tail conftest.defines
 23243 done
 23244 rm -f conftest.defines
 23245 echo '  fi # grep' >>$CONFIG_STATUS
 23246 echo >>$CONFIG_STATUS
 23247 
 23248 # Break up conftest.undefs because some shells have a limit on the size
 23249 # of here documents, and old seds have small limits too (100 cmds).
 23250 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 23251 rm -f conftest.tail
 23252 while grep . conftest.undefs >/dev/null
 23253 do
 23254   # Write a limited-size here document to $tmp/undefs.sed.
 23255   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 23256   # Speed up: don't consider the non `#undef'
 23257   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
 23258   # Work around the forget-to-reset-the-flag bug.
 23259   echo 't clr' >>$CONFIG_STATUS
 23260   echo ': clr' >>$CONFIG_STATUS
 23261   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 23262   echo 'CEOF
 23263   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 23264   rm -f $tmp/in
 23265   mv $tmp/out $tmp/in
 23266 ' >>$CONFIG_STATUS
 23267   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 23268   rm -f conftest.undefs
 23269   mv conftest.tail conftest.undefs
 23270 done
 23271 rm -f conftest.undefs
 23272 
 23273 cat >>$CONFIG_STATUS <<\_ACEOF
 23274   # Let's still pretend it is `configure' which instantiates (i.e., don't
 23275   # use $as_me), people would be surprised to read:
 23276   #    /* config.h.  Generated by config.status.  */
 23277   if test x"$ac_file" = x-; then
 23278     echo "/* Generated by configure.  */" >$tmp/config.h
 23279   else
 23280     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 23281   fi
 23282   cat $tmp/in >>$tmp/config.h
 23283   rm -f $tmp/in
 23284   if test x"$ac_file" != x-; then
 23285     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 23286       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 23287 echo "$as_me: $ac_file is unchanged" >&6;}
 23288     else
 23289       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 23290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23291 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 23292 	 X"$ac_file" : 'X\(//\)$' \| \
 23293 	 X"$ac_file" : 'X\(/\)' \| \
 23294 	 .     : '\(.\)' 2>/dev/null ||
 23295 echo X"$ac_file" |
 23296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23297   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23298   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23299   	  /^X\(\/\).*/{ s//\1/; q; }
 23300   	  s/.*/./; q'`
 23301       { if $as_mkdir_p; then
 23302     mkdir -p "$ac_dir"
 23303   else
 23304     as_dir="$ac_dir"
 23305     as_dirs=
 23306     while test ! -d "$as_dir"; do
 23307       as_dirs="$as_dir $as_dirs"
 23308       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23310 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23311 	 X"$as_dir" : 'X\(//\)$' \| \
 23312 	 X"$as_dir" : 'X\(/\)' \| \
 23313 	 .     : '\(.\)' 2>/dev/null ||
 23314 echo X"$as_dir" |
 23315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23316   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23317   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23318   	  /^X\(\/\).*/{ s//\1/; q; }
 23319   	  s/.*/./; q'`
 23320     done
 23321     test ! -n "$as_dirs" || mkdir $as_dirs
 23322   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 23323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 23324    { (exit 1); exit 1; }; }; }
 23325 
 23326       rm -f $ac_file
 23327       mv $tmp/config.h $ac_file
 23328     fi
 23329   else
 23330     cat $tmp/config.h
 23331     rm -f $tmp/config.h
 23332   fi
 23333 # Compute $ac_file's index in $config_headers.
 23334 _am_stamp_count=1
 23335 for _am_header in $config_headers :; do
 23336   case $_am_header in
 23337     $ac_file | $ac_file:* )
 23338       break ;;
 23339     * )
 23340       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 23341   esac
 23342 done
 23343 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 23344 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23345 	 X$ac_file : 'X\(//\)[^/]' \| \
 23346 	 X$ac_file : 'X\(//\)$' \| \
 23347 	 X$ac_file : 'X\(/\)' \| \
 23348 	 .     : '\(.\)' 2>/dev/null ||
 23349 echo X$ac_file |
 23350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23351   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23352   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23353   	  /^X\(\/\).*/{ s//\1/; q; }
 23354   	  s/.*/./; q'`/stamp-h$_am_stamp_count
 23355 done
 23356 _ACEOF
 23357 cat >>$CONFIG_STATUS <<\_ACEOF
 23358 
 23359 #
 23360 # CONFIG_COMMANDS section.
 23361 #
 23362 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 23363   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 23364   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 23365   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 23366 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23367 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
 23368 	 X"$ac_dest" : 'X\(//\)$' \| \
 23369 	 X"$ac_dest" : 'X\(/\)' \| \
 23370 	 .     : '\(.\)' 2>/dev/null ||
 23371 echo X"$ac_dest" |
 23372     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23373   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23374   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23375   	  /^X\(\/\).*/{ s//\1/; q; }
 23376   	  s/.*/./; q'`
 23377   { if $as_mkdir_p; then
 23378     mkdir -p "$ac_dir"
 23379   else
 23380     as_dir="$ac_dir"
 23381     as_dirs=
 23382     while test ! -d "$as_dir"; do
 23383       as_dirs="$as_dir $as_dirs"
 23384       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23386 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23387 	 X"$as_dir" : 'X\(//\)$' \| \
 23388 	 X"$as_dir" : 'X\(/\)' \| \
 23389 	 .     : '\(.\)' 2>/dev/null ||
 23390 echo X"$as_dir" |
 23391     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23392   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23393   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23394   	  /^X\(\/\).*/{ s//\1/; q; }
 23395   	  s/.*/./; q'`
 23396     done
 23397     test ! -n "$as_dirs" || mkdir $as_dirs
 23398   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 23399 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 23400    { (exit 1); exit 1; }; }; }
 23401 
 23402   ac_builddir=.
 23403 
 23404 if test "$ac_dir" != .; then
 23405   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 23406   # A "../" for each directory in $ac_dir_suffix.
 23407   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 23408 else
 23409   ac_dir_suffix= ac_top_builddir=
 23410 fi
 23411 
 23412 case $srcdir in
 23413   .)  # No --srcdir option.  We are building in place.
 23414     ac_srcdir=.
 23415     if test -z "$ac_top_builddir"; then
 23416        ac_top_srcdir=.
 23417     else
 23418        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 23419     fi ;;
 23420   [\\/]* | ?:[\\/]* )  # Absolute path.
 23421     ac_srcdir=$srcdir$ac_dir_suffix;
 23422     ac_top_srcdir=$srcdir ;;
 23423   *) # Relative path.
 23424     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 23425     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 23426 esac
 23427 
 23428 # Do not use `cd foo && pwd` to compute absolute paths, because
 23429 # the directories may not exist.
 23430 case `pwd` in
 23431 .) ac_abs_builddir="$ac_dir";;
 23432 *)
 23433   case "$ac_dir" in
 23434   .) ac_abs_builddir=`pwd`;;
 23435   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 23436   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 23437   esac;;
 23438 esac
 23439 case $ac_abs_builddir in
 23440 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 23441 *)
 23442   case ${ac_top_builddir}. in
 23443   .) ac_abs_top_builddir=$ac_abs_builddir;;
 23444   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 23445   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 23446   esac;;
 23447 esac
 23448 case $ac_abs_builddir in
 23449 .) ac_abs_srcdir=$ac_srcdir;;
 23450 *)
 23451   case $ac_srcdir in
 23452   .) ac_abs_srcdir=$ac_abs_builddir;;
 23453   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 23454   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 23455   esac;;
 23456 esac
 23457 case $ac_abs_builddir in
 23458 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 23459 *)
 23460   case $ac_top_srcdir in
 23461   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 23462   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 23463   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 23464   esac;;
 23465 esac
 23466 
 23467 
 23468   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 23469 echo "$as_me: executing $ac_dest commands" >&6;}
 23470   case $ac_dest in
 23471     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 23472   # Strip MF so we end up with the name of the file.
 23473   mf=`echo "$mf" | sed -e 's/:.*$//'`
 23474   # Check whether this is an Automake generated Makefile or not.
 23475   # We used to match only the files named `Makefile.in', but
 23476   # some people rename them; so instead we look at the file content.
 23477   # Grep'ing the first line is not enough: some people post-process
 23478   # each Makefile.in and add a new line on top of each file to say so.
 23479   # So let's grep whole file.
 23480   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 23481     dirpart=`(dirname "$mf") 2>/dev/null ||
 23482 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23483 	 X"$mf" : 'X\(//\)[^/]' \| \
 23484 	 X"$mf" : 'X\(//\)$' \| \
 23485 	 X"$mf" : 'X\(/\)' \| \
 23486 	 .     : '\(.\)' 2>/dev/null ||
 23487 echo X"$mf" |
 23488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23489   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23490   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23491   	  /^X\(\/\).*/{ s//\1/; q; }
 23492   	  s/.*/./; q'`
 23493   else
 23494     continue
 23495   fi
 23496   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 23497   # Extract the definition of DEP_FILES from the Makefile without
 23498   # running `make'.
 23499   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 23500   test -z "$DEPDIR" && continue
 23501   # When using ansi2knr, U may be empty or an underscore; expand it
 23502   U=`sed -n 's/^U = //p' < "$mf"`
 23503   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 23504   # We invoke sed twice because it is the simplest approach to
 23505   # changing $(DEPDIR) to its actual value in the expansion.
 23506   for file in `sed -n '
 23507     /^DEP_FILES = .*\\\\$/ {
 23508       s/^DEP_FILES = //
 23509       :loop
 23510 	s/\\\\$//
 23511 	p
 23512 	n
 23513 	/\\\\$/ b loop
 23514       p
 23515     }
 23516     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 23517        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 23518     # Make sure the directory exists.
 23519     test -f "$dirpart/$file" && continue
 23520     fdir=`(dirname "$file") 2>/dev/null ||
 23521 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23522 	 X"$file" : 'X\(//\)[^/]' \| \
 23523 	 X"$file" : 'X\(//\)$' \| \
 23524 	 X"$file" : 'X\(/\)' \| \
 23525 	 .     : '\(.\)' 2>/dev/null ||
 23526 echo X"$file" |
 23527     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23528   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23529   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23530   	  /^X\(\/\).*/{ s//\1/; q; }
 23531   	  s/.*/./; q'`
 23532     { if $as_mkdir_p; then
 23533     mkdir -p $dirpart/$fdir
 23534   else
 23535     as_dir=$dirpart/$fdir
 23536     as_dirs=
 23537     while test ! -d "$as_dir"; do
 23538       as_dirs="$as_dir $as_dirs"
 23539       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 23540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 23541 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 23542 	 X"$as_dir" : 'X\(//\)$' \| \
 23543 	 X"$as_dir" : 'X\(/\)' \| \
 23544 	 .     : '\(.\)' 2>/dev/null ||
 23545 echo X"$as_dir" |
 23546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 23547   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 23548   	  /^X\(\/\/\)$/{ s//\1/; q; }
 23549   	  /^X\(\/\).*/{ s//\1/; q; }
 23550   	  s/.*/./; q'`
 23551     done
 23552     test ! -n "$as_dirs" || mkdir $as_dirs
 23553   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 23554 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 23555    { (exit 1); exit 1; }; }; }
 23556 
 23557     # echo "creating $dirpart/$file"
 23558     echo '# dummy' > "$dirpart/$file"
 23559   done
 23560 done
 23561  ;;
 23562   esac
 23563 done
 23564 _ACEOF
 23565 
 23566 cat >>$CONFIG_STATUS <<\_ACEOF
 23567 
 23568 { (exit 0); exit 0; }
 23569 _ACEOF
 23570 chmod +x $CONFIG_STATUS
 23571 ac_clean_files=$ac_clean_files_save
 23572 
 23573 
 23574 # configure is writing to config.log, and then calls config.status.
 23575 # config.status does its own redirection, appending to config.log.
 23576 # Unfortunately, on DOS this fails, as config.log is still kept open
 23577 # by configure, so config.status won't be able to write to it; its
 23578 # output is simply discarded.  So we exec the FD to /dev/null,
 23579 # effectively closing config.log, so it can be properly (re)opened and
 23580 # appended to by config.status.  When coming back to configure, we
 23581 # need to make the FD available again.
 23582 if test "$no_create" != yes; then
 23583   ac_cs_success=:
 23584   ac_config_status_args=
 23585   test "$silent" = yes &&
 23586     ac_config_status_args="$ac_config_status_args --quiet"
 23587   exec 5>/dev/null
 23588   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 23589   exec 5>>config.log
 23590   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 23591   # would make configure fail if this is the last instruction.
 23592   $ac_cs_success || { (exit 1); exit 1; }
 23593 fi
 23594 
 23595