PageRenderTime 519ms CodeModel.GetById 25ms app.highlight 411ms RepoModel.GetById 1ms app.codeStats 3ms

/configure

http://cmockery.googlecode.com/
Shell | 15048 lines | 13252 code | 691 blank | 1105 comment | 605 complexity | feb9eff8cf95fcb7023190a33a275ddb MD5 | raw file
    1#! /bin/sh
    2# Guess values for system-dependent variables and create Makefiles.
    3# Generated by GNU Autoconf 2.59 for cmockery 0.11.
    4#
    5# Report bugs to <opensource@google.com>.
    6#
    7# Copyright (C) 2003 Free Software Foundation, Inc.
    8# This configure script is free software; the Free Software Foundation
    9# gives unlimited permission to copy, distribute and modify it.
   10## --------------------- ##
   11## M4sh Initialization.  ##
   12## --------------------- ##
   13
   14# Be Bourne compatible
   15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16  emulate sh
   17  NULLCMD=:
   18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19  # is contrary to our usage.  Disable this feature.
   20  alias -g '${1+"$@"}'='"$@"'
   21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   22  set -o posix
   23fi
   24DUALCASE=1; export DUALCASE # for MKS sh
   25
   26# Support unset when possible.
   27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   28  as_unset=unset
   29else
   30  as_unset=false
   31fi
   32
   33
   34# Work around bugs in pre-3.0 UWIN ksh.
   35$as_unset ENV MAIL MAILPATH
   36PS1='$ '
   37PS2='> '
   38PS4='+ '
   39
   40# NLS nuisances.
   41for as_var in \
   42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   44  LC_TELEPHONE LC_TIME
   45do
   46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   47    eval $as_var=C; export $as_var
   48  else
   49    $as_unset $as_var
   50  fi
   51done
   52
   53# Required to use basename.
   54if expr a : '\(a\)' >/dev/null 2>&1; then
   55  as_expr=expr
   56else
   57  as_expr=false
   58fi
   59
   60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   61  as_basename=basename
   62else
   63  as_basename=false
   64fi
   65
   66
   67# Name of the executable.
   68as_me=`$as_basename "$0" ||
   69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   70	 X"$0" : 'X\(//\)$' \| \
   71	 X"$0" : 'X\(/\)$' \| \
   72	 .     : '\(.\)' 2>/dev/null ||
   73echo X/"$0" |
   74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   75  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   76  	  /^X\/\(\/\).*/{ s//\1/; q; }
   77  	  s/.*/./; q'`
   78
   79
   80# PATH needs CR, and LINENO needs CR and PATH.
   81# Avoid depending upon Character Ranges.
   82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   85as_cr_digits='0123456789'
   86as_cr_alnum=$as_cr_Letters$as_cr_digits
   87
   88# The user is always right.
   89if test "${PATH_SEPARATOR+set}" != set; then
   90  echo "#! /bin/sh" >conf$$.sh
   91  echo  "exit 0"   >>conf$$.sh
   92  chmod +x conf$$.sh
   93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   94    PATH_SEPARATOR=';'
   95  else
   96    PATH_SEPARATOR=:
   97  fi
   98  rm -f conf$$.sh
   99fi
  100
  101
  102  as_lineno_1=$LINENO
  103  as_lineno_2=$LINENO
  104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  105  test "x$as_lineno_1" != "x$as_lineno_2" &&
  106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  107  # Find who we are.  Look in the path if we contain no path at all
  108  # relative or not.
  109  case $0 in
  110    *[\\/]* ) as_myself=$0 ;;
  111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112for as_dir in $PATH
  113do
  114  IFS=$as_save_IFS
  115  test -z "$as_dir" && as_dir=.
  116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  117done
  118
  119       ;;
  120  esac
  121  # We did not find ourselves, most probably we were run as `sh COMMAND'
  122  # in which case we are not to be found in the path.
  123  if test "x$as_myself" = x; then
  124    as_myself=$0
  125  fi
  126  if test ! -f "$as_myself"; then
  127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  128   { (exit 1); exit 1; }; }
  129  fi
  130  case $CONFIG_SHELL in
  131  '')
  132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  134do
  135  IFS=$as_save_IFS
  136  test -z "$as_dir" && as_dir=.
  137  for as_base in sh bash ksh sh5; do
  138	 case $as_dir in
  139	 /*)
  140	   if ("$as_dir/$as_base" -c '
  141  as_lineno_1=$LINENO
  142  as_lineno_2=$LINENO
  143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  144  test "x$as_lineno_1" != "x$as_lineno_2" &&
  145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  146	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  147	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  148	     CONFIG_SHELL=$as_dir/$as_base
  149	     export CONFIG_SHELL
  150	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  151	   fi;;
  152	 esac
  153       done
  154done
  155;;
  156  esac
  157
  158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  159  # uniformly replaced by the line number.  The first 'sed' inserts a
  160  # line-number line before each line; the second 'sed' does the real
  161  # work.  The second script uses 'N' to pair each line-number line
  162  # with the numbered line, and appends trailing '-' during
  163  # substitution so that $LINENO is not a special case at line end.
  164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  166  sed '=' <$as_myself |
  167    sed '
  168      N
  169      s,$,-,
  170      : loop
  171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  172      t loop
  173      s,-$,,
  174      s,^['$as_cr_digits']*\n,,
  175    ' >$as_me.lineno &&
  176  chmod +x $as_me.lineno ||
  177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  178   { (exit 1); exit 1; }; }
  179
  180  # Don't try to exec as it changes $[0], causing all sort of problems
  181  # (the dirname of $[0] is not the place where we might find the
  182  # original and so on.  Autoconf is especially sensible to this).
  183  . ./$as_me.lineno
  184  # Exit status is that of the last command.
  185  exit
  186}
  187
  188
  189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  190  *c*,-n*) ECHO_N= ECHO_C='
  191' ECHO_T='	' ;;
  192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  194esac
  195
  196if expr a : '\(a\)' >/dev/null 2>&1; then
  197  as_expr=expr
  198else
  199  as_expr=false
  200fi
  201
  202rm -f conf$$ conf$$.exe conf$$.file
  203echo >conf$$.file
  204if ln -s conf$$.file conf$$ 2>/dev/null; then
  205  # We could just check for DJGPP; but this test a) works b) is more generic
  206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  207  if test -f conf$$.exe; then
  208    # Don't use ln at all; we don't have any links
  209    as_ln_s='cp -p'
  210  else
  211    as_ln_s='ln -s'
  212  fi
  213elif ln conf$$.file conf$$ 2>/dev/null; then
  214  as_ln_s=ln
  215else
  216  as_ln_s='cp -p'
  217fi
  218rm -f conf$$ conf$$.exe conf$$.file
  219
  220if mkdir -p . 2>/dev/null; then
  221  as_mkdir_p=:
  222else
  223  test -d ./-p && rmdir ./-p
  224  as_mkdir_p=false
  225fi
  226
  227as_executable_p="test -f"
  228
  229# Sed expression to map a string onto a valid CPP name.
  230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  231
  232# Sed expression to map a string onto a valid variable name.
  233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  234
  235
  236# IFS
  237# We need space, tab and new line, in precisely that order.
  238as_nl='
  239'
  240IFS=" 	$as_nl"
  241
  242# CDPATH.
  243$as_unset CDPATH
  244
  245
  246
  247# Check that we are running under the correct shell.
  248SHELL=${CONFIG_SHELL-/bin/sh}
  249
  250case X$ECHO in
  251X*--fallback-echo)
  252  # Remove one level of quotation (which was required for Make).
  253  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  254  ;;
  255esac
  256
  257echo=${ECHO-echo}
  258if test "X$1" = X--no-reexec; then
  259  # Discard the --no-reexec flag, and continue.
  260  shift
  261elif test "X$1" = X--fallback-echo; then
  262  # Avoid inline document here, it may be left over
  263  :
  264elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  265  # Yippee, $echo works!
  266  :
  267else
  268  # Restart under the correct shell.
  269  exec $SHELL "$0" --no-reexec ${1+"$@"}
  270fi
  271
  272if test "X$1" = X--fallback-echo; then
  273  # used as fallback echo
  274  shift
  275  cat <<EOF
  276$*
  277EOF
  278  exit 0
  279fi
  280
  281# The HP-UX ksh and POSIX shell print the target directory to stdout
  282# if CDPATH is set.
  283(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  284
  285if test -z "$ECHO"; then
  286if test "X${echo_test_string+set}" != Xset; then
  287# find a string as large as possible, as long as the shell can cope with it
  288  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  289    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  290    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  291       echo_test_string=`eval $cmd` &&
  292       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  293    then
  294      break
  295    fi
  296  done
  297fi
  298
  299if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  300   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  301   test "X$echo_testing_string" = "X$echo_test_string"; then
  302  :
  303else
  304  # The Solaris, AIX, and Digital Unix default echo programs unquote
  305  # backslashes.  This makes it impossible to quote backslashes using
  306  #   echo "$something" | sed 's/\\/\\\\/g'
  307  #
  308  # So, first we look for a working echo in the user's PATH.
  309
  310  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  311  for dir in $PATH /usr/ucb; do
  312    IFS="$lt_save_ifs"
  313    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  314       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  315       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  316       test "X$echo_testing_string" = "X$echo_test_string"; then
  317      echo="$dir/echo"
  318      break
  319    fi
  320  done
  321  IFS="$lt_save_ifs"
  322
  323  if test "X$echo" = Xecho; then
  324    # We didn't find a better echo, so look for alternatives.
  325    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  326       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  327       test "X$echo_testing_string" = "X$echo_test_string"; then
  328      # This shell has a builtin print -r that does the trick.
  329      echo='print -r'
  330    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  331	 test "X$CONFIG_SHELL" != X/bin/ksh; then
  332      # If we have ksh, try running configure again with it.
  333      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  334      export ORIGINAL_CONFIG_SHELL
  335      CONFIG_SHELL=/bin/ksh
  336      export CONFIG_SHELL
  337      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  338    else
  339      # Try using printf.
  340      echo='printf %s\n'
  341      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  342	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  343	 test "X$echo_testing_string" = "X$echo_test_string"; then
  344	# Cool, printf works
  345	:
  346      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  347	   test "X$echo_testing_string" = 'X\t' &&
  348	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  349	   test "X$echo_testing_string" = "X$echo_test_string"; then
  350	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  351	export CONFIG_SHELL
  352	SHELL="$CONFIG_SHELL"
  353	export SHELL
  354	echo="$CONFIG_SHELL $0 --fallback-echo"
  355      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  356	   test "X$echo_testing_string" = 'X\t' &&
  357	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  358	   test "X$echo_testing_string" = "X$echo_test_string"; then
  359	echo="$CONFIG_SHELL $0 --fallback-echo"
  360      else
  361	# maybe with a smaller string...
  362	prev=:
  363
  364	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  365	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  366	  then
  367	    break
  368	  fi
  369	  prev="$cmd"
  370	done
  371
  372	if test "$prev" != 'sed 50q "$0"'; then
  373	  echo_test_string=`eval $prev`
  374	  export echo_test_string
  375	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  376	else
  377	  # Oops.  We lost completely, so just stick with echo.
  378	  echo=echo
  379	fi
  380      fi
  381    fi
  382  fi
  383fi
  384fi
  385
  386# Copy echo and quote the copy suitably for passing to libtool from
  387# the Makefile, instead of quoting the original, which is used later.
  388ECHO=$echo
  389if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  390   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  391fi
  392
  393
  394
  395
  396tagnames=${tagnames+${tagnames},}CXX
  397
  398tagnames=${tagnames+${tagnames},}F77
  399
  400# Name of the host.
  401# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  402# so uname gets run too.
  403ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  404
  405exec 6>&1
  406
  407#
  408# Initializations.
  409#
  410ac_default_prefix=/usr/local
  411ac_config_libobj_dir=.
  412cross_compiling=no
  413subdirs=
  414MFLAGS=
  415MAKEFLAGS=
  416SHELL=${CONFIG_SHELL-/bin/sh}
  417
  418# Maximum number of lines to put in a shell here document.
  419# This variable seems obsolete.  It should probably be removed, and
  420# only ac_max_sed_lines should be used.
  421: ${ac_max_here_lines=38}
  422
  423# Identity of this package.
  424PACKAGE_NAME='cmockery'
  425PACKAGE_TARNAME='cmockery'
  426PACKAGE_VERSION='0.11'
  427PACKAGE_STRING='cmockery 0.11'
  428PACKAGE_BUGREPORT='opensource@google.com'
  429
  430ac_unique_file="README"
  431# Factoring default headers for most tests.
  432ac_includes_default="\
  433#include <stdio.h>
  434#if HAVE_SYS_TYPES_H
  435# include <sys/types.h>
  436#endif
  437#if HAVE_SYS_STAT_H
  438# include <sys/stat.h>
  439#endif
  440#if STDC_HEADERS
  441# include <stdlib.h>
  442# include <stddef.h>
  443#else
  444# if HAVE_STDLIB_H
  445#  include <stdlib.h>
  446# endif
  447#endif
  448#if HAVE_STRING_H
  449# if !STDC_HEADERS && HAVE_MEMORY_H
  450#  include <memory.h>
  451# endif
  452# include <string.h>
  453#endif
  454#if HAVE_STRINGS_H
  455# include <strings.h>
  456#endif
  457#if HAVE_INTTYPES_H
  458# include <inttypes.h>
  459#else
  460# if HAVE_STDINT_H
  461#  include <stdint.h>
  462# endif
  463#endif
  464#if HAVE_UNISTD_H
  465# include <unistd.h>
  466#endif"
  467
  468ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE GCC_TRUE GCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBOBJS LTLIBOBJS'
  469ac_subst_files=''
  470
  471# Initialize some variables set by options.
  472ac_init_help=
  473ac_init_version=false
  474# The variables have the same names as the options, with
  475# dashes changed to underlines.
  476cache_file=/dev/null
  477exec_prefix=NONE
  478no_create=
  479no_recursion=
  480prefix=NONE
  481program_prefix=NONE
  482program_suffix=NONE
  483program_transform_name=s,x,x,
  484silent=
  485site=
  486srcdir=
  487verbose=
  488x_includes=NONE
  489x_libraries=NONE
  490
  491# Installation directory options.
  492# These are left unexpanded so users can "make install exec_prefix=/foo"
  493# and all the variables that are supposed to be based on exec_prefix
  494# by default will actually change.
  495# Use braces instead of parens because sh, perl, etc. also accept them.
  496bindir='${exec_prefix}/bin'
  497sbindir='${exec_prefix}/sbin'
  498libexecdir='${exec_prefix}/libexec'
  499datadir='${prefix}/share'
  500sysconfdir='${prefix}/etc'
  501sharedstatedir='${prefix}/com'
  502localstatedir='${prefix}/var'
  503libdir='${exec_prefix}/lib'
  504includedir='${prefix}/include'
  505oldincludedir='/usr/include'
  506infodir='${prefix}/info'
  507mandir='${prefix}/man'
  508
  509ac_prev=
  510for ac_option
  511do
  512  # If the previous option needs an argument, assign it.
  513  if test -n "$ac_prev"; then
  514    eval "$ac_prev=\$ac_option"
  515    ac_prev=
  516    continue
  517  fi
  518
  519  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  520
  521  # Accept the important Cygnus configure options, so we can diagnose typos.
  522
  523  case $ac_option in
  524
  525  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  526    ac_prev=bindir ;;
  527  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  528    bindir=$ac_optarg ;;
  529
  530  -build | --build | --buil | --bui | --bu)
  531    ac_prev=build_alias ;;
  532  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  533    build_alias=$ac_optarg ;;
  534
  535  -cache-file | --cache-file | --cache-fil | --cache-fi \
  536  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  537    ac_prev=cache_file ;;
  538  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  539  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  540    cache_file=$ac_optarg ;;
  541
  542  --config-cache | -C)
  543    cache_file=config.cache ;;
  544
  545  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  546    ac_prev=datadir ;;
  547  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  548  | --da=*)
  549    datadir=$ac_optarg ;;
  550
  551  -disable-* | --disable-*)
  552    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  553    # Reject names that are not valid shell variable names.
  554    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  555      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  556   { (exit 1); exit 1; }; }
  557    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  558    eval "enable_$ac_feature=no" ;;
  559
  560  -enable-* | --enable-*)
  561    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  562    # Reject names that are not valid shell variable names.
  563    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  564      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  565   { (exit 1); exit 1; }; }
  566    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  567    case $ac_option in
  568      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  569      *) ac_optarg=yes ;;
  570    esac
  571    eval "enable_$ac_feature='$ac_optarg'" ;;
  572
  573  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  574  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  575  | --exec | --exe | --ex)
  576    ac_prev=exec_prefix ;;
  577  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  578  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  579  | --exec=* | --exe=* | --ex=*)
  580    exec_prefix=$ac_optarg ;;
  581
  582  -gas | --gas | --ga | --g)
  583    # Obsolete; use --with-gas.
  584    with_gas=yes ;;
  585
  586  -help | --help | --hel | --he | -h)
  587    ac_init_help=long ;;
  588  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  589    ac_init_help=recursive ;;
  590  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  591    ac_init_help=short ;;
  592
  593  -host | --host | --hos | --ho)
  594    ac_prev=host_alias ;;
  595  -host=* | --host=* | --hos=* | --ho=*)
  596    host_alias=$ac_optarg ;;
  597
  598  -includedir | --includedir | --includedi | --included | --include \
  599  | --includ | --inclu | --incl | --inc)
  600    ac_prev=includedir ;;
  601  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  602  | --includ=* | --inclu=* | --incl=* | --inc=*)
  603    includedir=$ac_optarg ;;
  604
  605  -infodir | --infodir | --infodi | --infod | --info | --inf)
  606    ac_prev=infodir ;;
  607  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  608    infodir=$ac_optarg ;;
  609
  610  -libdir | --libdir | --libdi | --libd)
  611    ac_prev=libdir ;;
  612  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  613    libdir=$ac_optarg ;;
  614
  615  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  616  | --libexe | --libex | --libe)
  617    ac_prev=libexecdir ;;
  618  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  619  | --libexe=* | --libex=* | --libe=*)
  620    libexecdir=$ac_optarg ;;
  621
  622  -localstatedir | --localstatedir | --localstatedi | --localstated \
  623  | --localstate | --localstat | --localsta | --localst \
  624  | --locals | --local | --loca | --loc | --lo)
  625    ac_prev=localstatedir ;;
  626  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  627  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  628  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  629    localstatedir=$ac_optarg ;;
  630
  631  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  632    ac_prev=mandir ;;
  633  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  634    mandir=$ac_optarg ;;
  635
  636  -nfp | --nfp | --nf)
  637    # Obsolete; use --without-fp.
  638    with_fp=no ;;
  639
  640  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  641  | --no-cr | --no-c | -n)
  642    no_create=yes ;;
  643
  644  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  645  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  646    no_recursion=yes ;;
  647
  648  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  649  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  650  | --oldin | --oldi | --old | --ol | --o)
  651    ac_prev=oldincludedir ;;
  652  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  653  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  654  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  655    oldincludedir=$ac_optarg ;;
  656
  657  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  658    ac_prev=prefix ;;
  659  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  660    prefix=$ac_optarg ;;
  661
  662  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  663  | --program-pre | --program-pr | --program-p)
  664    ac_prev=program_prefix ;;
  665  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  666  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  667    program_prefix=$ac_optarg ;;
  668
  669  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  670  | --program-suf | --program-su | --program-s)
  671    ac_prev=program_suffix ;;
  672  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  673  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  674    program_suffix=$ac_optarg ;;
  675
  676  -program-transform-name | --program-transform-name \
  677  | --program-transform-nam | --program-transform-na \
  678  | --program-transform-n | --program-transform- \
  679  | --program-transform | --program-transfor \
  680  | --program-transfo | --program-transf \
  681  | --program-trans | --program-tran \
  682  | --progr-tra | --program-tr | --program-t)
  683    ac_prev=program_transform_name ;;
  684  -program-transform-name=* | --program-transform-name=* \
  685  | --program-transform-nam=* | --program-transform-na=* \
  686  | --program-transform-n=* | --program-transform-=* \
  687  | --program-transform=* | --program-transfor=* \
  688  | --program-transfo=* | --program-transf=* \
  689  | --program-trans=* | --program-tran=* \
  690  | --progr-tra=* | --program-tr=* | --program-t=*)
  691    program_transform_name=$ac_optarg ;;
  692
  693  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  694  | -silent | --silent | --silen | --sile | --sil)
  695    silent=yes ;;
  696
  697  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  698    ac_prev=sbindir ;;
  699  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  700  | --sbi=* | --sb=*)
  701    sbindir=$ac_optarg ;;
  702
  703  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  704  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  705  | --sharedst | --shareds | --shared | --share | --shar \
  706  | --sha | --sh)
  707    ac_prev=sharedstatedir ;;
  708  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  709  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  710  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  711  | --sha=* | --sh=*)
  712    sharedstatedir=$ac_optarg ;;
  713
  714  -site | --site | --sit)
  715    ac_prev=site ;;
  716  -site=* | --site=* | --sit=*)
  717    site=$ac_optarg ;;
  718
  719  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  720    ac_prev=srcdir ;;
  721  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  722    srcdir=$ac_optarg ;;
  723
  724  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  725  | --syscon | --sysco | --sysc | --sys | --sy)
  726    ac_prev=sysconfdir ;;
  727  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  728  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  729    sysconfdir=$ac_optarg ;;
  730
  731  -target | --target | --targe | --targ | --tar | --ta | --t)
  732    ac_prev=target_alias ;;
  733  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  734    target_alias=$ac_optarg ;;
  735
  736  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  737    verbose=yes ;;
  738
  739  -version | --version | --versio | --versi | --vers | -V)
  740    ac_init_version=: ;;
  741
  742  -with-* | --with-*)
  743    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  744    # Reject names that are not valid shell variable names.
  745    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  746      { echo "$as_me: error: invalid package name: $ac_package" >&2
  747   { (exit 1); exit 1; }; }
  748    ac_package=`echo $ac_package| sed 's/-/_/g'`
  749    case $ac_option in
  750      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  751      *) ac_optarg=yes ;;
  752    esac
  753    eval "with_$ac_package='$ac_optarg'" ;;
  754
  755  -without-* | --without-*)
  756    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  757    # Reject names that are not valid shell variable names.
  758    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  759      { echo "$as_me: error: invalid package name: $ac_package" >&2
  760   { (exit 1); exit 1; }; }
  761    ac_package=`echo $ac_package | sed 's/-/_/g'`
  762    eval "with_$ac_package=no" ;;
  763
  764  --x)
  765    # Obsolete; use --with-x.
  766    with_x=yes ;;
  767
  768  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  769  | --x-incl | --x-inc | --x-in | --x-i)
  770    ac_prev=x_includes ;;
  771  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  772  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  773    x_includes=$ac_optarg ;;
  774
  775  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  776  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  777    ac_prev=x_libraries ;;
  778  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  779  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  780    x_libraries=$ac_optarg ;;
  781
  782  -*) { echo "$as_me: error: unrecognized option: $ac_option
  783Try \`$0 --help' for more information." >&2
  784   { (exit 1); exit 1; }; }
  785    ;;
  786
  787  *=*)
  788    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  789    # Reject names that are not valid shell variable names.
  790    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  791      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  792   { (exit 1); exit 1; }; }
  793    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  794    eval "$ac_envvar='$ac_optarg'"
  795    export $ac_envvar ;;
  796
  797  *)
  798    # FIXME: should be removed in autoconf 3.0.
  799    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  800    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  801      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  802    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  803    ;;
  804
  805  esac
  806done
  807
  808if test -n "$ac_prev"; then
  809  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  810  { echo "$as_me: error: missing argument to $ac_option" >&2
  811   { (exit 1); exit 1; }; }
  812fi
  813
  814# Be sure to have absolute paths.
  815for ac_var in exec_prefix prefix
  816do
  817  eval ac_val=$`echo $ac_var`
  818  case $ac_val in
  819    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  820    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  821   { (exit 1); exit 1; }; };;
  822  esac
  823done
  824
  825# Be sure to have absolute paths.
  826for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  827	      localstatedir libdir includedir oldincludedir infodir mandir
  828do
  829  eval ac_val=$`echo $ac_var`
  830  case $ac_val in
  831    [\\/$]* | ?:[\\/]* ) ;;
  832    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  833   { (exit 1); exit 1; }; };;
  834  esac
  835done
  836
  837# There might be people who depend on the old broken behavior: `$host'
  838# used to hold the argument of --host etc.
  839# FIXME: To remove some day.
  840build=$build_alias
  841host=$host_alias
  842target=$target_alias
  843
  844# FIXME: To remove some day.
  845if test "x$host_alias" != x; then
  846  if test "x$build_alias" = x; then
  847    cross_compiling=maybe
  848    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  849    If a cross compiler is detected then cross compile mode will be used." >&2
  850  elif test "x$build_alias" != "x$host_alias"; then
  851    cross_compiling=yes
  852  fi
  853fi
  854
  855ac_tool_prefix=
  856test -n "$host_alias" && ac_tool_prefix=$host_alias-
  857
  858test "$silent" = yes && exec 6>/dev/null
  859
  860
  861# Find the source files, if location was not specified.
  862if test -z "$srcdir"; then
  863  ac_srcdir_defaulted=yes
  864  # Try the directory containing this script, then its parent.
  865  ac_confdir=`(dirname "$0") 2>/dev/null ||
  866$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  867	 X"$0" : 'X\(//\)[^/]' \| \
  868	 X"$0" : 'X\(//\)$' \| \
  869	 X"$0" : 'X\(/\)' \| \
  870	 .     : '\(.\)' 2>/dev/null ||
  871echo X"$0" |
  872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  873  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  874  	  /^X\(\/\/\)$/{ s//\1/; q; }
  875  	  /^X\(\/\).*/{ s//\1/; q; }
  876  	  s/.*/./; q'`
  877  srcdir=$ac_confdir
  878  if test ! -r $srcdir/$ac_unique_file; then
  879    srcdir=..
  880  fi
  881else
  882  ac_srcdir_defaulted=no
  883fi
  884if test ! -r $srcdir/$ac_unique_file; then
  885  if test "$ac_srcdir_defaulted" = yes; then
  886    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  887   { (exit 1); exit 1; }; }
  888  else
  889    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  890   { (exit 1); exit 1; }; }
  891  fi
  892fi
  893(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  894  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  895   { (exit 1); exit 1; }; }
  896srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  897ac_env_build_alias_set=${build_alias+set}
  898ac_env_build_alias_value=$build_alias
  899ac_cv_env_build_alias_set=${build_alias+set}
  900ac_cv_env_build_alias_value=$build_alias
  901ac_env_host_alias_set=${host_alias+set}
  902ac_env_host_alias_value=$host_alias
  903ac_cv_env_host_alias_set=${host_alias+set}
  904ac_cv_env_host_alias_value=$host_alias
  905ac_env_target_alias_set=${target_alias+set}
  906ac_env_target_alias_value=$target_alias
  907ac_cv_env_target_alias_set=${target_alias+set}
  908ac_cv_env_target_alias_value=$target_alias
  909ac_env_CC_set=${CC+set}
  910ac_env_CC_value=$CC
  911ac_cv_env_CC_set=${CC+set}
  912ac_cv_env_CC_value=$CC
  913ac_env_CFLAGS_set=${CFLAGS+set}
  914ac_env_CFLAGS_value=$CFLAGS
  915ac_cv_env_CFLAGS_set=${CFLAGS+set}
  916ac_cv_env_CFLAGS_value=$CFLAGS
  917ac_env_LDFLAGS_set=${LDFLAGS+set}
  918ac_env_LDFLAGS_value=$LDFLAGS
  919ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  920ac_cv_env_LDFLAGS_value=$LDFLAGS
  921ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  922ac_env_CPPFLAGS_value=$CPPFLAGS
  923ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  924ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  925ac_env_CPP_set=${CPP+set}
  926ac_env_CPP_value=$CPP
  927ac_cv_env_CPP_set=${CPP+set}
  928ac_cv_env_CPP_value=$CPP
  929ac_env_CXX_set=${CXX+set}
  930ac_env_CXX_value=$CXX
  931ac_cv_env_CXX_set=${CXX+set}
  932ac_cv_env_CXX_value=$CXX
  933ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  934ac_env_CXXFLAGS_value=$CXXFLAGS
  935ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  936ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  937ac_env_CXXCPP_set=${CXXCPP+set}
  938ac_env_CXXCPP_value=$CXXCPP
  939ac_cv_env_CXXCPP_set=${CXXCPP+set}
  940ac_cv_env_CXXCPP_value=$CXXCPP
  941ac_env_F77_set=${F77+set}
  942ac_env_F77_value=$F77
  943ac_cv_env_F77_set=${F77+set}
  944ac_cv_env_F77_value=$F77
  945ac_env_FFLAGS_set=${FFLAGS+set}
  946ac_env_FFLAGS_value=$FFLAGS
  947ac_cv_env_FFLAGS_set=${FFLAGS+set}
  948ac_cv_env_FFLAGS_value=$FFLAGS
  949
  950#
  951# Report the --help message.
  952#
  953if test "$ac_init_help" = "long"; then
  954  # Omit some internal or obsolete options to make the list less imposing.
  955  # This message is too long to be a string in the A/UX 3.1 sh.
  956  cat <<_ACEOF
  957\`configure' configures cmockery 0.11 to adapt to many kinds of systems.
  958
  959Usage: $0 [OPTION]... [VAR=VALUE]...
  960
  961To assign environment variables (e.g., CC, CFLAGS...), specify them as
  962VAR=VALUE.  See below for descriptions of some of the useful variables.
  963
  964Defaults for the options are specified in brackets.
  965
  966Configuration:
  967  -h, --help              display this help and exit
  968      --help=short        display options specific to this package
  969      --help=recursive    display the short help of all the included packages
  970  -V, --version           display version information and exit
  971  -q, --quiet, --silent   do not print \`checking...' messages
  972      --cache-file=FILE   cache test results in FILE [disabled]
  973  -C, --config-cache      alias for \`--cache-file=config.cache'
  974  -n, --no-create         do not create output files
  975      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  976
  977_ACEOF
  978
  979  cat <<_ACEOF
  980Installation directories:
  981  --prefix=PREFIX         install architecture-independent files in PREFIX
  982			  [$ac_default_prefix]
  983  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  984			  [PREFIX]
  985
  986By default, \`make install' will install all the files in
  987\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  988an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  989for instance \`--prefix=\$HOME'.
  990
  991For better control, use the options below.
  992
  993Fine tuning of the installation directories:
  994  --bindir=DIR           user executables [EPREFIX/bin]
  995  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  996  --libexecdir=DIR       program executables [EPREFIX/libexec]
  997  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  998  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  999  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1000  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1001  --libdir=DIR           object code libraries [EPREFIX/lib]
 1002  --includedir=DIR       C header files [PREFIX/include]
 1003  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1004  --infodir=DIR          info documentation [PREFIX/info]
 1005  --mandir=DIR           man documentation [PREFIX/man]
 1006_ACEOF
 1007
 1008  cat <<\_ACEOF
 1009
 1010Program names:
 1011  --program-prefix=PREFIX            prepend PREFIX to installed program names
 1012  --program-suffix=SUFFIX            append SUFFIX to installed program names
 1013  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1014
 1015System types:
 1016  --build=BUILD     configure for building on BUILD [guessed]
 1017  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1018_ACEOF
 1019fi
 1020
 1021if test -n "$ac_init_help"; then
 1022  case $ac_init_help in
 1023     short | recursive ) echo "Configuration of cmockery 0.11:";;
 1024   esac
 1025  cat <<\_ACEOF
 1026
 1027Optional Features:
 1028  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1029  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1030  --disable-dependency-tracking  speeds up one-time build
 1031  --enable-dependency-tracking   do not reject slow dependency extractors
 1032  --enable-shared[=PKGS]
 1033                          build shared libraries [default=yes]
 1034  --enable-static[=PKGS]
 1035                          build static libraries [default=yes]
 1036  --enable-fast-install[=PKGS]
 1037                          optimize for fast installation [default=yes]
 1038  --disable-libtool-lock  avoid locking (might break parallel builds)
 1039  --enable-namespace=FOO to define these Google
 1040                             classes in the FOO namespace. --disable-namespace
 1041                             to define them in the global namespace. Default
 1042                             is to define them in namespace google.
 1043
 1044Optional Packages:
 1045  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1046  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1047  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1048  --with-pic              try to use only PIC/non-PIC objects [default=use
 1049                          both]
 1050  --with-tags[=TAGS]
 1051                          include additional configurations [automatic]
 1052
 1053Some influential environment variables:
 1054  CC          C compiler command
 1055  CFLAGS      C compiler flags
 1056  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1057              nonstandard directory <lib dir>
 1058  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1059              headers in a nonstandard directory <include dir>
 1060  CPP         C preprocessor
 1061  CXX         C++ compiler command
 1062  CXXFLAGS    C++ compiler flags
 1063  CXXCPP      C++ preprocessor
 1064  F77         Fortran 77 compiler command
 1065  FFLAGS      Fortran 77 compiler flags
 1066
 1067Use these variables to override the choices made by `configure' or to help
 1068it to find libraries and programs with nonstandard names/locations.
 1069
 1070Report bugs to <opensource@google.com>.
 1071_ACEOF
 1072fi
 1073
 1074if test "$ac_init_help" = "recursive"; then
 1075  # If there are subdirs, report their specific --help.
 1076  ac_popdir=`pwd`
 1077  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1078    test -d $ac_dir || continue
 1079    ac_builddir=.
 1080
 1081if test "$ac_dir" != .; then
 1082  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1083  # A "../" for each directory in $ac_dir_suffix.
 1084  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1085else
 1086  ac_dir_suffix= ac_top_builddir=
 1087fi
 1088
 1089case $srcdir in
 1090  .)  # No --srcdir option.  We are building in place.
 1091    ac_srcdir=.
 1092    if test -z "$ac_top_builddir"; then
 1093       ac_top_srcdir=.
 1094    else
 1095       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1096    fi ;;
 1097  [\\/]* | ?:[\\/]* )  # Absolute path.
 1098    ac_srcdir=$srcdir$ac_dir_suffix;
 1099    ac_top_srcdir=$srcdir ;;
 1100  *) # Relative path.
 1101    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1102    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1103esac
 1104
 1105# Do not use `cd foo && pwd` to compute absolute paths, because
 1106# the directories may not exist.
 1107case `pwd` in
 1108.) ac_abs_builddir="$ac_dir";;
 1109*)
 1110  case "$ac_dir" in
 1111  .) ac_abs_builddir=`pwd`;;
 1112  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1113  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1114  esac;;
 1115esac
 1116case $ac_abs_builddir in
 1117.) ac_abs_top_builddir=${ac_top_builddir}.;;
 1118*)
 1119  case ${ac_top_builddir}. in
 1120  .) ac_abs_top_builddir=$ac_abs_builddir;;
 1121  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1122  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1123  esac;;
 1124esac
 1125case $ac_abs_builddir in
 1126.) ac_abs_srcdir=$ac_srcdir;;
 1127*)
 1128  case $ac_srcdir in
 1129  .) ac_abs_srcdir=$ac_abs_builddir;;
 1130  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1131  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1132  esac;;
 1133esac
 1134case $ac_abs_builddir in
 1135.) ac_abs_top_srcdir=$ac_top_srcdir;;
 1136*)
 1137  case $ac_top_srcdir in
 1138  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1139  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1140  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1141  esac;;
 1142esac
 1143
 1144    cd $ac_dir
 1145    # Check for guested configure; otherwise get Cygnus style configure.
 1146    if test -f $ac_srcdir/configure.gnu; then
 1147      echo
 1148      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1149    elif test -f $ac_srcdir/configure; then
 1150      echo
 1151      $SHELL $ac_srcdir/configure  --help=recursive
 1152    elif test -f $ac_srcdir/configure.ac ||
 1153	   test -f $ac_srcdir/configure.in; then
 1154      echo
 1155      $ac_configure --help
 1156    else
 1157      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1158    fi
 1159    cd "$ac_popdir"
 1160  done
 1161fi
 1162
 1163test -n "$ac_init_help" && exit 0
 1164if $ac_init_version; then
 1165  cat <<\_ACEOF
 1166cmockery configure 0.11
 1167generated by GNU Autoconf 2.59
 1168
 1169Copyright (C) 2003 Free Software Foundation, Inc.
 1170This configure script is free software; the Free Software Foundation
 1171gives unlimited permission to copy, distribute and modify it.
 1172_ACEOF
 1173  exit 0
 1174fi
 1175exec 5>config.log
 1176cat >&5 <<_ACEOF
 1177This file contains any messages produced by compilers while
 1178running configure, to aid debugging if configure makes a mistake.
 1179
 1180It was created by cmockery $as_me 0.11, which was
 1181generated by GNU Autoconf 2.59.  Invocation command line was
 1182
 1183  $ $0 $@
 1184
 1185_ACEOF
 1186{
 1187cat <<_ASUNAME
 1188## --------- ##
 1189## Platform. ##
 1190## --------- ##
 1191
 1192hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1193uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1194uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1195uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1196uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1197
 1198/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1199/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1200
 1201/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1202/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1203/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1204hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1205/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1206/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1207/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1208
 1209_ASUNAME
 1210
 1211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1212for as_dir in $PATH
 1213do
 1214  IFS=$as_save_IFS
 1215  test -z "$as_dir" && as_dir=.
 1216  echo "PATH: $as_dir"
 1217done
 1218
 1219} >&5
 1220
 1221cat >&5 <<_ACEOF
 1222
 1223
 1224## ----------- ##
 1225## Core tests. ##
 1226## ----------- ##
 1227
 1228_ACEOF
 1229
 1230
 1231# Keep a trace of the command line.
 1232# Strip out --no-create and --no-recursion so they do not pile up.
 1233# Strip out --silent because we don't want to record it for future runs.
 1234# Also quote any args containing shell meta-characters.
 1235# Make two passes to allow for proper duplicate-argument suppression.
 1236ac_configure_args=
 1237ac_configure_args0=
 1238ac_configure_args1=
 1239ac_sep=
 1240ac_must_keep_next=false
 1241for ac_pass in 1 2
 1242do
 1243  for ac_arg
 1244  do
 1245    case $ac_arg in
 1246    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1247    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1248    | -silent | --silent | --silen | --sile | --sil)
 1249      continue ;;
 1250    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1251      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1252    esac
 1253    case $ac_pass in
 1254    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1255    2)
 1256      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1257      if test $ac_must_keep_next = true; then
 1258	ac_must_keep_next=false # Got value, back to normal.
 1259      else
 1260	case $ac_arg in
 1261	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1262	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1263	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1264	  | -with-* | --with-* | -without-* | --without-* | --x)
 1265	    case "$ac_configure_args0 " in
 1266	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1267	    esac
 1268	    ;;
 1269	  -* ) ac_must_keep_next=true ;;
 1270	esac
 1271      fi
 1272      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1273      # Get rid of the leading space.
 1274      ac_sep=" "
 1275      ;;
 1276    esac
 1277  done
 1278done
 1279$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1280$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1281
 1282# When interrupted or exit'd, cleanup temporary files, and complete
 1283# config.log.  We remove comments because anyway the quotes in there
 1284# would cause problems or look ugly.
 1285# WARNING: Be sure not to use single quotes in there, as some shells,
 1286# such as our DU 5.0 friend, will then `close' the trap.
 1287trap 'exit_status=$?
 1288  # Save into config.log some information that might help in debugging.
 1289  {
 1290    echo
 1291
 1292    cat <<\_ASBOX
 1293## ---------------- ##
 1294## Cache variables. ##
 1295## ---------------- ##
 1296_ASBOX
 1297    echo
 1298    # The following way of writing the cache mishandles newlines in values,
 1299{
 1300  (set) 2>&1 |
 1301    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1302    *ac_space=\ *)
 1303      sed -n \
 1304	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1305	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1306      ;;
 1307    *)
 1308      sed -n \
 1309	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1310      ;;
 1311    esac;
 1312}
 1313    echo
 1314
 1315    cat <<\_ASBOX
 1316## ----------------- ##
 1317## Output variables. ##
 1318## ----------------- ##
 1319_ASBOX
 1320    echo
 1321    for ac_var in $ac_subst_vars
 1322    do
 1323      eval ac_val=$`echo $ac_var`
 1324      echo "$ac_var='"'"'$ac_val'"'"'"
 1325    done | sort
 1326    echo
 1327
 1328    if test -n "$ac_subst_files"; then
 1329      cat <<\_ASBOX
 1330## ------------- ##
 1331## Output files. ##
 1332## ------------- ##
 1333_ASBOX
 1334      echo
 1335      for ac_var in $ac_subst_files
 1336      do
 1337	eval ac_val=$`echo $ac_var`
 1338	echo "$ac_var='"'"'$ac_val'"'"'"
 1339      done | sort
 1340      echo
 1341    fi
 1342
 1343    if test -s confdefs.h; then
 1344      cat <<\_ASBOX
 1345## ----------- ##
 1346## confdefs.h. ##
 1347## ----------- ##
 1348_ASBOX
 1349      echo
 1350      sed "/^$/d" confdefs.h | sort
 1351      echo
 1352    fi
 1353    test "$ac_signal" != 0 &&
 1354      echo "$as_me: caught signal $ac_signal"
 1355    echo "$as_me: exit $exit_status"
 1356  } >&5
 1357  rm -f core *.core &&
 1358  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1359    exit $exit_status
 1360     ' 0
 1361for ac_signal in 1 2 13 15; do
 1362  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1363done
 1364ac_signal=0
 1365
 1366# confdefs.h avoids OS command line length limits that DEFS can exceed.
 1367rm -rf conftest* confdefs.h
 1368# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1369echo >confdefs.h
 1370
 1371# Predefined preprocessor variables.
 1372
 1373cat >>confdefs.h <<_ACEOF
 1374#define PACKAGE_NAME "$PACKAGE_NAME"
 1375_ACEOF
 1376
 1377
 1378cat >>confdefs.h <<_ACEOF
 1379#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1380_ACEOF
 1381
 1382
 1383cat >>confdefs.h <<_ACEOF
 1384#define PACKAGE_VERSION "$PACKAGE_VERSION"
 1385_ACEOF
 1386
 1387
 1388cat >>confdefs.h <<_ACEOF
 1389#define PACKAGE_STRING "$PACKAGE_STRING"
 1390_ACEOF
 1391
 1392
 1393cat >>confdefs.h <<_ACEOF
 1394#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1395_ACEOF
 1396
 1397
 1398# Let the site file select an alternate cache file if it wants to.
 1399# Prefer explicitly selected file to automatically selected ones.
 1400if test -z "$CONFIG_SITE"; then
 1401  if test "x$prefix" != xNONE; then
 1402    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1403  else
 1404    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1405  fi
 1406fi
 1407for ac_site_file in $CONFIG_SITE; do
 1408  if test -r "$ac_site_file"; then
 1409    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1410echo "$as_me: loading site script $ac_site_file" >&6;}
 1411    sed 's/^/| /' "$ac_site_file" >&5
 1412    . "$ac_site_file"
 1413  fi
 1414done
 1415
 1416if test -r "$cache_file"; then
 1417  # Some versions of bash will fail to source /dev/null (special
 1418  # files actually), so we avoid doing that.
 1419  if test -f "$cache_file"; then
 1420    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1421echo "$as_me: loading cache $cache_file" >&6;}
 1422    case $cache_file in
 1423      [\\/]* | ?:[\\/]* ) . $cache_file;;
 1424      *)                      . ./$cache_file;;
 1425    esac
 1426  fi
 1427else
 1428  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1429echo "$as_me: creating cache $cache_file" >&6;}
 1430  >$cache_file
 1431fi
 1432
 1433# Check that the precious variables saved in the cache have kept the same
 1434# value.
 1435ac_cache_corrupted=false
 1436for ac_var in `(set) 2>&1 |
 1437	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1438  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1439  eval ac_new_set=\$ac_env_${ac_var}_set
 1440  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1441  eval ac_new_val="\$ac_env_${ac_var}_value"
 1442  case $ac_old_set,$ac_new_set in
 1443    set,)
 1444      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1445echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1446      ac_cache_corrupted=: ;;
 1447    ,set)
 1448      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1449echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1450      ac_cache_corrupted=: ;;
 1451    ,);;
 1452    *)
 1453      if test "x$ac_old_val" != "x$ac_new_val"; then
 1454	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1455echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1456	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1457echo "$as_me:   former value:  $ac_old_val" >&2;}
 1458	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1459echo "$as_me:   current value: $ac_new_val" >&2;}
 1460	ac_cache_corrupted=:
 1461      fi;;
 1462  esac
 1463  # Pass precious variables to config.status.
 1464  if test "$ac_new_set" = set; then
 1465    case $ac_new_val in
 1466    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1467      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1468    *) ac_arg=$ac_var=$ac_new_val ;;
 1469    esac
 1470    case " $ac_configure_args " in
 1471      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1472      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1473    esac
 1474  fi
 1475done
 1476if $ac_cache_corrupted; then
 1477  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1478echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1479  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1480echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1481   { (exit 1); exit 1; }; }
 1482fi
 1483
 1484ac_ext=c
 1485ac_cpp='$CPP $CPPFLAGS'
 1486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1488ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1489
 1490
 1491
 1492
 1493
 1494
 1495
 1496
 1497
 1498
 1499
 1500
 1501
 1502
 1503
 1504
 1505
 1506
 1507
 1508
 1509
 1510
 1511
 1512
 1513
 1514
 1515
 1516# The argument here is just something that should be in the current directory
 1517# (for sanity checking)
 1518
 1519am__api_version="1.9"
 1520ac_aux_dir=
 1521for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 1522  if test -f $ac_dir/install-sh; then
 1523    ac_aux_dir=$ac_dir
 1524    ac_install_sh="$ac_aux_dir/install-sh -c"
 1525    break
 1526  elif test -f $ac_dir/install.sh; then
 1527    ac_aux_dir=$ac_dir
 1528    ac_install_sh="$ac_aux_dir/install.sh -c"
 1529    break
 1530  elif test -f $ac_dir/shtool; then
 1531    ac_aux_dir=$ac_dir
 1532    ac_install_sh="$ac_aux_dir/shtool install -c"
 1533    break
 1534  fi
 1535done
 1536if test -z "$ac_aux_dir"; then
 1537  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1538echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1539   { (exit 1); exit 1; }; }
 1540fi
 1541ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1542ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1543ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1544
 1545# Find a good install program.  We prefer a C program (faster),
 1546# so one script is as good as another.  But avoid the broken or
 1547# incompatible versions:
 1548# SysV /etc/install, /usr/sbin/install
 1549# SunOS /usr/etc/install
 1550# IRIX /sbin/install
 1551# AIX /bin/install
 1552# AmigaOS /C/install, which installs bootblocks on floppy discs
 1553# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1554# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1555# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1556# OS/2's system install, which has a completely different semantic
 1557# ./install, which can be erroneously created by make from ./install.sh.
 1558echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 1559echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 1560if test -z "$INSTALL"; then
 1561if test "${ac_cv_path_install+set}" = set; then
 1562  echo $ECHO_N "(cached) $ECHO_C" >&6
 1563else
 1564  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1565for as_dir in $PATH
 1566do
 1567  IFS=$as_save_IFS
 1568  test -z "$as_dir" && as_dir=.
 1569  # Account for people who put trailing slashes in PATH elements.
 1570case $as_dir/ in
 1571  ./ | .// | /cC/* | \
 1572  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 1573  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 1574  /usr/ucb/* ) ;;
 1575  *)
 1576    # OSF1 and SCO ODT 3.0 have their own names for install.
 1577    # Don't use installbsd from OSF since it installs stuff as root
 1578    # by default.
 1579    for ac_prog in ginstall scoinst install; do
 1580      for ac_exec_ext in '' $ac_executable_extensions; do
 1581	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 1582	  if test $ac_prog = install &&
 1583	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1584	    # AIX install.  It has an incompatible calling convention.
 1585	    :
 1586	  elif test $ac_prog = install &&
 1587	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1588	    # program-specific install script used by HP pwplus--don't use.
 1589	    :
 1590	  else
 1591	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 1592	    break 3
 1593	  fi
 1594	fi
 1595      done
 1596    done
 1597    ;;
 1598esac
 1599done
 1600
 1601
 1602fi
 1603  if test "${ac_cv_path_install+set}" = set; then
 1604    INSTALL=$ac_cv_path_install
 1605  else
 1606    # As a last resort, use the slow shell script.  We don't cache a
 1607    # path for INSTALL within a source directory, because that will
 1608    # break other packages using the cache if that directory is
 1609    # removed, or if the path is relative.
 1610    INSTALL=$ac_install_sh
 1611  fi
 1612fi
 1613echo "$as_me:$LINENO: result: $INSTALL" >&5
 1614echo "${ECHO_T}$INSTALL" >&6
 1615
 1616# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1617# It thinks the first close brace ends the variable substitution.
 1618test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1619
 1620test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1621
 1622test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1623
 1624echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 1625echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1626# Just in case
 1627sleep 1
 1628echo timestamp > conftest.file
 1629# Do `set' in a subshell so we don't clobber the current shell's
 1630# arguments.  Must try -L first in case configure is actually a
 1631# symlink; some systems play weird games with the mod time of symlinks
 1632# (eg FreeBSD returns the mod time of the symlink's containing
 1633# directory).
 1634if (
 1635   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 1636   if test "$*" = "X"; then
 1637      # -L didn't work.
 1638      set X `ls -t $srcdir/configure conftest.file`
 1639   fi
 1640   rm -f conftest.file
 1641   if test "$*" != "X $srcdir/configure conftest.file" \
 1642      && test "$*" != "X conftest.file $srcdir/configure"; then
 1643
 1644      # If neither matched, then we have a broken ls.  This can happen
 1645      # if, for instance, CONFIG_SHELL is bash and it inherits a
 1646      # broken ls alias from the environment.  This has actually
 1647      # happened.  Such a system could not be considered "sane".
 1648      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 1649alias in your environment" >&5
 1650echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1651alias in your environment" >&2;}
 1652   { (exit 1); exit 1; }; }
 1653   fi
 1654
 1655   test "$2" = conftest.file
 1656   )
 1657then
 1658   # Ok.
 1659   :
 1660else
 1661   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 1662Check your system clock" >&5
 1663echo "$as_me: error: newly created file is older than distributed files!
 1664Check your system clock" >&2;}
 1665   { (exit 1); exit 1; }; }
 1666fi
 1667echo "$as_me:$LINENO: result: yes" >&5
 1668echo "${ECHO_T}yes" >&6
 1669test "$program_prefix" != NONE &&
 1670  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1671# Use a double $ so make ignores it.
 1672test "$program_suffix" != NONE &&
 1673  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1674# Double any \ or $.  echo might interpret backslashes.
 1675# By default was `s,x,x', remove it if useless.
 1676cat <<\_ACEOF >conftest.sed
 1677s/[\\$]/&&/g;s/;s,x,x,$//
 1678_ACEOF
 1679program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1680rm conftest.sed
 1681
 1682# expand $ac_aux_dir to an absolute path
 1683am_aux_dir=`cd $ac_aux_dir && pwd`
 1684
 1685test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 1686# Use eval to expand $SHELL
 1687if eval "$MISSING --run true"; then
 1688  am_missing_run="$MISSING --run "
 1689else
 1690  am_missing_run=
 1691  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 1692echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 1693fi
 1694
 1695if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 1696  # We used to keeping the `.' as first argument, in order to
 1697  # allow $(mkdir_p) to be used without argument.  As in
 1698  #   $(mkdir_p) $(somedir)
 1699  # where $(somedir) is conditionally defined.  However this is wrong
 1700  # for two reasons:
 1701  #  1. if the package is installed by a user who cannot write `.'
 1702  #     make install will fail,
 1703  #  2. the above comment should most certainly read
 1704  #     $(mkdir_p) $(DESTDIR)$(somedir)
 1705  #     so it does not work when $(somedir) is undefined and
 1706  #     $(DESTDIR) is not.
 1707  #  To support the latter case, we have to write
 1708  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 1709  #  so the `.' trick is pointless.
 1710  mkdir_p='mkdir -p --'
 1711else
 1712  # On NextStep and OpenStep, the `mkdir' command does not
 1713  # recognize any option.  It will interpret all options as
 1714  # directories to create, and then abort because `.' already
 1715  # exists.
 1716  for d in ./-p ./--version;
 1717  do
 1718    test -d $d && rmdir $d
 1719  done
 1720  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 1721  if test -f "$ac_aux_dir/mkinstalldirs"; then
 1722    mkdir_p='$(mkinstalldirs)'
 1723  else
 1724    mkdir_p='$(install_sh) -d'
 1725  fi
 1726fi
 1727
 1728for ac_prog in gawk mawk nawk awk
 1729do
 1730  # Extract the first word of "$ac_prog", so it can be a program name with args.
 1731set dummy $ac_prog; ac_word=$2
 1732echo "$as_me:$LINENO: checking for $ac_word" >&5
 1733echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1734if test "${ac_cv_prog_AWK+set}" = set; then
 1735  echo $ECHO_N "(cached) $ECHO_C" >&6
 1736else
 1737  if test -n "$AWK"; then
 1738  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 1739else
 1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1741for as_dir in $PATH
 1742do
 1743  IFS=$as_save_IFS
 1744  test -z "$as_dir" && as_dir=.
 1745  for ac_exec_ext in '' $ac_executable_extensions; do
 1746  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1747    ac_cv_prog_AWK="$ac_prog"
 1748    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1749    break 2
 1750  fi
 1751done
 1752done
 1753
 1754fi
 1755fi
 1756AWK=$ac_cv_prog_AWK
 1757if test -n "$AWK"; then
 1758  echo "$as_me:$LINENO: result: $AWK" >&5
 1759echo "${ECHO_T}$AWK" >&6
 1760else
 1761  echo "$as_me:$LINENO: result: no" >&5
 1762echo "${ECHO_T}no" >&6
 1763fi
 1764
 1765  test -n "$AWK" && break
 1766done
 1767
 1768echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 1769echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 1770set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 1771if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1772  echo $ECHO_N "(cached) $ECHO_C" >&6
 1773else
 1774  cat >conftest.make <<\_ACEOF
 1775all:
 1776	@echo 'ac_maketemp="$(MAKE)"'
 1777_ACEOF
 1778# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1779eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1780if test -n "$ac_maketemp"; then
 1781  eval ac_cv_prog_make_${ac_make}_set=yes
 1782else
 1783  eval ac_cv_prog_make_${ac_make}_set=no
 1784fi
 1785rm -f conftest.make
 1786fi
 1787if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1788  echo "$as_me:$LINENO: result: yes" >&5
 1789echo "${ECHO_T}yes" >&6
 1790  SET_MAKE=
 1791else
 1792  echo "$as_me:$LINENO: result: no" >&5
 1793echo "${ECHO_T}no" >&6
 1794  SET_MAKE="MAKE=${MAKE-make}"
 1795fi
 1796
 1797rm -rf .tst 2>/dev/null
 1798mkdir .tst 2>/dev/null
 1799if test -d .tst; then
 1800  am__leading_dot=.
 1801else
 1802  am__leading_dot=_
 1803fi
 1804rmdir .tst 2>/dev/null
 1805
 1806# test to see if srcdir already configured
 1807if test "`cd $srcdir && pwd`" != "`pwd`" &&
 1808   test -f $srcdir/config.status; then
 1809  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 1810echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1811   { (exit 1); exit 1; }; }
 1812fi
 1813
 1814# test whether we have cygpath
 1815if test -z "$CYGPATH_W"; then
 1816  if (cygpath --version) >/dev/null 2>/dev/null; then
 1817    CYGPATH_W='cygpath -w'
 1818  else
 1819    CYGPATH_W=echo
 1820  fi
 1821fi
 1822
 1823
 1824# Define the identity of the package.
 1825 PACKAGE='cmockery'
 1826 VERSION='0.11'
 1827
 1828
 1829cat >>confdefs.h <<_ACEOF
 1830#define PACKAGE "$PACKAGE"
 1831_ACEOF
 1832
 1833
 1834cat >>confdefs.h <<_ACEOF
 1835#define VERSION "$VERSION"
 1836_ACEOF
 1837
 1838# Some tools Automake needs.
 1839
 1840ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 1841
 1842
 1843AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 1844
 1845
 1846AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 1847
 1848
 1849AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 1850
 1851
 1852MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 1853
 1854install_sh=${install_sh-"$am_aux_dir/install-sh"}
 1855
 1856# Installed binaries are usually stripped using `strip' when the user
 1857# run `make install-strip'.  However `strip' might not be the right
 1858# tool to use in cross-compilation environments, therefore Automake
 1859# will honor the `STRIP' environment variable to overrule this program.
 1860if test "$cross_compiling" != no; then
 1861  if test -n "$ac_tool_prefix"; then
 1862  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 1863set dummy ${ac_tool_prefix}strip; ac_word=$2
 1864echo "$as_me:$LINENO: checking for $ac_word" >&5
 1865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1866if test "${ac_cv_prog_STRIP+set}" = set; then
 1867  echo $ECHO_N "(cached) $ECHO_C" >&6
 1868else
 1869  if test -n "$STRIP"; then
 1870  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 1871else
 1872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1873for as_dir in $PATH
 1874do
 1875  IFS=$as_save_IFS
 1876  test -z "$as_dir" && as_dir=.
 1877  for ac_exec_ext in '' $ac_executable_extensions; do
 1878  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1879    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 1880    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1881    break 2
 1882  fi
 1883done
 1884done
 1885
 1886fi
 1887fi
 1888STRIP=$ac_cv_prog_STRIP
 1889if test -n "$STRIP"; then
 1890  echo "$as_me:$LINENO: result: $STRIP" >&5
 1891echo "${ECHO_T}$STRIP" >&6
 1892else
 1893  echo "$as_me:$LINENO: result: no" >&5
 1894echo "${ECHO_T}no" >&6
 1895fi
 1896
 1897fi
 1898if test -z "$ac_cv_prog_STRIP"; then
 1899  ac_ct_STRIP=$STRIP
 1900  # Extract the first word of "strip", so it can be a program name with args.
 1901set dummy strip; ac_word=$2
 1902echo "$as_me:$LINENO: checking for $ac_word" >&5
 1903echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1904if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 1905  echo $ECHO_N "(cached) $ECHO_C" >&6
 1906else
 1907  if test -n "$ac_ct_STRIP"; then
 1908  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 1909else
 1910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1911for as_dir in $PATH
 1912do
 1913  IFS=$as_save_IFS
 1914  test -z "$as_dir" && as_dir=.
 1915  for ac_exec_ext in '' $ac_executable_extensions; do
 1916  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1917    ac_cv_prog_ac_ct_STRIP="strip"
 1918    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1919    break 2
 1920  fi
 1921done
 1922done
 1923
 1924  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 1925fi
 1926fi
 1927ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 1928if test -n "$ac_ct_STRIP"; then
 1929  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 1930echo "${ECHO_T}$ac_ct_STRIP" >&6
 1931else
 1932  echo "$as_me:$LINENO: result: no" >&5
 1933echo "${ECHO_T}no" >&6
 1934fi
 1935
 1936  STRIP=$ac_ct_STRIP
 1937else
 1938  STRIP="$ac_cv_prog_STRIP"
 1939fi
 1940
 1941fi
 1942INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 1943
 1944# We need awk for the "check" target.  The system "awk" is bad on
 1945# some platforms.
 1946# Always define AMTAR for backward compatibility.
 1947
 1948AMTAR=${AMTAR-"${am_missing_run}tar"}
 1949
 1950am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 1951
 1952
 1953
 1954
 1955
 1956          ac_config_headers="$ac_config_headers src/config.h"
 1957
 1958
 1959# Checks for programs.
 1960ac_ext=c
 1961ac_cpp='$CPP $CPPFLAGS'
 1962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1964ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1965if test -n "$ac_tool_prefix"; then
 1966  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1967set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1968echo "$as_me:$LINENO: checking for $ac_word" >&5
 1969echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1970if test "${ac_cv_prog_CC+set}" = set; then
 1971  echo $ECHO_N "(cached) $ECHO_C" >&6
 1972else
 1973  if test -n "$CC"; then
 1974  ac_cv_prog_CC="$CC" # Let the user override the test.
 1975else
 1976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1977for as_dir in $PATH
 1978do
 1979  IFS=$as_save_IFS
 1980  test -z "$as_dir" && as_dir=.
 1981  for ac_exec_ext in '' $ac_executable_extensions; do
 1982  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1983    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1984    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1985    break 2
 1986  fi
 1987done
 1988done
 1989
 1990fi
 1991fi
 1992CC=$ac_cv_prog_CC
 1993if test -n "$CC"; then
 1994  echo "$as_me:$LINENO: result: $CC" >&5
 1995echo "${ECHO_T}$CC" >&6
 1996else
 1997  echo "$as_me:$LINENO: result: no" >&5
 1998echo "${ECHO_T}no" >&6
 1999fi
 2000
 2001fi
 2002if test -z "$ac_cv_prog_CC"; then
 2003  ac_ct_CC=$CC
 2004  # Extract the first word of "gcc", so it can be a program name with args.
 2005set dummy gcc; ac_word=$2
 2006echo "$as_me:$LINENO: checking for $ac_word" >&5
 2007echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2008if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2009  echo $ECHO_N "(cached) $ECHO_C" >&6
 2010else
 2011  if test -n "$ac_ct_CC"; then
 2012  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2013else
 2014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2015for as_dir in $PATH
 2016do
 2017  IFS=$as_save_IFS
 2018  test -z "$as_dir" && as_dir=.
 2019  for ac_exec_ext in '' $ac_executable_extensions; do
 2020  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2021    ac_cv_prog_ac_ct_CC="gcc"
 2022    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2023    break 2
 2024  fi
 2025done
 2026done
 2027
 2028fi
 2029fi
 2030ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2031if test -n "$ac_ct_CC"; then
 2032  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2033echo "${ECHO_T}$ac_ct_CC" >&6
 2034else
 2035  echo "$as_me:$LINENO: result: no" >&5
 2036echo "${ECHO_T}no" >&6
 2037fi
 2038
 2039  CC=$ac_ct_CC
 2040else
 2041  CC="$ac_cv_prog_CC"
 2042fi
 2043
 2044if test -z "$CC"; then
 2045  if test -n "$ac_tool_prefix"; then
 2046  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2047set dummy ${ac_tool_prefix}cc; ac_word=$2
 2048echo "$as_me:$LINENO: checking for $ac_word" >&5
 2049echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2050if test "${ac_cv_prog_CC+set}" = set; then
 2051  echo $ECHO_N "(cached) $ECHO_C" >&6
 2052else
 2053  if test -n "$CC"; then
 2054  ac_cv_prog_CC="$CC" # Let the user override the test.
 2055else
 2056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2057for as_dir in $PATH
 2058do
 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_CC="${ac_tool_prefix}cc"
 2064    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2065    break 2
 2066  fi
 2067done
 2068done
 2069
 2070fi
 2071fi
 2072CC=$ac_cv_prog_CC
 2073if test -n "$CC"; then
 2074  echo "$as_me:$LINENO: result: $CC" >&5
 2075echo "${ECHO_T}$CC" >&6
 2076else
 2077  echo "$as_me:$LINENO: result: no" >&5
 2078echo "${ECHO_T}no" >&6
 2079fi
 2080
 2081fi
 2082if test -z "$ac_cv_prog_CC"; then
 2083  ac_ct_CC=$CC
 2084  # Extract the first word of "cc", so it can be a program name with args.
 2085set dummy cc; ac_word=$2
 2086echo "$as_me:$LINENO: checking for $ac_word" >&5
 2087echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2088if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2089  echo $ECHO_N "(cached) $ECHO_C" >&6
 2090else
 2091  if test -n "$ac_ct_CC"; then
 2092  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2093else
 2094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2095for as_dir in $PATH
 2096do
 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_CC="cc"
 2102    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2103    break 2
 2104  fi
 2105done
 2106done
 2107
 2108fi
 2109fi
 2110ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2111if test -n "$ac_ct_CC"; then
 2112  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2113echo "${ECHO_T}$ac_ct_CC" >&6
 2114else
 2115  echo "$as_me:$LINENO: result: no" >&5
 2116echo "${ECHO_T}no" >&6
 2117fi
 2118
 2119  CC=$ac_ct_CC
 2120else
 2121  CC="$ac_cv_prog_CC"
 2122fi
 2123
 2124fi
 2125if test -z "$CC"; then
 2126  # Extract the first word of "cc", so it can be a program name with args.
 2127set dummy cc; ac_word=$2
 2128echo "$as_me:$LINENO: checking for $ac_word" >&5
 2129echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2130if test "${ac_cv_prog_CC+set}" = set; then
 2131  echo $ECHO_N "(cached) $ECHO_C" >&6
 2132else
 2133  if test -n "$CC"; then
 2134  ac_cv_prog_CC="$CC" # Let the user override the test.
 2135else
 2136  ac_prog_rejected=no
 2137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2138for as_dir in $PATH
 2139do
 2140  IFS=$as_save_IFS
 2141  test -z "$as_dir" && as_dir=.
 2142  for ac_exec_ext in '' $ac_executable_extensions; do
 2143  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2144    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2145       ac_prog_rejected=yes
 2146       continue
 2147     fi
 2148    ac_cv_prog_CC="cc"
 2149    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2150    break 2
 2151  fi
 2152done
 2153done
 2154
 2155if test $ac_prog_rejected = yes; then
 2156  # We found a bogon in the path, so make sure we never use it.
 2157  set dummy $ac_cv_prog_CC
 2158  shift
 2159  if test $# != 0; then
 2160    # We chose a different compiler from the bogus one.
 2161    # However, it has the same basename, so the bogon will be chosen
 2162    # first if we set CC to just the basename; use the full file name.
 2163    shift
 2164    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2165  fi
 2166fi
 2167fi
 2168fi
 2169CC=$ac_cv_prog_CC
 2170if test -n "$CC"; then
 2171  echo "$as_me:$LINENO: result: $CC" >&5
 2172echo "${ECHO_T}$CC" >&6
 2173else
 2174  echo "$as_me:$LINENO: result: no" >&5
 2175echo "${ECHO_T}no" >&6
 2176fi
 2177
 2178fi
 2179if test -z "$CC"; then
 2180  if test -n "$ac_tool_prefix"; then
 2181  for ac_prog in cl
 2182  do
 2183    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2184set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2185echo "$as_me:$LINENO: checking for $ac_word" >&5
 2186echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2187if test "${ac_cv_prog_CC+set}" = set; then
 2188  echo $ECHO_N "(cached) $ECHO_C" >&6
 2189else
 2190  if test -n "$CC"; then
 2191  ac_cv_prog_CC="$CC" # Let the user override the test.
 2192else
 2193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2194for as_dir in $PATH
 2195do
 2196  IFS=$as_save_IFS
 2197  test -z "$as_dir" && as_dir=.
 2198  for ac_exec_ext in '' $ac_executable_extensions; do
 2199  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2200    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2201    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2202    break 2
 2203  fi
 2204done
 2205done
 2206
 2207fi
 2208fi
 2209CC=$ac_cv_prog_CC
 2210if test -n "$CC"; then
 2211  echo "$as_me:$LINENO: result: $CC" >&5
 2212echo "${ECHO_T}$CC" >&6
 2213else
 2214  echo "$as_me:$LINENO: result: no" >&5
 2215echo "${ECHO_T}no" >&6
 2216fi
 2217
 2218    test -n "$CC" && break
 2219  done
 2220fi
 2221if test -z "$CC"; then
 2222  ac_ct_CC=$CC
 2223  for ac_prog in cl
 2224do
 2225  # Extract the first word of "$ac_prog", so it can be a program name with args.
 2226set dummy $ac_prog; ac_word=$2
 2227echo "$as_me:$LINENO: checking for $ac_word" >&5
 2228echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2229if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2230  echo $ECHO_N "(cached) $ECHO_C" >&6
 2231else
 2232  if test -n "$ac_ct_CC"; then
 2233  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2234else
 2235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2236for as_dir in $PATH
 2237do
 2238  IFS=$as_save_IFS
 2239  test -z "$as_dir" && as_dir=.
 2240  for ac_exec_ext in '' $ac_executable_extensions; do
 2241  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2242    ac_cv_prog_ac_ct_CC="$ac_prog"
 2243    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2244    break 2
 2245  fi
 2246done
 2247done
 2248
 2249fi
 2250fi
 2251ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2252if test -n "$ac_ct_CC"; then
 2253  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2254echo "${ECHO_T}$ac_ct_CC" >&6
 2255else
 2256  echo "$as_me:$LINENO: result: no" >&5
 2257echo "${ECHO_T}no" >&6
 2258fi
 2259
 2260  test -n "$ac_ct_CC" && break
 2261done
 2262
 2263  CC=$ac_ct_CC
 2264fi
 2265
 2266fi
 2267
 2268
 2269test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2270See \`config.log' for more details." >&5
 2271echo "$as_me: error: no acceptable C compiler found in \$PATH
 2272See \`config.log' for more details." >&2;}
 2273   { (exit 1); exit 1; }; }
 2274
 2275# Provide some information about the compiler.
 2276echo "$as_me:$LINENO:" \
 2277     "checking for C compiler version" >&5
 2278ac_compiler=`set X $ac_compile; echo $2`
 2279{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2280  (eval $ac_compiler --version </dev/null >&5) 2>&5
 2281  ac_status=$?
 2282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2283  (exit $ac_status); }
 2284{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2285  (eval $ac_compiler -v </dev/null >&5) 2>&5
 2286  ac_status=$?
 2287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2288  (exit $ac_status); }
 2289{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2290  (eval $ac_compiler -V </dev/null >&5) 2>&5
 2291  ac_status=$?
 2292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2293  (exit $ac_status); }
 2294
 2295cat >conftest.$ac_ext <<_ACEOF
 2296/* confdefs.h.  */
 2297_ACEOF
 2298cat confdefs.h >>conftest.$ac_ext
 2299cat >>conftest.$ac_ext <<_ACEOF
 2300/* end confdefs.h.  */
 2301
 2302int
 2303main ()
 2304{
 2305
 2306  ;
 2307  return 0;
 2308}
 2309_ACEOF
 2310ac_clean_files_save=$ac_clean_files
 2311ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2312# Try to create an executable without -o first, disregard a.out.
 2313# It will help us diagnose broken compilers, and finding out an intuition
 2314# of exeext.
 2315echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2316echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 2317ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2318if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2319  (eval $ac_link_default) 2>&5
 2320  ac_status=$?
 2321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2322  (exit $ac_status); }; then
 2323  # Find the output, starting from the most likely.  This scheme is
 2324# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2325# resort.
 2326
 2327# Be careful to initialize this variable, since it used to be cached.
 2328# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2329ac_cv_exeext=
 2330# b.out is created by i960 compilers.
 2331for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2332do
 2333  test -f "$ac_file" || continue
 2334  case $ac_file in
 2335    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2336	;;
 2337    conftest.$ac_ext )
 2338	# This is the source file.
 2339	;;
 2340    [ab].out )
 2341	# We found the default executable, but exeext='' is most
 2342	# certainly right.
 2343	break;;
 2344    *.* )
 2345	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2346	# FIXME: I believe we export ac_cv_exeext for Libtool,
 2347	# but it would be cool to find out if it's true.  Does anybody
 2348	# maintain Libtool? --akim.
 2349	export ac_cv_exeext
 2350	break;;
 2351    * )
 2352	break;;
 2353  esac
 2354done
 2355else
 2356  echo "$as_me: failed program was:" >&5
 2357sed 's/^/| /' conftest.$ac_ext >&5
 2358
 2359{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2360See \`config.log' for more details." >&5
 2361echo "$as_me: error: C compiler cannot create executables
 2362See \`config.log' for more details." >&2;}
 2363   { (exit 77); exit 77; }; }
 2364fi
 2365
 2366ac_exeext=$ac_cv_exeext
 2367echo "$as_me:$LINENO: result: $ac_file" >&5
 2368echo "${ECHO_T}$ac_file" >&6
 2369
 2370# Check the compiler produces executables we can run.  If not, either
 2371# the compiler is broken, or we cross compile.
 2372echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2373echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 2374# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2375# If not cross compiling, check that we can run a simple program.
 2376if test "$cross_compiling" != yes; then
 2377  if { ac_try='./$ac_file'
 2378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2379  (eval $ac_try) 2>&5
 2380  ac_status=$?
 2381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2382  (exit $ac_status); }; }; then
 2383    cross_compiling=no
 2384  else
 2385    if test "$cross_compiling" = maybe; then
 2386	cross_compiling=yes
 2387    else
 2388	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2389If you meant to cross compile, use \`--host'.
 2390See \`config.log' for more details." >&5
 2391echo "$as_me: error: cannot run C compiled programs.
 2392If you meant to cross compile, use \`--host'.
 2393See \`config.log' for more details." >&2;}
 2394   { (exit 1); exit 1; }; }
 2395    fi
 2396  fi
 2397fi
 2398echo "$as_me:$LINENO: result: yes" >&5
 2399echo "${ECHO_T}yes" >&6
 2400
 2401rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2402ac_clean_files=$ac_clean_files_save
 2403# Check the compiler produces executables we can run.  If not, either
 2404# the compiler is broken, or we cross compile.
 2405echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2406echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2407echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2408echo "${ECHO_T}$cross_compiling" >&6
 2409
 2410echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2411echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2413  (eval $ac_link) 2>&5
 2414  ac_status=$?
 2415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2416  (exit $ac_status); }; then
 2417  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2418# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2419# work properly (i.e., refer to `conftest.exe'), while it won't with
 2420# `rm'.
 2421for ac_file in conftest.exe conftest conftest.*; do
 2422  test -f "$ac_file" || continue
 2423  case $ac_file in
 2424    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2425    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2426	  export ac_cv_exeext
 2427	  break;;
 2428    * ) break;;
 2429  esac
 2430done
 2431else
 2432  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2433See \`config.log' for more details." >&5
 2434echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2435See \`config.log' for more details." >&2;}
 2436   { (exit 1); exit 1; }; }
 2437fi
 2438
 2439rm -f conftest$ac_cv_exeext
 2440echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2441echo "${ECHO_T}$ac_cv_exeext" >&6
 2442
 2443rm -f conftest.$ac_ext
 2444EXEEXT=$ac_cv_exeext
 2445ac_exeext=$EXEEXT
 2446echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2447echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2448if test "${ac_cv_objext+set}" = set; then
 2449  echo $ECHO_N "(cached) $ECHO_C" >&6
 2450else
 2451  cat >conftest.$ac_ext <<_ACEOF
 2452/* confdefs.h.  */
 2453_ACEOF
 2454cat confdefs.h >>conftest.$ac_ext
 2455cat >>conftest.$ac_ext <<_ACEOF
 2456/* end confdefs.h.  */
 2457
 2458int
 2459main ()
 2460{
 2461
 2462  ;
 2463  return 0;
 2464}
 2465_ACEOF
 2466rm -f conftest.o conftest.obj
 2467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2468  (eval $ac_compile) 2>&5
 2469  ac_status=$?
 2470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2471  (exit $ac_status); }; then
 2472  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2473  case $ac_file in
 2474    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2475    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2476       break;;
 2477  esac
 2478done
 2479else
 2480  echo "$as_me: failed program was:" >&5
 2481sed 's/^/| /' conftest.$ac_ext >&5
 2482
 2483{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2484See \`config.log' for more details." >&5
 2485echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2486See \`config.log' for more details." >&2;}
 2487   { (exit 1); exit 1; }; }
 2488fi
 2489
 2490rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2491fi
 2492echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2493echo "${ECHO_T}$ac_cv_objext" >&6
 2494OBJEXT=$ac_cv_objext
 2495ac_objext=$OBJEXT
 2496echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2497echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 2498if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2499  echo $ECHO_N "(cached) $ECHO_C" >&6
 2500else
 2501  cat >conftest.$ac_ext <<_ACEOF
 2502/* confdefs.h.  */
 2503_ACEOF
 2504cat confdefs.h >>conftest.$ac_ext
 2505cat >>conftest.$ac_ext <<_ACEOF
 2506/* end confdefs.h.  */
 2507
 2508int
 2509main ()
 2510{
 2511#ifndef __GNUC__
 2512       choke me
 2513#endif
 2514
 2515  ;
 2516  return 0;
 2517}
 2518_ACEOF
 2519rm -f conftest.$ac_objext
 2520if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2521  (eval $ac_compile) 2>conftest.er1
 2522  ac_status=$?
 2523  grep -v '^ *+' conftest.er1 >conftest.err
 2524  rm -f conftest.er1
 2525  cat conftest.err >&5
 2526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2527  (exit $ac_status); } &&
 2528	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2530  (eval $ac_try) 2>&5
 2531  ac_status=$?
 2532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2533  (exit $ac_status); }; } &&
 2534	 { ac_try='test -s conftest.$ac_objext'
 2535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2536  (eval $ac_try) 2>&5
 2537  ac_status=$?
 2538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2539  (exit $ac_status); }; }; then
 2540  ac_compiler_gnu=yes
 2541else
 2542  echo "$as_me: failed program was:" >&5
 2543sed 's/^/| /' conftest.$ac_ext >&5
 2544
 2545ac_compiler_gnu=no
 2546fi
 2547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2548ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2549
 2550fi
 2551echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2552echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2553GCC=`test $ac_compiler_gnu = yes && echo yes`
 2554ac_test_CFLAGS=${CFLAGS+set}
 2555ac_save_CFLAGS=$CFLAGS
 2556CFLAGS="-g"
 2557echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2558echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2559if test "${ac_cv_prog_cc_g+set}" = set; then
 2560  echo $ECHO_N "(cached) $ECHO_C" >&6
 2561else
 2562  cat >conftest.$ac_ext <<_ACEOF
 2563/* confdefs.h.  */
 2564_ACEOF
 2565cat confdefs.h >>conftest.$ac_ext
 2566cat >>conftest.$ac_ext <<_ACEOF
 2567/* end confdefs.h.  */
 2568
 2569int
 2570main ()
 2571{
 2572
 2573  ;
 2574  return 0;
 2575}
 2576_ACEOF
 2577rm -f conftest.$ac_objext
 2578if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2579  (eval $ac_compile) 2>conftest.er1
 2580  ac_status=$?
 2581  grep -v '^ *+' conftest.er1 >conftest.err
 2582  rm -f conftest.er1
 2583  cat conftest.err >&5
 2584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2585  (exit $ac_status); } &&
 2586	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2588  (eval $ac_try) 2>&5
 2589  ac_status=$?
 2590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2591  (exit $ac_status); }; } &&
 2592	 { ac_try='test -s conftest.$ac_objext'
 2593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2594  (eval $ac_try) 2>&5
 2595  ac_status=$?
 2596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2597  (exit $ac_status); }; }; then
 2598  ac_cv_prog_cc_g=yes
 2599else
 2600  echo "$as_me: failed program was:" >&5
 2601sed 's/^/| /' conftest.$ac_ext >&5
 2602
 2603ac_cv_prog_cc_g=no
 2604fi
 2605rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2606fi
 2607echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2608echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2609if test "$ac_test_CFLAGS" = set; then
 2610  CFLAGS=$ac_save_CFLAGS
 2611elif test $ac_cv_prog_cc_g = yes; then
 2612  if test "$GCC" = yes; then
 2613    CFLAGS="-g -O2"
 2614  else
 2615    CFLAGS="-g"
 2616  fi
 2617else
 2618  if test "$GCC" = yes; then
 2619    CFLAGS="-O2"
 2620  else
 2621    CFLAGS=
 2622  fi
 2623fi
 2624echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2625echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2626if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2627  echo $ECHO_N "(cached) $ECHO_C" >&6
 2628else
 2629  ac_cv_prog_cc_stdc=no
 2630ac_save_CC=$CC
 2631cat >conftest.$ac_ext <<_ACEOF
 2632/* confdefs.h.  */
 2633_ACEOF
 2634cat confdefs.h >>conftest.$ac_ext
 2635cat >>conftest.$ac_ext <<_ACEOF
 2636/* end confdefs.h.  */
 2637#include <stdarg.h>
 2638#include <stdio.h>
 2639#include <sys/types.h>
 2640#include <sys/stat.h>
 2641/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2642struct buf { int x; };
 2643FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2644static char *e (p, i)
 2645     char **p;
 2646     int i;
 2647{
 2648  return p[i];
 2649}
 2650static char *f (char * (*g) (char **, int), char **p, ...)
 2651{
 2652  char *s;
 2653  va_list v;
 2654  va_start (v,p);
 2655  s = g (p, va_arg (v,int));
 2656  va_end (v);
 2657  return s;
 2658}
 2659
 2660/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2661   function prototypes and stuff, but not '\xHH' hex character constants.
 2662   These don't provoke an error unfortunately, instead are silently treated
 2663   as 'x'.  The following induces an error, until -std1 is added to get
 2664   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2665   array size at least.  It's necessary to write '\x00'==0 to get something
 2666   that's true only with -std1.  */
 2667int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2668
 2669int test (int i, double x);
 2670struct s1 {int (*f) (int a);};
 2671struct s2 {int (*f) (double a);};
 2672int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2673int argc;
 2674char **argv;
 2675int
 2676main ()
 2677{
 2678return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2679  ;
 2680  return 0;
 2681}
 2682_ACEOF
 2683# Don't try gcc -ansi; that turns off useful extensions and
 2684# breaks some systems' header files.
 2685# AIX			-qlanglvl=ansi
 2686# Ultrix and OSF/1	-std1
 2687# HP-UX 10.20 and later	-Ae
 2688# HP-UX older versions	-Aa -D_HPUX_SOURCE
 2689# SVR4			-Xc -D__EXTENSIONS__
 2690for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2691do
 2692  CC="$ac_save_CC $ac_arg"
 2693  rm -f conftest.$ac_objext
 2694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2695  (eval $ac_compile) 2>conftest.er1
 2696  ac_status=$?
 2697  grep -v '^ *+' conftest.er1 >conftest.err
 2698  rm -f conftest.er1
 2699  cat conftest.err >&5
 2700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2701  (exit $ac_status); } &&
 2702	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2704  (eval $ac_try) 2>&5
 2705  ac_status=$?
 2706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2707  (exit $ac_status); }; } &&
 2708	 { ac_try='test -s conftest.$ac_objext'
 2709  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2710  (eval $ac_try) 2>&5
 2711  ac_status=$?
 2712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2713  (exit $ac_status); }; }; then
 2714  ac_cv_prog_cc_stdc=$ac_arg
 2715break
 2716else
 2717  echo "$as_me: failed program was:" >&5
 2718sed 's/^/| /' conftest.$ac_ext >&5
 2719
 2720fi
 2721rm -f conftest.err conftest.$ac_objext
 2722done
 2723rm -f conftest.$ac_ext conftest.$ac_objext
 2724CC=$ac_save_CC
 2725
 2726fi
 2727
 2728case "x$ac_cv_prog_cc_stdc" in
 2729  x|xno)
 2730    echo "$as_me:$LINENO: result: none needed" >&5
 2731echo "${ECHO_T}none needed" >&6 ;;
 2732  *)
 2733    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2734echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2735    CC="$CC $ac_cv_prog_cc_stdc" ;;
 2736esac
 2737
 2738# Some people use a C++ compiler to compile C.  Since we use `exit',
 2739# in C++ we need to declare it.  In case someone uses the same compiler
 2740# for both compiling C and C++ we need to have the C++ compiler decide
 2741# the declaration of exit, since it's the most demanding environment.
 2742cat >conftest.$ac_ext <<_ACEOF
 2743#ifndef __cplusplus
 2744  choke me
 2745#endif
 2746_ACEOF
 2747rm -f conftest.$ac_objext
 2748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2749  (eval $ac_compile) 2>conftest.er1
 2750  ac_status=$?
 2751  grep -v '^ *+' conftest.er1 >conftest.err
 2752  rm -f conftest.er1
 2753  cat conftest.err >&5
 2754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2755  (exit $ac_status); } &&
 2756	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2758  (eval $ac_try) 2>&5
 2759  ac_status=$?
 2760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2761  (exit $ac_status); }; } &&
 2762	 { ac_try='test -s conftest.$ac_objext'
 2763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2764  (eval $ac_try) 2>&5
 2765  ac_status=$?
 2766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2767  (exit $ac_status); }; }; then
 2768  for ac_declaration in \
 2769   '' \
 2770   'extern "C" void std::exit (int) throw (); using std::exit;' \
 2771   'extern "C" void std::exit (int); using std::exit;' \
 2772   'extern "C" void exit (int) throw ();' \
 2773   'extern "C" void exit (int);' \
 2774   'void exit (int);'
 2775do
 2776  cat >conftest.$ac_ext <<_ACEOF
 2777/* confdefs.h.  */
 2778_ACEOF
 2779cat confdefs.h >>conftest.$ac_ext
 2780cat >>conftest.$ac_ext <<_ACEOF
 2781/* end confdefs.h.  */
 2782$ac_declaration
 2783#include <stdlib.h>
 2784int
 2785main ()
 2786{
 2787exit (42);
 2788  ;
 2789  return 0;
 2790}
 2791_ACEOF
 2792rm -f conftest.$ac_objext
 2793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2794  (eval $ac_compile) 2>conftest.er1
 2795  ac_status=$?
 2796  grep -v '^ *+' conftest.er1 >conftest.err
 2797  rm -f conftest.er1
 2798  cat conftest.err >&5
 2799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2800  (exit $ac_status); } &&
 2801	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2803  (eval $ac_try) 2>&5
 2804  ac_status=$?
 2805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2806  (exit $ac_status); }; } &&
 2807	 { ac_try='test -s conftest.$ac_objext'
 2808  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2809  (eval $ac_try) 2>&5
 2810  ac_status=$?
 2811  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2812  (exit $ac_status); }; }; then
 2813  :
 2814else
 2815  echo "$as_me: failed program was:" >&5
 2816sed 's/^/| /' conftest.$ac_ext >&5
 2817
 2818continue
 2819fi
 2820rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2821  cat >conftest.$ac_ext <<_ACEOF
 2822/* confdefs.h.  */
 2823_ACEOF
 2824cat confdefs.h >>conftest.$ac_ext
 2825cat >>conftest.$ac_ext <<_ACEOF
 2826/* end confdefs.h.  */
 2827$ac_declaration
 2828int
 2829main ()
 2830{
 2831exit (42);
 2832  ;
 2833  return 0;
 2834}
 2835_ACEOF
 2836rm -f conftest.$ac_objext
 2837if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2838  (eval $ac_compile) 2>conftest.er1
 2839  ac_status=$?
 2840  grep -v '^ *+' conftest.er1 >conftest.err
 2841  rm -f conftest.er1
 2842  cat conftest.err >&5
 2843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2844  (exit $ac_status); } &&
 2845	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 2846  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2847  (eval $ac_try) 2>&5
 2848  ac_status=$?
 2849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2850  (exit $ac_status); }; } &&
 2851	 { ac_try='test -s conftest.$ac_objext'
 2852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2853  (eval $ac_try) 2>&5
 2854  ac_status=$?
 2855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2856  (exit $ac_status); }; }; then
 2857  break
 2858else
 2859  echo "$as_me: failed program was:" >&5
 2860sed 's/^/| /' conftest.$ac_ext >&5
 2861
 2862fi
 2863rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2864done
 2865rm -f conftest*
 2866if test -n "$ac_declaration"; then
 2867  echo '#ifdef __cplusplus' >>confdefs.h
 2868  echo $ac_declaration      >>confdefs.h
 2869  echo '#endif'             >>confdefs.h
 2870fi
 2871
 2872else
 2873  echo "$as_me: failed program was:" >&5
 2874sed 's/^/| /' conftest.$ac_ext >&5
 2875
 2876fi
 2877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2878ac_ext=c
 2879ac_cpp='$CPP $CPPFLAGS'
 2880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2882ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2883DEPDIR="${am__leading_dot}deps"
 2884
 2885          ac_config_commands="$ac_config_commands depfiles"
 2886
 2887
 2888am_make=${MAKE-make}
 2889cat > confinc << 'END'
 2890am__doit:
 2891	@echo done
 2892.PHONY: am__doit
 2893END
 2894# If we don't find an include directive, just comment out the code.
 2895echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 2896echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 2897am__include="#"
 2898am__quote=
 2899_am_result=none
 2900# First try GNU make style include.
 2901echo "include confinc" > confmf
 2902# We grep out `Entering directory' and `Leaving directory'
 2903# messages which can occur if `w' ends up in MAKEFLAGS.
 2904# In particular we don't look at `^make:' because GNU make might
 2905# be invoked under some other name (usually "gmake"), in which
 2906# case it prints its new name instead of `make'.
 2907if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 2908   am__include=include
 2909   am__quote=
 2910   _am_result=GNU
 2911fi
 2912# Now try BSD make style include.
 2913if test "$am__include" = "#"; then
 2914   echo '.include "confinc"' > confmf
 2915   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 2916      am__include=.include
 2917      am__quote="\""
 2918      _am_result=BSD
 2919   fi
 2920fi
 2921
 2922
 2923echo "$as_me:$LINENO: result: $_am_result" >&5
 2924echo "${ECHO_T}$_am_result" >&6
 2925rm -f confinc confmf
 2926
 2927# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 2928if test "${enable_dependency_tracking+set}" = set; then
 2929  enableval="$enable_dependency_tracking"
 2930
 2931fi;
 2932if test "x$enable_dependency_tracking" != xno; then
 2933  am_depcomp="$ac_aux_dir/depcomp"
 2934  AMDEPBACKSLASH='\'
 2935fi
 2936
 2937
 2938if test "x$enable_dependency_tracking" != xno; then
 2939  AMDEP_TRUE=
 2940  AMDEP_FALSE='#'
 2941else
 2942  AMDEP_TRUE='#'
 2943  AMDEP_FALSE=
 2944fi
 2945
 2946
 2947
 2948
 2949depcc="$CC"   am_compiler_list=
 2950
 2951echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 2952echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 2953if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 2954  echo $ECHO_N "(cached) $ECHO_C" >&6
 2955else
 2956  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 2957  # We make a subdir and do the tests there.  Otherwise we can end up
 2958  # making bogus files that we don't know about and never remove.  For
 2959  # instance it was reported that on HP-UX the gcc test will end up
 2960  # making a dummy file named `D' -- because `-MD' means `put the output
 2961  # in D'.
 2962  mkdir conftest.dir
 2963  # Copy depcomp to subdir because otherwise we won't find it if we're
 2964  # using a relative directory.
 2965  cp "$am_depcomp" conftest.dir
 2966  cd conftest.dir
 2967  # We will build objects and dependencies in a subdirectory because
 2968  # it helps to detect inapplicable dependency modes.  For instance
 2969  # both Tru64's cc and ICC support -MD to output dependencies as a
 2970  # side effect of compilation, but ICC will put the dependencies in
 2971  # the current directory while Tru64 will put them in the object
 2972  # directory.
 2973  mkdir sub
 2974
 2975  am_cv_CC_dependencies_compiler_type=none
 2976  if test "$am_compiler_list" = ""; then
 2977     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 2978  fi
 2979  for depmode in $am_compiler_list; do
 2980    # Setup a source with many dependencies, because some compilers
 2981    # like to wrap large dependency lists on column 80 (with \), and
 2982    # we should not choose a depcomp mode which is confused by this.
 2983    #
 2984    # We need to recreate these files for each test, as the compiler may
 2985    # overwrite some of them when testing with obscure command lines.
 2986    # This happens at least with the AIX C compiler.
 2987    : > sub/conftest.c
 2988    for i in 1 2 3 4 5 6; do
 2989      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 2990      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 2991      # Solaris 8's {/usr,}/bin/sh.
 2992      touch sub/conftst$i.h
 2993    done
 2994    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 2995
 2996    case $depmode in
 2997    nosideeffect)
 2998      # after this tag, mechanisms are not by side-effect, so they'll
 2999      # only be used when explicitly requested
 3000      if test "x$enable_dependency_tracking" = xyes; then
 3001	continue
 3002      else
 3003	break
 3004      fi
 3005      ;;
 3006    none) break ;;
 3007    esac
 3008    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3009    # mode.  It turns out that the SunPro C++ compiler does not properly
 3010    # handle `-M -o', and we need to detect this.
 3011    if depmode=$depmode \
 3012       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3013       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3014       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3015         >/dev/null 2>conftest.err &&
 3016       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3017       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3018       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3019      # icc doesn't choke on unknown options, it will just issue warnings
 3020      # or remarks (even with -Werror).  So we grep stderr for any message
 3021      # that says an option was ignored or not supported.
 3022      # When given -MP, icc 7.0 and 7.1 complain thusly:
 3023      #   icc: Command line warning: ignoring option '-M'; no argument required
 3024      # The diagnosis changed in icc 8.0:
 3025      #   icc: Command line remark: option '-MP' not supported
 3026      if (grep 'ignoring option' conftest.err ||
 3027          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3028        am_cv_CC_dependencies_compiler_type=$depmode
 3029        break
 3030      fi
 3031    fi
 3032  done
 3033
 3034  cd ..
 3035  rm -rf conftest.dir
 3036else
 3037  am_cv_CC_dependencies_compiler_type=none
 3038fi
 3039
 3040fi
 3041echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3042echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 3043CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3044
 3045
 3046
 3047if
 3048  test "x$enable_dependency_tracking" != xno \
 3049  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3050  am__fastdepCC_TRUE=
 3051  am__fastdepCC_FALSE='#'
 3052else
 3053  am__fastdepCC_TRUE='#'
 3054  am__fastdepCC_FALSE=
 3055fi
 3056
 3057
 3058ac_ext=c
 3059ac_cpp='$CPP $CPPFLAGS'
 3060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3062ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3063echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3064echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3065# On Suns, sometimes $CPP names a directory.
 3066if test -n "$CPP" && test -d "$CPP"; then
 3067  CPP=
 3068fi
 3069if test -z "$CPP"; then
 3070  if test "${ac_cv_prog_CPP+set}" = set; then
 3071  echo $ECHO_N "(cached) $ECHO_C" >&6
 3072else
 3073      # Double quotes because CPP needs to be expanded
 3074    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3075    do
 3076      ac_preproc_ok=false
 3077for ac_c_preproc_warn_flag in '' yes
 3078do
 3079  # Use a header file that comes with gcc, so configuring glibc
 3080  # with a fresh cross-compiler works.
 3081  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3082  # <limits.h> exists even on freestanding compilers.
 3083  # On the NeXT, cc -E runs the code through the compiler's parser,
 3084  # not just through cpp. "Syntax error" is here to catch this case.
 3085  cat >conftest.$ac_ext <<_ACEOF
 3086/* confdefs.h.  */
 3087_ACEOF
 3088cat confdefs.h >>conftest.$ac_ext
 3089cat >>conftest.$ac_ext <<_ACEOF
 3090/* end confdefs.h.  */
 3091#ifdef __STDC__
 3092# include <limits.h>
 3093#else
 3094# include <assert.h>
 3095#endif
 3096		     Syntax error
 3097_ACEOF
 3098if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3099  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3100  ac_status=$?
 3101  grep -v '^ *+' conftest.er1 >conftest.err
 3102  rm -f conftest.er1
 3103  cat conftest.err >&5
 3104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3105  (exit $ac_status); } >/dev/null; then
 3106  if test -s conftest.err; then
 3107    ac_cpp_err=$ac_c_preproc_warn_flag
 3108    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3109  else
 3110    ac_cpp_err=
 3111  fi
 3112else
 3113  ac_cpp_err=yes
 3114fi
 3115if test -z "$ac_cpp_err"; then
 3116  :
 3117else
 3118  echo "$as_me: failed program was:" >&5
 3119sed 's/^/| /' conftest.$ac_ext >&5
 3120
 3121  # Broken: fails on valid input.
 3122continue
 3123fi
 3124rm -f conftest.err conftest.$ac_ext
 3125
 3126  # OK, works on sane cases.  Now check whether non-existent headers
 3127  # can be detected and how.
 3128  cat >conftest.$ac_ext <<_ACEOF
 3129/* confdefs.h.  */
 3130_ACEOF
 3131cat confdefs.h >>conftest.$ac_ext
 3132cat >>conftest.$ac_ext <<_ACEOF
 3133/* end confdefs.h.  */
 3134#include <ac_nonexistent.h>
 3135_ACEOF
 3136if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3137  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3138  ac_status=$?
 3139  grep -v '^ *+' conftest.er1 >conftest.err
 3140  rm -f conftest.er1
 3141  cat conftest.err >&5
 3142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3143  (exit $ac_status); } >/dev/null; then
 3144  if test -s conftest.err; then
 3145    ac_cpp_err=$ac_c_preproc_warn_flag
 3146    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3147  else
 3148    ac_cpp_err=
 3149  fi
 3150else
 3151  ac_cpp_err=yes
 3152fi
 3153if test -z "$ac_cpp_err"; then
 3154  # Broken: success on invalid input.
 3155continue
 3156else
 3157  echo "$as_me: failed program was:" >&5
 3158sed 's/^/| /' conftest.$ac_ext >&5
 3159
 3160  # Passes both tests.
 3161ac_preproc_ok=:
 3162break
 3163fi
 3164rm -f conftest.err conftest.$ac_ext
 3165
 3166done
 3167# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3168rm -f conftest.err conftest.$ac_ext
 3169if $ac_preproc_ok; then
 3170  break
 3171fi
 3172
 3173    done
 3174    ac_cv_prog_CPP=$CPP
 3175
 3176fi
 3177  CPP=$ac_cv_prog_CPP
 3178else
 3179  ac_cv_prog_CPP=$CPP
 3180fi
 3181echo "$as_me:$LINENO: result: $CPP" >&5
 3182echo "${ECHO_T}$CPP" >&6
 3183ac_preproc_ok=false
 3184for ac_c_preproc_warn_flag in '' yes
 3185do
 3186  # Use a header file that comes with gcc, so configuring glibc
 3187  # with a fresh cross-compiler works.
 3188  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3189  # <limits.h> exists even on freestanding compilers.
 3190  # On the NeXT, cc -E runs the code through the compiler's parser,
 3191  # not just through cpp. "Syntax error" is here to catch this case.
 3192  cat >conftest.$ac_ext <<_ACEOF
 3193/* confdefs.h.  */
 3194_ACEOF
 3195cat confdefs.h >>conftest.$ac_ext
 3196cat >>conftest.$ac_ext <<_ACEOF
 3197/* end confdefs.h.  */
 3198#ifdef __STDC__
 3199# include <limits.h>
 3200#else
 3201# include <assert.h>
 3202#endif
 3203		     Syntax error
 3204_ACEOF
 3205if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3206  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3207  ac_status=$?
 3208  grep -v '^ *+' conftest.er1 >conftest.err
 3209  rm -f conftest.er1
 3210  cat conftest.err >&5
 3211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3212  (exit $ac_status); } >/dev/null; then
 3213  if test -s conftest.err; then
 3214    ac_cpp_err=$ac_c_preproc_warn_flag
 3215    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3216  else
 3217    ac_cpp_err=
 3218  fi
 3219else
 3220  ac_cpp_err=yes
 3221fi
 3222if test -z "$ac_cpp_err"; then
 3223  :
 3224else
 3225  echo "$as_me: failed program was:" >&5
 3226sed 's/^/| /' conftest.$ac_ext >&5
 3227
 3228  # Broken: fails on valid input.
 3229continue
 3230fi
 3231rm -f conftest.err conftest.$ac_ext
 3232
 3233  # OK, works on sane cases.  Now check whether non-existent headers
 3234  # can be detected and how.
 3235  cat >conftest.$ac_ext <<_ACEOF
 3236/* confdefs.h.  */
 3237_ACEOF
 3238cat confdefs.h >>conftest.$ac_ext
 3239cat >>conftest.$ac_ext <<_ACEOF
 3240/* end confdefs.h.  */
 3241#include <ac_nonexistent.h>
 3242_ACEOF
 3243if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3244  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3245  ac_status=$?
 3246  grep -v '^ *+' conftest.er1 >conftest.err
 3247  rm -f conftest.er1
 3248  cat conftest.err >&5
 3249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3250  (exit $ac_status); } >/dev/null; then
 3251  if test -s conftest.err; then
 3252    ac_cpp_err=$ac_c_preproc_warn_flag
 3253    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3254  else
 3255    ac_cpp_err=
 3256  fi
 3257else
 3258  ac_cpp_err=yes
 3259fi
 3260if test -z "$ac_cpp_err"; then
 3261  # Broken: success on invalid input.
 3262continue
 3263else
 3264  echo "$as_me: failed program was:" >&5
 3265sed 's/^/| /' conftest.$ac_ext >&5
 3266
 3267  # Passes both tests.
 3268ac_preproc_ok=:
 3269break
 3270fi
 3271rm -f conftest.err conftest.$ac_ext
 3272
 3273done
 3274# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3275rm -f conftest.err conftest.$ac_ext
 3276if $ac_preproc_ok; then
 3277  :
 3278else
 3279  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3280See \`config.log' for more details." >&5
 3281echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3282See \`config.log' for more details." >&2;}
 3283   { (exit 1); exit 1; }; }
 3284fi
 3285
 3286ac_ext=c
 3287ac_cpp='$CPP $CPPFLAGS'
 3288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3290ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3291
 3292ac_ext=cc
 3293ac_cpp='$CXXCPP $CPPFLAGS'
 3294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 3297if test -n "$ac_tool_prefix"; then
 3298  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 3299  do
 3300    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3301set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3302echo "$as_me:$LINENO: checking for $ac_word" >&5
 3303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3304if test "${ac_cv_prog_CXX+set}" = set; then
 3305  echo $ECHO_N "(cached) $ECHO_C" >&6
 3306else
 3307  if test -n "$CXX"; then
 3308  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 3309else
 3310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3311for as_dir in $PATH
 3312do
 3313  IFS=$as_save_IFS
 3314  test -z "$as_dir" && as_dir=.
 3315  for ac_exec_ext in '' $ac_executable_extensions; do
 3316  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3317    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 3318    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3319    break 2
 3320  fi
 3321done
 3322done
 3323
 3324fi
 3325fi
 3326CXX=$ac_cv_prog_CXX
 3327if test -n "$CXX"; then
 3328  echo "$as_me:$LINENO: result: $CXX" >&5
 3329echo "${ECHO_T}$CXX" >&6
 3330else
 3331  echo "$as_me:$LINENO: result: no" >&5
 3332echo "${ECHO_T}no" >&6
 3333fi
 3334
 3335    test -n "$CXX" && break
 3336  done
 3337fi
 3338if test -z "$CXX"; then
 3339  ac_ct_CXX=$CXX
 3340  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 3341do
 3342  # Extract the first word of "$ac_prog", so it can be a program name with args.
 3343set dummy $ac_prog; ac_word=$2
 3344echo "$as_me:$LINENO: checking for $ac_word" >&5
 3345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3346if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 3347  echo $ECHO_N "(cached) $ECHO_C" >&6
 3348else
 3349  if test -n "$ac_ct_CXX"; then
 3350  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 3351else
 3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3353for as_dir in $PATH
 3354do
 3355  IFS=$as_save_IFS
 3356  test -z "$as_dir" && as_dir=.
 3357  for ac_exec_ext in '' $ac_executable_extensions; do
 3358  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3359    ac_cv_prog_ac_ct_CXX="$ac_prog"
 3360    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3361    break 2
 3362  fi
 3363done
 3364done
 3365
 3366fi
 3367fi
 3368ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 3369if test -n "$ac_ct_CXX"; then
 3370  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 3371echo "${ECHO_T}$ac_ct_CXX" >&6
 3372else
 3373  echo "$as_me:$LINENO: result: no" >&5
 3374echo "${ECHO_T}no" >&6
 3375fi
 3376
 3377  test -n "$ac_ct_CXX" && break
 3378done
 3379test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 3380
 3381  CXX=$ac_ct_CXX
 3382fi
 3383
 3384
 3385# Provide some information about the compiler.
 3386echo "$as_me:$LINENO:" \
 3387     "checking for C++ compiler version" >&5
 3388ac_compiler=`set X $ac_compile; echo $2`
 3389{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 3390  (eval $ac_compiler --version </dev/null >&5) 2>&5
 3391  ac_status=$?
 3392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3393  (exit $ac_status); }
 3394{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 3395  (eval $ac_compiler -v </dev/null >&5) 2>&5
 3396  ac_status=$?
 3397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3398  (exit $ac_status); }
 3399{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 3400  (eval $ac_compiler -V </dev/null >&5) 2>&5
 3401  ac_status=$?
 3402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3403  (exit $ac_status); }
 3404
 3405echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 3406echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 3407if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 3408  echo $ECHO_N "(cached) $ECHO_C" >&6
 3409else
 3410  cat >conftest.$ac_ext <<_ACEOF
 3411/* confdefs.h.  */
 3412_ACEOF
 3413cat confdefs.h >>conftest.$ac_ext
 3414cat >>conftest.$ac_ext <<_ACEOF
 3415/* end confdefs.h.  */
 3416
 3417int
 3418main ()
 3419{
 3420#ifndef __GNUC__
 3421       choke me
 3422#endif
 3423
 3424  ;
 3425  return 0;
 3426}
 3427_ACEOF
 3428rm -f conftest.$ac_objext
 3429if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3430  (eval $ac_compile) 2>conftest.er1
 3431  ac_status=$?
 3432  grep -v '^ *+' conftest.er1 >conftest.err
 3433  rm -f conftest.er1
 3434  cat conftest.err >&5
 3435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3436  (exit $ac_status); } &&
 3437	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 3438  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3439  (eval $ac_try) 2>&5
 3440  ac_status=$?
 3441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3442  (exit $ac_status); }; } &&
 3443	 { ac_try='test -s conftest.$ac_objext'
 3444  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3445  (eval $ac_try) 2>&5
 3446  ac_status=$?
 3447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3448  (exit $ac_status); }; }; then
 3449  ac_compiler_gnu=yes
 3450else
 3451  echo "$as_me: failed program was:" >&5
 3452sed 's/^/| /' conftest.$ac_ext >&5
 3453
 3454ac_compiler_gnu=no
 3455fi
 3456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3457ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 3458
 3459fi
 3460echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 3461echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 3462GXX=`test $ac_compiler_gnu = yes && echo yes`
 3463ac_test_CXXFLAGS=${CXXFLAGS+set}
 3464ac_save_CXXFLAGS=$CXXFLAGS
 3465CXXFLAGS="-g"
 3466echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 3467echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 3468if test "${ac_cv_prog_cxx_g+set}" = set; then
 3469  echo $ECHO_N "(cached) $ECHO_C" >&6
 3470else
 3471  cat >conftest.$ac_ext <<_ACEOF
 3472/* confdefs.h.  */
 3473_ACEOF
 3474cat confdefs.h >>conftest.$ac_ext
 3475cat >>conftest.$ac_ext <<_ACEOF
 3476/* end confdefs.h.  */
 3477
 3478int
 3479main ()
 3480{
 3481
 3482  ;
 3483  return 0;
 3484}
 3485_ACEOF
 3486rm -f conftest.$ac_objext
 3487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3488  (eval $ac_compile) 2>conftest.er1
 3489  ac_status=$?
 3490  grep -v '^ *+' conftest.er1 >conftest.err
 3491  rm -f conftest.er1
 3492  cat conftest.err >&5
 3493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3494  (exit $ac_status); } &&
 3495	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 3496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3497  (eval $ac_try) 2>&5
 3498  ac_status=$?
 3499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3500  (exit $ac_status); }; } &&
 3501	 { ac_try='test -s conftest.$ac_objext'
 3502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3503  (eval $ac_try) 2>&5
 3504  ac_status=$?
 3505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3506  (exit $ac_status); }; }; then
 3507  ac_cv_prog_cxx_g=yes
 3508else
 3509  echo "$as_me: failed program was:" >&5
 3510sed 's/^/| /' conftest.$ac_ext >&5
 3511
 3512ac_cv_prog_cxx_g=no
 3513fi
 3514rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3515fi
 3516echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 3517echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 3518if test "$ac_test_CXXFLAGS" = set; then
 3519  CXXFLAGS=$ac_save_CXXFLAGS
 3520elif test $ac_cv_prog_cxx_g = yes; then
 3521  if test "$GXX" = yes; then
 3522    CXXFLAGS="-g -O2"
 3523  else
 3524    CXXFLAGS="-g"
 3525  fi
 3526else
 3527  if test "$GXX" = yes; then
 3528    CXXFLAGS="-O2"
 3529  else
 3530    CXXFLAGS=
 3531  fi
 3532fi
 3533for ac_declaration in \
 3534   '' \
 3535   'extern "C" void std::exit (int) throw (); using std::exit;' \
 3536   'extern "C" void std::exit (int); using std::exit;' \
 3537   'extern "C" void exit (int) throw ();' \
 3538   'extern "C" void exit (int);' \
 3539   'void exit (int);'
 3540do
 3541  cat >conftest.$ac_ext <<_ACEOF
 3542/* confdefs.h.  */
 3543_ACEOF
 3544cat confdefs.h >>conftest.$ac_ext
 3545cat >>conftest.$ac_ext <<_ACEOF
 3546/* end confdefs.h.  */
 3547$ac_declaration
 3548#include <stdlib.h>
 3549int
 3550main ()
 3551{
 3552exit (42);
 3553  ;
 3554  return 0;
 3555}
 3556_ACEOF
 3557rm -f conftest.$ac_objext
 3558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3559  (eval $ac_compile) 2>conftest.er1
 3560  ac_status=$?
 3561  grep -v '^ *+' conftest.er1 >conftest.err
 3562  rm -f conftest.er1
 3563  cat conftest.err >&5
 3564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3565  (exit $ac_status); } &&
 3566	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 3567  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3568  (eval $ac_try) 2>&5
 3569  ac_status=$?
 3570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3571  (exit $ac_status); }; } &&
 3572	 { ac_try='test -s conftest.$ac_objext'
 3573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3574  (eval $ac_try) 2>&5
 3575  ac_status=$?
 3576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3577  (exit $ac_status); }; }; then
 3578  :
 3579else
 3580  echo "$as_me: failed program was:" >&5
 3581sed 's/^/| /' conftest.$ac_ext >&5
 3582
 3583continue
 3584fi
 3585rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3586  cat >conftest.$ac_ext <<_ACEOF
 3587/* confdefs.h.  */
 3588_ACEOF
 3589cat confdefs.h >>conftest.$ac_ext
 3590cat >>conftest.$ac_ext <<_ACEOF
 3591/* end confdefs.h.  */
 3592$ac_declaration
 3593int
 3594main ()
 3595{
 3596exit (42);
 3597  ;
 3598  return 0;
 3599}
 3600_ACEOF
 3601rm -f conftest.$ac_objext
 3602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3603  (eval $ac_compile) 2>conftest.er1
 3604  ac_status=$?
 3605  grep -v '^ *+' conftest.er1 >conftest.err
 3606  rm -f conftest.er1
 3607  cat conftest.err >&5
 3608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3609  (exit $ac_status); } &&
 3610	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
 3611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3612  (eval $ac_try) 2>&5
 3613  ac_status=$?
 3614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3615  (exit $ac_status); }; } &&
 3616	 { ac_try='test -s conftest.$ac_objext'
 3617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3618  (eval $ac_try) 2>&5
 3619  ac_status=$?
 3620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3621  (exit $ac_status); }; }; then
 3622  break
 3623else
 3624  echo "$as_me: failed program was:" >&5
 3625sed 's/^/| /' conftest.$ac_ext >&5
 3626
 3627fi
 3628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3629done
 3630rm -f conftest*
 3631if test -n "$ac_declaration"; then
 3632  echo '#ifdef __cplusplus' >>confdefs.h
 3633  echo $ac_declaration      >>confdefs.h
 3634  echo '#endif'             >>confdefs.h
 3635fi
 3636
 3637ac_ext=c
 3638ac_cpp='$CPP $CPPFLAGS'
 3639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3641ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3642
 3643depcc="$CXX"  am_compiler_list=
 3644
 3645echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3646echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 3647if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 3648  echo $ECHO_N "(cached) $ECHO_C" >&6
 3649else
 3650  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3651  # We make a subdir and do the tests there.  Otherwise we can end up
 3652  # making bogus files that we don't know about and never remove.  For
 3653  # instance it was reported that on HP-UX the gcc test will end up
 3654  # making a dummy file named `D' -- because `-MD' means `put the output
 3655  # in D'.
 3656  mkdir conftest.dir
 3657  # Copy depcomp to subdir because otherwise we won't find it if we're
 3658  # using a relative directory.
 3659  cp "$am_depcomp" conftest.dir
 3660  cd conftest.dir
 3661  # We will build objects and dependencies in a subdirectory because
 3662  # it helps to detect inapplicable dependency modes.  For instance
 3663  # both Tru64's cc and ICC support -MD to output dependencies as a
 3664  # side effect of compilation, but ICC will put the dependencies in
 3665  # the current directory while Tru64 will put them in the object
 3666  # directory.
 3667  mkdir sub
 3668
 3669  am_cv_CXX_dependencies_compiler_type=none
 3670  if test "$am_compiler_list" = ""; then
 3671     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3672  fi
 3673  for depmode in $am_compiler_list; do
 3674    # Setup a source with many dependencies, because some compilers
 3675    # like to wrap large dependency lists on column 80 (with \), and
 3676    # we should not choose a depcomp mode which is confused by this.
 3677    #
 3678    # We need to recreate these files for each test, as the compiler may
 3679    # overwrite some of them when testing with obscure command lines.
 3680    # This happens at least with the AIX C compiler.
 3681    : > sub/conftest.c
 3682    for i in 1 2 3 4 5 6; do
 3683      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3684      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3685      # Solaris 8's {/usr,}/bin/sh.
 3686      touch sub/conftst$i.h
 3687    done
 3688    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3689
 3690    case $depmode in
 3691    nosideeffect)
 3692      # after this tag, mechanisms are not by side-effect, so they'll
 3693      # only be used when explicitly requested
 3694      if test "x$enable_dependency_tracking" = xyes; then
 3695	continue
 3696      else
 3697	break
 3698      fi
 3699      ;;
 3700    none) break ;;
 3701    esac
 3702    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3703    # mode.  It turns out that the SunPro C++ compiler does not properly
 3704    # handle `-M -o', and we need to detect this.
 3705    if depmode=$depmode \
 3706       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3707       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3708       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3709         >/dev/null 2>conftest.err &&
 3710       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3711       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3712       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3713      # icc doesn't choke on unknown options, it will just issue warnings
 3714      # or remarks (even with -Werror).  So we grep stderr for any message
 3715      # that says an option was ignored or not supported.
 3716      # When given -MP, icc 7.0 and 7.1 complain thusly:
 3717      #   icc: Command line warning: ignoring option '-M'; no argument required
 3718      # The diagnosis changed in icc 8.0:
 3719      #   icc: Command line remark: option '-MP' not supported
 3720      if (grep 'ignoring option' conftest.err ||
 3721          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3722        am_cv_CXX_dependencies_compiler_type=$depmode
 3723        break
 3724      fi
 3725    fi
 3726  done
 3727
 3728  cd ..
 3729  rm -rf conftest.dir
 3730else
 3731  am_cv_CXX_dependencies_compiler_type=none
 3732fi
 3733
 3734fi
 3735echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 3736echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 3737CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 3738
 3739
 3740
 3741if
 3742  test "x$enable_dependency_tracking" != xno \
 3743  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 3744  am__fastdepCXX_TRUE=
 3745  am__fastdepCXX_FALSE='#'
 3746else
 3747  am__fastdepCXX_TRUE='#'
 3748  am__fastdepCXX_FALSE=
 3749fi
 3750
 3751
 3752
 3753
 3754if test "$GCC" = yes; then
 3755  GCC_TRUE=
 3756  GCC_FALSE='#'
 3757else
 3758  GCC_TRUE='#'
 3759  GCC_FALSE=
 3760fi
 3761   # let the Makefile know if we're gcc
 3762
 3763# Uncomment this if you'll be exporting libraries (.so's)
 3764# Check whether --enable-shared or --disable-shared was given.
 3765if test "${enable_shared+set}" = set; then
 3766  enableval="$enable_shared"
 3767  p=${PACKAGE-default}
 3768    case $enableval in
 3769    yes) enable_shared=yes ;;
 3770    no) enable_shared=no ;;
 3771    *)
 3772      enable_shared=no
 3773      # Look at the argument we got.  We use all the common list separators.
 3774      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3775      for pkg in $enableval; do
 3776	IFS="$lt_save_ifs"
 3777	if test "X$pkg" = "X$p"; then
 3778	  enable_shared=yes
 3779	fi
 3780      done
 3781      IFS="$lt_save_ifs"
 3782      ;;
 3783    esac
 3784else
 3785  enable_shared=yes
 3786fi;
 3787
 3788# Check whether --enable-static or --disable-static was given.
 3789if test "${enable_static+set}" = set; then
 3790  enableval="$enable_static"
 3791  p=${PACKAGE-default}
 3792    case $enableval in
 3793    yes) enable_static=yes ;;
 3794    no) enable_static=no ;;
 3795    *)
 3796     enable_static=no
 3797      # Look at the argument we got.  We use all the common list separators.
 3798      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3799      for pkg in $enableval; do
 3800	IFS="$lt_save_ifs"
 3801	if test "X$pkg" = "X$p"; then
 3802	  enable_static=yes
 3803	fi
 3804      done
 3805      IFS="$lt_save_ifs"
 3806      ;;
 3807    esac
 3808else
 3809  enable_static=yes
 3810fi;
 3811
 3812# Check whether --enable-fast-install or --disable-fast-install was given.
 3813if test "${enable_fast_install+set}" = set; then
 3814  enableval="$enable_fast_install"
 3815  p=${PACKAGE-default}
 3816    case $enableval in
 3817    yes) enable_fast_install=yes ;;
 3818    no) enable_fast_install=no ;;
 3819    *)
 3820      enable_fast_install=no
 3821      # Look at the argument we got.  We use all the common list separators.
 3822      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3823      for pkg in $enableval; do
 3824	IFS="$lt_save_ifs"
 3825	if test "X$pkg" = "X$p"; then
 3826	  enable_fast_install=yes
 3827	fi
 3828      done
 3829      IFS="$lt_save_ifs"
 3830      ;;
 3831    esac
 3832else
 3833  enable_fast_install=yes
 3834fi;
 3835
 3836# Make sure we can run config.sub.
 3837$ac_config_sub sun4 >/dev/null 2>&1 ||
 3838  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 3839echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 3840   { (exit 1); exit 1; }; }
 3841
 3842echo "$as_me:$LINENO: checking build system type" >&5
 3843echo $ECHO_N "checking build system type... $ECHO_C" >&6
 3844if test "${ac_cv_build+set}" = set; then
 3845  echo $ECHO_N "(cached) $ECHO_C" >&6
 3846else
 3847  ac_cv_build_alias=$build_alias
 3848test -z "$ac_cv_build_alias" &&
 3849  ac_cv_build_alias=`$ac_config_guess`
 3850test -z "$ac_cv_build_alias" &&
 3851  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 3852echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 3853   { (exit 1); exit 1; }; }
 3854ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 3855  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 3856echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 3857   { (exit 1); exit 1; }; }
 3858
 3859fi
 3860echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 3861echo "${ECHO_T}$ac_cv_build" >&6
 3862build=$ac_cv_build
 3863build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 3864build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 3865build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 3866
 3867
 3868echo "$as_me:$LINENO: checking host system type" >&5
 3869echo $ECHO_N "checking host system type... $ECHO_C" >&6
 3870if test "${ac_cv_host+set}" = set; then
 3871  echo $ECHO_N "(cached) $ECHO_C" >&6
 3872else
 3873  ac_cv_host_alias=$host_alias
 3874test -z "$ac_cv_host_alias" &&
 3875  ac_cv_host_alias=$ac_cv_build_alias
 3876ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 3877  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 3878echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 3879   { (exit 1); exit 1; }; }
 3880
 3881fi
 3882echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 3883echo "${ECHO_T}$ac_cv_host" >&6
 3884host=$ac_cv_host
 3885host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 3886host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 3887host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 3888
 3889
 3890echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 3891echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 3892if test "${lt_cv_path_SED+set}" = set; then
 3893  echo $ECHO_N "(cached) $ECHO_C" >&6
 3894else
 3895  # Loop through the user's path and test for sed and gsed.
 3896# Then use that list of sed's as ones to test for truncation.
 3897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3898for as_dir in $PATH
 3899do
 3900  IFS=$as_save_IFS
 3901  test -z "$as_dir" && as_dir=.
 3902  for lt_ac_prog in sed gsed; do
 3903    for ac_exec_ext in '' $ac_executable_extensions; do
 3904      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 3905        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 3906      fi
 3907    done
 3908  done
 3909done
 3910lt_ac_max=0
 3911lt_ac_count=0
 3912# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 3913# along with /bin/sed that truncates output.
 3914for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 3915  test ! -f $lt_ac_sed && continue
 3916  cat /dev/null > conftest.in
 3917  lt_ac_count=0
 3918  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 3919  # Check for GNU sed and select it if it is found.
 3920  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 3921    lt_cv_path_SED=$lt_ac_sed
 3922    break
 3923  fi
 3924  while true; do
 3925    cat conftest.in conftest.in >conftest.tmp
 3926    mv conftest.tmp conftest.in
 3927    cp conftest.in conftest.nl
 3928    echo >>conftest.nl
 3929    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 3930    cmp -s conftest.out conftest.nl || break
 3931    # 10000 chars as input seems more than enough
 3932    test $lt_ac_count -gt 10 && break
 3933    lt_ac_count=`expr $lt_ac_count + 1`
 3934    if test $lt_ac_count -gt $lt_ac_max; then
 3935      lt_ac_max=$lt_ac_count
 3936      lt_cv_path_SED=$lt_ac_sed
 3937    fi
 3938  done
 3939done
 3940
 3941fi
 3942
 3943SED=$lt_cv_path_SED
 3944echo "$as_me:$LINENO: result: $SED" >&5
 3945echo "${ECHO_T}$SED" >&6
 3946
 3947echo "$as_me:$LINENO: checking for egrep" >&5
 3948echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 3949if test "${ac_cv_prog_egrep+set}" = set; then
 3950  echo $ECHO_N "(cached) $ECHO_C" >&6
 3951else
 3952  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 3953    then ac_cv_prog_egrep='grep -E'
 3954    else ac_cv_prog_egrep='egrep'
 3955    fi
 3956fi
 3957echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 3958echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 3959 EGREP=$ac_cv_prog_egrep
 3960
 3961
 3962
 3963# Check whether --with-gnu-ld or --without-gnu-ld was given.
 3964if test "${with_gnu_ld+set}" = set; then
 3965  withval="$with_gnu_ld"
 3966  test "$withval" = no || with_gnu_ld=yes
 3967else
 3968  with_gnu_ld=no
 3969fi;
 3970ac_prog=ld
 3971if test "$GCC" = yes; then
 3972  # Check if gcc -print-prog-name=ld gives a path.
 3973  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 3974echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 3975  case $host in
 3976  *-*-mingw*)
 3977    # gcc leaves a trailing carriage return which upsets mingw
 3978    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 3979  *)
 3980    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 3981  esac
 3982  case $ac_prog in
 3983    # Accept absolute paths.
 3984    [\\/]* | ?:[\\/]*)
 3985      re_direlt='/[^/][^/]*/\.\./'
 3986      # Canonicalize the pathname of ld
 3987      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 3988      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 3989	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 3990      done
 3991      test -z "$LD" && LD="$ac_prog"
 3992      ;;
 3993  "")
 3994    # If it fails, then pretend we aren't using GCC.
 3995    ac_prog=ld
 3996    ;;
 3997  *)
 3998    # If it is relative, then search for the first ld in PATH.
 3999    with_gnu_ld=unknown
 4000    ;;
 4001  esac
 4002elif test "$with_gnu_ld" = yes; then
 4003  echo "$as_me:$LINENO: checking for GNU ld" >&5
 4004echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 4005else
 4006  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 4007echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 4008fi
 4009if test "${lt_cv_path_LD+set}" = set; then
 4010  echo $ECHO_N "(cached) $ECHO_C" >&6
 4011else
 4012  if test -z "$LD"; then
 4013  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4014  for ac_dir in $PATH; do
 4015    IFS="$lt_save_ifs"
 4016    test -z "$ac_dir" && ac_dir=.
 4017    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4018      lt_cv_path_LD="$ac_dir/$ac_prog"
 4019      # Check to see if the program is GNU ld.  I'd rather use --version,
 4020      # but apparently some variants of GNU ld only accept -v.
 4021      # Break only if it was the GNU/non-GNU ld that we prefer.
 4022      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4023      *GNU* | *'with BFD'*)
 4024	test "$with_gnu_ld" != no && break
 4025	;;
 4026      *)
 4027	test "$with_gnu_ld" != yes && break
 4028	;;
 4029      esac
 4030    fi
 4031  done
 4032  IFS="$lt_save_ifs"
 4033else
 4034  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4035fi
 4036fi
 4037
 4038LD="$lt_cv_path_LD"
 4039if test -n "$LD"; then
 4040  echo "$as_me:$LINENO: result: $LD" >&5
 4041echo "${ECHO_T}$LD" >&6
 4042else
 4043  echo "$as_me:$LINENO: result: no" >&5
 4044echo "${ECHO_T}no" >&6
 4045fi
 4046test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 4047echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 4048   { (exit 1); exit 1; }; }
 4049echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 4050echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 4051if test "${lt_cv_prog_gnu_ld+set}" = set; then
 4052  echo $ECHO_N "(cached) $ECHO_C" >&6
 4053else
 4054  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4055case `$LD -v 2>&1 </dev/null` in
 4056*GNU* | *'with BFD'*)
 4057  lt_cv_prog_gnu_ld=yes
 4058  ;;
 4059*)
 4060  lt_cv_prog_gnu_ld=no
 4061  ;;
 4062esac
 4063fi
 4064echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 4065echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 4066with_gnu_ld=$lt_cv_prog_gnu_ld
 4067
 4068
 4069echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 4070echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 4071if test "${lt_cv_ld_reload_flag+set}" = set; then
 4072  echo $ECHO_N "(cached) $ECHO_C" >&6
 4073else
 4074  lt_cv_ld_reload_flag='-r'
 4075fi
 4076echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 4077echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 4078reload_flag=$lt_cv_ld_reload_flag
 4079case $reload_flag in
 4080"" | " "*) ;;
 4081*) reload_flag=" $reload_flag" ;;
 4082esac
 4083reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4084case $host_os in
 4085  darwin*)
 4086    if test "$GCC" = yes; then
 4087      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 4088    else
 4089      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4090    fi
 4091    ;;
 4092esac
 4093
 4094echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 4095echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 4096if test "${lt_cv_path_NM+set}" = set; then
 4097  echo $ECHO_N "(cached) $ECHO_C" >&6
 4098else
 4099  if test -n "$NM"; then
 4100  # Let the user override the test.
 4101  lt_cv_path_NM="$NM"
 4102else
 4103  lt_nm_to_check="${ac_tool_prefix}nm"
 4104  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4105    lt_nm_to_check="$lt_nm_to_check nm"
 4106  fi
 4107  for lt_tmp_nm in $lt_nm_to_check; do
 4108    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4109    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4110      IFS="$lt_save_ifs"
 4111      test -z "$ac_dir" && ac_dir=.
 4112      tmp_nm="$ac_dir/$lt_tmp_nm"
 4113      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4114	# Check to see if the nm accepts a BSD-compat flag.
 4115	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4116	#   nm: unknown option "B" ignored
 4117	# Tru64's nm complains that /dev/null is an invalid object file
 4118	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4119	*/dev/null* | *'Invalid file or object type'*)
 4120	  lt_cv_path_NM="$tmp_nm -B"
 4121	  break
 4122	  ;;
 4123	*)
 4124	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4125	  */dev/null*)
 4126	    lt_cv_path_NM="$tmp_nm -p"
 4127	    break
 4128	    ;;
 4129	  *)
 4130	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4131	    continue # so that we can try to find one that supports BSD flags
 4132	    ;;
 4133	  esac
 4134	  ;;
 4135	esac
 4136      fi
 4137    done
 4138    IFS="$lt_save_ifs"
 4139  done
 4140  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 4141fi
 4142fi
 4143echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 4144echo "${ECHO_T}$lt_cv_path_NM" >&6
 4145NM="$lt_cv_path_NM"
 4146
 4147echo "$as_me:$LINENO: checking whether ln -s works" >&5
 4148echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 4149LN_S=$as_ln_s
 4150if test "$LN_S" = "ln -s"; then
 4151  echo "$as_me:$LINENO: result: yes" >&5
 4152echo "${ECHO_T}yes" >&6
 4153else
 4154  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 4155echo "${ECHO_T}no, using $LN_S" >&6
 4156fi
 4157
 4158echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 4159echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 4160if test "${lt_cv_deplibs_check_method+set}" = set; then
 4161  echo $ECHO_N "(cached) $ECHO_C" >&6
 4162else
 4163  lt_cv_file_magic_cmd='$MAGIC_CMD'
 4164lt_cv_file_magic_test_file=
 4165lt_cv_deplibs_check_method='unknown'
 4166# Need to set the preceding variable on all platforms that support
 4167# interlibrary dependencies.
 4168# 'none' -- dependencies not supported.
 4169# `unknown' -- same as none, but documents that we really don't know.
 4170# 'pass_all' -- all dependencies passed with no checks.
 4171# 'test_compile' -- check by making test program.
 4172# 'file_magic [[regex]]' -- check by looking for files in library path
 4173# which responds to the $file_magic_cmd with a given extended regex.
 4174# If you have `file' or equivalent on your system and you're not sure
 4175# whether `pass_all' will *always* work, you probably want this one.
 4176
 4177case $host_os in
 4178aix4* | aix5*)
 4179  lt_cv_deplibs_check_method=pass_all
 4180  ;;
 4181
 4182beos*)
 4183  lt_cv_deplibs_check_method=pass_all
 4184  ;;
 4185
 4186bsdi[45]*)
 4187  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 4188  lt_cv_file_magic_cmd='/usr/bin/file -L'
 4189  lt_cv_file_magic_test_file=/shlib/libc.so
 4190  ;;
 4191
 4192cygwin*)
 4193  # func_win32_libid is a shell function defined in ltmain.sh
 4194  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 4195  lt_cv_file_magic_cmd='func_win32_libid'
 4196  ;;
 4197
 4198mingw* | pw32*)
 4199  # Base MSYS/MinGW do not provide the 'file' command needed by
 4200  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 4201  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 4202  lt_cv_file_magic_cmd='$OBJDUMP -f'
 4203  ;;
 4204
 4205darwin* | rhapsody*)
 4206  lt_cv_deplibs_check_method=pass_all
 4207  ;;
 4208
 4209freebsd* | kfreebsd*-gnu | dragonfly*)
 4210  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 4211    case $host_cpu in
 4212    i*86 )
 4213      # Not sure whether the presence of OpenBSD here was a mistake.
 4214      # Let's accept both of them until this is cleared up.
 4215      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 4216      lt_cv_file_magic_cmd=/usr/bin/file
 4217      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 4218      ;;
 4219    esac
 4220  else
 4221    lt_cv_deplibs_check_method=pass_all
 4222  fi
 4223  ;;
 4224
 4225gnu*)
 4226  lt_cv_deplibs_check_method=pass_all
 4227  ;;
 4228
 4229hpux10.20* | hpux11*)
 4230  lt_cv_file_magic_cmd=/usr/bin/file
 4231  case $host_cpu in
 4232  ia64*)
 4233    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 4234    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 4235    ;;
 4236  hppa*64*)
 4237    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]'
 4238    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 4239    ;;
 4240  *)
 4241    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 4242    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 4243    ;;
 4244  esac
 4245  ;;
 4246
 4247interix3*)
 4248  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 4249  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 4250  ;;
 4251
 4252irix5* | irix6* | nonstopux*)
 4253  case $LD in
 4254  *-32|*"-32 ") libmagic=32-bit;;
 4255  *-n32|*"-n32 ") libmagic=N32;;
 4256  *-64|*"-64 ") libmagic=64-bit;;
 4257  *) libmagic=never-match;;
 4258  esac
 4259  lt_cv_deplibs_check_method=pass_all
 4260  ;;
 4261
 4262# This must be Linux ELF.
 4263linux*)
 4264  lt_cv_deplibs_check_method=pass_all
 4265  ;;
 4266
 4267netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 4268  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 4269    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4270  else
 4271    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 4272  fi
 4273  ;;
 4274
 4275newos6*)
 4276  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 4277  lt_cv_file_magic_cmd=/usr/bin/file
 4278  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 4279  ;;
 4280
 4281nto-qnx*)
 4282  lt_cv_deplibs_check_method=unknown
 4283  ;;
 4284
 4285openbsd*)
 4286  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 4287    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 4288  else
 4289    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4290  fi
 4291  ;;
 4292
 4293osf3* | osf4* | osf5*)
 4294  lt_cv_deplibs_check_method=pass_all
 4295  ;;
 4296
 4297solaris*)
 4298  lt_cv_deplibs_check_method=pass_all
 4299  ;;
 4300
 4301sysv4 | sysv4.3*)
 4302  case $host_vendor in
 4303  motorola)
 4304    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]'
 4305    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 4306    ;;
 4307  ncr)
 4308    lt_cv_deplibs_check_method=pass_all
 4309    ;;
 4310  sequent)
 4311    lt_cv_file_magic_cmd='/bin/file'
 4312    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 4313    ;;
 4314  sni)
 4315    lt_cv_file_magic_cmd='/bin/file'
 4316    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 4317    lt_cv_file_magic_test_file=/lib/libc.so
 4318    ;;
 4319  siemens)
 4320    lt_cv_deplibs_check_method=pass_all
 4321    ;;
 4322  pc)
 4323    lt_cv_deplibs_check_method=pass_all
 4324    ;;
 4325  esac
 4326  ;;
 4327
 4328sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 4329  lt_cv_deplibs_check_method=pass_all
 4330  ;;
 4331esac
 4332
 4333fi
 4334echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 4335echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 4336file_magic_cmd=$lt_cv_file_magic_cmd
 4337deplibs_check_method=$lt_cv_deplibs_check_method
 4338test -z "$deplibs_check_method" && deplibs_check_method=unknown
 4339
 4340
 4341
 4342
 4343# If no C compiler was specified, use CC.
 4344LTCC=${LTCC-"$CC"}
 4345
 4346# If no C compiler flags were specified, use CFLAGS.
 4347LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 4348
 4349# Allow CC to be a program name with arguments.
 4350compiler=$CC
 4351
 4352
 4353# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 4354if test "${enable_libtool_lock+set}" = set; then
 4355  enableval="$enable_libtool_lock"
 4356
 4357fi;
 4358test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 4359
 4360# Some flags need to be propagated to the compiler or linker for good
 4361# libtool support.
 4362case $host in
 4363ia64-*-hpux*)
 4364  # Find out which ABI we are using.
 4365  echo 'int i;' > conftest.$ac_ext
 4366  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4367  (eval $ac_compile) 2>&5
 4368  ac_status=$?
 4369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4370  (exit $ac_status); }; then
 4371    case `/usr/bin/file conftest.$ac_objext` in
 4372    *ELF-32*)
 4373      HPUX_IA64_MODE="32"
 4374      ;;
 4375    *ELF-64*)
 4376      HPUX_IA64_MODE="64"
 4377      ;;
 4378    esac
 4379  fi
 4380  rm -rf conftest*
 4381  ;;
 4382*-*-irix6*)
 4383  # Find out which ABI we are using.
 4384  echo '#line 4384 "configure"' > conftest.$ac_ext
 4385  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4386  (eval $ac_compile) 2>&5
 4387  ac_status=$?
 4388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4389  (exit $ac_status); }; then
 4390   if test "$lt_cv_prog_gnu_ld" = yes; then
 4391    case `/usr/bin/file conftest.$ac_objext` in
 4392    *32-bit*)
 4393      LD="${LD-ld} -melf32bsmip"
 4394      ;;
 4395    *N32*)
 4396      LD="${LD-ld} -melf32bmipn32"
 4397      ;;
 4398    *64-bit*)
 4399      LD="${LD-ld} -melf64bmip"
 4400      ;;
 4401    esac
 4402   else
 4403    case `/usr/bin/file conftest.$ac_objext` in
 4404    *32-bit*)
 4405      LD="${LD-ld} -32"
 4406      ;;
 4407    *N32*)
 4408      LD="${LD-ld} -n32"
 4409      ;;
 4410    *64-bit*)
 4411      LD="${LD-ld} -64"
 4412      ;;
 4413    esac
 4414   fi
 4415  fi
 4416  rm -rf conftest*
 4417  ;;
 4418
 4419x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 4420  # Find out which ABI we are using.
 4421  echo 'int i;' > conftest.$ac_ext
 4422  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4423  (eval $ac_compile) 2>&5
 4424  ac_status=$?
 4425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4426  (exit $ac_status); }; then
 4427    case `/usr/bin/file conftest.o` in
 4428    *32-bit*)
 4429      case $host in
 4430        x86_64-*linux*)
 4431          LD="${LD-ld} -m elf_i386"
 4432          ;;
 4433        ppc64-*linux*|powerpc64-*linux*)
 4434          LD="${LD-ld} -m elf32ppclinux"
 4435          ;;
 4436        s390x-*linux*)
 4437          LD="${LD-ld} -m elf_s390"
 4438          ;;
 4439        sparc64-*linux*)
 4440          LD="${LD-ld} -m elf32_sparc"
 4441          ;;
 4442      esac
 4443      ;;
 4444    *64-bit*)
 4445      case $host in
 4446        x86_64-*linux*)
 4447          LD="${LD-ld} -m elf_x86_64"
 4448          ;;
 4449        ppc*-*linux*|powerpc*-*linux*)
 4450          LD="${LD-ld} -m elf64ppc"
 4451          ;;
 4452        s390*-*linux*)
 4453          LD="${LD-ld} -m elf64_s390"
 4454          ;;
 4455        sparc*-*linux*)
 4456          LD="${LD-ld} -m elf64_sparc"
 4457          ;;
 4458      esac
 4459      ;;
 4460    esac
 4461  fi
 4462  rm -rf conftest*
 4463  ;;
 4464
 4465*-*-sco3.2v5*)
 4466  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 4467  SAVE_CFLAGS="$CFLAGS"
 4468  CFLAGS="$CFLAGS -belf"
 4469  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 4470echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 4471if test "${lt_cv_cc_needs_belf+set}" = set; then
 4472  echo $ECHO_N "(cached) $ECHO_C" >&6
 4473else
 4474  ac_ext=c
 4475ac_cpp='$CPP $CPPFLAGS'
 4476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4478ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4479
 4480     cat >conftest.$ac_ext <<_ACEOF
 4481/* confdefs.h.  */
 4482_ACEOF
 4483cat confdefs.h >>conftest.$ac_ext
 4484cat >>conftest.$ac_ext <<_ACEOF
 4485/* end confdefs.h.  */
 4486
 4487int
 4488main ()
 4489{
 4490
 4491  ;
 4492  return 0;
 4493}
 4494_ACEOF
 4495rm -f conftest.$ac_objext conftest$ac_exeext
 4496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4497  (eval $ac_link) 2>conftest.er1
 4498  ac_status=$?
 4499  grep -v '^ *+' conftest.er1 >conftest.err
 4500  rm -f conftest.er1
 4501  cat conftest.err >&5
 4502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4503  (exit $ac_status); } &&
 4504	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 4505  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4506  (eval $ac_try) 2>&5
 4507  ac_status=$?
 4508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4509  (exit $ac_status); }; } &&
 4510	 { ac_try='test -s conftest$ac_exeext'
 4511  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4512  (eval $ac_try) 2>&5
 4513  ac_status=$?
 4514  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4515  (exit $ac_status); }; }; then
 4516  lt_cv_cc_needs_belf=yes
 4517else
 4518  echo "$as_me: failed program was:" >&5
 4519sed 's/^/| /' conftest.$ac_ext >&5
 4520
 4521lt_cv_cc_needs_belf=no
 4522fi
 4523rm -f conftest.err conftest.$ac_objext \
 4524      conftest$ac_exeext conftest.$ac_ext
 4525     ac_ext=c
 4526ac_cpp='$CPP $CPPFLAGS'
 4527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4529ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4530
 4531fi
 4532echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 4533echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 4534  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 4535    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 4536    CFLAGS="$SAVE_CFLAGS"
 4537  fi
 4538  ;;
 4539sparc*-*solaris*)
 4540  # Find out which ABI we are using.
 4541  echo 'int i;' > conftest.$ac_ext
 4542  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4543  (eval $ac_compile) 2>&5
 4544  ac_status=$?
 4545  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4546  (exit $ac_status); }; then
 4547    case `/usr/bin/file conftest.o` in
 4548    *64-bit*)
 4549      case $lt_cv_prog_gnu_ld in
 4550      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 4551      *)    LD="${LD-ld} -64" ;;
 4552      esac
 4553      ;;
 4554    esac
 4555  fi
 4556  rm -rf conftest*
 4557  ;;
 4558
 4559
 4560esac
 4561
 4562need_locks="$enable_libtool_lock"
 4563
 4564
 4565
 4566echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4567echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4568if test "${ac_cv_header_stdc+set}" = set; then
 4569  echo $ECHO_N "(cached) $ECHO_C" >&6
 4570else
 4571  cat >conftest.$ac_ext <<_ACEOF
 4572/* confdefs.h.  */
 4573_ACEOF
 4574cat confdefs.h >>conftest.$ac_ext
 4575cat >>conftest.$ac_ext <<_ACEOF
 4576/* end confdefs.h.  */
 4577#include <stdlib.h>
 4578#include <stdarg.h>
 4579#include <string.h>
 4580#include <float.h>
 4581
 4582int
 4583main ()
 4584{
 4585
 4586  ;
 4587  return 0;
 4588}
 4589_ACEOF
 4590rm -f conftest.$ac_objext
 4591if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4592  (eval $ac_compile) 2>conftest.er1
 4593  ac_status=$?
 4594  grep -v '^ *+' conftest.er1 >conftest.err
 4595  rm -f conftest.er1
 4596  cat conftest.err >&5
 4597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4598  (exit $ac_status); } &&
 4599	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 4600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4601  (eval $ac_try) 2>&5
 4602  ac_status=$?
 4603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4604  (exit $ac_status); }; } &&
 4605	 { ac_try='test -s conftest.$ac_objext'
 4606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4607  (eval $ac_try) 2>&5
 4608  ac_status=$?
 4609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4610  (exit $ac_status); }; }; then
 4611  ac_cv_header_stdc=yes
 4612else
 4613  echo "$as_me: failed program was:" >&5
 4614sed 's/^/| /' conftest.$ac_ext >&5
 4615
 4616ac_cv_header_stdc=no
 4617fi
 4618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4619
 4620if test $ac_cv_header_stdc = yes; then
 4621  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4622  cat >conftest.$ac_ext <<_ACEOF
 4623/* confdefs.h.  */
 4624_ACEOF
 4625cat confdefs.h >>conftest.$ac_ext
 4626cat >>conftest.$ac_ext <<_ACEOF
 4627/* end confdefs.h.  */
 4628#include <string.h>
 4629
 4630_ACEOF
 4631if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4632  $EGREP "memchr" >/dev/null 2>&1; then
 4633  :
 4634else
 4635  ac_cv_header_stdc=no
 4636fi
 4637rm -f conftest*
 4638
 4639fi
 4640
 4641if test $ac_cv_header_stdc = yes; then
 4642  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4643  cat >conftest.$ac_ext <<_ACEOF
 4644/* confdefs.h.  */
 4645_ACEOF
 4646cat confdefs.h >>conftest.$ac_ext
 4647cat >>conftest.$ac_ext <<_ACEOF
 4648/* end confdefs.h.  */
 4649#include <stdlib.h>
 4650
 4651_ACEOF
 4652if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4653  $EGREP "free" >/dev/null 2>&1; then
 4654  :
 4655else
 4656  ac_cv_header_stdc=no
 4657fi
 4658rm -f conftest*
 4659
 4660fi
 4661
 4662if test $ac_cv_header_stdc = yes; then
 4663  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4664  if test "$cross_compiling" = yes; then
 4665  :
 4666else
 4667  cat >conftest.$ac_ext <<_ACEOF
 4668/* confdefs.h.  */
 4669_ACEOF
 4670cat confdefs.h >>conftest.$ac_ext
 4671cat >>conftest.$ac_ext <<_ACEOF
 4672/* end confdefs.h.  */
 4673#include <ctype.h>
 4674#if ((' ' & 0x0FF) == 0x020)
 4675# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4676# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4677#else
 4678# define ISLOWER(c) \
 4679		   (('a' <= (c) && (c) <= 'i') \
 4680		     || ('j' <= (c) && (c) <= 'r') \
 4681		     || ('s' <= (c) && (c) <= 'z'))
 4682# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4683#endif
 4684
 4685#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4686int
 4687main ()
 4688{
 4689  int i;
 4690  for (i = 0; i < 256; i++)
 4691    if (XOR (islower (i), ISLOWER (i))
 4692	|| toupper (i) != TOUPPER (i))
 4693      exit(2);
 4694  exit (0);
 4695}
 4696_ACEOF
 4697rm -f conftest$ac_exeext
 4698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4699  (eval $ac_link) 2>&5
 4700  ac_status=$?
 4701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4702  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4704  (eval $ac_try) 2>&5
 4705  ac_status=$?
 4706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4707  (exit $ac_status); }; }; then
 4708  :
 4709else
 4710  echo "$as_me: program exited with status $ac_status" >&5
 4711echo "$as_me: failed program was:" >&5
 4712sed 's/^/| /' conftest.$ac_ext >&5
 4713
 4714( exit $ac_status )
 4715ac_cv_header_stdc=no
 4716fi
 4717rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4718fi
 4719fi
 4720fi
 4721echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 4722echo "${ECHO_T}$ac_cv_header_stdc" >&6
 4723if test $ac_cv_header_stdc = yes; then
 4724
 4725cat >>confdefs.h <<\_ACEOF
 4726#define STDC_HEADERS 1
 4727_ACEOF
 4728
 4729fi
 4730
 4731# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 4732
 4733
 4734
 4735
 4736
 4737
 4738
 4739
 4740
 4741for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 4742		  inttypes.h stdint.h unistd.h
 4743do
 4744as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4745echo "$as_me:$LINENO: checking for $ac_header" >&5
 4746echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4747if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4748  echo $ECHO_N "(cached) $ECHO_C" >&6
 4749else
 4750  cat >conftest.$ac_ext <<_ACEOF
 4751/* confdefs.h.  */
 4752_ACEOF
 4753cat confdefs.h >>conftest.$ac_ext
 4754cat >>conftest.$ac_ext <<_ACEOF
 4755/* end confdefs.h.  */
 4756$ac_includes_default
 4757
 4758#include <$ac_header>
 4759_ACEOF
 4760rm -f conftest.$ac_objext
 4761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4762  (eval $ac_compile) 2>conftest.er1
 4763  ac_status=$?
 4764  grep -v '^ *+' conftest.er1 >conftest.err
 4765  rm -f conftest.er1
 4766  cat conftest.err >&5
 4767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4768  (exit $ac_status); } &&
 4769	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 4770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4771  (eval $ac_try) 2>&5
 4772  ac_status=$?
 4773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4774  (exit $ac_status); }; } &&
 4775	 { ac_try='test -s conftest.$ac_objext'
 4776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4777  (eval $ac_try) 2>&5
 4778  ac_status=$?
 4779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4780  (exit $ac_status); }; }; then
 4781  eval "$as_ac_Header=yes"
 4782else
 4783  echo "$as_me: failed program was:" >&5
 4784sed 's/^/| /' conftest.$ac_ext >&5
 4785
 4786eval "$as_ac_Header=no"
 4787fi
 4788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4789fi
 4790echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4791echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4792if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4793  cat >>confdefs.h <<_ACEOF
 4794#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4795_ACEOF
 4796
 4797fi
 4798
 4799done
 4800
 4801
 4802
 4803for ac_header in dlfcn.h
 4804do
 4805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4806if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4807  echo "$as_me:$LINENO: checking for $ac_header" >&5
 4808echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4809if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4810  echo $ECHO_N "(cached) $ECHO_C" >&6
 4811fi
 4812echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4813echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4814else
 4815  # Is the header compilable?
 4816echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4817echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4818cat >conftest.$ac_ext <<_ACEOF
 4819/* confdefs.h.  */
 4820_ACEOF
 4821cat confdefs.h >>conftest.$ac_ext
 4822cat >>conftest.$ac_ext <<_ACEOF
 4823/* end confdefs.h.  */
 4824$ac_includes_default
 4825#include <$ac_header>
 4826_ACEOF
 4827rm -f conftest.$ac_objext
 4828if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4829  (eval $ac_compile) 2>conftest.er1
 4830  ac_status=$?
 4831  grep -v '^ *+' conftest.er1 >conftest.err
 4832  rm -f conftest.er1
 4833  cat conftest.err >&5
 4834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4835  (exit $ac_status); } &&
 4836	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 4837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4838  (eval $ac_try) 2>&5
 4839  ac_status=$?
 4840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4841  (exit $ac_status); }; } &&
 4842	 { ac_try='test -s conftest.$ac_objext'
 4843  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4844  (eval $ac_try) 2>&5
 4845  ac_status=$?
 4846  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4847  (exit $ac_status); }; }; then
 4848  ac_header_compiler=yes
 4849else
 4850  echo "$as_me: failed program was:" >&5
 4851sed 's/^/| /' conftest.$ac_ext >&5
 4852
 4853ac_header_compiler=no
 4854fi
 4855rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4856echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4857echo "${ECHO_T}$ac_header_compiler" >&6
 4858
 4859# Is the header present?
 4860echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4861echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4862cat >conftest.$ac_ext <<_ACEOF
 4863/* confdefs.h.  */
 4864_ACEOF
 4865cat confdefs.h >>conftest.$ac_ext
 4866cat >>conftest.$ac_ext <<_ACEOF
 4867/* end confdefs.h.  */
 4868#include <$ac_header>
 4869_ACEOF
 4870if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4871  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4872  ac_status=$?
 4873  grep -v '^ *+' conftest.er1 >conftest.err
 4874  rm -f conftest.er1
 4875  cat conftest.err >&5
 4876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4877  (exit $ac_status); } >/dev/null; then
 4878  if test -s conftest.err; then
 4879    ac_cpp_err=$ac_c_preproc_warn_flag
 4880    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4881  else
 4882    ac_cpp_err=
 4883  fi
 4884else
 4885  ac_cpp_err=yes
 4886fi
 4887if test -z "$ac_cpp_err"; then
 4888  ac_header_preproc=yes
 4889else
 4890  echo "$as_me: failed program was:" >&5
 4891sed 's/^/| /' conftest.$ac_ext >&5
 4892
 4893  ac_header_preproc=no
 4894fi
 4895rm -f conftest.err conftest.$ac_ext
 4896echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4897echo "${ECHO_T}$ac_header_preproc" >&6
 4898
 4899# So?  What about this header?
 4900case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4901  yes:no: )
 4902    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4903echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4904    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4905echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4906    ac_header_preproc=yes
 4907    ;;
 4908  no:yes:* )
 4909    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4910echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4911    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4912echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4913    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4914echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4915    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4916echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4917    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4918echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4919    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4920echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4921    (
 4922      cat <<\_ASBOX
 4923## ------------------------------------ ##
 4924## Report this to opensource@google.com ##
 4925## ------------------------------------ ##
 4926_ASBOX
 4927    ) |
 4928      sed "s/^/$as_me: WARNING:     /" >&2
 4929    ;;
 4930esac
 4931echo "$as_me:$LINENO: checking for $ac_header" >&5
 4932echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4933if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4934  echo $ECHO_N "(cached) $ECHO_C" >&6
 4935else
 4936  eval "$as_ac_Header=\$ac_header_preproc"
 4937fi
 4938echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4939echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4940
 4941fi
 4942if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4943  cat >>confdefs.h <<_ACEOF
 4944#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4945_ACEOF
 4946
 4947fi
 4948
 4949done
 4950
 4951
 4952
 4953if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 4954    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 4955    (test "X$CXX" != "Xg++"))) ; then
 4956  ac_ext=cc
 4957ac_cpp='$CXXCPP $CPPFLAGS'
 4958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4961echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 4962echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 4963if test -z "$CXXCPP"; then
 4964  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 4965  echo $ECHO_N "(cached) $ECHO_C" >&6
 4966else
 4967      # Double quotes because CXXCPP needs to be expanded
 4968    for CXXCPP in "$CXX -E" "/lib/cpp"
 4969    do
 4970      ac_preproc_ok=false
 4971for ac_cxx_preproc_warn_flag in '' yes
 4972do
 4973  # Use a header file that comes with gcc, so configuring glibc
 4974  # with a fresh cross-compiler works.
 4975  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4976  # <limits.h> exists even on freestanding compilers.
 4977  # On the NeXT, cc -E runs the code through the compiler's parser,
 4978  # not just through cpp. "Syntax error" is here to catch this case.
 4979  cat >conftest.$ac_ext <<_ACEOF
 4980/* confdefs.h.  */
 4981_ACEOF
 4982cat confdefs.h >>conftest.$ac_ext
 4983cat >>conftest.$ac_ext <<_ACEOF
 4984/* end confdefs.h.  */
 4985#ifdef __STDC__
 4986# include <limits.h>
 4987#else
 4988# include <assert.h>
 4989#endif
 4990		     Syntax error
 4991_ACEOF
 4992if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4993  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4994  ac_status=$?
 4995  grep -v '^ *+' conftest.er1 >conftest.err
 4996  rm -f conftest.er1
 4997  cat conftest.err >&5
 4998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4999  (exit $ac_status); } >/dev/null; then
 5000  if test -s conftest.err; then
 5001    ac_cpp_err=$ac_cxx_preproc_warn_flag
 5002    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5003  else
 5004    ac_cpp_err=
 5005  fi
 5006else
 5007  ac_cpp_err=yes
 5008fi
 5009if test -z "$ac_cpp_err"; then
 5010  :
 5011else
 5012  echo "$as_me: failed program was:" >&5
 5013sed 's/^/| /' conftest.$ac_ext >&5
 5014
 5015  # Broken: fails on valid input.
 5016continue
 5017fi
 5018rm -f conftest.err conftest.$ac_ext
 5019
 5020  # OK, works on sane cases.  Now check whether non-existent headers
 5021  # can be detected and how.
 5022  cat >conftest.$ac_ext <<_ACEOF
 5023/* confdefs.h.  */
 5024_ACEOF
 5025cat confdefs.h >>conftest.$ac_ext
 5026cat >>conftest.$ac_ext <<_ACEOF
 5027/* end confdefs.h.  */
 5028#include <ac_nonexistent.h>
 5029_ACEOF
 5030if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5031  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5032  ac_status=$?
 5033  grep -v '^ *+' conftest.er1 >conftest.err
 5034  rm -f conftest.er1
 5035  cat conftest.err >&5
 5036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5037  (exit $ac_status); } >/dev/null; then
 5038  if test -s conftest.err; then
 5039    ac_cpp_err=$ac_cxx_preproc_warn_flag
 5040    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5041  else
 5042    ac_cpp_err=
 5043  fi
 5044else
 5045  ac_cpp_err=yes
 5046fi
 5047if test -z "$ac_cpp_err"; then
 5048  # Broken: success on invalid input.
 5049continue
 5050else
 5051  echo "$as_me: failed program was:" >&5
 5052sed 's/^/| /' conftest.$ac_ext >&5
 5053
 5054  # Passes both tests.
 5055ac_preproc_ok=:
 5056break
 5057fi
 5058rm -f conftest.err conftest.$ac_ext
 5059
 5060done
 5061# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5062rm -f conftest.err conftest.$ac_ext
 5063if $ac_preproc_ok; then
 5064  break
 5065fi
 5066
 5067    done
 5068    ac_cv_prog_CXXCPP=$CXXCPP
 5069
 5070fi
 5071  CXXCPP=$ac_cv_prog_CXXCPP
 5072else
 5073  ac_cv_prog_CXXCPP=$CXXCPP
 5074fi
 5075echo "$as_me:$LINENO: result: $CXXCPP" >&5
 5076echo "${ECHO_T}$CXXCPP" >&6
 5077ac_preproc_ok=false
 5078for ac_cxx_preproc_warn_flag in '' yes
 5079do
 5080  # Use a header file that comes with gcc, so configuring glibc
 5081  # with a fresh cross-compiler works.
 5082  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5083  # <limits.h> exists even on freestanding compilers.
 5084  # On the NeXT, cc -E runs the code through the compiler's parser,
 5085  # not just through cpp. "Syntax error" is here to catch this case.
 5086  cat >conftest.$ac_ext <<_ACEOF
 5087/* confdefs.h.  */
 5088_ACEOF
 5089cat confdefs.h >>conftest.$ac_ext
 5090cat >>conftest.$ac_ext <<_ACEOF
 5091/* end confdefs.h.  */
 5092#ifdef __STDC__
 5093# include <limits.h>
 5094#else
 5095# include <assert.h>
 5096#endif
 5097		     Syntax error
 5098_ACEOF
 5099if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5100  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5101  ac_status=$?
 5102  grep -v '^ *+' conftest.er1 >conftest.err
 5103  rm -f conftest.er1
 5104  cat conftest.err >&5
 5105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5106  (exit $ac_status); } >/dev/null; then
 5107  if test -s conftest.err; then
 5108    ac_cpp_err=$ac_cxx_preproc_warn_flag
 5109    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5110  else
 5111    ac_cpp_err=
 5112  fi
 5113else
 5114  ac_cpp_err=yes
 5115fi
 5116if test -z "$ac_cpp_err"; then
 5117  :
 5118else
 5119  echo "$as_me: failed program was:" >&5
 5120sed 's/^/| /' conftest.$ac_ext >&5
 5121
 5122  # Broken: fails on valid input.
 5123continue
 5124fi
 5125rm -f conftest.err conftest.$ac_ext
 5126
 5127  # OK, works on sane cases.  Now check whether non-existent headers
 5128  # can be detected and how.
 5129  cat >conftest.$ac_ext <<_ACEOF
 5130/* confdefs.h.  */
 5131_ACEOF
 5132cat confdefs.h >>conftest.$ac_ext
 5133cat >>conftest.$ac_ext <<_ACEOF
 5134/* end confdefs.h.  */
 5135#include <ac_nonexistent.h>
 5136_ACEOF
 5137if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5138  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5139  ac_status=$?
 5140  grep -v '^ *+' conftest.er1 >conftest.err
 5141  rm -f conftest.er1
 5142  cat conftest.err >&5
 5143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5144  (exit $ac_status); } >/dev/null; then
 5145  if test -s conftest.err; then
 5146    ac_cpp_err=$ac_cxx_preproc_warn_flag
 5147    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 5148  else
 5149    ac_cpp_err=
 5150  fi
 5151else
 5152  ac_cpp_err=yes
 5153fi
 5154if test -z "$ac_cpp_err"; then
 5155  # Broken: success on invalid input.
 5156continue
 5157else
 5158  echo "$as_me: failed program was:" >&5
 5159sed 's/^/| /' conftest.$ac_ext >&5
 5160
 5161  # Passes both tests.
 5162ac_preproc_ok=:
 5163break
 5164fi
 5165rm -f conftest.err conftest.$ac_ext
 5166
 5167done
 5168# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5169rm -f conftest.err conftest.$ac_ext
 5170if $ac_preproc_ok; then
 5171  :
 5172else
 5173  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 5174See \`config.log' for more details." >&5
 5175echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 5176See \`config.log' for more details." >&2;}
 5177   { (exit 1); exit 1; }; }
 5178fi
 5179
 5180ac_ext=cc
 5181ac_cpp='$CXXCPP $CPPFLAGS'
 5182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 5185
 5186fi
 5187
 5188
 5189ac_ext=f
 5190ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 5191ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5192ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 5193if test -n "$ac_tool_prefix"; then
 5194  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 5195  do
 5196    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5197set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5198echo "$as_me:$LINENO: checking for $ac_word" >&5
 5199echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5200if test "${ac_cv_prog_F77+set}" = set; then
 5201  echo $ECHO_N "(cached) $ECHO_C" >&6
 5202else
 5203  if test -n "$F77"; then
 5204  ac_cv_prog_F77="$F77" # Let the user override the test.
 5205else
 5206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5207for as_dir in $PATH
 5208do
 5209  IFS=$as_save_IFS
 5210  test -z "$as_dir" && as_dir=.
 5211  for ac_exec_ext in '' $ac_executable_extensions; do
 5212  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5213    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 5214    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5215    break 2
 5216  fi
 5217done
 5218done
 5219
 5220fi
 5221fi
 5222F77=$ac_cv_prog_F77
 5223if test -n "$F77"; then
 5224  echo "$as_me:$LINENO: result: $F77" >&5
 5225echo "${ECHO_T}$F77" >&6
 5226else
 5227  echo "$as_me:$LINENO: result: no" >&5
 5228echo "${ECHO_T}no" >&6
 5229fi
 5230
 5231    test -n "$F77" && break
 5232  done
 5233fi
 5234if test -z "$F77"; then
 5235  ac_ct_F77=$F77
 5236  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 5237do
 5238  # Extract the first word of "$ac_prog", so it can be a program name with args.
 5239set dummy $ac_prog; ac_word=$2
 5240echo "$as_me:$LINENO: checking for $ac_word" >&5
 5241echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5242if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 5243  echo $ECHO_N "(cached) $ECHO_C" >&6
 5244else
 5245  if test -n "$ac_ct_F77"; then
 5246  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 5247else
 5248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5249for as_dir in $PATH
 5250do
 5251  IFS=$as_save_IFS
 5252  test -z "$as_dir" && as_dir=.
 5253  for ac_exec_ext in '' $ac_executable_extensions; do
 5254  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5255    ac_cv_prog_ac_ct_F77="$ac_prog"
 5256    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5257    break 2
 5258  fi
 5259done
 5260done
 5261
 5262fi
 5263fi
 5264ac_ct_F77=$ac_cv_prog_ac_ct_F77
 5265if test -n "$ac_ct_F77"; then
 5266  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 5267echo "${ECHO_T}$ac_ct_F77" >&6
 5268else
 5269  echo "$as_me:$LINENO: result: no" >&5
 5270echo "${ECHO_T}no" >&6
 5271fi
 5272
 5273  test -n "$ac_ct_F77" && break
 5274done
 5275
 5276  F77=$ac_ct_F77
 5277fi
 5278
 5279
 5280# Provide some information about the compiler.
 5281echo "$as_me:5281:" \
 5282     "checking for Fortran 77 compiler version" >&5
 5283ac_compiler=`set X $ac_compile; echo $2`
 5284{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 5285  (eval $ac_compiler --version </dev/null >&5) 2>&5
 5286  ac_status=$?
 5287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5288  (exit $ac_status); }
 5289{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 5290  (eval $ac_compiler -v </dev/null >&5) 2>&5
 5291  ac_status=$?
 5292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5293  (exit $ac_status); }
 5294{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 5295  (eval $ac_compiler -V </dev/null >&5) 2>&5
 5296  ac_status=$?
 5297  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5298  (exit $ac_status); }
 5299rm -f a.out
 5300
 5301# If we don't use `.F' as extension, the preprocessor is not run on the
 5302# input file.  (Note that this only needs to work for GNU compilers.)
 5303ac_save_ext=$ac_ext
 5304ac_ext=F
 5305echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 5306echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 5307if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 5308  echo $ECHO_N "(cached) $ECHO_C" >&6
 5309else
 5310  cat >conftest.$ac_ext <<_ACEOF
 5311      program main
 5312#ifndef __GNUC__
 5313       choke me
 5314#endif
 5315
 5316      end
 5317_ACEOF
 5318rm -f conftest.$ac_objext
 5319if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5320  (eval $ac_compile) 2>conftest.er1
 5321  ac_status=$?
 5322  grep -v '^ *+' conftest.er1 >conftest.err
 5323  rm -f conftest.er1
 5324  cat conftest.err >&5
 5325  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5326  (exit $ac_status); } &&
 5327	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 5328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5329  (eval $ac_try) 2>&5
 5330  ac_status=$?
 5331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5332  (exit $ac_status); }; } &&
 5333	 { ac_try='test -s conftest.$ac_objext'
 5334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5335  (eval $ac_try) 2>&5
 5336  ac_status=$?
 5337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5338  (exit $ac_status); }; }; then
 5339  ac_compiler_gnu=yes
 5340else
 5341  echo "$as_me: failed program was:" >&5
 5342sed 's/^/| /' conftest.$ac_ext >&5
 5343
 5344ac_compiler_gnu=no
 5345fi
 5346rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5347ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 5348
 5349fi
 5350echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 5351echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 5352ac_ext=$ac_save_ext
 5353ac_test_FFLAGS=${FFLAGS+set}
 5354ac_save_FFLAGS=$FFLAGS
 5355FFLAGS=
 5356echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 5357echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 5358if test "${ac_cv_prog_f77_g+set}" = set; then
 5359  echo $ECHO_N "(cached) $ECHO_C" >&6
 5360else
 5361  FFLAGS=-g
 5362cat >conftest.$ac_ext <<_ACEOF
 5363      program main
 5364
 5365      end
 5366_ACEOF
 5367rm -f conftest.$ac_objext
 5368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5369  (eval $ac_compile) 2>conftest.er1
 5370  ac_status=$?
 5371  grep -v '^ *+' conftest.er1 >conftest.err
 5372  rm -f conftest.er1
 5373  cat conftest.err >&5
 5374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5375  (exit $ac_status); } &&
 5376	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
 5377  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5378  (eval $ac_try) 2>&5
 5379  ac_status=$?
 5380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5381  (exit $ac_status); }; } &&
 5382	 { ac_try='test -s conftest.$ac_objext'
 5383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5384  (eval $ac_try) 2>&5
 5385  ac_status=$?
 5386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5387  (exit $ac_status); }; }; then
 5388  ac_cv_prog_f77_g=yes
 5389else
 5390  echo "$as_me: failed program was:" >&5
 5391sed 's/^/| /' conftest.$ac_ext >&5
 5392
 5393ac_cv_prog_f77_g=no
 5394fi
 5395rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5396
 5397fi
 5398echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 5399echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 5400if test "$ac_test_FFLAGS" = set; then
 5401  FFLAGS=$ac_save_FFLAGS
 5402elif test $ac_cv_prog_f77_g = yes; then
 5403  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 5404    FFLAGS="-g -O2"
 5405  else
 5406    FFLAGS="-g"
 5407  fi
 5408else
 5409  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 5410    FFLAGS="-O2"
 5411  else
 5412    FFLAGS=
 5413  fi
 5414fi
 5415
 5416G77=`test $ac_compiler_gnu = yes && echo yes`
 5417ac_ext=c
 5418ac_cpp='$CPP $CPPFLAGS'
 5419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5421ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5422
 5423
 5424
 5425# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 5426
 5427# find the maximum length of command line arguments
 5428echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 5429echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 5430if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 5431  echo $ECHO_N "(cached) $ECHO_C" >&6
 5432else
 5433    i=0
 5434  teststring="ABCD"
 5435
 5436  case $build_os in
 5437  msdosdjgpp*)
 5438    # On DJGPP, this test can blow up pretty badly due to problems in libc
 5439    # (any single argument exceeding 2000 bytes causes a buffer overrun
 5440    # during glob expansion).  Even if it were fixed, the result of this
 5441    # check would be larger than it should be.
 5442    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5443    ;;
 5444
 5445  gnu*)
 5446    # Under GNU Hurd, this test is not required because there is
 5447    # no limit to the length of command line arguments.
 5448    # Libtool will interpret -1 as no limit whatsoever
 5449    lt_cv_sys_max_cmd_len=-1;
 5450    ;;
 5451
 5452  cygwin* | mingw*)
 5453    # On Win9x/ME, this test blows up -- it succeeds, but takes
 5454    # about 5 minutes as the teststring grows exponentially.
 5455    # Worse, since 9x/ME are not pre-emptively multitasking,
 5456    # you end up with a "frozen" computer, even though with patience
 5457    # the test eventually succeeds (with a max line length of 256k).
 5458    # Instead, let's just punt: use the minimum linelength reported by
 5459    # all of the supported platforms: 8192 (on NT/2K/XP).
 5460    lt_cv_sys_max_cmd_len=8192;
 5461    ;;
 5462
 5463  amigaos*)
 5464    # On AmigaOS with pdksh, this test takes hours, literally.
 5465    # So we just punt and use a minimum line length of 8192.
 5466    lt_cv_sys_max_cmd_len=8192;
 5467    ;;
 5468
 5469  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 5470    # This has been around since 386BSD, at least.  Likely further.
 5471    if test -x /sbin/sysctl; then
 5472      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5473    elif test -x /usr/sbin/sysctl; then
 5474      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5475    else
 5476      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 5477    fi
 5478    # And add a safety zone
 5479    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5480    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5481    ;;
 5482
 5483  interix*)
 5484    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5485    lt_cv_sys_max_cmd_len=196608
 5486    ;;
 5487
 5488  osf*)
 5489    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5490    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5491    # nice to cause kernel panics so lets avoid the loop below.
 5492    # First set a reasonable default.
 5493    lt_cv_sys_max_cmd_len=16384
 5494    #
 5495    if test -x /sbin/sysconfig; then
 5496      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5497        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5498      esac
 5499    fi
 5500    ;;
 5501  sco3.2v5*)
 5502    lt_cv_sys_max_cmd_len=102400
 5503    ;;
 5504  sysv5* | sco5v6* | sysv4.2uw2*)
 5505    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5506    if test -n "$kargmax"; then
 5507      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
 5508    else
 5509      lt_cv_sys_max_cmd_len=32768
 5510    fi
 5511    ;;
 5512  *)
 5513    # If test is not a shell built-in, we'll probably end up computing a
 5514    # maximum length that is only half of the actual maximum length, but
 5515    # we can't tell.
 5516    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5517    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 5518	       = "XX$teststring") >/dev/null 2>&1 &&
 5519	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
 5520	    lt_cv_sys_max_cmd_len=$new_result &&
 5521	    test $i != 17 # 1/2 MB should be enough
 5522    do
 5523      i=`expr $i + 1`
 5524      teststring=$teststring$teststring
 5525    done
 5526    teststring=
 5527    # Add a significant safety factor because C++ compilers can tack on massive
 5528    # amounts of additional arguments before passing them to the linker.
 5529    # It appears as though 1/2 is a usable value.
 5530    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5531    ;;
 5532  esac
 5533
 5534fi
 5535
 5536if test -n $lt_cv_sys_max_cmd_len ; then
 5537  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 5538echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 5539else
 5540  echo "$as_me:$LINENO: result: none" >&5
 5541echo "${ECHO_T}none" >&6
 5542fi
 5543
 5544
 5545
 5546
 5547# Check for command to grab the raw symbol name followed by C symbol from nm.
 5548echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 5549echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 5550if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 5551  echo $ECHO_N "(cached) $ECHO_C" >&6
 5552else
 5553
 5554# These are sane defaults that work on at least a few old systems.
 5555# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 5556
 5557# Character class describing NM global symbol codes.
 5558symcode='[BCDEGRST]'
 5559
 5560# Regexp to match symbols that can be accessed directly from C.
 5561sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 5562
 5563# Transform an extracted symbol line into a proper C declaration
 5564lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 5565
 5566# Transform an extracted symbol line into symbol name and symbol address
 5567lt_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'"
 5568
 5569# Define system-specific variables.
 5570case $host_os in
 5571aix*)
 5572  symcode='[BCDT]'
 5573  ;;
 5574cygwin* | mingw* | pw32*)
 5575  symcode='[ABCDGISTW]'
 5576  ;;
 5577hpux*) # Its linker distinguishes data from code symbols
 5578  if test "$host_cpu" = ia64; then
 5579    symcode='[ABCDEGRST]'
 5580  fi
 5581  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 5582  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'"
 5583  ;;
 5584linux*)
 5585  if test "$host_cpu" = ia64; then
 5586    symcode='[ABCDGIRSTW]'
 5587    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 5588    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'"
 5589  fi
 5590  ;;
 5591irix* | nonstopux*)
 5592  symcode='[BCDEGRST]'
 5593  ;;
 5594osf*)
 5595  symcode='[BCDEGQRST]'
 5596  ;;
 5597solaris*)
 5598  symcode='[BDRT]'
 5599  ;;
 5600sco3.2v5*)
 5601  symcode='[DT]'
 5602  ;;
 5603sysv4.2uw2*)
 5604  symcode='[DT]'
 5605  ;;
 5606sysv5* | sco5v6* | unixware* | OpenUNIX*)
 5607  symcode='[ABDT]'
 5608  ;;
 5609sysv4)
 5610  symcode='[DFNSTU]'
 5611  ;;
 5612esac
 5613
 5614# Handle CRLF in mingw tool chain
 5615opt_cr=
 5616case $build_os in
 5617mingw*)
 5618  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 5619  ;;
 5620esac
 5621
 5622# If we're using GNU nm, then use its standard symbol codes.
 5623case `$NM -V 2>&1` in
 5624*GNU* | *'with BFD'*)
 5625  symcode='[ABCDGIRSTW]' ;;
 5626esac
 5627
 5628# Try without a prefix undercore, then with it.
 5629for ac_symprfx in "" "_"; do
 5630
 5631  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 5632  symxfrm="\\1 $ac_symprfx\\2 \\2"
 5633
 5634  # Write the raw and C identifiers.
 5635  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 5636
 5637  # Check to see that the pipe works correctly.
 5638  pipe_works=no
 5639
 5640  rm -f conftest*
 5641  cat > conftest.$ac_ext <<EOF
 5642#ifdef __cplusplus
 5643extern "C" {
 5644#endif
 5645char nm_test_var;
 5646void nm_test_func(){}
 5647#ifdef __cplusplus
 5648}
 5649#endif
 5650int main(){nm_test_var='a';nm_test_func();return(0);}
 5651EOF
 5652
 5653  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5654  (eval $ac_compile) 2>&5
 5655  ac_status=$?
 5656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5657  (exit $ac_status); }; then
 5658    # Now try to grab the symbols.
 5659    nlist=conftest.nm
 5660    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 5661  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 5662  ac_status=$?
 5663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5664  (exit $ac_status); } && test -s "$nlist"; then
 5665      # Try sorting and uniquifying the output.
 5666      if sort "$nlist" | uniq > "$nlist"T; then
 5667	mv -f "$nlist"T "$nlist"
 5668      else
 5669	rm -f "$nlist"T
 5670      fi
 5671
 5672      # Make sure that we snagged all the symbols we need.
 5673      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 5674	if grep ' nm_test_func$' "$nlist" >/dev/null; then
 5675	  cat <<EOF > conftest.$ac_ext
 5676#ifdef __cplusplus
 5677extern "C" {
 5678#endif
 5679
 5680EOF
 5681	  # Now generate the symbol file.
 5682	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 5683
 5684	  cat <<EOF >> conftest.$ac_ext
 5685#if defined (__STDC__) && __STDC__
 5686# define lt_ptr_t void *
 5687#else
 5688# define lt_ptr_t char *
 5689# define const
 5690#endif
 5691
 5692/* The mapping between symbol names and symbols. */
 5693const struct {
 5694  const char *name;
 5695  lt_ptr_t address;
 5696}
 5697lt_preloaded_symbols[] =
 5698{
 5699EOF
 5700	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 5701	  cat <<\EOF >> conftest.$ac_ext
 5702  {0, (lt_ptr_t) 0}
 5703};
 5704
 5705#ifdef __cplusplus
 5706}
 5707#endif
 5708EOF
 5709	  # Now try linking the two files.
 5710	  mv conftest.$ac_objext conftstm.$ac_objext
 5711	  lt_save_LIBS="$LIBS"
 5712	  lt_save_CFLAGS="$CFLAGS"
 5713	  LIBS="conftstm.$ac_objext"
 5714	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 5715	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5716  (eval $ac_link) 2>&5
 5717  ac_status=$?
 5718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5719  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 5720	    pipe_works=yes
 5721	  fi
 5722	  LIBS="$lt_save_LIBS"
 5723	  CFLAGS="$lt_save_CFLAGS"
 5724	else
 5725	  echo "cannot find nm_test_func in $nlist" >&5
 5726	fi
 5727      else
 5728	echo "cannot find nm_test_var in $nlist" >&5
 5729      fi
 5730    else
 5731      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 5732    fi
 5733  else
 5734    echo "$progname: failed program was:" >&5
 5735    cat conftest.$ac_ext >&5
 5736  fi
 5737  rm -f conftest* conftst*
 5738
 5739  # Do not use the global_symbol_pipe unless it works.
 5740  if test "$pipe_works" = yes; then
 5741    break
 5742  else
 5743    lt_cv_sys_global_symbol_pipe=
 5744  fi
 5745done
 5746
 5747fi
 5748
 5749if test -z "$lt_cv_sys_global_symbol_pipe"; then
 5750  lt_cv_sys_global_symbol_to_cdecl=
 5751fi
 5752if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 5753  echo "$as_me:$LINENO: result: failed" >&5
 5754echo "${ECHO_T}failed" >&6
 5755else
 5756  echo "$as_me:$LINENO: result: ok" >&5
 5757echo "${ECHO_T}ok" >&6
 5758fi
 5759
 5760echo "$as_me:$LINENO: checking for objdir" >&5
 5761echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 5762if test "${lt_cv_objdir+set}" = set; then
 5763  echo $ECHO_N "(cached) $ECHO_C" >&6
 5764else
 5765  rm -f .libs 2>/dev/null
 5766mkdir .libs 2>/dev/null
 5767if test -d .libs; then
 5768  lt_cv_objdir=.libs
 5769else
 5770  # MS-DOS does not allow filenames that begin with a dot.
 5771  lt_cv_objdir=_libs
 5772fi
 5773rmdir .libs 2>/dev/null
 5774fi
 5775echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 5776echo "${ECHO_T}$lt_cv_objdir" >&6
 5777objdir=$lt_cv_objdir
 5778
 5779
 5780
 5781
 5782
 5783case $host_os in
 5784aix3*)
 5785  # AIX sometimes has problems with the GCC collect2 program.  For some
 5786  # reason, if we set the COLLECT_NAMES environment variable, the problems
 5787  # vanish in a puff of smoke.
 5788  if test "X${COLLECT_NAMES+set}" != Xset; then
 5789    COLLECT_NAMES=
 5790    export COLLECT_NAMES
 5791  fi
 5792  ;;
 5793esac
 5794
 5795# Sed substitution that helps us do robust quoting.  It backslashifies
 5796# metacharacters that are still active within double-quoted strings.
 5797Xsed='sed -e 1s/^X//'
 5798sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 5799
 5800# Same as above, but do not quote variable references.
 5801double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 5802
 5803# Sed substitution to delay expansion of an escaped shell variable in a
 5804# double_quote_subst'ed string.
 5805delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 5806
 5807# Sed substitution to avoid accidental globbing in evaled expressions
 5808no_glob_subst='s/\*/\\\*/g'
 5809
 5810# Constants:
 5811rm="rm -f"
 5812
 5813# Global variables:
 5814default_ofile=libtool
 5815can_build_shared=yes
 5816
 5817# All known linkers require a `.a' archive for static linking (except MSVC,
 5818# which needs '.lib').
 5819libext=a
 5820ltmain="$ac_aux_dir/ltmain.sh"
 5821ofile="$default_ofile"
 5822with_gnu_ld="$lt_cv_prog_gnu_ld"
 5823
 5824if test -n "$ac_tool_prefix"; then
 5825  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 5826set dummy ${ac_tool_prefix}ar; ac_word=$2
 5827echo "$as_me:$LINENO: checking for $ac_word" >&5
 5828echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5829if test "${ac_cv_prog_AR+set}" = set; then
 5830  echo $ECHO_N "(cached) $ECHO_C" >&6
 5831else
 5832  if test -n "$AR"; then
 5833  ac_cv_prog_AR="$AR" # Let the user override the test.
 5834else
 5835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5836for as_dir in $PATH
 5837do
 5838  IFS=$as_save_IFS
 5839  test -z "$as_dir" && as_dir=.
 5840  for ac_exec_ext in '' $ac_executable_extensions; do
 5841  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5842    ac_cv_prog_AR="${ac_tool_prefix}ar"
 5843    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5844    break 2
 5845  fi
 5846done
 5847done
 5848
 5849fi
 5850fi
 5851AR=$ac_cv_prog_AR
 5852if test -n "$AR"; then
 5853  echo "$as_me:$LINENO: result: $AR" >&5
 5854echo "${ECHO_T}$AR" >&6
 5855else
 5856  echo "$as_me:$LINENO: result: no" >&5
 5857echo "${ECHO_T}no" >&6
 5858fi
 5859
 5860fi
 5861if test -z "$ac_cv_prog_AR"; then
 5862  ac_ct_AR=$AR
 5863  # Extract the first word of "ar", so it can be a program name with args.
 5864set dummy ar; ac_word=$2
 5865echo "$as_me:$LINENO: checking for $ac_word" >&5
 5866echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5867if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 5868  echo $ECHO_N "(cached) $ECHO_C" >&6
 5869else
 5870  if test -n "$ac_ct_AR"; then
 5871  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5872else
 5873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5874for as_dir in $PATH
 5875do
 5876  IFS=$as_save_IFS
 5877  test -z "$as_dir" && as_dir=.
 5878  for ac_exec_ext in '' $ac_executable_extensions; do
 5879  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5880    ac_cv_prog_ac_ct_AR="ar"
 5881    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5882    break 2
 5883  fi
 5884done
 5885done
 5886
 5887  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
 5888fi
 5889fi
 5890ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5891if test -n "$ac_ct_AR"; then
 5892  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 5893echo "${ECHO_T}$ac_ct_AR" >&6
 5894else
 5895  echo "$as_me:$LINENO: result: no" >&5
 5896echo "${ECHO_T}no" >&6
 5897fi
 5898
 5899  AR=$ac_ct_AR
 5900else
 5901  AR="$ac_cv_prog_AR"
 5902fi
 5903
 5904if test -n "$ac_tool_prefix"; then
 5905  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5906set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5907echo "$as_me:$LINENO: checking for $ac_word" >&5
 5908echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5909if test "${ac_cv_prog_RANLIB+set}" = set; then
 5910  echo $ECHO_N "(cached) $ECHO_C" >&6
 5911else
 5912  if test -n "$RANLIB"; then
 5913  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5914else
 5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5916for as_dir in $PATH
 5917do
 5918  IFS=$as_save_IFS
 5919  test -z "$as_dir" && as_dir=.
 5920  for ac_exec_ext in '' $ac_executable_extensions; do
 5921  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5922    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5923    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5924    break 2
 5925  fi
 5926done
 5927done
 5928
 5929fi
 5930fi
 5931RANLIB=$ac_cv_prog_RANLIB
 5932if test -n "$RANLIB"; then
 5933  echo "$as_me:$LINENO: result: $RANLIB" >&5
 5934echo "${ECHO_T}$RANLIB" >&6
 5935else
 5936  echo "$as_me:$LINENO: result: no" >&5
 5937echo "${ECHO_T}no" >&6
 5938fi
 5939
 5940fi
 5941if test -z "$ac_cv_prog_RANLIB"; then
 5942  ac_ct_RANLIB=$RANLIB
 5943  # Extract the first word of "ranlib", so it can be a program name with args.
 5944set dummy ranlib; ac_word=$2
 5945echo "$as_me:$LINENO: checking for $ac_word" >&5
 5946echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5947if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 5948  echo $ECHO_N "(cached) $ECHO_C" >&6
 5949else
 5950  if test -n "$ac_ct_RANLIB"; then
 5951  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5952else
 5953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5954for as_dir in $PATH
 5955do
 5956  IFS=$as_save_IFS
 5957  test -z "$as_dir" && as_dir=.
 5958  for ac_exec_ext in '' $ac_executable_extensions; do
 5959  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5960    ac_cv_prog_ac_ct_RANLIB="ranlib"
 5961    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5962    break 2
 5963  fi
 5964done
 5965done
 5966
 5967  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 5968fi
 5969fi
 5970ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5971if test -n "$ac_ct_RANLIB"; then
 5972  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 5973echo "${ECHO_T}$ac_ct_RANLIB" >&6
 5974else
 5975  echo "$as_me:$LINENO: result: no" >&5
 5976echo "${ECHO_T}no" >&6
 5977fi
 5978
 5979  RANLIB=$ac_ct_RANLIB
 5980else
 5981  RANLIB="$ac_cv_prog_RANLIB"
 5982fi
 5983
 5984if test -n "$ac_tool_prefix"; then
 5985  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 5986set dummy ${ac_tool_prefix}strip; ac_word=$2
 5987echo "$as_me:$LINENO: checking for $ac_word" >&5
 5988echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 5989if test "${ac_cv_prog_STRIP+set}" = set; then
 5990  echo $ECHO_N "(cached) $ECHO_C" >&6
 5991else
 5992  if test -n "$STRIP"; then
 5993  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 5994else
 5995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5996for as_dir in $PATH
 5997do
 5998  IFS=$as_save_IFS
 5999  test -z "$as_dir" && as_dir=.
 6000  for ac_exec_ext in '' $ac_executable_extensions; do
 6001  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6002    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6003    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6004    break 2
 6005  fi
 6006done
 6007done
 6008
 6009fi
 6010fi
 6011STRIP=$ac_cv_prog_STRIP
 6012if test -n "$STRIP"; then
 6013  echo "$as_me:$LINENO: result: $STRIP" >&5
 6014echo "${ECHO_T}$STRIP" >&6
 6015else
 6016  echo "$as_me:$LINENO: result: no" >&5
 6017echo "${ECHO_T}no" >&6
 6018fi
 6019
 6020fi
 6021if test -z "$ac_cv_prog_STRIP"; then
 6022  ac_ct_STRIP=$STRIP
 6023  # Extract the first word of "strip", so it can be a program name with args.
 6024set dummy strip; ac_word=$2
 6025echo "$as_me:$LINENO: checking for $ac_word" >&5
 6026echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 6027if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 6028  echo $ECHO_N "(cached) $ECHO_C" >&6
 6029else
 6030  if test -n "$ac_ct_STRIP"; then
 6031  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 6032else
 6033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6034for as_dir in $PATH
 6035do
 6036  IFS=$as_save_IFS
 6037  test -z "$as_dir" && as_dir=.
 6038  for ac_exec_ext in '' $ac_executable_extensions; do
 6039  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6040    ac_cv_prog_ac_ct_STRIP="strip"
 6041    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6042    break 2
 6043  fi
 6044done
 6045done
 6046
 6047  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 6048fi
 6049fi
 6050ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 6051if test -n "$ac_ct_STRIP"; then
 6052  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 6053echo "${ECHO_T}$ac_ct_STRIP" >&6
 6054else
 6055  echo "$as_me:$LINENO: result: no" >&5
 6056echo "${ECHO_T}no" >&6
 6057fi
 6058
 6059  STRIP=$ac_ct_STRIP
 6060else
 6061  STRIP="$ac_cv_prog_STRIP"
 6062fi
 6063
 6064
 6065old_CC="$CC"
 6066old_CFLAGS="$CFLAGS"
 6067
 6068# Set sane defaults for various variables
 6069test -z "$AR" && AR=ar
 6070test -z "$AR_FLAGS" && AR_FLAGS=cru
 6071test -z "$AS" && AS=as
 6072test -z "$CC" && CC=cc
 6073test -z "$LTCC" && LTCC=$CC
 6074test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 6075test -z "$DLLTOOL" && DLLTOOL=dlltool
 6076test -z "$LD" && LD=ld
 6077test -z "$LN_S" && LN_S="ln -s"
 6078test -z "$MAGIC_CMD" && MAGIC_CMD=file
 6079test -z "$NM" && NM=nm
 6080test -z "$SED" && SED=sed
 6081test -z "$OBJDUMP" && OBJDUMP=objdump
 6082test -z "$RANLIB" && RANLIB=:
 6083test -z "$STRIP" && STRIP=:
 6084test -z "$ac_objext" && ac_objext=o
 6085
 6086# Determine commands to create old-style static archives.
 6087old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 6088old_postinstall_cmds='chmod 644 $oldlib'
 6089old_postuninstall_cmds=
 6090
 6091if test -n "$RANLIB"; then
 6092  case $host_os in
 6093  openbsd*)
 6094    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 6095    ;;
 6096  *)
 6097    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 6098    ;;
 6099  esac
 6100  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 6101fi
 6102
 6103for cc_temp in $compiler""; do
 6104  case $cc_temp in
 6105    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6106    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6107    \-*) ;;
 6108    *) break;;
 6109  esac
 6110done
 6111cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 6112
 6113
 6114# Only perform the check for file, if the check method requires it
 6115case $deplibs_check_method in
 6116file_magic*)
 6117  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 6118    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 6119echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 6120if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6121  echo $ECHO_N "(cached) $ECHO_C" >&6
 6122else
 6123  case $MAGIC_CMD in
 6124[\\/*] |  ?:[\\/]*)
 6125  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6126  ;;
 6127*)
 6128  lt_save_MAGIC_CMD="$MAGIC_CMD"
 6129  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6130  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6131  for ac_dir in $ac_dummy; do
 6132    IFS="$lt_save_ifs"
 6133    test -z "$ac_dir" && ac_dir=.
 6134    if test -f $ac_dir/${ac_tool_prefix}file; then
 6135      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 6136      if test -n "$file_magic_test_file"; then
 6137	case $deplibs_check_method in
 6138	"file_magic "*)
 6139	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6140	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6141	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6142	    $EGREP "$file_magic_regex" > /dev/null; then
 6143	    :
 6144	  else
 6145	    cat <<EOF 1>&2
 6146
 6147*** Warning: the command libtool uses to detect shared libraries,
 6148*** $file_magic_cmd, produces output that libtool cannot recognize.
 6149*** The result is that libtool may fail to recognize shared libraries
 6150*** as such.  This will affect the creation of libtool libraries that
 6151*** depend on shared libraries, but programs linked with such libtool
 6152*** libraries will work regardless of this problem.  Nevertheless, you
 6153*** may want to report the problem to your system manager and/or to
 6154*** bug-libtool@gnu.org
 6155
 6156EOF
 6157	  fi ;;
 6158	esac
 6159      fi
 6160      break
 6161    fi
 6162  done
 6163  IFS="$lt_save_ifs"
 6164  MAGIC_CMD="$lt_save_MAGIC_CMD"
 6165  ;;
 6166esac
 6167fi
 6168
 6169MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6170if test -n "$MAGIC_CMD"; then
 6171  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6172echo "${ECHO_T}$MAGIC_CMD" >&6
 6173else
 6174  echo "$as_me:$LINENO: result: no" >&5
 6175echo "${ECHO_T}no" >&6
 6176fi
 6177
 6178if test -z "$lt_cv_path_MAGIC_CMD"; then
 6179  if test -n "$ac_tool_prefix"; then
 6180    echo "$as_me:$LINENO: checking for file" >&5
 6181echo $ECHO_N "checking for file... $ECHO_C" >&6
 6182if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6183  echo $ECHO_N "(cached) $ECHO_C" >&6
 6184else
 6185  case $MAGIC_CMD in
 6186[\\/*] |  ?:[\\/]*)
 6187  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6188  ;;
 6189*)
 6190  lt_save_MAGIC_CMD="$MAGIC_CMD"
 6191  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6192  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6193  for ac_dir in $ac_dummy; do
 6194    IFS="$lt_save_ifs"
 6195    test -z "$ac_dir" && ac_dir=.
 6196    if test -f $ac_dir/file; then
 6197      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 6198      if test -n "$file_magic_test_file"; then
 6199	case $deplibs_check_method in
 6200	"file_magic "*)
 6201	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6202	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6203	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6204	    $EGREP "$file_magic_regex" > /dev/null; then
 6205	    :
 6206	  else
 6207	    cat <<EOF 1>&2
 6208
 6209*** Warning: the command libtool uses to detect shared libraries,
 6210*** $file_magic_cmd, produces output that libtool cannot recognize.
 6211*** The result is that libtool may fail to recognize shared libraries
 6212*** as such.  This will affect the creation of libtool libraries that
 6213*** depend on shared libraries, but programs linked with such libtool
 6214*** libraries will work regardless of this problem.  Nevertheless, you
 6215*** may want to report the problem to your system manager and/or to
 6216*** bug-libtool@gnu.org
 6217
 6218EOF
 6219	  fi ;;
 6220	esac
 6221      fi
 6222      break
 6223    fi
 6224  done
 6225  IFS="$lt_save_ifs"
 6226  MAGIC_CMD="$lt_save_MAGIC_CMD"
 6227  ;;
 6228esac
 6229fi
 6230
 6231MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6232if test -n "$MAGIC_CMD"; then
 6233  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6234echo "${ECHO_T}$MAGIC_CMD" >&6
 6235else
 6236  echo "$as_me:$LINENO: result: no" >&5
 6237echo "${ECHO_T}no" >&6
 6238fi
 6239
 6240  else
 6241    MAGIC_CMD=:
 6242  fi
 6243fi
 6244
 6245  fi
 6246  ;;
 6247esac
 6248
 6249enable_dlopen=no
 6250enable_win32_dll=no
 6251
 6252# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 6253if test "${enable_libtool_lock+set}" = set; then
 6254  enableval="$enable_libtool_lock"
 6255
 6256fi;
 6257test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6258
 6259
 6260# Check whether --with-pic or --without-pic was given.
 6261if test "${with_pic+set}" = set; then
 6262  withval="$with_pic"
 6263  pic_mode="$withval"
 6264else
 6265  pic_mode=default
 6266fi;
 6267test -z "$pic_mode" && pic_mode=default
 6268
 6269# Use C for the default configuration in the libtool script
 6270tagname=
 6271lt_save_CC="$CC"
 6272ac_ext=c
 6273ac_cpp='$CPP $CPPFLAGS'
 6274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6276ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6277
 6278
 6279# Source file extension for C test sources.
 6280ac_ext=c
 6281
 6282# Object file extension for compiled C test sources.
 6283objext=o
 6284objext=$objext
 6285
 6286# Code to be used in simple compile tests
 6287lt_simple_compile_test_code="int some_variable = 0;\n"
 6288
 6289# Code to be used in simple link tests
 6290lt_simple_link_test_code='int main(){return(0);}\n'
 6291
 6292
 6293# If no C compiler was specified, use CC.
 6294LTCC=${LTCC-"$CC"}
 6295
 6296# If no C compiler flags were specified, use CFLAGS.
 6297LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 6298
 6299# Allow CC to be a program name with arguments.
 6300compiler=$CC
 6301
 6302
 6303# save warnings/boilerplate of simple test code
 6304ac_outfile=conftest.$ac_objext
 6305printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 6306eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6307_lt_compiler_boilerplate=`cat conftest.err`
 6308$rm conftest*
 6309
 6310ac_outfile=conftest.$ac_objext
 6311printf "$lt_simple_link_test_code" >conftest.$ac_ext
 6312eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6313_lt_linker_boilerplate=`cat conftest.err`
 6314$rm conftest*
 6315
 6316
 6317
 6318lt_prog_compiler_no_builtin_flag=
 6319
 6320if test "$GCC" = yes; then
 6321  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 6322
 6323
 6324echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 6325echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 6326if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 6327  echo $ECHO_N "(cached) $ECHO_C" >&6
 6328else
 6329  lt_cv_prog_compiler_rtti_exceptions=no
 6330  ac_outfile=conftest.$ac_objext
 6331   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6332   lt_compiler_flag="-fno-rtti -fno-exceptions"
 6333   # Insert the option either (1) after the last *FLAGS variable, or
 6334   # (2) before a word containing "conftest.", or (3) at the end.
 6335   # Note that $ac_compile itself does not contain backslashes and begins
 6336   # with a dollar sign (not a hyphen), so the echo should work correctly.
 6337   # The option is referenced via a variable to avoid confusing sed.
 6338   lt_compile=`echo "$ac_compile" | $SED \
 6339   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6340   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6341   -e 's:$: $lt_compiler_flag:'`
 6342   (eval echo "\"\$as_me:6342: $lt_compile\"" >&5)
 6343   (eval "$lt_compile" 2>conftest.err)
 6344   ac_status=$?
 6345   cat conftest.err >&5
 6346   echo "$as_me:6346: \$? = $ac_status" >&5
 6347   if (exit $ac_status) && test -s "$ac_outfile"; then
 6348     # The compiler can only warn and ignore the option if not recognized
 6349     # So say no if there are warnings other than the usual output.
 6350     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 6351     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6352     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 6353       lt_cv_prog_compiler_rtti_exceptions=yes
 6354     fi
 6355   fi
 6356   $rm conftest*
 6357
 6358fi
 6359echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 6360echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 6361
 6362if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 6363    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 6364else
 6365    :
 6366fi
 6367
 6368fi
 6369
 6370lt_prog_compiler_wl=
 6371lt_prog_compiler_pic=
 6372lt_prog_compiler_static=
 6373
 6374echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 6375echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 6376
 6377  if test "$GCC" = yes; then
 6378    lt_prog_compiler_wl='-Wl,'
 6379    lt_prog_compiler_static='-static'
 6380
 6381    case $host_os in
 6382      aix*)
 6383      # All AIX code is PIC.
 6384      if test "$host_cpu" = ia64; then
 6385	# AIX 5 now supports IA64 processor
 6386	lt_prog_compiler_static='-Bstatic'
 6387      fi
 6388      ;;
 6389
 6390    amigaos*)
 6391      # FIXME: we need at least 68020 code to build shared libraries, but
 6392      # adding the `-m68020' flag to GCC prevents building anything better,
 6393      # like `-m68040'.
 6394      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 6395      ;;
 6396
 6397    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 6398      # PIC is the default for these OSes.
 6399      ;;
 6400
 6401    mingw* | pw32* | os2*)
 6402      # This hack is so that the source file can tell whether it is being
 6403      # built for inclusion in a dll (and should export symbols for example).
 6404      lt_prog_compiler_pic='-DDLL_EXPORT'
 6405      ;;
 6406
 6407    darwin* | rhapsody*)
 6408      # PIC is the default on this platform
 6409      # Common symbols not allowed in MH_DYLIB files
 6410      lt_prog_compiler_pic='-fno-common'
 6411      ;;
 6412
 6413    interix3*)
 6414      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 6415      # Instead, we relocate shared libraries at runtime.
 6416      ;;
 6417
 6418    msdosdjgpp*)
 6419      # Just because we use GCC doesn't mean we suddenly get shared libraries
 6420      # on systems that don't support them.
 6421      lt_prog_compiler_can_build_shared=no
 6422      enable_shared=no
 6423      ;;
 6424
 6425    sysv4*MP*)
 6426      if test -d /usr/nec; then
 6427	lt_prog_compiler_pic=-Kconform_pic
 6428      fi
 6429      ;;
 6430
 6431    hpux*)
 6432      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 6433      # not for PA HP-UX.
 6434      case $host_cpu in
 6435      hppa*64*|ia64*)
 6436	# +Z the default
 6437	;;
 6438      *)
 6439	lt_prog_compiler_pic='-fPIC'
 6440	;;
 6441      esac
 6442      ;;
 6443
 6444    *)
 6445      lt_prog_compiler_pic='-fPIC'
 6446      ;;
 6447    esac
 6448  else
 6449    # PORTME Check for flag to pass linker flags through the system compiler.
 6450    case $host_os in
 6451    aix*)
 6452      lt_prog_compiler_wl='-Wl,'
 6453      if test "$host_cpu" = ia64; then
 6454	# AIX 5 now supports IA64 processor
 6455	lt_prog_compiler_static='-Bstatic'
 6456      else
 6457	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 6458      fi
 6459      ;;
 6460      darwin*)
 6461        # PIC is the default on this platform
 6462        # Common symbols not allowed in MH_DYLIB files
 6463       case $cc_basename in
 6464         xlc*)
 6465         lt_prog_compiler_pic='-qnocommon'
 6466         lt_prog_compiler_wl='-Wl,'
 6467         ;;
 6468       esac
 6469       ;;
 6470
 6471    mingw* | pw32* | os2*)
 6472      # This hack is so that the source file can tell whether it is being
 6473      # built for inclusion in a dll (and should export symbols for example).
 6474      lt_prog_compiler_pic='-DDLL_EXPORT'
 6475      ;;
 6476
 6477    hpux9* | hpux10* | hpux11*)
 6478      lt_prog_compiler_wl='-Wl,'
 6479      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 6480      # not for PA HP-UX.
 6481      case $host_cpu in
 6482      hppa*64*|ia64*)
 6483	# +Z the default
 6484	;;
 6485      *)
 6486	lt_prog_compiler_pic='+Z'
 6487	;;
 6488      esac
 6489      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 6490      lt_prog_compiler_static='${wl}-a ${wl}archive'
 6491      ;;
 6492
 6493    irix5* | irix6* | nonstopux*)
 6494      lt_prog_compiler_wl='-Wl,'
 6495      # PIC (with -KPIC) is the default.
 6496      lt_prog_compiler_static='-non_shared'
 6497      ;;
 6498
 6499    newsos6)
 6500      lt_prog_compiler_pic='-KPIC'
 6501      lt_prog_compiler_static='-Bstatic'
 6502      ;;
 6503
 6504    linux*)
 6505      case $cc_basename in
 6506      icc* | ecc*)
 6507	lt_prog_compiler_wl='-Wl,'
 6508	lt_prog_compiler_pic='-KPIC'
 6509	lt_prog_compiler_static='-static'
 6510        ;;
 6511      pgcc* | pgf77* | pgf90* | pgf95*)
 6512        # Portland Group compilers (*not* the Pentium gcc compiler,
 6513	# which looks to be a dead project)
 6514	lt_prog_compiler_wl='-Wl,'
 6515	lt_prog_compiler_pic='-fpic'
 6516	lt_prog_compiler_static='-Bstatic'
 6517        ;;
 6518      ccc*)
 6519        lt_prog_compiler_wl='-Wl,'
 6520        # All Alpha code is PIC.
 6521        lt_prog_compiler_static='-non_shared'
 6522        ;;
 6523      esac
 6524      ;;
 6525
 6526    osf3* | osf4* | osf5*)
 6527      lt_prog_compiler_wl='-Wl,'
 6528      # All OSF/1 code is PIC.
 6529      lt_prog_compiler_static='-non_shared'
 6530      ;;
 6531
 6532    solaris*)
 6533      lt_prog_compiler_pic='-KPIC'
 6534      lt_prog_compiler_static='-Bstatic'
 6535      case $cc_basename in
 6536      f77* | f90* | f95*)
 6537	lt_prog_compiler_wl='-Qoption ld ';;
 6538      *)
 6539	lt_prog_compiler_wl='-Wl,';;
 6540      esac
 6541      ;;
 6542
 6543    sunos4*)
 6544      lt_prog_compiler_wl='-Qoption ld '
 6545      lt_prog_compiler_pic='-PIC'
 6546      lt_prog_compiler_static='-Bstatic'
 6547      ;;
 6548
 6549    sysv4 | sysv4.2uw2* | sysv4.3*)
 6550      lt_prog_compiler_wl='-Wl,'
 6551      lt_prog_compiler_pic='-KPIC'
 6552      lt_prog_compiler_static='-Bstatic'
 6553      ;;
 6554
 6555    sysv4*MP*)
 6556      if test -d /usr/nec ;then
 6557	lt_prog_compiler_pic='-Kconform_pic'
 6558	lt_prog_compiler_static='-Bstatic'
 6559      fi
 6560      ;;
 6561
 6562    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 6563      lt_prog_compiler_wl='-Wl,'
 6564      lt_prog_compiler_pic='-KPIC'
 6565      lt_prog_compiler_static='-Bstatic'
 6566      ;;
 6567
 6568    unicos*)
 6569      lt_prog_compiler_wl='-Wl,'
 6570      lt_prog_compiler_can_build_shared=no
 6571      ;;
 6572
 6573    uts4*)
 6574      lt_prog_compiler_pic='-pic'
 6575      lt_prog_compiler_static='-Bstatic'
 6576      ;;
 6577
 6578    *)
 6579      lt_prog_compiler_can_build_shared=no
 6580      ;;
 6581    esac
 6582  fi
 6583
 6584echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 6585echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 6586
 6587#
 6588# Check to make sure the PIC flag actually works.
 6589#
 6590if test -n "$lt_prog_compiler_pic"; then
 6591
 6592echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 6593echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 6594if test "${lt_prog_compiler_pic_works+set}" = set; then
 6595  echo $ECHO_N "(cached) $ECHO_C" >&6
 6596else
 6597  lt_prog_compiler_pic_works=no
 6598  ac_outfile=conftest.$ac_objext
 6599   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6600   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 6601   # Insert the option either (1) after the last *FLAGS variable, or
 6602   # (2) before a word containing "conftest.", or (3) at the end.
 6603   # Note that $ac_compile itself does not contain backslashes and begins
 6604   # with a dollar sign (not a hyphen), so the echo should work correctly.
 6605   # The option is referenced via a variable to avoid confusing sed.
 6606   lt_compile=`echo "$ac_compile" | $SED \
 6607   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6608   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6609   -e 's:$: $lt_compiler_flag:'`
 6610   (eval echo "\"\$as_me:6610: $lt_compile\"" >&5)
 6611   (eval "$lt_compile" 2>conftest.err)
 6612   ac_status=$?
 6613   cat conftest.err >&5
 6614   echo "$as_me:6614: \$? = $ac_status" >&5
 6615   if (exit $ac_status) && test -s "$ac_outfile"; then
 6616     # The compiler can only warn and ignore the option if not recognized
 6617     # So say no if there are warnings other than the usual output.
 6618     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 6619     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6620     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 6621       lt_prog_compiler_pic_works=yes
 6622     fi
 6623   fi
 6624   $rm conftest*
 6625
 6626fi
 6627echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 6628echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 6629
 6630if test x"$lt_prog_compiler_pic_works" = xyes; then
 6631    case $lt_prog_compiler_pic in
 6632     "" | " "*) ;;
 6633     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 6634     esac
 6635else
 6636    lt_prog_compiler_pic=
 6637     lt_prog_compiler_can_build_shared=no
 6638fi
 6639
 6640fi
 6641case $host_os in
 6642  # For platforms which do not support PIC, -DPIC is meaningless:
 6643  *djgpp*)
 6644    lt_prog_compiler_pic=
 6645    ;;
 6646  *)
 6647    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 6648    ;;
 6649esac
 6650
 6651#
 6652# Check to make sure the static flag actually works.
 6653#
 6654wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 6655echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 6656echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 6657if test "${lt_prog_compiler_static_works+set}" = set; then
 6658  echo $ECHO_N "(cached) $ECHO_C" >&6
 6659else
 6660  lt_prog_compiler_static_works=no
 6661   save_LDFLAGS="$LDFLAGS"
 6662   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 6663   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 6664   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 6665     # The linker can only warn and ignore the option if not recognized
 6666     # So say no if there are warnings
 6667     if test -s conftest.err; then
 6668       # Append any errors to the config.log.
 6669       cat conftest.err 1>&5
 6670       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 6671       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6672       if diff conftest.exp conftest.er2 >/dev/null; then
 6673         lt_prog_compiler_static_works=yes
 6674       fi
 6675     else
 6676       lt_prog_compiler_static_works=yes
 6677     fi
 6678   fi
 6679   $rm conftest*
 6680   LDFLAGS="$save_LDFLAGS"
 6681
 6682fi
 6683echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 6684echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 6685
 6686if test x"$lt_prog_compiler_static_works" = xyes; then
 6687    :
 6688else
 6689    lt_prog_compiler_static=
 6690fi
 6691
 6692
 6693echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 6694echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 6695if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 6696  echo $ECHO_N "(cached) $ECHO_C" >&6
 6697else
 6698  lt_cv_prog_compiler_c_o=no
 6699   $rm -r conftest 2>/dev/null
 6700   mkdir conftest
 6701   cd conftest
 6702   mkdir out
 6703   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 6704
 6705   lt_compiler_flag="-o out/conftest2.$ac_objext"
 6706   # Insert the option either (1) after the last *FLAGS variable, or
 6707   # (2) before a word containing "conftest.", or (3) at the end.
 6708   # Note that $ac_compile itself does not contain backslashes and begins
 6709   # with a dollar sign (not a hyphen), so the echo should work correctly.
 6710   lt_compile=`echo "$ac_compile" | $SED \
 6711   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6712   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6713   -e 's:$: $lt_compiler_flag:'`
 6714   (eval echo "\"\$as_me:6714: $lt_compile\"" >&5)
 6715   (eval "$lt_compile" 2>out/conftest.err)
 6716   ac_status=$?
 6717   cat out/conftest.err >&5
 6718   echo "$as_me:6718: \$? = $ac_status" >&5
 6719   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 6720   then
 6721     # The compiler can only warn and ignore the option if not recognized
 6722     # So say no if there are warnings
 6723     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 6724     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 6725     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 6726       lt_cv_prog_compiler_c_o=yes
 6727     fi
 6728   fi
 6729   chmod u+w . 2>&5
 6730   $rm conftest*
 6731   # SGI C++ compiler will create directory out/ii_files/ for
 6732   # template instantiation
 6733   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 6734   $rm out/* && rmdir out
 6735   cd ..
 6736   rmdir conftest
 6737   $rm conftest*
 6738
 6739fi
 6740echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 6741echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 6742
 6743
 6744hard_links="nottested"
 6745if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 6746  # do not overwrite the value of need_locks provided by the user
 6747  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 6748echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 6749  hard_links=yes
 6750  $rm conftest*
 6751  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 6752  touch conftest.a
 6753  ln conftest.a conftest.b 2>&5 || hard_links=no
 6754  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 6755  echo "$as_me:$LINENO: result: $hard_links" >&5
 6756echo "${ECHO_T}$hard_links" >&6
 6757  if test "$hard_links" = no; then
 6758    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 6759echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 6760    need_locks=warn
 6761  fi
 6762else
 6763  need_locks=no
 6764fi
 6765
 6766echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 6767echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 6768
 6769  runpath_var=
 6770  allow_undefined_flag=
 6771  enable_shared_with_static_runtimes=no
 6772  archive_cmds=
 6773  archive_expsym_cmds=
 6774  old_archive_From_new_cmds=
 6775  old_archive_from_expsyms_cmds=
 6776  export_dynamic_flag_spec=
 6777  whole_archive_flag_spec=
 6778  thread_safe_flag_spec=
 6779  hardcode_libdir_flag_spec=
 6780  hardcode_libdir_flag_spec_ld=
 6781  hardcode_libdir_separator=
 6782  hardcode_direct=no
 6783  hardcode_minus_L=no
 6784  hardcode_shlibpath_var=unsupported
 6785  link_all_deplibs=unknown
 6786  hardcode_automatic=no
 6787  module_cmds=
 6788  module_expsym_cmds=
 6789  always_export_symbols=no
 6790  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 6791  # include_expsyms should be a list of space-separated symbols to be *always*
 6792  # included in the symbol list
 6793  include_expsyms=
 6794  # exclude_expsyms can be an extended regexp of symbols to exclude
 6795  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 6796  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 6797  # as well as any symbol that contains `d'.
 6798  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 6799  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 6800  # platforms (ab)use it in PIC code, but their linkers get confused if
 6801  # the symbol is explicitly referenced.  Since portable code cannot
 6802  # rely on this symbol name, it's probably fine to never include it in
 6803  # preloaded symbol tables.
 6804  extract_expsyms_cmds=
 6805  # Just being paranoid about ensuring that cc_basename is set.
 6806  for cc_temp in $compiler""; do
 6807  case $cc_temp in
 6808    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6809    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6810    \-*) ;;
 6811    *) break;;
 6812  esac
 6813done
 6814cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 6815
 6816  case $host_os in
 6817  cygwin* | mingw* | pw32*)
 6818    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 6819    # When not using gcc, we currently assume that we are using
 6820    # Microsoft Visual C++.
 6821    if test "$GCC" != yes; then
 6822      with_gnu_ld=no
 6823    fi
 6824    ;;
 6825  interix*)
 6826    # we just hope/assume this is gcc and not c89 (= MSVC++)
 6827    with_gnu_ld=yes
 6828    ;;
 6829  openbsd*)
 6830    with_gnu_ld=no
 6831    ;;
 6832  esac
 6833
 6834  ld_shlibs=yes
 6835  if test "$with_gnu_ld" = yes; then
 6836    # If archive_cmds runs LD, not CC, wlarc should be empty
 6837    wlarc='${wl}'
 6838
 6839    # Set some defaults for GNU ld with shared library support. These
 6840    # are reset later if shared libraries are not supported. Putting them
 6841    # here allows them to be overridden if necessary.
 6842    runpath_var=LD_RUN_PATH
 6843    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 6844    export_dynamic_flag_spec='${wl}--export-dynamic'
 6845    # ancient GNU ld didn't support --whole-archive et. al.
 6846    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 6847	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 6848      else
 6849  	whole_archive_flag_spec=
 6850    fi
 6851    supports_anon_versioning=no
 6852    case `$LD -v 2>/dev/null` in
 6853      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 6854      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 6855      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 6856      *\ 2.11.*) ;; # other 2.11 versions
 6857      *) supports_anon_versioning=yes ;;
 6858    esac
 6859
 6860    # See if GNU ld supports shared libraries.
 6861    case $host_os in
 6862    aix3* | aix4* | aix5*)
 6863      # On AIX/PPC, the GNU linker is very broken
 6864      if test "$host_cpu" != ia64; then
 6865	ld_shlibs=no
 6866	cat <<EOF 1>&2
 6867
 6868*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 6869*** to be unable to reliably create shared libraries on AIX.
 6870*** Therefore, libtool is disabling shared libraries support.  If you
 6871*** really care for shared libraries, you may want to modify your PATH
 6872*** so that a non-GNU linker is found, and then restart.
 6873
 6874EOF
 6875      fi
 6876      ;;
 6877
 6878    amigaos*)
 6879      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)'
 6880      hardcode_libdir_flag_spec='-L$libdir'
 6881      hardcode_minus_L=yes
 6882
 6883      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 6884      # that the semantics of dynamic libraries on AmigaOS, at least up
 6885      # to version 4, is to share data among multiple programs linked
 6886      # with the same dynamic library.  Since this doesn't match the
 6887      # behavior of shared libraries on other platforms, we can't use
 6888      # them.
 6889      ld_shlibs=no
 6890      ;;
 6891
 6892    beos*)
 6893      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 6894	allow_undefined_flag=unsupported
 6895	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 6896	# support --undefined.  This deserves some investigation.  FIXME
 6897	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 6898      else
 6899	ld_shlibs=no
 6900      fi
 6901      ;;
 6902
 6903    cygwin* | mingw* | pw32*)
 6904      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 6905      # as there is no search path for DLLs.
 6906      hardcode_libdir_flag_spec='-L$libdir'
 6907      allow_undefined_flag=unsupported
 6908      always_export_symbols=no
 6909      enable_shared_with_static_runtimes=yes
 6910      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 6911
 6912      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 6913        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 6914	# If the export-symbols file already is a .def file (1st line
 6915	# is EXPORTS), use it as is; otherwise, prepend...
 6916	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 6917	  cp $export_symbols $output_objdir/$soname.def;
 6918	else
 6919	  echo EXPORTS > $output_objdir/$soname.def;
 6920	  cat $export_symbols >> $output_objdir/$soname.def;
 6921	fi~
 6922	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 6923      else
 6924	ld_shlibs=no
 6925      fi
 6926      ;;
 6927
 6928    interix3*)
 6929      hardcode_direct=no
 6930      hardcode_shlibpath_var=no
 6931      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 6932      export_dynamic_flag_spec='${wl}-E'
 6933      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 6934      # Instead, shared libraries are loaded at an image base (0x10000000 by
 6935      # default) and relocated if they conflict, which is a slow very memory
 6936      # consuming and fragmenting process.  To avoid this, we pick a random,
 6937      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 6938      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 6939      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 6940      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 6941      ;;
 6942
 6943    linux*)
 6944      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 6945	tmp_addflag=
 6946	case $cc_basename,$host_cpu in
 6947	pgcc*)				# Portland Group C compiler
 6948	  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'
 6949	  tmp_addflag=' $pic_flag'
 6950	  ;;
 6951	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 6952	  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'
 6953	  tmp_addflag=' $pic_flag -Mnomain' ;;
 6954	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 6955	  tmp_addflag=' -i_dynamic' ;;
 6956	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 6957	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 6958	ifc* | ifort*)			# Intel Fortran compiler
 6959	  tmp_addflag=' -nofor_main' ;;
 6960	esac
 6961	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 6962
 6963	if test $supports_anon_versioning = yes; then
 6964	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 6965  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 6966  $echo "local: *; };" >> $output_objdir/$libname.ver~
 6967	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 6968	fi
 6969	link_all_deplibs=no
 6970      else
 6971	ld_shlibs=no
 6972      fi
 6973      ;;
 6974
 6975    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 6976      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 6977	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 6978	wlarc=
 6979      else
 6980	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 6981	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 6982      fi
 6983      ;;
 6984
 6985    solaris*)
 6986      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 6987	ld_shlibs=no
 6988	cat <<EOF 1>&2
 6989
 6990*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 6991*** create shared libraries on Solaris systems.  Therefore, libtool
 6992*** is disabling shared libraries support.  We urge you to upgrade GNU
 6993*** binutils to release 2.9.1 or newer.  Another option is to modify
 6994*** your PATH or compiler configuration so that the native linker is
 6995*** used, and then restart.
 6996
 6997EOF
 6998      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 6999	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7000	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7001      else
 7002	ld_shlibs=no
 7003      fi
 7004      ;;
 7005
 7006    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 7007      case `$LD -v 2>&1` in
 7008        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 7009	ld_shlibs=no
 7010	cat <<_LT_EOF 1>&2
 7011
 7012*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 7013*** reliably create shared libraries on SCO systems.  Therefore, libtool
 7014*** is disabling shared libraries support.  We urge you to upgrade GNU
 7015*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 7016*** your PATH or compiler configuration so that the native linker is
 7017*** used, and then restart.
 7018
 7019_LT_EOF
 7020	;;
 7021	*)
 7022	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 7023	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 7024	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 7025	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 7026	  else
 7027	    ld_shlibs=no
 7028	  fi
 7029	;;
 7030      esac
 7031      ;;
 7032
 7033    sunos4*)
 7034      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 7035      wlarc=
 7036      hardcode_direct=yes
 7037      hardcode_shlibpath_var=no
 7038      ;;
 7039
 7040    *)
 7041      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 7042	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7043	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7044      else
 7045	ld_shlibs=no
 7046      fi
 7047      ;;
 7048    esac
 7049
 7050    if test "$ld_shlibs" = no; then
 7051      runpath_var=
 7052      hardcode_libdir_flag_spec=
 7053      export_dynamic_flag_spec=
 7054      whole_archive_flag_spec=
 7055    fi
 7056  else
 7057    # PORTME fill in a description of your system's linker (not GNU ld)
 7058    case $host_os in
 7059    aix3*)
 7060      allow_undefined_flag=unsupported
 7061      always_export_symbols=yes
 7062      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'
 7063      # Note: this linker hardcodes the directories in LIBPATH if there
 7064      # are no directories specified by -L.
 7065      hardcode_minus_L=yes
 7066      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 7067	# Neither direct hardcoding nor static linking is supported with a
 7068	# broken collect2.
 7069	hardcode_direct=unsupported
 7070      fi
 7071      ;;
 7072
 7073    aix4* | aix5*)
 7074      if test "$host_cpu" = ia64; then
 7075	# On IA64, the linker does run time linking by default, so we don't
 7076	# have to do anything special.
 7077	aix_use_runtimelinking=no
 7078	exp_sym_flag='-Bexport'
 7079	no_entry_flag=""
 7080      else
 7081	# If we're using GNU nm, then we don't want the "-C" option.
 7082	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 7083	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 7084	  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'
 7085	else
 7086	  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'
 7087	fi
 7088	aix_use_runtimelinking=no
 7089
 7090	# Test if we are trying to use run time linking or normal
 7091	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 7092	# need to do runtime linking.
 7093	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 7094	  for ld_flag in $LDFLAGS; do
 7095  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 7096  	    aix_use_runtimelinking=yes
 7097  	    break
 7098  	  fi
 7099	  done
 7100	  ;;
 7101	esac
 7102
 7103	exp_sym_flag='-bexport'
 7104	no_entry_flag='-bnoentry'
 7105      fi
 7106
 7107      # When large executables or shared objects are built, AIX ld can
 7108      # have problems creating the table of contents.  If linking a library
 7109      # or program results in "error TOC overflow" add -mminimal-toc to
 7110