[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.947,1.948 Makefile.am,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.947,1.948 Makefile.am,1.19,1.20 configure.in,1.73,1.74 |
Date: |
Wed, 28 May 2003 00:17:55 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib
In directory subversions:/tmp/cvs-serv20758
Modified Files:
ChangeLog Makefile.am configure.in
Log Message:
Add the Xsharp library to pnetlib.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.947
retrieving revision 1.948
diff -C2 -r1.947 -r1.948
*** ChangeLog 28 May 2003 02:51:22 -0000 1.947
--- ChangeLog 28 May 2003 04:17:53 -0000 1.948
***************
*** 9,12 ****
--- 9,15 ----
creating an IrDA socket.
+ * Makefile.am, configure.in, Xsharp/*: add the Xsharp library
+ to pnetlib.
+
2003-05-27 Rhys Weatherley <address@hidden>
Index: Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Makefile.am,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** Makefile.am 27 May 2003 10:35:30 -0000 1.19
--- Makefile.am 28 May 2003 04:17:53 -0000 1.20
***************
*** 2,6 ****
SUBDIRS = tools resources runtime I18N DotGNU.SSL System System.Xml . \
System.Net.IrDA csunit csupport compat JScript Basic \
! tests samples
else
SUBDIRS = tools resources runtime DotGNU.SSL System System.Xml . \
--- 2,6 ----
SUBDIRS = tools resources runtime I18N DotGNU.SSL System System.Xml . \
System.Net.IrDA csunit csupport compat JScript Basic \
! Xsharp tests samples
else
SUBDIRS = tools resources runtime DotGNU.SSL System System.Xml . \
Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/configure.in,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -r1.73 -r1.74
*** configure.in 27 May 2003 10:35:30 -0000 1.73
--- configure.in 28 May 2003 04:17:53 -0000 1.74
***************
*** 20,23 ****
--- 20,24 ----
dnl Checks for programs.
AC_PROG_AWK
+ AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
***************
*** 31,34 ****
--- 32,39 ----
fi
+ dnl Check for file extensions.
+ AC_EXEEXT
+ AC_OBJEXT
+
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.
***************
*** 186,189 ****
--- 191,297 ----
AM_CONDITIONAL(HAS_REFLECTION, test "x$REF_FLAG" != "x")
+ dnl The --with-types option can be used to specify the sizes of
+ dnl the native int and long types for Xsharp. 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 A macro that helps detect the size of types in a cross-compile
environment.
+ AC_DEFUN([AC_COMPILE_CHECK_SIZEOF],
+ [changequote(<<, >>)dnl
+ dnl The name to #define.
+ define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl
+ dnl The cache variable name.
+ define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl
+ changequote([, ])dnl
+ AC_MSG_CHECKING(size of $1)
+ AC_CACHE_VAL(AC_CV_NAME,
+ [for ac_size in 4 8 1 2 12 16 $2 ; do # List sizes in rough order of
prevalence.
+ AC_TRY_COMPILE([#include "confdefs.h"
+ #include <sys/types.h>
+ ], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size)
+ if test x$AC_CV_NAME != x ; then break; fi
+ done
+ ])
+ if test x$AC_CV_NAME = x ; then
+ AC_CV_NAME=0
+ fi
+ AC_MSG_RESULT($AC_CV_NAME)
+ AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type
$1])
+ undefine([AC_TYPE_NAME])dnl
+ undefine([AC_CV_NAME])dnl
+ ])
+
+ 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_COMPILE_CHECK_SIZEOF(int, 4)
+ AC_COMPILE_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
***************
*** 201,204 ****
--- 309,314 ----
JScript/Makefile
Basic/Makefile
+ Xsharp/Makefile
+ Xsharp/Xlib.cs
tests/Makefile
tests/System/Makefile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.947,1.948 Makefile.am,1.19,1.20 configure.in,1.73,1.74,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp .cvsignore,NONE,1.1 Application.cs,NONE,1.1 ArcMode.cs,NONE,1.1 Bitmap.cs,NONE,1.1 BuiltinBitmaps.cs,NONE,1.1 ButtonName.cs,NONE,1.1 CapStyle.cs,NONE,1.1 Color.cs,NONE,1.1 Colormap.cs,NONE,1.1 CrossingDetail.cs,NONE,1.1 CrossingMode.cs,NONE,1.1 CursorType.cs,NONE,1.1 Display.cs,NONE,1.1 Drawable.cs,NONE,1.1 DrawableKind.cs,NONE,1.1 Effect.cs,NONE,1.1 EventHandlers.cs,NONE,1.1 FillRule.cs,NONE,1.1 FillStyle.cs,NONE,1.1 Font.cs,NONE,1.1 FontStyle.cs,NONE,1.1 Function.cs,NONE,1.1 Graphics.cs,NONE,1.1 IconData.cs,NONE,1.1 InputOnlyWidget.cs,NONE,1.1 InputOutputWidget.cs,NONE,1.1 JoinStyle.cs,NONE,1.1 KeyName.cs,NONE,1.1 LineStyle.cs,NONE,1.1 Makefile.am,NONE,1.1 Makefile.in,NONE,1.1 ModifierMask.cs,NONE,1.1 Pixmap.cs,NONE,1.1 Point.cs,NONE,1.1 Rectangle.cs,NONE,1.1 Region.cs,NONE,1.1 RootWindow.cs,NONE,1.1 S.cs,NONE,1.1 Screen.cs,NONE,1.1 StandardColor.cs,NONE,1.1 SubwindowMode.cs,NONE,1.1 TopLevelWindow.cs,NONE,1.1 Widget.cs,NONE,1.1 XCannotConnectException.cs,NONE,1.1 XException.cs,NONE,1.1 XInvalidOperationException.cs,NONE,1.1 Xlib.cs.in,NONE,1.1 Xsharp.build,NONE,1.1
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/samples XHello.cs,NONE,1.1 samples.build,1.2,1.3
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp .cvsignore,NONE,1.1 Application.cs,NONE,1.1 ArcMode.cs,NONE,1.1 Bitmap.cs,NONE,1.1 BuiltinBitmaps.cs,NONE,1.1 ButtonName.cs,NONE,1.1 CapStyle.cs,NONE,1.1 Color.cs,NONE,1.1 Colormap.cs,NONE,1.1 CrossingDetail.cs,NONE,1.1 CrossingMode.cs,NONE,1.1 CursorType.cs,NONE,1.1 Display.cs,NONE,1.1 Drawable.cs,NONE,1.1 DrawableKind.cs,NONE,1.1 Effect.cs,NONE,1.1 EventHandlers.cs,NONE,1.1 FillRule.cs,NONE,1.1 FillStyle.cs,NONE,1.1 Font.cs,NONE,1.1 FontStyle.cs,NONE,1.1 Function.cs,NONE,1.1 Graphics.cs,NONE,1.1 IconData.cs,NONE,1.1 InputOnlyWidget.cs,NONE,1.1 InputOutputWidget.cs,NONE,1.1 JoinStyle.cs,NONE,1.1 KeyName.cs,NONE,1.1 LineStyle.cs,NONE,1.1 Makefile.am,NONE,1.1 Makefile.in,NONE,1.1 ModifierMask.cs,NONE,1.1 Pixmap.cs,NONE,1.1 Point.cs,NONE,1.1 Rectangle.cs,NONE,1.1 Region.cs,NONE,1.1 RootWindow.cs,NONE,1.1 S.cs,NONE,1.1 Screen.cs,NONE,1.1 StandardColor.cs,NONE,1.1 SubwindowMode.cs,NONE,1.1 TopLevelWindow.cs,NONE,1.1 Widget.cs,NONE,1.1 XCannotConnectException.cs,NONE,1.1 XException.cs,NONE,1.1 XInvalidOperationException.cs,NONE,1.1 Xlib.cs.in,NONE,1.1 Xsharp.build,NONE,1.1
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/samples XHello.cs,NONE,1.1 samples.build,1.2,1.3
- Index(es):