dotgnu-libs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-libs-commits] CVS: dotgnu-base aclocal.m4,NONE,1.1 AUTHORS,NONE,


From: Peter Minten <address@hidden>
Subject: [Dotgnu-libs-commits] CVS: dotgnu-base aclocal.m4,NONE,1.1 AUTHORS,NONE,1.1 auto_gen.sh,NONE,1.1 config.guess,NONE,1.1 config.sub,NONE,1.1 configure.in,NONE,1.1 INSTALL,NONE,1.1 install-sh,NONE,1.1 Makefile.am,NONE,1.1 missing,NONE,1.1 mkinstalldirs,NONE,1.1 NEWS,NONE,1.1 ChangeLog,1.3,1.4 compile.sh,1.2,1.3 COPYING,1.1.1.1,1.2
Date: Sun, 28 Jul 2002 11:56:36 -0400

Update of /cvsroot/dotgnu-libs/dotgnu-base
In directory subversions:/tmp/cvs-serv4858

Modified Files:
        ChangeLog compile.sh COPYING 
Added Files:
        aclocal.m4 AUTHORS auto_gen.sh config.guess config.sub 
        configure.in INSTALL install-sh Makefile.am missing 
        mkinstalldirs NEWS 
Log Message:
Fixed bugs, implemented standard build system.


--- NEW FILE ---
dnl aclocal.m4 generated automatically by aclocal 1.4

dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.

# Do all the work for Automake.  This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.

# serial 1

dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])

AC_DEFUN(AM_INIT_AUTOMAKE,
[AC_REQUIRE([AC_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
VERSION=[$2]
AC_SUBST(VERSION)
dnl test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  AC_MSG_ERROR([source directory already configured; run "make distclean" there 
first])
fi
ifelse([$3],,
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
AC_REQUIRE([AM_SANITY_CHECK])
AC_REQUIRE([AC_ARG_PROGRAM])
dnl FIXME This is truly gross.
missing_dir=`cd $ac_aux_dir && pwd`
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_REQUIRE([AC_PROG_MAKE_SET])])

#
# Check to make sure that the build environment is sane.
#

AC_DEFUN(AM_SANITY_CHECK,
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
   if test "[$]*" = "X"; then
      # -L didn't work.
      set X `ls -t $srcdir/configure conftestfile`
   fi
   if test "[$]*" != "X $srcdir/configure conftestfile" \
      && test "[$]*" != "X conftestfile $srcdir/configure"; then

      # If neither matched, then we have a broken ls.  This can happen
      # if, for instance, CONFIG_SHELL is bash and it inherits a
      # broken ls alias from the environment.  This has actually
      # happened.  Such a system could not be considered "sane".
      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
alias in your environment])
   fi

   test "[$]2" = conftestfile
   )
then
   # Ok.
   :
else
   AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
rm -f conftest*
AC_MSG_RESULT(yes)])

dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
AC_DEFUN(AM_MISSING_PROG,
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if ($2 --version) < /dev/null > /dev/null 2>&1; then
   $1=$2
   AC_MSG_RESULT(found)
else
   $1="$3/missing $2"
   AC_MSG_RESULT(missing)
fi
AC_SUBST($1)])

# Add --enable-maintainer-mode option to configure.
# From Jim Meyering

# serial 1

AC_DEFUN(AM_MAINTAINER_MODE,
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  dnl maintainer-mode is disabled by default
  AC_ARG_ENABLE(maintainer-mode,
[  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer],
      USE_MAINTAINER_MODE=$enableval,
      USE_MAINTAINER_MODE=no)
  AC_MSG_RESULT($USE_MAINTAINER_MODE)
  AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
  MAINT=$MAINTAINER_MODE_TRUE
  AC_SUBST(MAINT)dnl
]
)

# Define a conditional.

AC_DEFUN(AM_CONDITIONAL,
[AC_SUBST($1_TRUE)
AC_SUBST($1_FALSE)
if $2; then
  $1_TRUE=
  $1_FALSE='#'
else
  $1_TRUE='#'
  $1_FALSE=
fi])

dnl
dnl pnet_build_env.m4 - Set up the Portable.NET C# build environment.
dnl
dnl Copyright (c) 2002  Southern Storm Software, Pty Ltd.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
dnl

AC_DEFUN([PNET_BUILD_ENV],[

dnl Make sure that pnet support is initialized.
AC_REQUIRE([PNET_INIT])

dnl Extra substitution variables.
AC_SUBST(CSANT)
AC_SUBST(CSANT_FLAGS)
AC_SUBST(CSHARP_COMPILER)
AC_SUBST(CSDOC)
AC_SUBST(RESGEN)
AC_SUBST(RESGEN_FLAGS)

dnl Find the Portable.NET "csant" program.
AC_PATH_PROG(CSANT, csant,, $PNET_PATH/csant:${prefix}/bin:$PATH)
if test "$CSANT" = "" ; then
        echo '**************************************************************'
        echo "Portable.NET's csant tool is required to build the system."
        echo "Use the --with-pnet option to specify Portable.NET's location."
        echo '**************************************************************'
        exit 1
fi

dnl Find the C# compiler to use: the default test order is cscc, mcs, csc.
if test "$MSTOOLS" = "no"; then
        if test "$MONOTOOLS" = "no"; then
                AC_PATH_PROG(CSHARP_COMPILER, cscc,, 
$PNET_PATH/cscc:${prefix}/bin:$PATH)
                if test "$CSHARP_COMPILER" = "" ; then
                        AC_PATH_PROG(CSHARP_COMPILER, mcs,, ${prefix}/bin:$PATH)
                        if test "$CSHARP_COMPILER" = ""; then
                                AC_PATH_PROG(CSHARP_COMPILER, csc,, 
${prefix}/bin:$PATH)
                                if test "$CSHARP_COMPILER" = ""; then
                                        echo 
'******************************************************'
                                        echo "Cannot locate a suitable C# 
compiler to use.  Use the"
                                        echo "--with-pnet option to specify the 
location of the"
                                        echo "Portable.NET source tree."
                                        echo 
'******************************************************'
                                        exit 1
                                else
                                        CSANT_FLAGS='--compiler csc 
-Dcsc="$(CSHARP_COMPILER)"'
                                fi
                        else
                                CSANT_FLAGS='--compiler mcs 
-Dmcs="$(CSHARP_COMPILER)"'
                        fi
                else
                        CSANT_FLAGS='--compiler cscc 
-Dcscc="$(top_builddir)/m4/tools/csccwrap.sh"'
                fi
        else
                AC_PATH_PROG(CSHARP_COMPILER, mcs,, ${prefix}/bin:$PATH)
                if test "$CSHARP_COMPILER" = ""; then
                        echo 
'***************************************************'
                        echo "Could not locate Mono's C# compiler (mcs)."
                        echo 
'***************************************************'
                        exit 1
                fi
                CSANT_FLAGS='--compiler mcs -Dmcs="$(CSHARP_COMPILER)"'
        fi
else
        AC_PATH_PROG(CSHARP_COMPILER, csc,, ${prefix}/bin:$PATH)
        if test "$CSHARP_COMPILER" = ""; then
                echo '***************************************************'
                echo "Could not locate Microsoft's C# compiler (csc.exe)."
                echo '***************************************************'
                exit 1
        fi
        CSANT_FLAGS='--compiler csc -Dcsc="$(CSHARP_COMPILER)"'
fi

dnl Find the version of "csdoc" to use.
if test "$MSTOOLS" = "no" -a "$MONOTOOLS" = "no"; then
        AC_PATH_PROG(CSDOC, csdoc,, $PNET_PATH/cscc:${prefix}/bin:$PATH)
        if test "$CSDOC" = "" ; then
                CSANT_FLAGS="$CSANT_FLAGS --dummy-doc"
        else
                CSANT_FLAGS="$CSANT_FLAGS 
"'-Dcsdoc="$(top_builddir)/m4/tools/csdocwrap.sh"'
        fi
else
        CSANT_FLAGS="$CSANT_FLAGS --dummy-doc"
fi

dnl Find the .NET resource generator to use.
AC_PATH_PROG(RESGEN, resgen,, $PNET_PATH/resgen:${prefix}/bin:$PATH)
if test "$RESGEN" = "" ; then
        echo '**************************************************************'
        echo "Portable.NET's or Microsoft's resgen is required to build."
        echo "Use the --with-pnet option to specify Portable.NET's location."
        echo '**************************************************************'
        exit 1
fi

dnl Determine which version of RESGEN we are using (Portable.NET or Microsoft).
RESGEN_ERROR=`"$RESGEN" -v.txt 2>&1`
case "$RESGEN_ERROR" in
  RESGEN*) RESGEN_FLAGS="-tR" ;;
        *) RESGEN_FLAGS="" ;;
esac
AM_CONDITIONAL(PNET_RESGEN, test "$RESGEN_FLAGS" != "")

dnl Make sure that our helper scripts are made +x at the end of the process.
AC_OUTPUT_COMMANDS([
chmod +x "./m4/tools/csccwrap.sh"
chmod +x "./m4/tools/csdocwrap.sh"
])

])

dnl
dnl pnet_init.m4 - Initialize the Portable.NET environment for autoconf.
dnl
dnl Copyright (c) 2002  Southern Storm Software, Pty Ltd.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
dnl
dnl The PNET_INIT autoconf macro sets everything up to use Portable.NET
dnl to build or run applications.
dnl
dnl The following options are added to configure.in's command-line:
dnl
dnl             --with-pnet=DIR
dnl                     Specify the location of the Portable.NET source tree.
dnl                     This is used to support builds on systems that have
dnl                     not done a "make install" on pnet.
dnl
dnl             --with-mstools
dnl                     Use the Microsoft C# compiler instead of Portable.NET's 
cscc.
dnl                     You still need Portable.NET for csant, csdoc, ilrun, 
etc.
dnl
dnl             --with-mono
dnl                     Use the Mono C# compiler instead of Portable.NET's cscc.
dnl                     You still need Portable.NET for csant, csdoc, ilrun, 
etc.
dnl
dnl             --with-language=LANG
dnl                     Specify the language to use for string resources.  The
dnl                     default is determined from the "LANG" environment 
variable,
dnl                     with "en_US" being the ultimate fallback.
dnl

AC_DEFUN([PNET_INIT], [

dnl Extra substitution variables.
AC_SUBST(PNET_PATH)
AC_SUBST(PNET_LANGUAGE)

dnl The --with-pnet option can be used to specify the location of
dnl Portable.NET, so that we know where to get the C# compiler, etc.
dnl The default location is assumed to be "../pnet".
AC_ARG_WITH(pnet,
[  --with-pnet=DIR         specify the location of Portable.NET],
[
        if test -n "$withval"; then
                case "$withval" in
                  ../*) PNET_PATH="`pwd`/$withval" ;;
                     *) PNET_PATH="$withval" ;;
                esac
        else
                PNET_PATH="`pwd`/../pnet"
        fi
],
[
        PNET_PATH="`pwd`/../pnet"
])

dnl The --with-mstools option can be used to force the use of
dnl Microsoft's toolchain instead of Portable.NET's.
AC_ARG_WITH(mstools,
[  --with-mstools          use Microsoft tools instead of Portable.NET's],
[
        MSTOOLS=yes
],
[
        MSTOOLS=no
])

dnl The --with-mono option can be used to force the use of
dnl Mono's toolchain instead of Portable.NET's.
AC_ARG_WITH(mono,
[  --with-mono             use Mono tools instead of Portable.NET's],
[
        MONOTOOLS=yes
],
[
        MONOTOOLS=no
])

dnl The --with-language option can be used to specify the language
dnl for string resources.
AC_ARG_WITH(language,
[  --with-language=LANG    specify the string resource language],
[
        if test -n "$withval"; then
                if test -d "${srcdir}/resources/$withval" ; then
                        PNET_LANGUAGE="$withval"
                else
                        AC_MSG_ERROR([unknown resource language ${withval}])
                fi
        else
                if test -n "$LANG" -a -d "${srcdir}/resources/$LANG" ; then
                        PNET_LANGUAGE="$LANG"
                else
                        PNET_LANGUAGE=en_US
                fi
        fi
],
[
        if test -n "$LANG" -a -d "${srcdir}/resources/$LANG" ; then
                PNET_LANGUAGE="$LANG"
        else
                PNET_LANGUAGE=en_US
        fi
])

])

dnl
dnl pnet_csdoc2html.m4 - Locate Portable.NET's XML->HTML conversion utility.
dnl
dnl Copyright (c) 2002  Southern Storm Software, Pty Ltd.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
dnl

AC_DEFUN([PNET_CSDOC2HTML],[

dnl Make sure that pnet support is initialized.
AC_REQUIRE([PNET_INIT])

dnl Extra substitution variables.
AC_SUBST(CSDOC2HTML)

dnl Find the version of "csdoc2html" to use.
AC_PATH_PROG(CSDOC2HTML, csdoc2html,, $PNET_PATH/csdoc:${prefix}/bin:$PATH)
if test "$CSDOC2HTML" = "" ; then
        echo '**************************************************************'
        echo "Portable.NET's csdoc2html is required to build."
        echo "Use the --with-pnet option to specify Portable.NET's location."
        echo '**************************************************************'
        exit 1
fi

])

dnl
dnl pnet_ilrun.m4 - Locate Portable.NET's runtime engine.
dnl
dnl Copyright (c) 2002  Southern Storm Software, Pty Ltd.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
dnl

AC_DEFUN([PNET_ILRUN],[

dnl Make sure that pnet support is initialized.
AC_REQUIRE([PNET_INIT])

dnl Extra substitution variables.
AC_SUBST(ILRUN)
AC_SUBST(ILRUN_FLAGS)

dnl Find the Portable.NET runtime engine and mscorlib.dll file.
AC_PATH_PROG(ILRUN, ilrun,, $PNET_PATH/engine:${prefix}/bin:$PATH)
if test "$ILRUN" = "" ; then
        echo '**************************************************************'
        echo "Portable.NET is required to run the example programs."
        echo "Use the --with-pnet option to specify Portable.NET's location."
        echo '**************************************************************'
        exit 1
fi
if test -f "$PNET_PATH/samples/mscorlib.dll" ; then
        ILRUN_FLAGS="-L$PNET_PATH/samples"
else
        ILRUN_FLAGS=""
fi

])


--- NEW FILE ---
Peter Minten <address@hidden> (current maintainer) 

--- NEW FILE ---
#!/bin/sh
#
# auto_gen.sh - Make the Makefile.in and configure files.
#
# Copyright (C) 2001, 2002  Southern Storm Software, Pty Ltd.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

# Run aclocal to update the macros from the "m4" directory.
aclocal -I m4

# Get extra options to use depending upon the automake version.
AM_VERSION=`automake --version`
case "$AM_VERSION" in
    automake*1.4*) AM_FLAGS="" ;;
                *) AM_FLAGS="--ignore-deps" ;;
esac

# Run automake and autoconf.
automake --add-missing --copy $AM_FLAGS
autoconf
exit 0

--- NEW FILE ---
#! /bin/sh
# Attempt to guess a canonical system name.
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
#   Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
[...1049 lines suppressed...]
        if getsysinfo -f scalar_acc
        then echo c32-convex-bsd
        else echo c2-convex-bsd
        fi
        exit 0 ;;
    c34*)
        echo c34-convex-bsd
        exit 0 ;;
    c38*)
        echo c38-convex-bsd
        exit 0 ;;
    c4*)
        echo c4-convex-bsd
        exit 0 ;;
    esac
fi

#echo '(Unable to guess system type)' 1>&2

exit 1

--- NEW FILE ---
#! /bin/sh
# Configuration validation subroutine script, version 1.1.
#   Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine.  It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
[...1177 lines suppressed...]
                                vendor=wrs
                                ;;
                        -aux*)
                                vendor=apple
                                ;;
                        -hms*)
                                vendor=hitachi
                                ;;
                        -mpw* | -macos*)
                                vendor=apple
                                ;;
                        -*mint | -*MiNT)
                                vendor=atari
                                ;;
                esac
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
                ;;
esac

echo $basic_machine$os

--- NEW FILE ---
dnl Process this file with autoconf to produce a configure script.
dnl We don't have a clear init so let's start with Matrix
AC_INIT(DotGNU/Matrix.cs)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(DotGNU-Base, 0.0.1)
AM_MAINTAINER_MODE

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET

dnl Checks for file extensions.
AC_EXEEXT
AC_OBJEXT

dnl Get the Portable.NET build environment and tools.
PNET_BUILD_ENV
PNET_CSDOC2HTML
PNET_ILRUN

dnl The --with-types option can be used to specify the sizes of
dnl the native int and long types.  Set to one of:
dnl
dnl             --with-types=il32
dnl                     int and long are both 32-bit.
dnl             --with-types=il64
dnl                     int and long are both 64-bit.
dnl             --with-types=i32l64
dnl                     int is 32-bit, long is 64-bit.
dnl             --with-types=i64l32
dnl                     int is 64-bit, long is 32-bit.
dnl
dnl If none of these are supplied, configure will auto-detect.
AC_ARG_WITH(types,
[  --with-types=SPEC       specify the location of Portable.NET],
[
        if test -n "$withval"; then
                case "$withval" in
                  il32|il64|i32l64|i64l32) TYPE_SPEC="${withval}" ;;
                  *) AC_MSG_ERROR([invalid type size specification ${withval}]) 
;;
                esac
        else
                TYPE_SPEC=no
        fi
],
[
        TYPE_SPEC=no
])

dnl Determine the definitions of int, uint, long, and ulong on this platform.
AC_SUBST(X_int)
AC_SUBST(X_uint)
AC_SUBST(X_long)
AC_SUBST(X_ulong)
case "$TYPE_SPEC" in
        il32)   X_int=int
                        X_uint=uint
                        X_long=int
                        X_ulong=uint ;;
        il64)   X_int=long
                        X_uint=ulong
                        X_long=long
                        X_ulong=ulong ;;
        i32l64) X_int=int
                        X_uint=uint
                        X_long=long
                        X_ulong=ulong ;;
        i64l32) X_int=long
                        X_uint=ulong
                        X_long=int
                        X_ulong=uint ;;
        *)      AC_CHECK_SIZEOF(int, 4)
                AC_CHECK_SIZEOF(long, 4)
                if test "$ac_cv_sizeof_int" = 4 ; then
                        X_int=int
                        X_uint=uint
                elif test "$ac_cv_sizeof_int" = 8 ; then
                        X_int=long
                        X_uint=ulong
                else
                        AC_MSG_ERROR(int is neither 32-bits nor 64-bits on this 
platform)
                fi
                if test "$ac_cv_sizeof_long" = 4 ; then
                        X_long=int
                        X_ulong=uint
                elif test "$ac_cv_sizeof_long" = 8 ; then
                        X_long=long
                        X_ulong=ulong
                else
                        AC_MSG_ERROR(long is neither 32-bits nor 64-bits on 
this platform)
                fi ;;
esac
AC_MSG_CHECKING(for the correct int mapping)
AC_MSG_RESULT($X_int)
AC_MSG_CHECKING(for the correct long mapping)
AC_MSG_RESULT($X_long)

AC_OUTPUT([
Makefile
m4/Makefile
m4/tools/Makefile
m4/tools/csccwrap.sh
m4/tools/csdocwrap.sh
resources/Makefile
resources/en_US/Makefile
resources/en_US/DotGNU/Makefile
DotGNU/Makefile
])

--- NEW FILE ---
Basic Installation
==================

   These are generic installation instructions.

   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions.  Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').

   If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release.  If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.

   The file `configure.in' is used to create `configure' by a program
called `autoconf'.  You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

Compilers and Options
=====================

   Some systems require unusual options for compilation or linking that
the `configure' script does not know about.  You can give `configure'
initial values for variables by setting them in the environment.  Using
a Bourne-compatible shell, you can do that on the command line like
this:
     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure

Or on systems that have the `env' program, you can do it like this:
     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure

Compiling For Multiple Architectures
====================================

   You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory.  To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'.  `cd' to the
directory where you want the object files and executables to go and run
the `configure' script.  `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.

   If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory.  After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.

Installation Names
==================

   By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

   You can specify separate installation prefixes for
architecture-specific files and architecture-independent files.  If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.

   In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files.  Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.

   If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

Optional Features
=================

   Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System).  The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.

   For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.

Specifying the System Type
==========================

   There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on.  Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option.  TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
     CPU-COMPANY-SYSTEM

See the file `config.sub' for the possible values of each field.  If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.

   If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.

Sharing Defaults
================

   If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists.  Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.

Operation Controls
==================

   `configure' recognizes the following options to control how it
operates.

`--cache-file=FILE'
     Use and save the results of the tests in FILE instead of
     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
     debugging `configure'.

`--help'
     Print a summary of the options to `configure', and exit.

`--quiet'
`--silent'
`-q'
     Do not print messages saying which checks are being made.  To
     suppress all normal output, redirect it to `/dev/null' (any error
     messages will still be shown).

`--srcdir=DIR'
     Look for the package's source code in directory DIR.  Usually
     `configure' can determine that directory automatically.

`--version'
     Print the version of Autoconf used to generate the `configure'
     script, and exit.

`configure' also accepts some other, not widely useful, options.

--- NEW FILE ---
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission.  M.I.T. makes no representations about the
# suitability of this software for any purpose.  It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.  It can only install one file at a time, a restriction
# shared with many OS's install programs.


# set DOITPROG to echo to test this script

# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"


# put in absolute paths if you don't have them in your path; or use env. vars.

mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"

transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""

while [ x"$1" != x ]; do
    case $1 in
        -c) instcmd="$cpprog"
            shift
            continue;;

        -d) dir_arg=true
            shift
            continue;;

        -m) chmodcmd="$chmodprog $2"
            shift
            shift
            continue;;

        -o) chowncmd="$chownprog $2"
            shift
            shift
            continue;;

        -g) chgrpcmd="$chgrpprog $2"
            shift
            shift
            continue;;

        -s) stripcmd="$stripprog"
            shift
            continue;;

        -t=*) transformarg=`echo $1 | sed 's/-t=//'`
            shift
            continue;;

        -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
            shift
            continue;;

        *)  if [ x"$src" = x ]
            then
                src=$1
            else
                # this colon is to work around a 386BSD /bin/sh bug
                :
                dst=$1
            fi
            shift
            continue;;
    esac
done

if [ x"$src" = x ]
then
        echo "install:  no input file specified"
        exit 1
else
        true
fi

if [ x"$dir_arg" != x ]; then
        dst=$src
        src=""
        
        if [ -d $dst ]; then
                instcmd=:
                chmodcmd=""
        else
                instcmd=mkdir
        fi
else

# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad 
# if $src (and thus $dsttmp) contains '*'.

        if [ -f $src -o -d $src ]
        then
                true
        else
                echo "install:  $src does not exist"
                exit 1
        fi
        
        if [ x"$dst" = x ]
        then
                echo "install:  no destination specified"
                exit 1
        else
                true
        fi

# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic

        if [ -d $dst ]
        then
                dst="$dst"/`basename $src`
        else
                true
        fi
fi

## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`

# Make sure that the destination directory exists.
#  this part is taken from Noah Friedman's mkinstalldirs script

# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='    
'
IFS="${IFS-${defaultIFS}}"

oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@address@hidden' -e 'address@hidden@/@'`
IFS="${oIFS}"

pathcomp=''

while [ $# -ne 0 ] ; do
        pathcomp="${pathcomp}${1}"
        shift

        if [ ! -d "${pathcomp}" ] ;
        then
                $mkdirprog "${pathcomp}"
        else
                true
        fi

        pathcomp="${pathcomp}/"
done
fi

if [ x"$dir_arg" != x ]
then
        $doit $instcmd $dst &&

        if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
        if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
        if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
        if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else

# If we're going to rename the final executable, determine the name now.

        if [ x"$transformarg" = x ] 
        then
                dstfile=`basename $dst`
        else
                dstfile=`basename $dst $transformbasename | 
                        sed $transformarg`$transformbasename
        fi

# don't allow the sed command to completely eliminate the filename

        if [ x"$dstfile" = x ] 
        then
                dstfile=`basename $dst`
        else
                true
        fi

# Make a temp file name in the proper directory.

        dsttmp=$dstdir/#inst.$$#

# Move or copy the file name to the temp name

        $doit $instcmd $src $dsttmp &&

        trap "rm -f ${dsttmp}" 0 &&

# and set any options; do chmod last to preserve setuid bits

# If any of these fail, we abort the whole thing.  If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.

        if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
        if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
        if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
        if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&

# Now rename the file to the real destination.

        $doit $rmcmd -f $dstdir/$dstfile &&
        $doit $mvcmd $dsttmp $dstdir/$dstfile 

fi &&


exit 0

--- NEW FILE ---
SUBDIRS = m4 resources DotGNU

--- NEW FILE ---
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <address@hidden>, 1996.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

if test $# -eq 0; then
  echo 1>&2 "Try \`$0 --help' for more information"
  exit 1
fi

case "$1" in

  -h|--h|--he|--hel|--help)
    echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...

Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.

Options:
  -h, --help      display this help and exit
  -v, --version   output version information and exit

Supported PROGRAM values:
  aclocal      touch file \`aclocal.m4'
  autoconf     touch file \`configure'
  autoheader   touch file \`config.h.in'
  automake     touch all \`Makefile.in' files
  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
  flex         create \`lex.yy.c', if possible, from existing .c
  lex          create \`lex.yy.c', if possible, from existing .c
  makeinfo     touch the output file
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
    ;;

  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
    echo "missing - GNU libit 0.0"
    ;;

  -*)
    echo 1>&2 "$0: Unknown \`$1' option"
    echo 1>&2 "Try \`$0 --help' for more information"
    exit 1
    ;;

  aclocal)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified \`acinclude.m4' or \`configure.in'.  You might want
         to install the \`Automake' and \`Perl' packages.  Grab them from
         any GNU archive site."
    touch aclocal.m4
    ;;

  autoconf)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified \`configure.in'.  You might want to install the
         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
         archive site."
    touch configure
    ;;

  autoheader)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified \`acconfig.h' or \`configure.in'.  You might want
         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
         from any GNU archive site."
    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
    test -z "$files" && files="config.h"
    touch_files=
    for f in $files; do
      case "$f" in
      *:*) touch_files="$touch_files "`echo "$f" |
                                       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
      *) touch_files="$touch_files $f.in";;
      esac
    done
    touch $touch_files
    ;;

  automake)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
         You might want to install the \`Automake' and \`Perl' packages.
         Grab them from any GNU archive site."
    find . -type f -name Makefile.am -print |
           sed 's/\.am$/.in/' |
           while read f; do touch "$f"; done
    ;;

  bison|yacc)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified a \`.y' file.  You may need the \`Bison' package
         in order for those modifications to take effect.  You can get
         \`Bison' from any GNU archive site."
    rm -f y.tab.c y.tab.h
    if [ $# -ne 1 ]; then
        eval LASTARG="\${$#}"
        case "$LASTARG" in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
            if [ -f "$SRCFILE" ]; then
                 cp "$SRCFILE" y.tab.c
            fi
            SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
            if [ -f "$SRCFILE" ]; then
                 cp "$SRCFILE" y.tab.h
            fi
          ;;
        esac
    fi
    if [ ! -f y.tab.h ]; then
        echo >y.tab.h
    fi
    if [ ! -f y.tab.c ]; then
        echo 'main() { return 0; }' >y.tab.c
    fi
    ;;

  lex|flex)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified a \`.l' file.  You may need the \`Flex' package
         in order for those modifications to take effect.  You can get
         \`Flex' from any GNU archive site."
    rm -f lex.yy.c
    if [ $# -ne 1 ]; then
        eval LASTARG="\${$#}"
        case "$LASTARG" in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
            if [ -f "$SRCFILE" ]; then
                 cp "$SRCFILE" lex.yy.c
            fi
          ;;
        esac
    fi
    if [ ! -f lex.yy.c ]; then
        echo 'main() { return 0; }' >lex.yy.c
    fi
    ;;

  makeinfo)
    echo 1>&2 "\
WARNING: \`$1' is missing on your system.  You should only need it if
         you modified a \`.texi' or \`.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy \`make' (AIX,
         DU, IRIX).  You might want to install the \`Texinfo' package or
         the \`GNU make' package.  Grab either from any GNU archive site."
    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
    if test -z "$file"; then
      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
      file=`sed -n '/address@hidden/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
    fi
    touch $file
    ;;

  *)
    echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the \`README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing \`$1' program."
    exit 1
    ;;
esac

exit 0

***** Error reading new file: [Errno 2] No such file or directory: 
'mkinstalldirs'
--- NEW FILE ---


Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu-base/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ChangeLog   27 Jul 2002 14:30:16 -0000      1.3
--- ChangeLog   28 Jul 2002 15:56:34 -0000      1.4
***************
*** 1,2 ****
--- 1,34 ----
+ 2002-07-28  Peter Minten  <address@hidden>
+ 
+       * DotGNU/ByteParser.cs: Commented out for now, it's not clear at the
+       moment if it's needed since we have BinaryReader/BinaryWriter and 
+       BitConverter in pnetlib.
+ 
+       * DotGNU/StdError.cs, DotGNU/StdIn.cs, DotGNU/StdOut.cs,
+       DotGNU/Matrix.cs, DotGNU/Threading/Timer.cs, 
+       DotGNU/Net/Sockets/NetworkStream.cs,
+       DotGNU/Net/Sockets/Socket.cs,
+       DotGNU/IO/Stream.cs, DotGNU/IO/FileStream.cs, 
+       DotGNU/IO/Records/RecordField.cs,
+       DotGNU/IO/Records/Record.cs: Fixed various bugs.
+       
+       * DotGNU/IO/FileStream.cs: 
+       Commented out to make DG-Base compile.
+ 
+       * aclocal.m4, AUTHORS, configure.in, config.guess, config.sub,
+       configure.in, INSTALL, install-sh, makefile.am, missing,
+       mkinstalldir, NEWS, m4/*, *makefile.am: Set up the make stuff.
+       
+       * COPYING: Changed from Library GPL V2 to Lesser GPL V2.1 because
+       Lesser GPL is better (this is a very minor license change, in effect
+       nothing really changes).
+ 
+       * all source files (*.cs): Fixed a small bug in the license header
+       (it referred to Lesser GPL v2 where it should refer to v2.1 
+        since there is no Lesser GPL v2).
+ 
+ 2002-07-27  Peter Minten  <address@hidden>
+       * DotGNU/RecordField.cs, DotGNU/RecordFieldType.cs: Created.
+       * DotGNU/Record.cs: Modified to work with record field types.
  
  2002-07-26  Gopal.V <address@hidden>
***************
*** 4,7 ****
--- 36,40 ----
        * DotGNU/ByteParser.cs: Reimplement the whole thing using bitwise
        operators
+ 
  2002-07-26  Peter Minten  <address@hidden>
        * DotGNU/StdIn.cs, DotGNU/StdOut.cs, DotGNU.StdError: Created.
***************
*** 46,65 ****
  
  2002-07-21  Peter Minten  <address@hidden>
!     * ChangeLog, README, compile.sh: Created.
      
!     * Copying: Copied.
      
!     * DotGNU/TODOAttribute.cs: Copied from pnetlib and changed a bit.
      
        * DotGNU/IO/Stream.cs: Created.
      
!     * DotGNU/Net/Sockets/NetworkStream.cs, DotGNU/Net/Sockets/Socket.cs: 
Created.
      
!     * DotGNU/Text/Encodings.cs: Created.      
      
!     * DotGNU/Threading/Timer.cs: Copied from pnetlib and changed a bit.
      
!     * DotGNU/resources/Placeholder: Created.
  
!     * DotGNU/Collections/SingleLinkedList.cs, 
!     DotGNU/Collections/DoubleLinkedList.cs: Created.
--- 79,98 ----
  
  2002-07-21  Peter Minten  <address@hidden>
!       * ChangeLog, README, compile.sh: Created.
      
!       * Copying: Copied.
      
!       * DotGNU/TODOAttribute.cs: Copied from pnetlib and changed a bit.
      
        * DotGNU/IO/Stream.cs: Created.
      
!       * DotGNU/Net/Sockets/NetworkStream.cs, DotGNU/Net/Sockets/Socket.cs: 
Created.
      
!       * DotGNU/Text/Encodings.cs: Created.    
      
!       * DotGNU/Threading/Timer.cs: Copied from pnetlib and changed a bit.
      
!       * DotGNU/resources/Placeholder: Created.
  
!       * DotGNU/Collections/SingleLinkedList.cs, 
!       DotGNU/Collections/DoubleLinkedList.cs: Created.

Index: compile.sh
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu-base/compile.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** compile.sh  27 Jul 2002 10:36:01 -0000      1.2
--- compile.sh  28 Jul 2002 15:56:34 -0000      1.3
***************
*** 6,10 ****
  echo "-------------------------------------------------------"
  
! if find -name *.cs | xargs cscc -fmetadata-only -lSystem -shared -o 
dotgnu.base.dll; then
      echo "-------------------------------------------------------";
      echo "       DotGNU Base Library compiled successfully"
--- 6,10 ----
  echo "-------------------------------------------------------"
  
! if find -name *.cs | xargs cscc -lSystem -shared -o dotgnu.base.dll; then
      echo "-------------------------------------------------------";
      echo "       DotGNU Base Library compiled successfully"

Index: COPYING
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu-base/COPYING,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** COPYING     21 Jul 2002 08:04:12 -0000      1.1.1.1
--- COPYING     28 Jul 2002 15:56:34 -0000      1.2
***************
*** 1,13 ****
!                 GNU LIBRARY GENERAL PUBLIC LICENSE
!                      Version 2, June 1991
  
!  Copyright (C) 1991 Free Software Foundation, Inc.
!                     59 Temple Place - Suite 330
!                     Boston, MA 02111-1307, USA.
   Everyone is permitted to copy and distribute verbatim copies
   of this license document, but changing it is not allowed.
  
! [This is the first released version of the library GPL.  It is
!  numbered 2 because it goes with version 2 of the ordinary GPL.]
  
                            Preamble
--- 1,13 ----
!                 GNU LESSER GENERAL PUBLIC LICENSE
!                      Version 2.1, February 1999
  
!  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
!      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   Everyone is permitted to copy and distribute verbatim copies
   of this license document, but changing it is not allowed.
  
! [This is the first released version of the Lesser GPL.  It also counts
!  as the successor of the GNU Library Public License, version 2, hence
!  the version number 2.1.]
  
                            Preamble
***************
*** 18,112 ****
  free software--to make sure the software is free for all its users.
  
!   This license, the Library General Public License, applies to some
! specially designated Free Software Foundation software, and to any
! other libraries whose authors decide to use it.  You can use it for
! your libraries, too.
! 
!   When we speak of free software, we are referring to freedom, not
! price.  Our General Public Licenses are designed to make sure that you
! have the freedom to distribute copies of free software (and charge for
! this service if you wish), that you receive source code or can get it
! if you want it, that you can change the software or use pieces of it
! in new free programs; and that you know you can do these things.
  
    To protect your rights, we need to make restrictions that forbid
! anyone to deny you these rights or to ask you to surrender the rights.
! These restrictions translate to certain responsibilities for you if
! you distribute copies of the library, or if you modify it.
  
    For example, if you distribute copies of the library, whether gratis
  or for a fee, you must give the recipients all the rights that we gave
  you.  You must make sure that they, too, receive or can get the source
! code.  If you link a program with the library, you must provide
! complete object files to the recipients so that they can relink them
! with the library, after making changes to the library and recompiling
  it.  And you must show them these terms so they know their rights.
  
!   Our method of protecting your rights has two steps: (1) copyright
! the library, and (2) offer you this license which gives you legal
  permission to copy, distribute and/or modify the library.
  
!   Also, for each distributor's protection, we want to make certain
! that everyone understands that there is no warranty for this free
! library.  If the library is modified by someone else and passed on, we
! want its recipients to know that what they have is not the original
! version, so that any problems introduced by others will not reflect on
! the original authors' reputations.
  
!   Finally, any free program is threatened constantly by software
! patents.  We wish to avoid the danger that companies distributing free
! software will individually obtain patent licenses, thus in effect
! transforming the program into proprietary software.  To prevent this,
! we have made it clear that any patent must be licensed for everyone's
! free use or not licensed at all.
! 
!   Most GNU software, including some libraries, is covered by the ordinary
! GNU General Public License, which was designed for utility programs.  This
! license, the GNU Library General Public License, applies to certain
! designated libraries.  This license is quite different from the ordinary
! one; be sure to read it in full, and don't assume that anything in it is
! the same as in the ordinary license.
! 
!   The reason we have a separate public license for some libraries is that
! they blur the distinction we usually make between modifying or adding to a
! program and simply using it.  Linking a program with a library, without
! changing the library, is in some sense simply using the library, and is
! analogous to running a utility program or application program.  However, in
! a textual and legal sense, the linked executable is a combined work, a
! derivative of the original library, and the ordinary General Public License
! treats it as such.
! 
!   Because of this blurred distinction, using the ordinary General
! Public License for libraries did not effectively promote software
! sharing, because most developers did not use the libraries.  We
! concluded that weaker conditions might promote sharing better.
! 
!   However, unrestricted linking of non-free programs would deprive the
! users of those programs of all benefit from the free status of the
! libraries themselves.  This Library General Public License is intended to
! permit developers of non-free programs to use free libraries, while
! preserving your freedom as a user of such programs to change the free
! libraries that are incorporated in them.  (We have not seen how to achieve
! this as regards changes in header files, but we have achieved it as regards
! changes in the actual functions of the Library.)  The hope is that this
! will lead to faster development of free libraries.
  
    The precise terms and conditions for copying, distribution and
  modification follow.  Pay close attention to the difference between a
  "work based on the library" and a "work that uses the library".  The
! former contains code derived from the library, while the latter only
! works together with the library.
! 
!   Note that it is possible for a library to be covered by the ordinary
! General Public License rather than by this special one.
  
!                 GNU LIBRARY GENERAL PUBLIC LICENSE
     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  
!   0. This License Agreement applies to any software library which
! contains a notice placed by the copyright holder or other authorized
! party saying it may be distributed under the terms of this Library
! General Public License (also called "this License").  Each licensee is
! addressed as "you".
  
    A "library" means a collection of software functions and/or data
--- 18,124 ----
  free software--to make sure the software is free for all its users.
  
!   This license, the Lesser General Public License, applies to some
! specially designated software packages--typically libraries--of the
! Free Software Foundation and other authors who decide to use it.  You
! can use it too, but we suggest you first think carefully about whether
! this license or the ordinary General Public License is the better
! strategy to use in any particular case, based on the explanations below.
! 
!   When we speak of free software, we are referring to freedom of use,
! not price.  Our General Public Licenses are designed to make sure that
! you have the freedom to distribute copies of free software (and charge
! for this service if you wish); that you receive source code or can get
! it if you want it; that you can change the software and use pieces of
! it in new free programs; and that you are informed that you can do
! these things.
  
    To protect your rights, we need to make restrictions that forbid
! distributors to deny you these rights or to ask you to surrender these
! rights.  These restrictions translate to certain responsibilities for
! you if you distribute copies of the library or if you modify it.
  
    For example, if you distribute copies of the library, whether gratis
  or for a fee, you must give the recipients all the rights that we gave
  you.  You must make sure that they, too, receive or can get the source
! code.  If you link other code with the library, you must provide
! complete object files to the recipients, so that they can relink them
! with the library after making changes to the library and recompiling
  it.  And you must show them these terms so they know their rights.
  
!   We protect your rights with a two-step method: (1) we copyright the
! library, and (2) we offer you this license, which gives you legal
  permission to copy, distribute and/or modify the library.
  
!   To protect each distributor, we want to make it very clear that
! there is no warranty for the free library.  Also, if the library is
! modified by someone else and passed on, the recipients should know
! that what they have is not the original version, so that the original
! author's reputation will not be affected by problems that might be
! introduced by others.
  
!   Finally, software patents pose a constant threat to the existence of
! any free program.  We wish to make sure that a company cannot
! effectively restrict the users of a free program by obtaining a
! restrictive license from a patent holder.  Therefore, we insist that
! any patent license obtained for a version of the library must be
! consistent with the full freedom of use specified in this license.
! 
!   Most GNU software, including some libraries, is covered by the
! ordinary GNU General Public License.  This license, the GNU Lesser
! General Public License, applies to certain designated libraries, and
! is quite different from the ordinary General Public License.  We use
! this license for certain libraries in order to permit linking those
! libraries into non-free programs.
! 
!   When a program is linked with a library, whether statically or using
! a shared library, the combination of the two is legally speaking a
! combined work, a derivative of the original library.  The ordinary
! General Public License therefore permits such linking only if the
! entire combination fits its criteria of freedom.  The Lesser General
! Public License permits more lax criteria for linking other code with
! the library.
! 
!   We call this license the "Lesser" General Public License because it
! does Less to protect the user's freedom than the ordinary General
! Public License.  It also provides other free software developers Less
! of an advantage over competing non-free programs.  These disadvantages
! are the reason we use the ordinary General Public License for many
! libraries.  However, the Lesser license provides advantages in certain
! special circumstances.
! 
!   For example, on rare occasions, there may be a special need to
! encourage the widest possible use of a certain library, so that it becomes
! a de-facto standard.  To achieve this, non-free programs must be
! allowed to use the library.  A more frequent case is that a free
! library does the same job as widely used non-free libraries.  In this
! case, there is little to gain by limiting the free library to free
! software only, so we use the Lesser General Public License.
! 
!   In other cases, permission to use a particular library in non-free
! programs enables a greater number of people to use a large body of
! free software.  For example, permission to use the GNU C Library in
! non-free programs enables many more people to use the whole GNU
! operating system, as well as its variant, the GNU/Linux operating
! system.
! 
!   Although the Lesser General Public License is Less protective of the
! users' freedom, it does ensure that the user of a program that is
! linked with the Library has the freedom and the wherewithal to run
! that program using a modified version of the Library.
  
    The precise terms and conditions for copying, distribution and
  modification follow.  Pay close attention to the difference between a
  "work based on the library" and a "work that uses the library".  The
! former contains code derived from the library, whereas the latter must
! be combined with the library in order to run.
  
!                 GNU LESSER GENERAL PUBLIC LICENSE
     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  
!   0. This License Agreement applies to any software library or other
! program which contains a notice placed by the copyright holder or
! other authorized party saying it may be distributed under the terms of
! this Lesser General Public License (also called "this License").
! Each licensee is addressed as "you".
  
    A "library" means a collection of software functions and/or data
***************
*** 257,261 ****
  whether or not they are linked directly with the Library itself.
  
!   6. As an exception to the Sections above, you may also compile or
  link a "work that uses the Library" with the Library to produce a
  work containing portions of the Library, and distribute that work
--- 269,273 ----
  whether or not they are linked directly with the Library itself.
  
!   6. As an exception to the Sections above, you may also combine or
  link a "work that uses the Library" with the Library to produce a
  work containing portions of the Library, and distribute that work
***************
*** 284,297 ****
      to use the modified definitions.)
  
!     b) Accompany the work with a written offer, valid for at
      least three years, to give the same user the materials
      specified in Subsection 6a, above, for a charge no more
      than the cost of performing this distribution.
  
!     c) If distribution of the work is made by offering access to copy
      from a designated place, offer equivalent access to copy the above
      specified materials from the same place.
  
!     d) Verify that the user has already received a copy of these
      materials or that you have already sent this user a copy.
  
--- 296,317 ----
      to use the modified definitions.)
  
!     b) Use a suitable shared library mechanism for linking with the
!     Library.  A suitable mechanism is one that (1) uses at run time a
!     copy of the library already present on the user's computer system,
!     rather than copying library functions into the executable, and (2)
!     will operate properly with a modified version of the library, if
!     the user installs one, as long as the modified version is
!     interface-compatible with the version that the work was made with.
! 
!     c) Accompany the work with a written offer, valid for at
      least three years, to give the same user the materials
      specified in Subsection 6a, above, for a charge no more
      than the cost of performing this distribution.
  
!     d) If distribution of the work is made by offering access to copy
      from a designated place, offer equivalent access to copy the above
      specified materials from the same place.
  
!     e) Verify that the user has already received a copy of these
      materials or that you have already sent this user a copy.
  
***************
*** 299,304 ****
  Library" must include any data and utility programs needed for
  reproducing the executable from it.  However, as a special exception,
! the source code distributed need not include anything that is normally
! distributed (in either source or binary form) with the major
  components (compiler, kernel, and so on) of the operating system on
  which the executable runs, unless that component itself accompanies
--- 319,324 ----
  Library" must include any data and utility programs needed for
  reproducing the executable from it.  However, as a special exception,
! the materials to be distributed need not include anything that is
! normally distributed (in either source or binary form) with the major
  components (compiler, kernel, and so on) of the operating system on
  which the executable runs, unless that component itself accompanies
***************
*** 349,353 ****
  subject to these terms and conditions.  You may not impose any further
  restrictions on the recipients' exercise of the rights granted herein.
! You are not responsible for enforcing compliance by third parties to
  this License.
  
--- 369,373 ----
  subject to these terms and conditions.  You may not impose any further
  restrictions on the recipients' exercise of the rights granted herein.
! You are not responsible for enforcing compliance by third parties with
  this License.
  
***************
*** 392,396 ****
  
    13. The Free Software Foundation may publish revised and/or new
! versions of the Library General Public License from time to time.
  Such new versions will be similar in spirit to the present version,
  but may differ in detail to address new problems or concerns.
--- 412,416 ----
  
    13. The Free Software Foundation may publish revised and/or new
! versions of the Lesser General Public License from time to time.
  Such new versions will be similar in spirit to the present version,
  but may differ in detail to address new problems or concerns.
***************
*** 437,438 ****
--- 457,504 ----
  
                     END OF TERMS AND CONDITIONS
+ 
+            How to Apply These Terms to Your New Libraries
+ 
+   If you develop a new library, and you want it to be of the greatest
+ possible use to the public, we recommend making it free software that
+ everyone can redistribute and change.  You can do so by permitting
+ redistribution under these terms (or, alternatively, under the terms of the
+ ordinary General Public License).
+ 
+   To apply these terms, attach the following notices to the library.  It is
+ safest to attach them to the start of each source file to most effectively
+ convey the exclusion of warranty; and each file should have at least the
+ "copyright" line and a pointer to where the full notice is found.
+ 
+     <one line to give the library's name and a brief idea of what it does.>
+     Copyright (C) <year>  <name of author>
+ 
+     This library is free software; you can redistribute it and/or
+     modify it under the terms of the GNU Lesser General Public
+     License as published by the Free Software Foundation; either
+     version 2.1 of the License, or (at your option) any later version.
+ 
+     This library is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     Lesser General Public License for more details.
+ 
+     You should have received a copy of the GNU Lesser General Public
+     License along with this library; if not, write to the Free Software
+     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
+ Also add information on how to contact you by electronic and paper mail.
+ 
+ You should also get your employer (if you work as a programmer) or your
+ school, if any, to sign a "copyright disclaimer" for the library, if
+ necessary.  Here is a sample; alter the names:
+ 
+   Yoyodyne, Inc., hereby disclaims all copyright interest in the
+   library `Frob' (a library for tweaking knobs) written by James Random 
Hacker.
+ 
+   <signature of Ty Coon>, 1 April 1990
+   Ty Coon, President of Vice
+ 
+ That's all there is to it!
+ 
+ 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]