You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2003/06/01 01:41:04 UTC

cvs commit: xml-security/c/src configure configure.ac

blautenb    2003/05/31 16:41:04

  Modified:    c/src    configure configure.ac
  Log:
  Fix bug for linux introduced in Cygwin port of configure
  
  Revision  Changes    Path
  1.12      +388 -820  xml-security/c/src/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/configure,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- configure	31 May 2003 23:23:35 -0000	1.11
  +++ configure	31 May 2003 23:41:04 -0000	1.12
  @@ -1,6 +1,6 @@
   #! /bin/sh
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated by GNU Autoconf 2.57 for XML-Security-C 0.2.0.
  +# Generated by GNU Autoconf 2.53 for XML-Security-C 0.2.0.
   #
   # Report bugs to <be...@ozemail.com.au>.
   #
  @@ -8,6 +8,14 @@
   # Free Software Foundation, Inc.
   # This configure script is free software; the Free Software Foundation
   # gives unlimited permission to copy, distribute and modify it.
  +
  +if expr a : '\(a\)' >/dev/null 2>&1; then
  +  as_expr=expr
  +else
  +  as_expr=false
  +fi
  +
  +
   ## --------------------- ##
   ## M4sh Initialization.  ##
   ## --------------------- ##
  @@ -16,13 +24,11 @@
   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     emulate sh
     NULLCMD=:
  -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  -  # is contrary to our usage.  Disable this feature.
  -  alias -g '${1+"$@"}'='"$@"'
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
   
  +# NLS nuisances.
   # Support unset when possible.
   if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     as_unset=unset
  @@ -30,42 +36,34 @@
     as_unset=false
   fi
   
  -
  -# Work around bugs in pre-3.0 UWIN ksh.
  -$as_unset ENV MAIL MAILPATH
  -PS1='$ '
  -PS2='> '
  -PS4='+ '
  -
  -# NLS nuisances.
  -for as_var in \
  -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  -  LC_TELEPHONE LC_TIME
  -do
  -  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  -    eval $as_var=C; export $as_var
  -  else
  -    $as_unset $as_var
  -  fi
  -done
  -
  -# Required to use basename.
  -if expr a : '\(a\)' >/dev/null 2>&1; then
  -  as_expr=expr
  -else
  -  as_expr=false
  -fi
  -
  -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  -  as_basename=basename
  -else
  -  as_basename=false
  -fi
  +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
  +    { $as_unset LANG || test "${LANG+set}" != set; } ||
  +      { LANG=C; export LANG; }
  +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
  +    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
  +      { LC_ALL=C; export LC_ALL; }
  +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
  +    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
  +      { LC_TIME=C; export LC_TIME; }
  +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
  +    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
  +      { LC_CTYPE=C; export LC_CTYPE; }
  +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
  +    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
  +      { LANGUAGE=C; export LANGUAGE; }
  +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
  +    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
  +      { LC_COLLATE=C; export LC_COLLATE; }
  +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
  +    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
  +      { LC_NUMERIC=C; export LC_NUMERIC; }
  +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
  +    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
  +      { LC_MESSAGES=C; export LC_MESSAGES; }
   
   
   # Name of the executable.
  -as_me=`$as_basename "$0" ||
  +as_me=`(basename "$0") 2>/dev/null ||
   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   	 X"$0" : 'X\(//\)$' \| \
   	 X"$0" : 'X\(/\)$' \| \
  @@ -76,7 +74,6 @@
     	  /^X\/\(\/\).*/{ s//\1/; q; }
     	  s/.*/./; q'`
   
  -
   # PATH needs CR, and LINENO needs CR and PATH.
   # Avoid depending upon Character Ranges.
   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  @@ -87,15 +84,15 @@
   
   # The user is always right.
   if test "${PATH_SEPARATOR+set}" != set; then
  -  echo "#! /bin/sh" >conf$$.sh
  -  echo  "exit 0"   >>conf$$.sh
  -  chmod +x conf$$.sh
  -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  +  echo "#! /bin/sh" >conftest.sh
  +  echo  "exit 0"   >>conftest.sh
  +  chmod +x conftest.sh
  +  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
       PATH_SEPARATOR=';'
     else
       PATH_SEPARATOR=:
     fi
  -  rm -f conf$$.sh
  +  rm -f conftest.sh
   fi
   
   
  @@ -143,8 +140,6 @@
     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     test "x$as_lineno_1" != "x$as_lineno_2" &&
     test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  -	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  -	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   	     CONFIG_SHELL=$as_dir/$as_base
   	     export CONFIG_SHELL
   	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  @@ -217,12 +212,6 @@
   fi
   rm -f conf$$ conf$$.exe conf$$.file
   
  -if mkdir -p . 2>/dev/null; then
  -  as_mkdir_p=:
  -else
  -  as_mkdir_p=false
  -fi
  -
   as_executable_p="test -f"
   
   # Sed expression to map a string onto a valid CPP name.
  @@ -239,7 +228,7 @@
   IFS=" 	$as_nl"
   
   # CDPATH.
  -$as_unset CDPATH
  +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
   
   
   # Name of the host.
  @@ -253,7 +242,6 @@
   # Initializations.
   #
   ac_default_prefix=/usr/local
  -ac_config_libobj_dir=.
   cross_compiling=no
   subdirs=
   MFLAGS=
  @@ -310,8 +298,6 @@
   # include <unistd.h>
   #endif"
   
  -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S AWK AUTOCONF CPP CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os canon_obj_files transformers_obj_files dsig_obj_files enc_obj_files enc_OpenSSL_obj_files framework_obj_files utils_obj_files utils_unixutils_obj_files lib_obj_files canon_include_files transformers_include_files dsig_include_files enc_include_files enc_OpenSSL_include_files framework_include_files utils_include_files utils_unixutils_include_files lib_include_files LINK_COMMAND_1 LINK_COMMAND_2 INSTALL_COMMAND_1 INSTALL_COMMAND_2 INSTALL_COMMAND_3 platform cxx cc osver cxxflags cppflags cflags ldflags libs transcoder threads bitstobuild cc1 cc4 ln_s install install_data make_shared link objsuffix shlibsuffix package_version package_version_major package_name package_tarname lib_name lib_major_name lib_short_name LIBOBJS LTLIBOBJS'
  -ac_subst_files=''
   
   # Initialize some variables set by options.
   ac_init_help=
  @@ -735,9 +721,6 @@
      { (exit 1); exit 1; }; }
     fi
   fi
  -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  -   { (exit 1); exit 1; }; }
   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
   ac_env_build_alias_set=${build_alias+set}
   ac_env_build_alias_value=$build_alias
  @@ -919,7 +902,7 @@
   # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
   # absolute.
   ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
   ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
   ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
   
  @@ -946,7 +929,7 @@
   if $ac_init_version; then
     cat <<\_ACEOF
   XML-Security-C configure 0.2.0
  -generated by GNU Autoconf 2.57
  +generated by GNU Autoconf 2.53
   
   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
   Free Software Foundation, Inc.
  @@ -961,7 +944,7 @@
   running configure, to aid debugging if configure makes a mistake.
   
   It was created by XML-Security-C $as_me 0.2.0, which was
  -generated by GNU Autoconf 2.57.  Invocation command line was
  +generated by GNU Autoconf 2.53.  Invocation command line was
   
     $ $0 $@
   
  @@ -1013,54 +996,27 @@
   
   # Keep a trace of the command line.
   # Strip out --no-create and --no-recursion so they do not pile up.
  -# Strip out --silent because we don't want to record it for future runs.
   # Also quote any args containing shell meta-characters.
  -# Make two passes to allow for proper duplicate-argument suppression.
   ac_configure_args=
  -ac_configure_args0=
  -ac_configure_args1=
   ac_sep=
  -ac_must_keep_next=false
  -for ac_pass in 1 2
  +for ac_arg
   do
  -  for ac_arg
  -  do
  -    case $ac_arg in
  -    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  -    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  -    | -silent | --silent | --silen | --sile | --sil)
  -      continue ;;
  -    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  -    esac
  -    case $ac_pass in
  -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  -    2)
  -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  -      if test $ac_must_keep_next = true; then
  -        ac_must_keep_next=false # Got value, back to normal.
  -      else
  -        case $ac_arg in
  -          *=* | --config-cache | -C | -disable-* | --disable-* \
  -          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  -          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  -          | -with-* | --with-* | -without-* | --without-* | --x)
  -            case "$ac_configure_args0 " in
  -              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  -            esac
  -            ;;
  -          -* ) ac_must_keep_next=true ;;
  -        esac
  -      fi
  -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  -      # Get rid of the leading space.
  -      ac_sep=" "
  -      ;;
  -    esac
  -  done
  +  case $ac_arg in
  +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  +  | --no-cr | --no-c | -n ) continue ;;
  +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  +    continue ;;
  +  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  +    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  +  esac
  +  case " $ac_configure_args " in
  +    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  +    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  +       ac_sep=" " ;;
  +  esac
  +  # Get rid of the leading space.
   done
  -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   
   # When interrupted or exit'd, cleanup temporary files, and complete
   # config.log.  We remove comments because anyway the quotes in there
  @@ -1071,7 +1027,6 @@
     # Save into config.log some information that might help in debugging.
     {
       echo
  -
       cat <<\_ASBOX
   ## ---------------- ##
   ## Cache variables. ##
  @@ -1094,35 +1049,6 @@
       esac;
   }
       echo
  -
  -    cat <<\_ASBOX
  -## ----------------- ##
  -## Output variables. ##
  -## ----------------- ##
  -_ASBOX
  -    echo
  -    for ac_var in $ac_subst_vars
  -    do
  -      eval ac_val=$`echo $ac_var`
  -      echo "$ac_var='"'"'$ac_val'"'"'"
  -    done | sort
  -    echo
  -
  -    if test -n "$ac_subst_files"; then
  -      cat <<\_ASBOX
  -## ------------- ##
  -## Output files. ##
  -## ------------- ##
  -_ASBOX
  -      echo
  -      for ac_var in $ac_subst_files
  -      do
  -	eval ac_val=$`echo $ac_var`
  -        echo "$ac_var='"'"'$ac_val'"'"'"
  -      done | sort
  -      echo
  -    fi
  -
       if test -s confdefs.h; then
         cat <<\_ASBOX
   ## ----------- ##
  @@ -1130,7 +1056,7 @@
   ## ----------- ##
   _ASBOX
         echo
  -      sed "/^$/d" confdefs.h | sort
  +      sed "/^$/d" confdefs.h
         echo
       fi
       test "$ac_signal" != 0 &&
  @@ -1296,7 +1222,6 @@
   
   
   
  -
   # framework is a unique directory in src/ - allows configure to check
   # it is running in the correct directory
   
  @@ -1315,9 +1240,9 @@
   #	utils/unixutils/Makefile \
   #	tools/Makefile \
   #	samples/Makefile])
  -                                                                                                              ac_config_files="$ac_config_files Makefile canon/Makefile transformers/Makefile dsig/Makefile enc/Makefile enc/OpenSSL/Makefile framework/Makefile utils/Makefile utils/unixutils/Makefile tools/Makefile samples/Makefile"
  +ac_config_files="$ac_config_files Makefile canon/Makefile transformers/Makefile dsig/Makefile enc/Makefile enc/OpenSSL/Makefile framework/Makefile utils/Makefile utils/unixutils/Makefile tools/Makefile samples/Makefile"
   
  -          ac_config_headers="$ac_config_headers framework/XSECConfig.hpp"
  +ac_config_headers="$ac_config_headers framework/XSECConfig.hpp"
   
   
   # Get user options
  @@ -1559,7 +1484,9 @@
       # However, it has the same basename, so the bogon will be chosen
       # first if we set CC to just the basename; use the full file name.
       shift
  -    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  +    set dummy "$as_dir/$ac_word" ${1+"$@"}
  +    shift
  +    ac_cv_prog_CC="$@"
     fi
   fi
   fi
  @@ -1664,10 +1591,8 @@
   fi
   
   
  -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: no acceptable C compiler found in \$PATH
  -See \`config.log' for more details." >&2;}
  +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
  +echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
      { (exit 1); exit 1; }; }
   
   # Provide some information about the compiler.
  @@ -1692,12 +1617,14 @@
   
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -1707,7 +1634,7 @@
   }
   _ACEOF
   ac_clean_files_save=$ac_clean_files
  -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  +ac_clean_files="$ac_clean_files a.out a.exe"
   # Try to create an executable without -o first, disregard a.out.
   # It will help us diagnose broken compilers, and finding out an intuition
   # of exeext.
  @@ -1726,39 +1653,26 @@
   # Be careful to initialize this variable, since it used to be cached.
   # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   ac_cv_exeext=
  -# b.out is created by i960 compilers.
  -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  -do
  -  test -f "$ac_file" || continue
  +for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
  +                ls a.out conftest 2>/dev/null;
  +                ls a.* conftest.* 2>/dev/null`; do
     case $ac_file in
  -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  -        ;;
  -    conftest.$ac_ext )
  -        # This is the source file.
  -        ;;
  -    [ab].out )
  -        # We found the default executable, but exeext='' is most
  -        # certainly right.
  -        break;;
  -    *.* )
  -        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  -        # FIXME: I believe we export ac_cv_exeext for Libtool,
  -        # but it would be cool to find out if it's true.  Does anybody
  -        # maintain Libtool? --akim.
  -        export ac_cv_exeext
  -        break;;
  -    * )
  -        break;;
  +    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
  +    a.out ) # We found the default executable, but exeext='' is most
  +            # certainly right.
  +            break;;
  +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  +          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
  +          export ac_cv_exeext
  +          break;;
  +    * ) break;;
     esac
   done
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: C compiler cannot create executables
  -See \`config.log' for more details." >&2;}
  +cat conftest.$ac_ext >&5
  +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
  +echo "$as_me: error: C compiler cannot create executables" >&2;}
      { (exit 77); exit 77; }; }
   fi
   
  @@ -1785,11 +1699,9 @@
   	cross_compiling=yes
       else
   	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  -If you meant to cross compile, use \`--host'.
  -See \`config.log' for more details." >&5
  +If you meant to cross compile, use \`--host'." >&5
   echo "$as_me: error: cannot run C compiled programs.
  -If you meant to cross compile, use \`--host'.
  -See \`config.log' for more details." >&2;}
  +If you meant to cross compile, use \`--host'." >&2;}
      { (exit 1); exit 1; }; }
       fi
     fi
  @@ -1797,7 +1709,7 @@
   echo "$as_me:$LINENO: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   
  -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  +rm -f a.out a.exe conftest$ac_cv_exeext
   ac_clean_files=$ac_clean_files_save
   # Check the compiler produces executables we can run.  If not, either
   # the compiler is broken, or we cross compile.
  @@ -1817,10 +1729,9 @@
   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   # work properly (i.e., refer to `conftest.exe'), while it won't with
   # `rm'.
  -for ac_file in conftest.exe conftest conftest.*; do
  -  test -f "$ac_file" || continue
  +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
     case $ac_file in
  -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  +    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
             export ac_cv_exeext
             break;;
  @@ -1828,10 +1739,8 @@
     esac
   done
   else
  -  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  -See \`config.log' for more details." >&2;}
  +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
  +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
  @@ -1849,12 +1758,14 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -1871,19 +1782,16 @@
     (exit $ac_status); }; then
     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     case $ac_file in
  -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
       *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
          break;;
     esac
   done
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  -See \`config.log' for more details." >&2;}
  +cat conftest.$ac_ext >&5
  +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
  +echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
  @@ -1900,12 +1808,14 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -1932,8 +1842,7 @@
     ac_compiler_gnu=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_compiler_gnu=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -1953,12 +1862,14 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -1982,8 +1893,7 @@
     ac_cv_prog_cc_g=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_cv_prog_cc_g=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -2005,102 +1915,6 @@
       CFLAGS=
     fi
   fi
  -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  -  echo $ECHO_N "(cached) $ECHO_C" >&6
  -else
  -  ac_cv_prog_cc_stdc=no
  -ac_save_CC=$CC
  -cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  -#include <stdarg.h>
  -#include <stdio.h>
  -#include <sys/types.h>
  -#include <sys/stat.h>
  -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  -struct buf { int x; };
  -FILE * (*rcsopen) (struct buf *, struct stat *, int);
  -static char *e (p, i)
  -     char **p;
  -     int i;
  -{
  -  return p[i];
  -}
  -static char *f (char * (*g) (char **, int), char **p, ...)
  -{
  -  char *s;
  -  va_list v;
  -  va_start (v,p);
  -  s = g (p, va_arg (v,int));
  -  va_end (v);
  -  return s;
  -}
  -int test (int i, double x);
  -struct s1 {int (*f) (int a);};
  -struct s2 {int (*f) (double a);};
  -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  -int argc;
  -char **argv;
  -int
  -main ()
  -{
  -return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  -  ;
  -  return 0;
  -}
  -_ACEOF
  -# Don't try gcc -ansi; that turns off useful extensions and
  -# breaks some systems' header files.
  -# AIX			-qlanglvl=ansi
  -# Ultrix and OSF/1	-std1
  -# HP-UX 10.20 and later	-Ae
  -# HP-UX older versions	-Aa -D_HPUX_SOURCE
  -# SVR4			-Xc -D__EXTENSIONS__
  -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  -do
  -  CC="$ac_save_CC $ac_arg"
  -  rm -f conftest.$ac_objext
  -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  -  ac_status=$?
  -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  -  (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  -  (eval $ac_try) 2>&5
  -  ac_status=$?
  -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  -  (exit $ac_status); }; }; then
  -  ac_cv_prog_cc_stdc=$ac_arg
  -break
  -else
  -  echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  -fi
  -rm -f conftest.$ac_objext
  -done
  -rm -f conftest.$ac_ext conftest.$ac_objext
  -CC=$ac_save_CC
  -
  -fi
  -
  -case "x$ac_cv_prog_cc_stdc" in
  -  x|xno)
  -    echo "$as_me:$LINENO: result: none needed" >&5
  -echo "${ECHO_T}none needed" >&6 ;;
  -  *)
  -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  -    CC="$CC $ac_cv_prog_cc_stdc" ;;
  -esac
  -
   # Some people use a C++ compiler to compile C.  Since we use `exit',
   # in C++ we need to declare it.  In case someone uses the same compiler
   # for both compiling C and C++ we need to have the C++ compiler decide
  @@ -2133,13 +1947,15 @@
   do
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <stdlib.h>
   $ac_declaration
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2163,19 +1979,20 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   continue
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   $ac_declaration
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2199,8 +2016,7 @@
     break
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
  @@ -2213,8 +2029,7 @@
   
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
  @@ -2343,12 +2158,14 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2375,8 +2192,7 @@
     ac_compiler_gnu=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_compiler_gnu=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -2396,12 +2212,14 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2425,8 +2243,7 @@
     ac_cv_prog_cxx_g=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_cv_prog_cxx_g=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -2459,13 +2276,15 @@
   do
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <stdlib.h>
   $ac_declaration
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2489,19 +2308,20 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   continue
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   $ac_declaration
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -2525,8 +2345,7 @@
     break
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
  @@ -2769,28 +2588,18 @@
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
  -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  -  # <limits.h> exists even on freestanding compilers.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  -#ifdef __STDC__
  -# include <limits.h>
  -#else
  -# include <assert.h>
  -#endif
  +#include "confdefs.h"
  +#include <assert.h>
                        Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -2807,8 +2616,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
   fi
  @@ -2818,17 +2626,13 @@
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -2846,8 +2650,7 @@
   continue
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
  @@ -2876,28 +2679,18 @@
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
  -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  -  # <limits.h> exists even on freestanding compilers.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  -#ifdef __STDC__
  -# include <limits.h>
  -#else
  -# include <assert.h>
  -#endif
  +#include "confdefs.h"
  +#include <assert.h>
                        Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -2914,8 +2707,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
   fi
  @@ -2925,17 +2717,13 @@
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -2953,8 +2741,7 @@
   continue
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
  @@ -2967,10 +2754,8 @@
   if $ac_preproc_ok; then
     :
   else
  -  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  -See \`config.log' for more details." >&2;}
  +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
  +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
  @@ -2983,17 +2768,13 @@
   
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3010,8 +2791,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
   
   fi
   rm -f conftest.err conftest.$ac_ext
  @@ -3041,28 +2821,18 @@
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
  -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  -  # <limits.h> exists even on freestanding compilers.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  -#ifdef __STDC__
  -# include <limits.h>
  -#else
  -# include <assert.h>
  -#endif
  +#include "confdefs.h"
  +#include <assert.h>
                        Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3079,8 +2849,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
   fi
  @@ -3090,17 +2859,13 @@
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3118,8 +2883,7 @@
   continue
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
  @@ -3148,28 +2912,18 @@
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
  -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  -  # <limits.h> exists even on freestanding compilers.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  -#ifdef __STDC__
  -# include <limits.h>
  -#else
  -# include <assert.h>
  -#endif
  +#include "confdefs.h"
  +#include <assert.h>
                        Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3186,8 +2940,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
   fi
  @@ -3197,17 +2950,13 @@
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3225,8 +2974,7 @@
   continue
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
  @@ -3239,10 +2987,8 @@
   if $ac_preproc_ok; then
     :
   else
  -  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  -See \`config.log' for more details." >&2;}
  +  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
  +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
  @@ -3255,17 +3001,13 @@
   
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3282,8 +3024,7 @@
     :
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
   
   fi
   rm -f conftest.err conftest.$ac_ext
  @@ -3305,11 +3046,7 @@
   LIBS="-lm  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
  @@ -3318,6 +3055,12 @@
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char floor ();
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -3341,8 +3084,7 @@
     ac_cv_lib_m_floor=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_cv_lib_m_floor=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  @@ -3363,21 +3105,6 @@
   # Determine the host system and Makefile fragment
   
   # Check for required includes
  -echo "$as_me:$LINENO: checking for egrep" >&5
  -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  -if test "${ac_cv_prog_egrep+set}" = set; then
  -  echo $ECHO_N "(cached) $ECHO_C" >&6
  -else
  -  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  -    then ac_cv_prog_egrep='grep -E'
  -    else ac_cv_prog_egrep='egrep'
  -    fi
  -fi
  -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  - EGREP=$ac_cv_prog_egrep
  -
  -
   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   if test "${ac_cv_header_stdc+set}" = set; then
  @@ -3385,59 +3112,48 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <stdlib.h>
   #include <stdarg.h>
   #include <string.h>
   #include <float.h>
   
  -int
  -main ()
  -{
  -
  -  ;
  -  return 0;
  -}
   _ACEOF
  -rm -f conftest.$ac_objext
  -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  -  ac_status=$?
  -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  -  (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  -  (eval $ac_try) 2>&5
  +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  -  (exit $ac_status); }; }; then
  +  (exit $ac_status); } >/dev/null; then
  +  if test -s conftest.err; then
  +    ac_cpp_err=$ac_c_preproc_warn_flag
  +  else
  +    ac_cpp_err=
  +  fi
  +else
  +  ac_cpp_err=yes
  +fi
  +if test -z "$ac_cpp_err"; then
     ac_cv_header_stdc=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  -ac_cv_header_stdc=no
  +  cat conftest.$ac_ext >&5
  +  ac_cv_header_stdc=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_ext
   
   if test $ac_cv_header_stdc = yes; then
     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <string.h>
   
   _ACEOF
   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  -  $EGREP "memchr" >/dev/null 2>&1; then
  +  egrep "memchr" >/dev/null 2>&1; then
     :
   else
     ac_cv_header_stdc=no
  @@ -3450,16 +3166,12 @@
     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <stdlib.h>
   
   _ACEOF
   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  -  $EGREP "free" >/dev/null 2>&1; then
  +  egrep "free" >/dev/null 2>&1; then
     :
   else
     ac_cv_header_stdc=no
  @@ -3475,18 +3187,13 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <ctype.h>
   #if ((' ' & 0x0FF) == 0x020)
   # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   #else
  -# define ISLOWER(c) \
  -                   (('a' <= (c) && (c) <= 'i') \
  +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                        || ('j' <= (c) && (c) <= 'r') \
                        || ('s' <= (c) && (c) <= 'z'))
   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  @@ -3519,12 +3226,11 @@
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ( exit $ac_status )
   ac_cv_header_stdc=no
   fi
  -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   fi
   fi
  @@ -3559,11 +3265,7 @@
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   $ac_includes_default
   
   #include <$ac_header>
  @@ -3583,8 +3285,7 @@
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   eval "$as_ac_Header=no"
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -3620,11 +3321,7 @@
   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   $ac_includes_default
   #include <$ac_header>
   _ACEOF
  @@ -3643,8 +3340,7 @@
     ac_header_compiler=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ac_header_compiler=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
  @@ -3656,17 +3352,13 @@
   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <$ac_header>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -3683,8 +3375,7 @@
     ac_header_preproc=yes
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     ac_header_preproc=no
   fi
   rm -f conftest.err conftest.$ac_ext
  @@ -3697,32 +3388,14 @@
       { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
       { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  -    (
  -      cat <<\_ASBOX
  -## ------------------------------------ ##
  -## Report this to bug-autoconf@gnu.org. ##
  -## ------------------------------------ ##
  -_ASBOX
  -    ) |
  -      sed "s/^/$as_me: WARNING:     /" >&2
  -    ;;
  +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
     no:yes )
       { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
       { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
   echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
       { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  -    (
  -      cat <<\_ASBOX
  -## ------------------------------------ ##
  -## Report this to bug-autoconf@gnu.org. ##
  -## ------------------------------------ ##
  -_ASBOX
  -    ) |
  -      sed "s/^/$as_me: WARNING:     /" >&2
  -    ;;
  +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
   esac
   echo "$as_me:$LINENO: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  @@ -3827,8 +3500,8 @@
   						CC4="${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
   						MAKE_SHARED="${CXX} ${CXXFLAGS} -DSOLARIS -shared ${PIC}"
   						LINK="${CXX} ${CXXFLAGS} -DSOLARIS ${PIC}"
  -						LINK_COMMAND_1="(cd \$(LIB_DIR) \; rm -f \$(LIBMAJORNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"
  -						LINK_COMMAND_2="(cd \$(LIB_DIR) \; rm -f \$(LIBSHORTNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"
  +						LINK_COMMAND_1="(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"
  +						LINK_COMMAND_2="(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"
   						INSTALL_COMMAND_1="\$(INSTALL) \${THISLIB} \${libdir}"
   						INSTALL_COMMAND_2="\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBMAJORNAME}"
   						INSTALL_COMMAND_3="\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBSHORTNAME}"
  @@ -3855,8 +3528,8 @@
   						CC4="${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
   						MAKE_SHARED="${CXX} ${CXXFLAGS} -Wl,-soname,\$(LIBNAME) -DLINUX -shared ${PIC}"
   						LINK="${CXX} ${CXXFLAGS} -DLINUX ${PIC}"
  -						LINK_COMMAND_1="(cd \$(LIB_DIR) \; rm -f \$(LIBMAJORNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"
  -						LINK_COMMAND_2="(cd \$(LIB_DIR) \; rm -f \$(LIBSHORTNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"
  +						LINK_COMMAND_1="(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"
  +						LINK_COMMAND_2="(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"
   						INSTALL_COMMAND_1="\$(INSTALL) \${THISLIB} \${libdir}"
   						INSTALL_COMMAND_2="\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBMAJORNAME}"
   						INSTALL_COMMAND_3="\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBSHORTNAME}"
  @@ -3920,19 +3593,13 @@
     echo "$as_me:$LINENO: checking for Xerces 2.x headers in XERCESCROOT/src" >&5
   echo $ECHO_N "checking for Xerces 2.x headers in XERCESCROOT/src... $ECHO_C" >&6
     if test "$cross_compiling" = yes; then
  -  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: cannot run test program while cross compiling
  -See \`config.log' for more details." >&2;}
  +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
  +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
      { (exit 1); exit 1; }; }
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <xercesc/util/XercesVersion.hpp>
       int main(int argc, char **argv) {
         if (XERCES_VERSION_MAJOR < 2)
  @@ -3959,14 +3626,13 @@
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ( exit $ac_status )
   CPPFLAGS=$OLD_CPPFLAGS
       echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
  -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   
   fi
  @@ -3979,19 +3645,13 @@
   echo $ECHO_N "checking for Xerces 2.x headers in system includes... $ECHO_C" >&6
   
     if test "$cross_compiling" = yes; then
  -  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  -See \`config.log' for more details." >&5
  -echo "$as_me: error: cannot run test program while cross compiling
  -See \`config.log' for more details." >&2;}
  +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
  +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
      { (exit 1); exit 1; }; }
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <xercesc/util/XercesVersion.hpp>
       int main(int argc, char **argv) {
         if (XERCES_VERSION_MAJOR < 2)
  @@ -4017,14 +3677,13 @@
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   ( exit $ac_status )
   { { echo "$as_me:$LINENO: error: Xerces 2.0 not found.  Ensure XERCESCROOT points to base directory of Xerces and Xerces 2.0 or later is available" >&5
   echo "$as_me: error: Xerces 2.0 not found.  Ensure XERCESCROOT points to base directory of Xerces and Xerces 2.0 or later is available" >&2;}
      { (exit 1); exit 1; }; }
   fi
  -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   
   fi
  @@ -4036,14 +3695,16 @@
   
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <xercesc/framework/XMLFormatter.hpp>
   	#include <xercesc/util/XercesDefs.hpp>
   	#include <xercesc/util/XMLUniDefs.hpp>
  +#ifdef F77_DUMMY_MAIN
  +#  ifdef __cplusplus
  +     extern "C"
  +#  endif
  +   int F77_DUMMY_MAIN() { return 1; }
  +#endif
   int
   main ()
   {
  @@ -4081,8 +3742,7 @@
   
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +cat conftest.$ac_ext >&5
   echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
  @@ -4103,17 +3763,13 @@
   
       cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <Include/PlatformDefinitions.hpp>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -4133,8 +3789,7 @@
   echo "${ECHO_T}found" >&6
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     CPPFLAGS=$OLD_CPPFLAGS
         echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
  @@ -4149,17 +3804,13 @@
   echo $ECHO_N "checking for Xalan in system includes... $ECHO_C" >&6
       cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <Include/PlatformDefinitions.hpp>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -4179,8 +3830,7 @@
   echo "${ECHO_T}found" >&6
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     cat >>confdefs.h <<\_ACEOF
   #define XSEC_NO_XALAN 1
   _ACEOF
  @@ -4223,17 +3873,13 @@
   
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <openssl/opensslv.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -4257,8 +3903,7 @@
   echo "${ECHO_T}found" >&6
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     CPPFLAGS=$OLD_CPPFLAGS
      echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
  @@ -4273,17 +3918,13 @@
   echo $ECHO_N "checking for OpenSSL in system includes... $ECHO_C" >&6
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
  -/* confdefs.h.  */
  -_ACEOF
  -cat confdefs.h >>conftest.$ac_ext
  -cat >>conftest.$ac_ext <<_ACEOF
  -/* end confdefs.h.  */
  +#include "confdefs.h"
   #include <openssl/opensslv.h>
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
  -  grep -v '^ *+' conftest.er1 >conftest.err
  +  egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  @@ -4307,8 +3948,7 @@
   echo "${ECHO_T}found" >&6
   else
     echo "$as_me: failed program was:" >&5
  -sed 's/^/| /' conftest.$ac_ext >&5
  -
  +  cat conftest.$ac_ext >&5
     echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: OpenSSL header files not find.  Please define OPENSSL" >&5
  @@ -4533,7 +4173,7 @@
   # config.status only pays attention to the cache file if you give it
   # the --recheck option to rerun configure.
   #
  -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  +# `ac_cv_env_foo' variables (set or unset) will be overriden when
   # loading this file, other *unset* `ac_cv_foo' will be assigned the
   # following values.
   
  @@ -4568,7 +4208,7 @@
        t end
        /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        : end' >>confcache
  -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  +if cmp -s $cache_file confcache; then :; else
     if test -w $cache_file; then
       test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
       cat confcache >$cache_file
  @@ -4599,21 +4239,6 @@
   
   DEFS=-DHAVE_CONFIG_H
   
  -ac_libobjs=
  -ac_ltlibobjs=
  -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  -  # 1. Remove the extension, and $U if already installed.
  -  ac_i=`echo "$ac_i" |
  -         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  -  # 2. Add them.
  -  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  -  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  -done
  -LIBOBJS=$ac_libobjs
  -
  -LTLIBOBJS=$ac_ltlibobjs
  -
  -
   # Define the library directories
   for lib_dir in ${library_l1_src_dirs}
   do
  @@ -4649,12 +4274,11 @@
   # configure, is in config.log if it exists.
   
   debug=false
  -ac_cs_recheck=false
  -ac_cs_silent=false
   SHELL=\${CONFIG_SHELL-$SHELL}
   _ACEOF
   
   cat >>$CONFIG_STATUS <<\_ACEOF
  +
   ## --------------------- ##
   ## M4sh Initialization.  ##
   ## --------------------- ##
  @@ -4663,13 +4287,11 @@
   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     emulate sh
     NULLCMD=:
  -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  -  # is contrary to our usage.  Disable this feature.
  -  alias -g '${1+"$@"}'='"$@"'
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
   
  +# NLS nuisances.
   # Support unset when possible.
   if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     as_unset=unset
  @@ -4677,42 +4299,34 @@
     as_unset=false
   fi
   
  -
  -# Work around bugs in pre-3.0 UWIN ksh.
  -$as_unset ENV MAIL MAILPATH
  -PS1='$ '
  -PS2='> '
  -PS4='+ '
  -
  -# NLS nuisances.
  -for as_var in \
  -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  -  LC_TELEPHONE LC_TIME
  -do
  -  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  -    eval $as_var=C; export $as_var
  -  else
  -    $as_unset $as_var
  -  fi
  -done
  -
  -# Required to use basename.
  -if expr a : '\(a\)' >/dev/null 2>&1; then
  -  as_expr=expr
  -else
  -  as_expr=false
  -fi
  -
  -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  -  as_basename=basename
  -else
  -  as_basename=false
  -fi
  +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
  +    { $as_unset LANG || test "${LANG+set}" != set; } ||
  +      { LANG=C; export LANG; }
  +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
  +    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
  +      { LC_ALL=C; export LC_ALL; }
  +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
  +    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
  +      { LC_TIME=C; export LC_TIME; }
  +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
  +    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
  +      { LC_CTYPE=C; export LC_CTYPE; }
  +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
  +    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
  +      { LANGUAGE=C; export LANGUAGE; }
  +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
  +    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
  +      { LC_COLLATE=C; export LC_COLLATE; }
  +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
  +    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
  +      { LC_NUMERIC=C; export LC_NUMERIC; }
  +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
  +    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
  +      { LC_MESSAGES=C; export LC_MESSAGES; }
   
   
   # Name of the executable.
  -as_me=`$as_basename "$0" ||
  +as_me=`(basename "$0") 2>/dev/null ||
   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   	 X"$0" : 'X\(//\)$' \| \
   	 X"$0" : 'X\(/\)$' \| \
  @@ -4723,7 +4337,6 @@
     	  /^X\/\(\/\).*/{ s//\1/; q; }
     	  s/.*/./; q'`
   
  -
   # PATH needs CR, and LINENO needs CR and PATH.
   # Avoid depending upon Character Ranges.
   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  @@ -4734,15 +4347,15 @@
   
   # The user is always right.
   if test "${PATH_SEPARATOR+set}" != set; then
  -  echo "#! /bin/sh" >conf$$.sh
  -  echo  "exit 0"   >>conf$$.sh
  -  chmod +x conf$$.sh
  -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  +  echo "#! /bin/sh" >conftest.sh
  +  echo  "exit 0"   >>conftest.sh
  +  chmod +x conftest.sh
  +  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
       PATH_SEPARATOR=';'
     else
       PATH_SEPARATOR=:
     fi
  -  rm -f conf$$.sh
  +  rm -f conftest.sh
   fi
   
   
  @@ -4791,8 +4404,6 @@
     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     test "x$as_lineno_1" != "x$as_lineno_2" &&
     test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  -	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  -	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   	     CONFIG_SHELL=$as_dir/$as_base
   	     export CONFIG_SHELL
   	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  @@ -4866,12 +4477,6 @@
   fi
   rm -f conf$$ conf$$.exe conf$$.file
   
  -if mkdir -p . 2>/dev/null; then
  -  as_mkdir_p=:
  -else
  -  as_mkdir_p=false
  -fi
  -
   as_executable_p="test -f"
   
   # Sed expression to map a string onto a valid CPP name.
  @@ -4888,7 +4493,7 @@
   IFS=" 	$as_nl"
   
   # CDPATH.
  -$as_unset CDPATH
  +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
   
   exec 6>&1
   
  @@ -4905,7 +4510,7 @@
   cat >&5 <<_CSEOF
   
   This file was extended by XML-Security-C $as_me 0.2.0, which was
  -generated by GNU Autoconf 2.57.  Invocation command line was
  +generated by GNU Autoconf 2.53.  Invocation command line was
   
     CONFIG_FILES    = $CONFIG_FILES
     CONFIG_HEADERS  = $CONFIG_HEADERS
  @@ -4945,7 +4550,6 @@
   
     -h, --help       print this help, then exit
     -V, --version    print version number, then exit
  -  -q, --quiet      do not print progress messages
     -d, --debug      don't remove temporary files
         --recheck    update $as_me by reconfiguring in the same conditions
     --file=FILE[:TEMPLATE]
  @@ -4965,7 +4569,7 @@
   cat >>$CONFIG_STATUS <<_ACEOF
   ac_cs_version="\\
   XML-Security-C config.status 0.2.0
  -configured by $0, generated by GNU Autoconf 2.57,
  +configured by $0, generated by GNU Autoconf 2.53,
     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   
   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  @@ -4986,25 +4590,25 @@
     --*=*)
       ac_option=`expr "x$1" : 'x\([^=]*\)='`
       ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  -    ac_shift=:
  -    ;;
  -  -*)
  -    ac_option=$1
  -    ac_optarg=$2
  -    ac_shift=shift
  +    shift
  +    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
  +    shift
       ;;
  +  -*);;
     *) # This is not an option, so the user has probably given explicit
        # arguments.
  -     ac_option=$1
        ac_need_defaults=false;;
     esac
   
  -  case $ac_option in
  +  case $1 in
     # Handling of the options.
   _ACEOF
  -cat >>$CONFIG_STATUS <<\_ACEOF
  +cat >>$CONFIG_STATUS <<_ACEOF
     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  -    ac_cs_recheck=: ;;
  +    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  +    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  +_ACEOF
  +cat >>$CONFIG_STATUS <<\_ACEOF
     --version | --vers* | -V )
       echo "$ac_cs_version"; exit 0 ;;
     --he | --h)
  @@ -5019,16 +4623,13 @@
     --debug | --d* | -d )
       debug=: ;;
     --file | --fil | --fi | --f )
  -    $ac_shift
  -    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  +    shift
  +    CONFIG_FILES="$CONFIG_FILES $1"
       ac_need_defaults=false;;
     --header | --heade | --head | --hea )
  -    $ac_shift
  -    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  +    shift
  +    CONFIG_HEADERS="$CONFIG_HEADERS $1"
       ac_need_defaults=false;;
  -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  -  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  -    ac_cs_silent=: ;;
   
     # This is an error.
     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  @@ -5043,20 +4644,6 @@
     shift
   done
   
  -ac_configure_extra_args=
  -
  -if $ac_cs_silent; then
  -  exec 6>/dev/null
  -  ac_configure_extra_args="$ac_configure_extra_args --silent"
  -fi
  -
  -_ACEOF
  -cat >>$CONFIG_STATUS <<_ACEOF
  -if \$ac_cs_recheck; then
  -  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  -  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  -fi
  -
   _ACEOF
   
   
  @@ -5095,9 +4682,6 @@
     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   fi
   
  -# Have a temporary directory for convenience.  Make it in the build tree
  -# simply because there is no reason to put it here, and in addition,
  -# creating and moving files from /tmp can sometimes cause problems.
   # Create a temporary directory, and hook for its removal unless debugging.
   $debug ||
   {
  @@ -5106,17 +4690,17 @@
   }
   
   # Create a (secure) tmp directory for tmp files.
  -
  +: ${TMPDIR=/tmp}
   {
  -  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  +  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
     test -n "$tmp" && test -d "$tmp"
   }  ||
   {
  -  tmp=./confstat$$-$RANDOM
  +  tmp=$TMPDIR/cs$$-$RANDOM
     (umask 077 && mkdir $tmp)
   } ||
   {
  -   echo "$me: cannot create a temporary directory in ." >&2
  +   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
      { (exit 1); exit 1; }
   }
   
  @@ -5182,7 +4766,6 @@
   s,@AUTOCONF@,$AUTOCONF,;t t
   s,@CPP@,$CPP,;t t
   s,@CXXCPP@,$CXXCPP,;t t
  -s,@EGREP@,$EGREP,;t t
   s,@build@,$build,;t t
   s,@build_cpu@,$build_cpu,;t t
   s,@build_vendor@,$build_vendor,;t t
  @@ -5242,8 +4825,6 @@
   s,@lib_name@,$lib_name,;t t
   s,@lib_major_name@,$lib_major_name,;t t
   s,@lib_short_name@,$lib_short_name,;t t
  -s,@LIBOBJS@,$LIBOBJS,;t t
  -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   CEOF
   
   _ACEOF
  @@ -5314,30 +4895,25 @@
     	  /^X\(\/\/\)$/{ s//\1/; q; }
     	  /^X\(\/\).*/{ s//\1/; q; }
     	  s/.*/./; q'`
  -  { if $as_mkdir_p; then
  -    mkdir -p "$ac_dir"
  -  else
  -    as_dir="$ac_dir"
  -    as_dirs=
  -    while test ! -d "$as_dir"; do
  -      as_dirs="$as_dir $as_dirs"
  -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
  -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  -         X"$as_dir" : 'X\(//\)[^/]' \| \
  -         X"$as_dir" : 'X\(//\)$' \| \
  -         X"$as_dir" : 'X\(/\)' \| \
  -         .     : '\(.\)' 2>/dev/null ||
  -echo X"$as_dir" |
  -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  -  	  /^X\(\/\/\)$/{ s//\1/; q; }
  -  	  /^X\(\/\).*/{ s//\1/; q; }
  -  	  s/.*/./; q'`
  -    done
  -    test ! -n "$as_dirs" || mkdir $as_dirs
  -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  -   { (exit 1); exit 1; }; }; }
  +  { case "$ac_dir" in
  +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  +  *)                      as_incr_dir=.;;
  +esac
  +as_dummy="$ac_dir"
  +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
  +  case $as_mkdir_dir in
  +    # Skip DOS drivespec
  +    ?:) as_incr_dir=$as_mkdir_dir ;;
  +    *)
  +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
  +      test -d "$as_incr_dir" ||
  +        mkdir "$as_incr_dir" ||
  +	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
  +echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
  +   { (exit 1); exit 1; }; }
  +    ;;
  +  esac
  +done; }
   
     ac_builddir=.
   
  @@ -5367,7 +4943,7 @@
   # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
   # absolute.
   ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
   ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
   ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
   
  @@ -5557,7 +5133,7 @@
   # Break up conftest.defines because some shells have a limit on the size
   # of here documents, and old seds have small limits too (100 cmds).
   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  -echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  +echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   echo '  :' >>$CONFIG_STATUS
   rm -f conftest.tail
  @@ -5581,7 +5157,7 @@
     mv conftest.tail conftest.defines
   done
   rm -f conftest.defines
  -echo '  fi # grep' >>$CONFIG_STATUS
  +echo '  fi # egrep' >>$CONFIG_STATUS
   echo >>$CONFIG_STATUS
   
   # Break up conftest.undefs because some shells have a limit on the size
  @@ -5621,7 +5197,7 @@
     cat $tmp/in >>$tmp/config.h
     rm -f $tmp/in
     if test x"$ac_file" != x-; then
  -    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  +    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
         { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   echo "$as_me: $ac_file is unchanged" >&6;}
       else
  @@ -5637,30 +5213,25 @@
     	  /^X\(\/\/\)$/{ s//\1/; q; }
     	  /^X\(\/\).*/{ s//\1/; q; }
     	  s/.*/./; q'`
  -      { if $as_mkdir_p; then
  -    mkdir -p "$ac_dir"
  -  else
  -    as_dir="$ac_dir"
  -    as_dirs=
  -    while test ! -d "$as_dir"; do
  -      as_dirs="$as_dir $as_dirs"
  -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
  -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  -         X"$as_dir" : 'X\(//\)[^/]' \| \
  -         X"$as_dir" : 'X\(//\)$' \| \
  -         X"$as_dir" : 'X\(/\)' \| \
  -         .     : '\(.\)' 2>/dev/null ||
  -echo X"$as_dir" |
  -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  -  	  /^X\(\/\/\)$/{ s//\1/; q; }
  -  	  /^X\(\/\).*/{ s//\1/; q; }
  -  	  s/.*/./; q'`
  -    done
  -    test ! -n "$as_dirs" || mkdir $as_dirs
  -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  -   { (exit 1); exit 1; }; }; }
  +      { case "$ac_dir" in
  +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  +  *)                      as_incr_dir=.;;
  +esac
  +as_dummy="$ac_dir"
  +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
  +  case $as_mkdir_dir in
  +    # Skip DOS drivespec
  +    ?:) as_incr_dir=$as_mkdir_dir ;;
  +    *)
  +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
  +      test -d "$as_incr_dir" ||
  +        mkdir "$as_incr_dir" ||
  +	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
  +echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
  +   { (exit 1); exit 1; }; }
  +    ;;
  +  esac
  +done; }
   
         rm -f $ac_file
         mv $tmp/config.h $ac_file
  @@ -5690,11 +5261,8 @@
   # need to make the FD available again.
   if test "$no_create" != yes; then
     ac_cs_success=:
  -  ac_config_status_args=
  -  test "$silent" = yes &&
  -    ac_config_status_args="$ac_config_status_args --quiet"
     exec 5>/dev/null
  -  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  +  $SHELL $CONFIG_STATUS || ac_cs_success=false
     exec 5>>config.log
     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     # would make configure fail if this is the last instruction.
  
  
  
  1.12      +4 -4      xml-security/c/src/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/configure.ac,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- configure.ac	31 May 2003 23:23:35 -0000	1.11
  +++ configure.ac	31 May 2003 23:41:04 -0000	1.12
  @@ -188,8 +188,8 @@
   						CC4=["${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
   						MAKE_SHARED=["${CXX} ${CXXFLAGS} -DSOLARIS -shared ${PIC}"]
   						LINK=["${CXX} ${CXXFLAGS} -DSOLARIS ${PIC}"]
  -						LINK_COMMAND_1=["(cd \$(LIB_DIR) \; rm -f \$(LIBMAJORNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"]
  -						LINK_COMMAND_2=["(cd \$(LIB_DIR) \; rm -f \$(LIBSHORTNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"]
  +						LINK_COMMAND_1=["(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"]
  +						LINK_COMMAND_2=["(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"]
   						INSTALL_COMMAND_1=["\$(INSTALL) \${THISLIB} \${libdir}"]
   						INSTALL_COMMAND_2=["\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBMAJORNAME}"]
   						INSTALL_COMMAND_3=["\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBSHORTNAME}"]
  @@ -216,8 +216,8 @@
   						CC4=["${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
   						MAKE_SHARED=["${CXX} ${CXXFLAGS} -Wl,-soname,\$(LIBNAME) -DLINUX -shared ${PIC}"]
   						LINK=["${CXX} ${CXXFLAGS} -DLINUX ${PIC}"]
  -						LINK_COMMAND_1=["(cd \$(LIB_DIR) \; rm -f \$(LIBMAJORNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"]
  -						LINK_COMMAND_2=["(cd \$(LIB_DIR) \; rm -f \$(LIBSHORTNAME) \; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"]
  +						LINK_COMMAND_1=["(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"]
  +						LINK_COMMAND_2=["(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"]
   						INSTALL_COMMAND_1=["\$(INSTALL) \${THISLIB} \${libdir}"]
   						INSTALL_COMMAND_2=["\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBMAJORNAME}"]
   						INSTALL_COMMAND_3=["\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME} \${libdir}/\${LIBSHORTNAME}"]