dmitryh     2004/04/06 08:08:45

  Modified:    c        Makefile.in Makefile.incl.in configure configure.in
                        runConfigure
               c/Tests  Makefile.in
               c/samples Makefile.in
               c/src/xalanc Makefile.in
               c/src/xalanc/Include PlatformDefinitions.hpp
               c/src/xalanc/PlatformSupport DirectoryEnumerator.hpp
               c/src/xalanc/Utils Makefile.in
               c/src/xalanc/Utils/MsgCreator Makefile.in
               c/src/xalanc/Utils/XalanMsgLib Makefile.in
  Added:       c/src/xalanc/Include CygwinDefinitions.hpp
  Log:
  Changes for a cygwin build
  
  Revision  Changes    Path
  1.10      +2 -0      xml-xalan/c/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Makefile.in,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Makefile.in       3 Mar 2004 14:20:28 -0000       1.9
  +++ Makefile.in       6 Apr 2004 15:08:44 -0000       1.10
  @@ -19,6 +19,8 @@
   INSTALL_DATA = @INSTALL_DATA@
   INSTALL_SCRIPT = @INSTALL_SCRIPT@
   
  +.PHONY: samples Samples tests Tests
  +
   include Makefile.incl
   
   all: 
  
  
  
  1.17      +39 -1     xml-xalan/c/Makefile.incl.in
  
  Index: Makefile.incl.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Makefile.incl.in,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Makefile.incl.in  4 Apr 2004 18:30:02 -0000       1.16
  +++ Makefile.incl.in  6 Apr 2004 15:08:44 -0000       1.17
  @@ -89,7 +89,7 @@
   LOC_LIB = ${LOC_LIBNAME}$(SHLIBSUFFIX).${LIB_MAJOR_VER}.${LIB_MINOR_VER}
   LOC_SONAME = ${LOC_LIBNAME}${SHLIBSUFFIX}.${LIB_MAJOR_VER}
   MESSAGELIB = ${XSL_LIB_DIR}/${LOC_LIB}
  -
  +EXTRA_LOC_LINK_OPTIONS = $(EXTRA_LINK_OPTIONS)
   
   ifeq ($(MESSAGELOADER),NLS)
   LOCAL_LIB =
  @@ -105,6 +105,44 @@
   LOCAL_LIB = -L${XSL_LIB_DIR} -l$(LOC_PROJECT_NAME)
   endif
   
  +#=============== CYGWIN SPECIFIC OPTIONS =========================
  +
  +ifeq ($(PLATFORM), CYGWIN)
  +
  +  SUPPORTED = TRUE
  +  ALLLIBS = $(LIBS)
  +  SHLIBSUFFIX = .dll
  +  CYG_PREFIX = cyg
  +  LINK_SONAME =  
  +  EXT=.exe
  +    
  +  MESSAGELIB = 
${XSL_LIB_DIR}/$(CYG_PREFIX)$(LOC_PROJECT_NAME)$(LIB_MAJOR_VER)$(SHLIBSUFFIX)
  +  
  +  LIB = $(CYG_PREFIX)$(PROJECT_NAME)$(LIB_MAJOR_VER)$(SHLIBSUFFIX)
  +
  +  PLATFORM_COMPILE_OPTIONS = -Wall -D${PLATFORM} -D_REENTRANT
  +              
  +  CC1 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
  +  CC4 = $(CC1)
  +  LINK = $(CXX) -D${PLATFORM}
  +   
  +  MAKE_SHARED = $(LINK) $(CXXFLAGS) -shared   -Wl,--warn-once \
  +                                                                             
          -Wl,--out-implib \
  +                                                                             
          
-Wl,$(XSL_LIB_DIR)/$(LIB_NAME)$(SHLIBSUFFIX).$(LIB_MAJOR_VER).$(LIB_MINOR_VER)
  +                                                                             
                                                                                
                                                                            
  +  MAKE_SHARED_LOC = $(LINK) $(CXXFLAGS) -shared -Wl,--warn-once \
  +                                                                             
                -Wl,--out-implib \
  +                                                                             
        -Wl,$(XSL_LIB_DIR)/$(LOC_LIB)
  +
  +  LOC_OTHER_LINK_PARAMETERS = $(XERCES_LIB)
  +  
  +  OTHER_LINK_PARAMETERS = $(XALAN_LIB) $(ALLLIBS)
  +  
  +  OTHER_LINK_LIB_PARAMERES = $(ALLLIBS)
  +   
  +  export PATH := $(XERCESCROOT)/lib:$(ICUROOT)/lib:$(PATH)
  + 
  +endif
   
   #=============== LINUX SPECIFIC OPTIONS =========================
   
  
  
  
  1.6       +421 -210  xml-xalan/c/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/configure,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- configure 6 Feb 2004 08:39:35 -0000       1.5
  +++ configure 6 Apr 2004 15:08:44 -0000       1.6
  @@ -1,9 +1,8 @@
   #! /bin/sh
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated by GNU Autoconf 2.57.
  +# Generated by GNU Autoconf 2.59.
   #
  -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  -# Free Software Foundation, Inc.
  +# Copyright (C) 2003 Free Software Foundation, Inc.
   # This configure script is free software; the Free Software Foundation
   # gives unlimited permission to copy, distribute and modify it.
   ## --------------------- ##
  @@ -20,9 +19,10 @@
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
  +DUALCASE=1; export DUALCASE # for MKS sh
   
   # Support unset when possible.
  -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     as_unset=unset
   else
     as_unset=false
  @@ -41,7 +41,7 @@
     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
  +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       eval $as_var=C; export $as_var
     else
       $as_unset $as_var
  @@ -218,16 +218,17 @@
   if mkdir -p . 2>/dev/null; then
     as_mkdir_p=:
   else
  +  test -d ./-p && rmdir ./-p
     as_mkdir_p=false
   fi
   
   as_executable_p="test -f"
   
   # Sed expression to map a string onto a valid CPP name.
  -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  +as_tr_cpp="eval sed 
'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   
   # Sed expression to map a string onto a valid variable name.
  -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   
   
   # IFS
  @@ -271,7 +272,7 @@
   PACKAGE_BUGREPORT=
   
   ac_unique_file="src/xalanc/PlatformSupport/PlatformSupportDefinitions.hpp"
  -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 AUTOCONF build build_cpu build_vendor build_os host 
host_cpu host_vendor host_os CXXCPP EGREP platform cxx cc osver cxxflags 
cppflags cflags ldflags libs transcoder xalan_locale_system xalan_locale 
wcstombs threads bitstobuild LIBOBJS LTLIBOBJS'
  +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 AUTOCONF build build_cpu build_vendor build_os host 
host_cpu host_vendor host_os CXXCPP EGREP platform cxx cc osver osvariant 
cxxflags cppflags cflags ldflags libs transcoder xalan_locale_system 
xalan_locale wcstombs threads bitstobuild LIBOBJS LTLIBOBJS'
   ac_subst_files=''
   
   # Initialize some variables set by options.
  @@ -630,7 +631,7 @@
   
   # Be sure to have absolute paths.
   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  -              localstatedir libdir includedir oldincludedir infodir mandir
  +           localstatedir libdir includedir oldincludedir infodir mandir
   do
     eval ac_val=$`echo $ac_var`
     case $ac_val in
  @@ -670,10 +671,10 @@
     # Try the directory containing this script, then its parent.
     ac_confdir=`(dirname "$0") 2>/dev/null ||
   $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  -         X"$0" : 'X\(//\)[^/]' \| \
  -         X"$0" : 'X\(//\)$' \| \
  -         X"$0" : 'X\(/\)' \| \
  -         .     : '\(.\)' 2>/dev/null ||
  +      X"$0" : 'X\(//\)[^/]' \| \
  +      X"$0" : 'X\(//\)$' \| \
  +      X"$0" : 'X\(/\)' \| \
  +      .     : '\(.\)' 2>/dev/null ||
   echo X"$0" |
       sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  @@ -773,9 +774,9 @@
     cat <<_ACEOF
   Installation directories:
     --prefix=PREFIX         install architecture-independent files in PREFIX
  -                          [$ac_default_prefix]
  +                       [$ac_default_prefix]
     --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  -                          [PREFIX]
  +                       [PREFIX]
   
   By default, \`make install' will install all the files in
   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  @@ -858,12 +859,45 @@
       ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
       ac_top_srcdir=$ac_top_builddir$srcdir ;;
   esac
  -# 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_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  +
  +# Do not use `cd foo && pwd` to compute absolute paths, because
  +# the directories may not exist.
  +case `pwd` in
  +.) ac_abs_builddir="$ac_dir";;
  +*)
  +  case "$ac_dir" in
  +  .) ac_abs_builddir=`pwd`;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  +*)
  +  case ${ac_top_builddir}. in
  +  .) ac_abs_top_builddir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_srcdir=$ac_srcdir;;
  +*)
  +  case $ac_srcdir in
  +  .) ac_abs_srcdir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  +*)
  +  case $ac_top_srcdir in
  +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  +  esac;;
  +esac
   
       cd $ac_dir
       # Check for guested configure; otherwise get Cygnus style configure.
  @@ -874,7 +908,7 @@
         echo
         $SHELL $ac_srcdir/configure  --help=recursive
       elif test -f $ac_srcdir/configure.ac ||
  -           test -f $ac_srcdir/configure.in; then
  +        test -f $ac_srcdir/configure.in; then
         echo
         $ac_configure --help
       else
  @@ -888,8 +922,7 @@
   if $ac_init_version; then
     cat <<\_ACEOF
   
  -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  -Free Software Foundation, Inc.
  +Copyright (C) 2003 Free Software Foundation, Inc.
   This configure script is free software; the Free Software Foundation
   gives unlimited permission to copy, distribute and modify it.
   _ACEOF
  @@ -901,7 +934,7 @@
   running configure, to aid debugging if configure makes a mistake.
   
   It was created by $as_me, which was
  -generated by GNU Autoconf 2.57.  Invocation command line was
  +generated by GNU Autoconf 2.59.  Invocation command line was
   
     $ $0 $@
   
  @@ -978,19 +1011,19 @@
       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.
  +     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
  +     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.
  @@ -1024,12 +1057,12 @@
       case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
       *ac_space=\ *)
         sed -n \
  -        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  -       
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  +     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  +       
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
         ;;
       *)
         sed -n \
  -        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  +     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
         ;;
       esac;
   }
  @@ -1058,7 +1091,7 @@
         for ac_var in $ac_subst_files
         do
        eval ac_val=$`echo $ac_var`
  -        echo "$ac_var='"'"'$ac_val'"'"'"
  +     echo "$ac_var='"'"'$ac_val'"'"'"
         done | sort
         echo
       fi
  @@ -1077,7 +1110,7 @@
         echo "$as_me: caught signal $ac_signal"
       echo "$as_me: exit $exit_status"
     } >&5
  -  rm -f core core.* *.core &&
  +  rm -f core *.core &&
     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
       exit $exit_status
        ' 0
  @@ -1157,7 +1190,7 @@
   # value.
   ac_cache_corrupted=false
   for ac_var in `(set) 2>&1 |
  -               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  +            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     eval ac_old_set=\$ac_cv_env_${ac_var}_set
     eval ac_new_set=\$ac_env_${ac_var}_set
     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  @@ -1174,13 +1207,13 @@
       ,);;
       *)
         if test "x$ac_old_val" != "x$ac_new_val"; then
  -        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the 
previous run:" >&5
  +     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the 
previous run:" >&5
   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  -        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  +     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   echo "$as_me:   former value:  $ac_old_val" >&2;}
  -        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  +     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   echo "$as_me:   current value: $ac_new_val" >&2;}
  -        ac_cache_corrupted=:
  +     ac_cache_corrupted=:
         fi;;
     esac
     # Pass precious variables to config.status.
  @@ -1565,7 +1598,6 @@
     (exit $ac_status); }
   
   cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -1585,8 +1617,8 @@
   # 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.
  -echo "$as_me:$LINENO: checking for C compiler default output" >&5
  -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" 
>&6
   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     (eval $ac_link_default) 2>&5
  @@ -1606,23 +1638,23 @@
     test -f "$ac_file" || continue
     case $ac_file in
       *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o 
| *.obj )
  -        ;;
  +     ;;
       conftest.$ac_ext )
  -        # This is the source file.
  -        ;;
  +     # This is the source file.
  +     ;;
       [ab].out )
  -        # We found the default executable, but exeext='' is most
  -        # certainly right.
  -        break;;
  +     # 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;;
  +     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;;
  +     break;;
     esac
   done
   else
  @@ -1696,8 +1728,8 @@
     case $ac_file in
       *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o 
| *.obj ) ;;
       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  -          export ac_cv_exeext
  -          break;;
  +       export ac_cv_exeext
  +       break;;
       * ) break;;
     esac
   done
  @@ -1722,7 +1754,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -1773,7 +1804,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -1793,11 +1823,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -1810,7 +1850,7 @@
   
   ac_compiler_gnu=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cv_c_compiler_gnu=$ac_compiler_gnu
   
   fi
  @@ -1826,7 +1866,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -1843,11 +1882,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -1860,7 +1909,7 @@
   
   ac_cv_prog_cc_g=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  @@ -1887,7 +1936,6 @@
     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
  @@ -1915,6 +1963,16 @@
     va_end (v);
     return s;
   }
  +
  +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  +   function prototypes and stuff, but not '\xHH' hex character constants.
  +   These don't provoke an error unfortunately, instead are silently treated
  +   as 'x'.  The following induces an error, until -std1 is added to get
  +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  +   array size at least.  It's necessary to write '\x00'==0 to get something
  +   that's true only with -std1.  */
  +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  +
   int test (int i, double x);
   struct s1 {int (*f) (int a);};
   struct s2 {int (*f) (double a);};
  @@ -1941,11 +1999,21 @@
     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
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -1958,7 +2026,7 @@
   sed 's/^/| /' conftest.$ac_ext >&5
   
   fi
  -rm -f conftest.$ac_objext
  +rm -f conftest.err conftest.$ac_objext
   done
   rm -f conftest.$ac_ext conftest.$ac_objext
   CC=$ac_save_CC
  @@ -1986,19 +2054,28 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { 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
     for ac_declaration in \
  -   ''\
  -   '#include <stdlib.h>' \
  +   '' \
      'extern "C" void std::exit (int) throw (); using std::exit;' \
      'extern "C" void std::exit (int); using std::exit;' \
      'extern "C" void exit (int) throw ();' \
  @@ -2006,14 +2083,13 @@
      'void exit (int);'
   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 <stdlib.h>
   $ac_declaration
  +#include <stdlib.h>
   int
   main ()
   {
  @@ -2024,11 +2100,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2041,9 +2127,8 @@
   
   continue
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2060,11 +2145,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_c_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2076,7 +2171,7 @@
   sed 's/^/| /' conftest.$ac_ext >&5
   
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   done
   rm -f conftest*
   if test -n "$ac_declaration"; then
  @@ -2090,7 +2185,7 @@
   sed 's/^/| /' conftest.$ac_ext >&5
   
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  @@ -2216,7 +2311,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2236,11 +2330,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2253,7 +2357,7 @@
   
   ac_compiler_gnu=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   
   fi
  @@ -2269,7 +2373,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2286,11 +2389,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2303,7 +2416,7 @@
   
   ac_cv_prog_cxx_g=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
  @@ -2323,8 +2436,7 @@
     fi
   fi
   for ac_declaration in \
  -   ''\
  -   '#include <stdlib.h>' \
  +   '' \
      'extern "C" void std::exit (int) throw (); using std::exit;' \
      'extern "C" void std::exit (int); using std::exit;' \
      'extern "C" void exit (int) throw ();' \
  @@ -2332,14 +2444,13 @@
      'void exit (int);'
   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 <stdlib.h>
   $ac_declaration
  +#include <stdlib.h>
   int
   main ()
   {
  @@ -2350,11 +2461,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2367,9 +2488,8 @@
   
   continue
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2386,11 +2506,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2402,7 +2532,7 @@
   sed 's/^/| /' conftest.$ac_ext >&5
   
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   done
   rm -f conftest*
   if test -n "$ac_declaration"; then
  @@ -2453,6 +2583,7 @@
   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  +# OS/2's system install, which has a completely different semantic
   # ./install, which can be erroneously created by make from ./install.sh.
   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  @@ -2469,6 +2600,7 @@
   case $as_dir/ in
     ./ | .// | /cC/* | \
     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     /usr/ucb/* ) ;;
     *)
       # OSF1 and SCO ODT 3.0 have their own names for install.
  @@ -2476,20 +2608,20 @@
       # by default.
       for ac_prog in ginstall scoinst install; do
         for ac_exec_ext in '' $ac_executable_extensions; do
  -        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  -          if test $ac_prog = install &&
  -            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  -            # AIX install.  It has an incompatible calling convention.
  -            :
  -          elif test $ac_prog = install &&
  -            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  -            # program-specific install script used by HP pwplus--don't use.
  -            :
  -          else
  -            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  -            break 3
  -          fi
  -        fi
  +     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  +       if test $ac_prog = install &&
  +         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  +         # AIX install.  It has an incompatible calling convention.
  +         :
  +       elif test $ac_prog = install &&
  +         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  +         # program-specific install script used by HP pwplus--don't use.
  +         :
  +       else
  +         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  +         break 3
  +       fi
  +     fi
         done
       done
       ;;
  @@ -2575,7 +2707,6 @@
   
   
   cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2592,11 +2723,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2612,7 +2753,7 @@
       echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext;
  +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
   
   fi
   
  @@ -2691,6 +2832,7 @@
           *-apple-darwin*)       platform=MACOSX ;;
           *-*-os400*)     platform=OS400 ;;
           *-*-OS400*)     platform=OS400 ;;
  +        *-*-cygwin*)    platform=CYGWIN ;;
           *)              platform=UNKNOWN ;;
   esac
   
  @@ -2704,7 +2846,6 @@
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lm  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2728,11 +2869,21 @@
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  -  (eval $ac_link) 2>&5
  +  (eval $ac_link) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest$ac_exeext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -2745,7 +2896,8 @@
   
   ac_cv_lib_m_floor=no
   fi
  -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext \
  +      conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
  @@ -2785,7 +2937,6 @@
     # 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
  @@ -2796,7 +2947,7 @@
   #else
   # include <assert.h>
   #endif
  -                     Syntax error
  +                  Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  @@ -2808,6 +2959,7 @@
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
  +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     else
       ac_cpp_err=
     fi
  @@ -2828,7 +2980,6 @@
     # OK, works on sane cases.  Now check whether non-existent headers
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2846,6 +2997,7 @@
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
  +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     else
       ac_cpp_err=
     fi
  @@ -2892,7 +3044,6 @@
     # 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
  @@ -2903,7 +3054,7 @@
   #else
   # include <assert.h>
   #endif
  -                     Syntax error
  +                  Syntax error
   _ACEOF
   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  @@ -2915,6 +3066,7 @@
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
  +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     else
       ac_cpp_err=
     fi
  @@ -2935,7 +3087,6 @@
     # OK, works on sane cases.  Now check whether non-existent headers
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -2953,6 +3104,7 @@
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
  +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     else
       ac_cpp_err=
     fi
  @@ -3013,7 +3165,6 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -3034,11 +3185,21 @@
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  -  (eval $ac_compile) 2>&5
  +  (eval $ac_compile) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest.$ac_objext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -3051,12 +3212,11 @@
   
   ac_cv_header_stdc=no
   fi
  -rm -f conftest.$ac_objext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext 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
  @@ -3078,7 +3238,6 @@
   if test $ac_cv_header_stdc = yes; then
     # 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
  @@ -3103,7 +3262,6 @@
     :
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -3115,9 +3273,9 @@
   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   #else
   # define ISLOWER(c) \
  -                   (('a' <= (c) && (c) <= 'i') \
  -                     || ('j' <= (c) && (c) <= 'r') \
  -                     || ('s' <= (c) && (c) <= 'z'))
  +                (('a' <= (c) && (c) <= 'i') \
  +                  || ('j' <= (c) && (c) <= 'r') \
  +                  || ('s' <= (c) && (c) <= 'z'))
   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   #endif
   
  @@ -3128,7 +3286,7 @@
     int i;
     for (i = 0; i < 256; i++)
       if (XOR (islower (i), ISLOWER (i))
  -        || toupper (i) != TOUPPER (i))
  +     || toupper (i) != TOUPPER (i))
         exit(2);
     exit (0);
   }
  @@ -3153,7 +3311,7 @@
   ( 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 gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
   fi
   fi
   fi
  @@ -3177,21 +3335,28 @@
     echo $ECHO_N "(cached) $ECHO_C" >&6
   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.  */
  +/* Define $ac_func to an innocuous variant, in case <limits.h> declares 
$ac_func.
  +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  +#define $ac_func innocuous_$ac_func
  +
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char $ac_func (); below.
       Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       <limits.h> exists even on freestanding compilers.  */
  +
   #ifdef __STDC__
   # include <limits.h>
   #else
   # include <assert.h>
   #endif
  +
  +#undef $ac_func
  +
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
  @@ -3222,11 +3387,21 @@
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  -  (eval $ac_link) 2>&5
  +  (eval $ac_link) 2>conftest.er1
     ac_status=$?
  +  grep -v '^ *+' conftest.er1 >conftest.err
  +  rm -f conftest.er1
  +  cat conftest.err >&5
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
  -         { ac_try='test -s conftest$ac_exeext'
  +      { ac_try='test -z "$ac_cxx_werror_flag"
  +                      || test ! -s conftest.err'
  +  { (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); }; } &&
  +      { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
  @@ -3239,7 +3414,8 @@
   
   eval "$as_ac_var=no"
   fi
  -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  +rm -f conftest.err conftest.$ac_objext \
  +      conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  @@ -3262,7 +3438,6 @@
   echo "${ECHO_T}cross-compiling default" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
  -#line $LINENO "configure"
   /* confdefs.h.  */
   _ACEOF
   cat confdefs.h >>conftest.$ac_ext
  @@ -3307,7 +3482,7 @@
         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 gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
   fi
   fi
   
  @@ -3323,6 +3498,8 @@
   
   
   
  +
  +
   cxxflags=${CXXFLAGS}
   
   
  @@ -3386,13 +3563,13 @@
         # `set' does not quote correctly, so add quotes (double-quote
         # substitution turns \\\\ into \\, and sed turns \\ into \).
         sed -n \
  -        "s/'/'\\\\''/g;
  -       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  +     "s/'/'\\\\''/g;
  +       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
         ;;
       *)
         # `set' quotes correctly as required by POSIX, so do not add quotes.
         sed -n \
  -        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  +     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
         ;;
       esac;
   } |
  @@ -3422,13 +3599,13 @@
   # trailing colons and then remove the whole line if VPATH becomes empty
   # (actually we leave an empty line to preserve line numbers).
   if test "x$srcdir" = x.; then
  -  ac_vpsub='/^[      ]*VPATH[        ]*=/{
  +  ac_vpsub='/^[       ]*VPATH[        ]*=/{
   s/:*\$(srcdir):*/:/;
   s/:*\${srcdir}:*/:/;
   s/:[EMAIL PROTECTED]@:*/:/;
  -s/^\([^=]*=[         ]*\):*/\1/;
  +s/^\([^=]*=[  ]*\):*/\1/;
   s/:*$//;
  -s/^[^=]*=[   ]*$//;
  +s/^[^=]*=[    ]*$//;
   }'
   fi
   
  @@ -3442,13 +3619,13 @@
   cat >confdef2opt.sed <<\_ACEOF
   t clear
   : clear
  -s,^[         ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   
]*\(.*\),-D\1=\2,g
  +s,^[  ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   
]*\(.*\),-D\1=\2,g
   t quote
  -s,^[         ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   
]*\(.*\),-D\1=\2,g
  +s,^[  ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   
]*\(.*\),-D\1=\2,g
   t quote
   d
   : quote
  -s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
  +s,[   `~#$^&*(){}\\|;'"<>?],\\&,g
   s,\[,\\&,g
   s,\],\\&,g
   s,\$,$$,g
  @@ -3470,7 +3647,7 @@
   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$//'`
  +      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'
  @@ -3514,9 +3691,10 @@
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
  +DUALCASE=1; export DUALCASE # for MKS sh
   
   # Support unset when possible.
  -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     as_unset=unset
   else
     as_unset=false
  @@ -3535,7 +3713,7 @@
     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
  +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       eval $as_var=C; export $as_var
     else
       $as_unset $as_var
  @@ -3714,16 +3892,17 @@
   if mkdir -p . 2>/dev/null; then
     as_mkdir_p=:
   else
  +  test -d ./-p && rmdir ./-p
     as_mkdir_p=false
   fi
   
   as_executable_p="test -f"
   
   # Sed expression to map a string onto a valid CPP name.
  -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  +as_tr_cpp="eval sed 
'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   
   # Sed expression to map a string onto a valid variable name.
  -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   
   
   # IFS
  @@ -3750,7 +3929,7 @@
   cat >&5 <<_CSEOF
   
   This file was extended by $as_me, which was
  -generated by GNU Autoconf 2.57.  Invocation command line was
  +generated by GNU Autoconf 2.59.  Invocation command line was
   
     CONFIG_FILES    = $CONFIG_FILES
     CONFIG_HEADERS  = $CONFIG_HEADERS
  @@ -3794,7 +3973,7 @@
     -d, --debug      don't remove temporary files
         --recheck    update $as_me by reconfiguring in the same conditions
     --file=FILE[:TEMPLATE]
  -                   instantiate the configuration file FILE
  +                instantiate the configuration file FILE
   
   Configuration files:
   $config_files
  @@ -3805,11 +3984,10 @@
   cat >>$CONFIG_STATUS <<_ACEOF
   ac_cs_version="\\
   config.status
  -configured by $0, generated by GNU Autoconf 2.57,
  +configured by $0, generated by GNU Autoconf 2.59,
     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   
  -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  -Free Software Foundation, Inc.
  +Copyright (C) 2003 Free Software Foundation, Inc.
   This config.status script is free software; the Free Software Foundation
   gives unlimited permission to copy, distribute and modify it."
   srcdir=$srcdir
  @@ -4070,9 +4248,9 @@
         (echo ':t
     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) 
>$tmp/subs-$ac_sed_frag.sed
         if test -z "$ac_sed_cmds"; then
  -     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  +     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
         else
  -     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  +     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
         fi
         ac_sed_frag=`expr $ac_sed_frag + 1`
         ac_beg=$ac_end
  @@ -4090,21 +4268,21 @@
     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     case $ac_file in
     - | *:- | *:-:* ) # input from stdin
  -        cat >$tmp/stdin
  -        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  +     cat >$tmp/stdin
  +     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  +     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  +     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     * )   ac_file_in=$ac_file.in ;;
     esac
   
     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  -         X"$ac_file" : 'X\(//\)[^/]' \| \
  -         X"$ac_file" : 'X\(//\)$' \| \
  -         X"$ac_file" : 'X\(/\)' \| \
  -         .     : '\(.\)' 2>/dev/null ||
  +      X"$ac_file" : 'X\(//\)[^/]' \| \
  +      X"$ac_file" : 'X\(//\)$' \| \
  +      X"$ac_file" : 'X\(/\)' \| \
  +      .     : '\(.\)' 2>/dev/null ||
   echo X"$ac_file" |
       sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  @@ -4120,10 +4298,10 @@
         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 ||
  +      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; }
  @@ -4161,12 +4339,45 @@
       ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
       ac_top_srcdir=$ac_top_builddir$srcdir ;;
   esac
  -# 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_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  +
  +# Do not use `cd foo && pwd` to compute absolute paths, because
  +# the directories may not exist.
  +case `pwd` in
  +.) ac_abs_builddir="$ac_dir";;
  +*)
  +  case "$ac_dir" in
  +  .) ac_abs_builddir=`pwd`;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  +*)
  +  case ${ac_top_builddir}. in
  +  .) ac_abs_top_builddir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_srcdir=$ac_srcdir;;
  +*)
  +  case $ac_srcdir in
  +  .) ac_abs_srcdir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  +  esac;;
  +esac
  +case $ac_abs_builddir in
  +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  +*)
  +  case $ac_top_srcdir in
  +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  +  esac;;
  +esac
   
   
     case $INSTALL in
  @@ -4188,7 +4399,7 @@
       configure_input="$ac_file.  "
     fi
     configure_input=$configure_input"Generated from `echo $ac_file_in |
  -                                     sed 's,.*/,,'` by configure."
  +                                  sed 's,.*/,,'` by configure."
   
     # First look for the input files in the build tree, otherwise in the
     # src tree.
  @@ -4197,24 +4408,24 @@
         case $f in
         -) echo $tmp/stdin ;;
         [\\/$]*)
  -         # Absolute (can't be DOS-style, as IFS=:)
  -         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
  +      # Absolute (can't be DOS-style, as IFS=:)
  +      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
  -         echo $f;;
  +      echo "$f";;
         *) # Relative
  -         if test -f "$f"; then
  -           # Build tree
  -           echo $f
  -         elif test -f "$srcdir/$f"; then
  -           # Source tree
  -           echo $srcdir/$f
  -         else
  -           # /dev/null tree
  -           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  +      if test -f "$f"; then
  +        # Build tree
  +        echo "$f"
  +      elif test -f "$srcdir/$f"; then
  +        # Source tree
  +        echo "$srcdir/$f"
  +      else
  +        # /dev/null tree
  +        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
  -         fi;;
  +      fi;;
         esac
       done` || { (exit 1); exit 1; }
   _ACEOF
  
  
  
  1.7       +1 -0      xml-xalan/c/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/configure.in,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- configure.in      6 Feb 2004 08:39:35 -0000       1.6
  +++ configure.in      6 Apr 2004 15:08:44 -0000       1.7
  @@ -60,6 +60,7 @@
           *-apple-darwin*)       platform=MACOSX ;;
           *-*-os400*)     platform=OS400 ;;
           *-*-OS400*)     platform=OS400 ;;
  +        *-*-cygwin*)    platform=CYGWIN ;;
           *)              platform=UNKNOWN ;;
   esac
   
  
  
  
  1.10      +5 -2      xml-xalan/c/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/runConfigure,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- runConfigure      3 Mar 2004 15:06:39 -0000       1.9
  +++ runConfigure      6 Apr 2004 15:08:44 -0000       1.10
  @@ -17,6 +17,9 @@
   #
   #
   # $Log$
  +# Revision 1.10  2004/04/06 15:08:44  dmitryh
  +# Changes for a cygwin build
  +#
   # Revision 1.9  2004/03/03 15:06:39  mhoyt
   # Patch for Bugzilla 27406 from Bjoern A. Zeeb: FreeBSD threading 
configuration
   #
  @@ -136,7 +139,7 @@
       echo "Usage: runConfigure \"options\""
       echo "       where options may be any of the following:"
       echo "       -p <platform> (accepts 'aix', 'linux', 'freebsd', 'netbsd', 
'solaris',
  -            'hp-11', 'hp-11-ia64', 'irix', 'tru64', 'macosx', 'os400')"
  +            'hp-10', 'hp-11', 'irix', 'tru64', 'macosx', 'os400', 'cygwin')"
       echo "       -c <C compiler name> (e.g. gcc, cc, xlc)"
       echo "       -x <C++ compiler name> (e.g. g++, CC, xlC)"
       echo "       -d (specifies that you want to build debug version)"
  @@ -272,7 +275,7 @@
   #
   
   case $platform in
  -   aix | linux | freebsd | netbsd | solaris | hp-11 | hp-11-ia64 | irix | 
tru64 | macosx | os400)
  +   aix | linux | freebsd | netbsd | solaris | hp-11 | hp-11-ia64 | irix | 
tru64 | macosx | os400 | cygwin)
          # platform has been recognized
          ;;
      *)
  
  
  
  1.7       +6 -6      xml-xalan/c/Tests/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Makefile.in,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Makefile.in       26 Feb 2004 22:26:07 -0000      1.6
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.7
  @@ -56,7 +56,7 @@
   
   $(XSL_BIN_DIR)/ThreadTest: ${XSL_OBJ_DIR}/ThreadTest.o 
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS}  \
  -     ${EXTRA_LINK_OPTIONS}  $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@     
  +     ${EXTRA_LINK_OPTIONS}  $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@     
 $(OTHER_LINK_PARAMETERS)
   ${XSL_OBJ_DIR}/%.o:$(TESTS_DIR)/Threads/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -78,7 +78,7 @@
   
   $(XSL_BIN_DIR)/Conf: ${XSL_OBJ_DIR}/conf.o ${XSL_OBJ_DIR}/HarnessInit.o 
${XSL_OBJ_DIR}/FileUtility.o ${XSL_OBJ_DIR}/XMLFileReporter.o 
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS}  \
  -     ${EXTRA_LINK_OPTIONS}  $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@     
  +     ${EXTRA_LINK_OPTIONS}  $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@     
 $(OTHER_LINK_PARAMETERS)
   ${XSL_OBJ_DIR}/%.o:$(TESTS_DIR)/Conf/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) -I$(TESTS_DIR) 
$(EXTRA_COMPILE_OPTIONS) -o $@ $<
   
  @@ -88,8 +88,8 @@
   
   install: Tests
        $(MKINSTALLDIRS) $(DESTDIR)/$(bindir)
  -     $(INSTALL_PROGRAM) $(XSL_BIN_DIR)/Conf $(DESTDIR)/$(bindir)
  -     $(INSTALL_PROGRAM) $(XSL_BIN_DIR)/ThreadTest $(DESTDIR)/$(bindir)
  +     $(INSTALL_PROGRAM) $(XSL_BIN_DIR)/Conf$(EXT) $(DESTDIR)/$(bindir)
  +     $(INSTALL_PROGRAM) $(XSL_BIN_DIR)/ThreadTest$(EXT) $(DESTDIR)/$(bindir)
   
   install-extras:
        cp -r $(TESTS_DIR) $(DESTDIR)/$(prefix)
  @@ -99,7 +99,7 @@
        rm -rf $(OUTDIR)/so_locations
        rm -rf $(XSL_BIN_DIR)/SunWS_cache
        rm -rf $(XSL_LIB_DIR)/SunWS_cache
  -     rm -f  $(XSL_BIN_DIR)/Conf
  -     rm -f  $(XSL_BIN_DIR)/ThreadTest
  +     rm -f  $(XSL_BIN_DIR)/Conf$(EXT)
  +     rm -f  $(XSL_BIN_DIR)/ThreadTest$(EXT)
   
   
  
  
  
  1.8       +33 -33    xml-xalan/c/samples/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/Makefile.in,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Makefile.in       26 Feb 2004 22:27:24 -0000      1.7
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.8
  @@ -47,22 +47,22 @@
        @echo XERCESCROOT must be defined
   endif
   
  -ALL_BINARIES =    CompileStylesheet \
  -                  DocumentBuilder \
  -                  ExternalFunction \
  -                  ParsedSourceWrappers \
  -                  SerializeNodeSet \
  -                  SimpleTransform \
  -                  SimpleXPathAPI \
  -                  SimpleXPathCAPI \
  -                  StreamTransform \
  -                  TraceListen \
  -                  TransformToXercesDOM \
  -                  UseStylesheetParam \
  -                  XalanTransform \
  -                  XalanTransformerCallback \
  -                  XPathWrapper\
  -                     ThreadSafe
  +ALL_BINARIES =    CompileStylesheet$(EXT) \
  +                  DocumentBuilder$(EXT) \
  +                  ExternalFunction$(EXT) \
  +                  ParsedSourceWrappers$(EXT) \
  +                  SerializeNodeSet$(EXT) \
  +                  SimpleTransform$(EXT) \
  +                  SimpleXPathAPI$(EXT) \
  +                  SimpleXPathCAPI$(EXT) \
  +                  StreamTransform$(EXT) \
  +                  TraceListen$(EXT) \
  +                  TransformToXercesDOM$(EXT) \
  +                  UseStylesheetParam$(EXT) \
  +                  XalanTransform$(EXT) \
  +                  XalanTransformerCallback$(EXT) \
  +                  XPathWrapper$(EXT) \
  +                               ThreadSafe$(EXT)
   
   include $(wildcard $(XALANCROOT)/samples/version.incl \
                      $(XALANCROOT)/version.incl)
  @@ -88,7 +88,7 @@
   
   $(XSL_LIB_DIR)/mod_xslt$(SHLIBSUFFIX) : $(XSL_OBJ_DIR)/mod_xslt.o
        $(MAKE_SHARED) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/ApacheModuleXSLT/%.c
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) -I/usr/include/apache/ 
$(EXTRA_COMPILE_OPTIONS) -o $@ $<
   
  @@ -96,7 +96,7 @@
   
   $(XSL_BIN_DIR)/CompileStylesheet: $(XSL_OBJ_DIR)/CompileStylesheet.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/CompileStylesheet/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -104,7 +104,7 @@
   
   $(XSL_BIN_DIR)/DocumentBuilder: $(XSL_OBJ_DIR)/DocumentBuilder.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/DocumentBuilder/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -112,7 +112,7 @@
   
   $(XSL_BIN_DIR)/ExternalFunction: $(XSL_OBJ_DIR)/ExternalFunction.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/ExternalFunction/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -120,7 +120,7 @@
   
   $(XSL_BIN_DIR)/ParsedSourceWrappers: $(XSL_OBJ_DIR)/ParsedSourceWrappers.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/ParsedSourceWrappers/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -128,7 +128,7 @@
   
   $(XSL_BIN_DIR)/SerializeNodeSet: $(XSL_OBJ_DIR)/SerializeNodeSet.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/SerializeNodeSet/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -136,7 +136,7 @@
   
   $(XSL_BIN_DIR)/SimpleTransform: $(XSL_OBJ_DIR)/SimpleTransform.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/SimpleTransform/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -144,7 +144,7 @@
   
   $(XSL_BIN_DIR)/SimpleXPathAPI: $(XSL_OBJ_DIR)/SimpleXPathAPI.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/SimpleXPathAPI/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -152,7 +152,7 @@
   
   $(XSL_BIN_DIR)/SimpleXPathCAPI: $(XSL_OBJ_DIR)/SimpleXPathCAPI.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/SimpleXPathCAPI/%.c
        $(CC4) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -160,7 +160,7 @@
   
   $(XSL_BIN_DIR)/StreamTransform: $(XSL_OBJ_DIR)/StreamTransform.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/StreamTransform/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<            
   
  @@ -168,7 +168,7 @@
   
   $(XSL_BIN_DIR)/TraceListen: $(XSL_OBJ_DIR)/TraceListen.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/TraceListen/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<            
   
  @@ -176,7 +176,7 @@
   
   $(XSL_BIN_DIR)/TransformToXercesDOM: $(XSL_OBJ_DIR)/TransformToXercesDOM.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/TransformToXercesDOM/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<            
   
  @@ -184,7 +184,7 @@
   
   $(XSL_BIN_DIR)/UseStylesheetParam: $(XSL_OBJ_DIR)/UseStylesheetParam.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/UseStylesheetParam/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<    
   
  @@ -192,7 +192,7 @@
   
   $(XSL_BIN_DIR)/XalanTransform: $(XSL_OBJ_DIR)/XalanTransform.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/XalanTransform/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -200,7 +200,7 @@
   
   $(XSL_BIN_DIR)/XalanTransformerCallback: 
$(XSL_OBJ_DIR)/XalanTransformerCallback.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/XalanTransformerCallback/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -208,7 +208,7 @@
   
   $(XSL_BIN_DIR)/XPathWrapper: $(XSL_OBJ_DIR)/XPathWrapper.o 
$(XSL_OBJ_DIR)/TestDriver.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/XPathWrapper/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -216,7 +216,7 @@
   
   $(XSL_BIN_DIR)/ThreadSafe: $(XSL_OBJ_DIR)/ThreadSafe.o
        $(LINK) $(XSL_BUILD_OPTIONS) $(PLATFORM_LIB_LINK_OPTIONS)  \
  -     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     $(EXTRA_LINK_OPTIONS) $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
 $(OTHER_LINK_PARAMETERS)
   $(XSL_OBJ_DIR)/%.o:$(SAMPLES_DIR)/ThreadSafe/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  
  
  
  1.31      +8 -8      xml-xalan/c/src/xalanc/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Makefile.in,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Makefile.in       6 Apr 2004 06:59:48 -0000       1.30
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.31
  @@ -116,7 +116,7 @@
        XalanTransformer \
        XPathCAPI
   
  -ALL_BINARIES = Xalan
  +ALL_BINARIES = Xalan$(EXT)
   
   include $(XALANCROOT)/version.incl
   include ../../Makefile.incl
  @@ -191,7 +191,7 @@
   
   $(XSL_BIN_DIR)/Xalan: ${XSL_OBJ_DIR}/XalanExe.o
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS}  \
  -     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $^ -o $@  
  +     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $^ -o $@  
$(OTHER_LINK_PARAMETERS)
   ${XSL_OBJ_DIR}/XalanExe.o: $(XALANEXE_DIR)/XalanExe.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   endif
  @@ -200,7 +200,7 @@
   
   $(XSL_BIN_DIR)/testXSLT: ${XSL_OBJ_DIR}/process.o
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS}  \
  -     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $^ -o $@  
  +     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $^ -o $@  
$(OTHER_LINK_PARAMETERS)
   ${XSL_OBJ_DIR}/process.o: $(TESTXSLT_DIR)/process.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -208,7 +208,7 @@
   
   $(XSL_BIN_DIR)/testXPath: ${XSL_OBJ_DIR}/TestXPath.o 
${XSL_OBJ_DIR}/NodeNameTreeWalker.o
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS}  \
  -     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
  +     ${EXTRA_LINK_OPTIONS} $(XALAN_LIB) $(ALLLIBS) $(CXXFLAGS) $^ -o $@      
$(OTHER_LINK_PARAMETERS)
   ${XSL_OBJ_DIR}/%.o:$(TESTXPATH_DIR)/%.cpp
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
   
  @@ -228,7 +228,7 @@
        $(MAKE) -C Utils $@
   
   $(XSL_LIB_DIR)/$(LIB): $(ALL_OBJECTS)
  -     $(MAKE_SHARED) $(PLATFORM_LIBRARIES) $(EXTRA_LINK_OPTIONS) 
$(LINK_SONAME) $(ALLLIBS) $^ -o $@ 
  +     $(MAKE_SHARED) $(PLATFORM_LIBRARIES) $(EXTRA_LINK_OPTIONS) 
$(LINK_SONAME) $(ALLLIBS) $^ -o $@ $(OTHER_LINK_LIB_PARAMERES)
   ifeq ($(PLATFORM), OS390)
        cp -p *.x  ${XSL_LIB_DIR}        
   else
  @@ -287,8 +287,8 @@
        rm -f $(XSL_LIB_DIR)/$(SO_NAME)
        rm -f $(XSL_LIB_DIR)/$(LIB).$(OS390SIDEDECK)
        rm -f $(XSL_LIB_DIR)/$(LIB).map1
  -     rm -f $(XSL_BIN_DIR)/testXSLT
  -     rm -f $(XSL_BIN_DIR)/testXPath
  -     rm -f $(XSL_BIN_DIR)/Xalan
  +     rm -f $(XSL_BIN_DIR)/testXSLT$(EXT)
  +     rm -f $(XSL_BIN_DIR)/testXPath$(EXT)
  +     rm -f $(XSL_BIN_DIR)/Xalan$(EXT)
   
   install-package: install
  
  
  
  1.7       +4 -7      xml-xalan/c/src/xalanc/Include/PlatformDefinitions.hpp
  
  Index: PlatformDefinitions.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Include/PlatformDefinitions.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PlatformDefinitions.hpp   26 Feb 2004 22:30:58 -0000      1.6
  +++ PlatformDefinitions.hpp   6 Apr 2004 15:08:45 -0000       1.7
  @@ -16,8 +16,12 @@
   #if !defined(PLATFORMDEFINITIONS_HEADER_GUARD_1357924680)
   #define PLATFORMDEFINITIONS_HEADER_GUARD_1357924680
   
  +#include "xercesc/util/XercesDefs.hpp"
  +
   #if defined(_MSC_VER)
   #include "VCPPDefinitions.hpp"
  +#elif defined(CYGWIN)
  +#include "CygwinDefinitions.hpp"
   #elif defined(__GNUC__)
   #include "GCCDefinitions.hpp"
   #elif defined(_AIX)
  @@ -38,8 +42,6 @@
   #error Unknown compiler!
   #endif
   
  -
  -
   #include "XalanVersion.hpp"
   
   #if defined(__cplusplus)
  @@ -89,11 +91,6 @@
   #define XALAN_DECLARE_XALAN_STRUCT(NAME) 
XALAN_DECLARE_STRUCT(XALAN_CPP_NAMESPACE, NAME)
   #define XALAN_USING_XALAN(NAME) XALAN_USING(XALAN_CPP_NAMESPACE, NAME)
   
  -
  -
  -// Yuck!!!! Have to include this here because there's no way to handle
  -// the new namespace macros without it!
  -#include "xercesc/util/XercesDefs.hpp"
   
   #if defined(XERCES_HAS_CPP_NAMESPACE)
        #define XALAN_USING_XERCES(NAME) XALAN_USING(XERCES_CPP_NAMESPACE, NAME)
  
  
  
  1.1                  xml-xalan/c/src/xalanc/Include/CygwinDefinitions.hpp
  
  Index: CygwinDefinitions.hpp
  ===================================================================
  /*
   * Copyright 1999-2004 The Apache Software Foundation.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  #if !defined(GCCDEFINITIONS_HEADER_GUARD_1357924680)
  #define GCCDEFINITIONS_HEADER_GUARD_1357924680
  
  
  
  // ---------------------------------------------------------------------------
  //  A define in the build for each project is also used to control whether
  //  the export keyword is from the project's viewpoint or the client's.
  //  These defines provide the platform specific keywords that they need
  //  to do this.
  // ---------------------------------------------------------------------------
  #define XALAN_PLATFORM_EXPORT
  #define XALAN_PLATFORM_IMPORT
  #define XALAN_PLATFORM_EXPORT_FUNCTION(T) T XALAN_PLATFORM_EXPORT
  #define XALAN_PLATFORM_IMPORT_FUNCTION(T) T XALAN_PLATFORM_IMPORT
  
  
  
  
  
  #if __GNUC__ < 3
  #define XALAN_CLASSIC_IOSTREAMS
  #define XALAN_NO_MEMBER_TEMPLATES
  #define XALAN_NO_STD_ALLOCATORS
  #define XALAN_NO_USING_DECLARATION
  #endif
  
  // As of 3.1, std::numeric_limits<double> is broken, so
  // we don't use it.
  #define XALAN_NO_STD_NUMERIC_LIMITS
  #define XALAN_SGI_BASED_STL
  #define XALAN_XALANDOMCHAR_USHORT_MISMATCH
  #define XALAN_POSIX2_AVAILABLE
  #define XALAN_INLINE_INITIALIZATION
  #define XALAN_HAS_CPP_NAMESPACE
  
  #define XALAN_UNALIGNED
  
  #define XALAN_NO_FIRST_NULL_PARAM_FOR_MBSTOWS
  #define XALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS
  
  #undef WIN32
  
  #endif        // GCCDEFINITIONS_HEADER_GUARD_1357924680
  
  
  
  1.8       +1 -1      
xml-xalan/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp
  
  Index: DirectoryEnumerator.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DirectoryEnumerator.hpp   26 Feb 2004 22:34:18 -0000      1.7
  +++ DirectoryEnumerator.hpp   6 Apr 2004 15:08:45 -0000       1.8
  @@ -137,7 +137,7 @@
         */
        bool isDirectory() const
        {
  -#if defined(AIX) || defined(HPUX) || defined(SOLARIS) || defined(OS390) || 
defined(OS400) || defined(TRU64)
  +#if defined(AIX) || defined(HPUX) || defined(SOLARIS) || defined(OS390) || 
defined(OS400) || defined(TRU64)  || defined(CYGWIN)
                return false;
   #else                
                if (d_type == DT_DIR || d_type == DT_UNKNOWN)
  
  
  
  1.9       +5 -0      xml-xalan/c/src/xalanc/Utils/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Utils/Makefile.in,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.in       3 Mar 2004 14:20:28 -0000       1.8
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.9
  @@ -33,7 +33,12 @@
   MSGFILENAME=XalanMsg_
   
   CATALOG_NAME=$(MSGFILENAME)$(LOCALE)
  +
  +ifeq ($(PLATFORM), CYGWIN)
  +XLIFF_FILE_NAME=$(shell cygpath -m 
$(XSL_NLS_SRC_DIR)/$(LOCALE)/$(MSGFILENAME)$(LOCALE).xlf)
  +else
   XLIFF_FILE_NAME=$(XSL_NLS_SRC_DIR)/$(LOCALE)/$(MSGFILENAME)$(LOCALE).xlf
  +endif
   
   MOVE= mv
   COPY=cp
  
  
  
  1.4       +3 -4      xml-xalan/c/src/xalanc/Utils/MsgCreator/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Utils/MsgCreator/Makefile.in,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Makefile.in       26 Feb 2004 22:36:20 -0000      1.3
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.4
  @@ -26,11 +26,10 @@
   
   MSG_CREATOR_SRC=$(XALANCROOT)/src/xalanc/Utils/MsgCreator
   
  -LOC_ALLLIBS = $(subst $(LOCAL_LIB), ,$(ALLLIBS))
   
   $(XSL_BIN_DIR)/MsgCreator : $(MSG_CREATOR_OBJECTS)
        ${LINK} $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS} 
${LIBRARY_SEARCH_PATHS} \
  -     ${EXTRA_LINK_OPTIONS}  $(LOC_ALLLIBS) $^ -o $@
  +     ${EXTRA_LINK_OPTIONS}  $(XERCES_LIB) $^ -o $@ 
$(LOC_OTHER_LINK_PARAMETERS)
        
   $(XSL_OBJ_DIR)/%.o : $(MSG_CREATOR_SRC)/%.cpp    
        $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) $(EXTRA_COMPILE_OPTIONS) -o 
$@ $<
  @@ -44,5 +43,5 @@
   install:
   
   doClean:
  -     rm -f $(XSL_BIN_DIR)/MsgCreator
  -     rm -f $(MSG_CREATOR_OBJECTS)
  \ No newline at end of file
  +     rm -f $(XSL_BIN_DIR)/MsgCreator$(EXT)
  +     rm -f $(MSG_CREATOR_OBJECTS)
  
  
  
  1.6       +2 -2      xml-xalan/c/src/xalanc/Utils/XalanMsgLib/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Utils/XalanMsgLib/Makefile.in,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Makefile.in       31 Mar 2004 15:35:00 -0000      1.5
  +++ Makefile.in       6 Apr 2004 15:08:45 -0000       1.6
  @@ -26,13 +26,13 @@
   include ../../../../Makefile.incl
   
   
  -LOC_ALLLIBS = $(subst $(LOCAL_LIB), ,$(ALLLIBS))
  +
   XALANMSGLIB_SRC=$(XALANCROOT)/src/xalanc/Utils/XalanMsgLib
   
   .PHONY: doClean install
   
   $(MESSAGELIB) : ${XSL_OBJ_DIR}/XalanMsgLib.o 
  -     $(MAKE_SHARED_LOC) $(PLATFORM_LIBRARIES) $(EXTRA_LINK_OPTIONS) 
$(LOC_ALLLIBS) $^ -o $@
  +     $(MAKE_SHARED_LOC) $(EXTRA_LOC_LINK_OPTIONS) $^ -o $@
        rm -f $(XSL_LIB_DIR)/$(LOC_LIBNAME)$(SHLIBSUFFIX) && \
                $(LN) -fs $(LOC_LIB) $(XSL_LIB_DIR)/$(LOC_LIBNAME)$(SHLIBSUFFIX)
   ifeq ($(PLATFORM), AIX)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to