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

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

[dotgnu-pnet-commits] pnet ChangeLog configure.in cscc/c/c_grammar.y ...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog configure.in cscc/c/c_grammar.y ...
Date: Sun, 22 Feb 2009 15:06:51 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      09/02/22 15:06:51

Modified files:
        .              : ChangeLog configure.in 
        cscc/c         : c_grammar.y 
        cscc/csharp    : cs_grammar.y 
        cscc/vb        : vb_grammar.y 
        ilasm          : ilasm_grammar.y 
        support        : thr_defs.h 

Log message:
        Use GNU extensions everywhere if possible.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3605&r2=1.3606
http://cvs.savannah.gnu.org/viewcvs/pnet/configure.in?cvsroot=dotgnu-pnet&r1=1.231&r2=1.232
http://cvs.savannah.gnu.org/viewcvs/pnet/cscc/c/c_grammar.y?cvsroot=dotgnu-pnet&r1=1.84&r2=1.85
http://cvs.savannah.gnu.org/viewcvs/pnet/cscc/csharp/cs_grammar.y?cvsroot=dotgnu-pnet&r1=1.88&r2=1.89
http://cvs.savannah.gnu.org/viewcvs/pnet/cscc/vb/vb_grammar.y?cvsroot=dotgnu-pnet&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/pnet/ilasm/ilasm_grammar.y?cvsroot=dotgnu-pnet&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/pnet/support/thr_defs.h?cvsroot=dotgnu-pnet&r1=1.17&r2=1.18

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3605
retrieving revision 1.3606
diff -u -b -r1.3605 -r1.3606
--- ChangeLog   22 Feb 2009 12:31:20 -0000      1.3605
+++ ChangeLog   22 Feb 2009 15:06:49 -0000      1.3606
@@ -3,6 +3,11 @@
        * configure.in: Add checking for x86_64-*-linux* when checking which
        thread library to use if not specified.
        Add checks for existance of the round, rint and trunc functions.
+       Add AC_GNU_SOURCE.
+
+       * cscc/c/c_grammar.y, cscc/csharp/cs_grammar.y, cscc/vb/vb_grammar.y,
+       ilasm/ilasm_grammar.y: Include il_config.h before including any other
+       file for having _GNU_SOURCE propperly defined.
 
        * engine/int_proto.h, engine/int_table.c: Regenerate
 
@@ -12,6 +17,9 @@
 
        * libgc/Makefile.am: Remove libtool.m4 from extra dists.
 
+       * support/thr_defs.h: Remove definition of _GNU_SOURCE because it will 
be
+       defined by il_config.h now if applicable.
+
 2009-02-15  Klaus Treichel  <address@hidden>
 
        * cscc/csharp/cs_cast.tc (CSTypeToName): Add handling of generic type

Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -b -r1.231 -r1.232
--- configure.in        22 Feb 2009 12:31:21 -0000      1.231
+++ configure.in        22 Feb 2009 15:06:50 -0000      1.232
@@ -4,6 +4,9 @@
 dnl Determine the build, host, and target system types.
 AC_CANONICAL_SYSTEM
 
+dnl Use gnu extensions where avaiable
+AC_GNU_SOURCE
+
 dnl Initialize automake.
 AM_INIT_AUTOMAKE(pnet, 0.8.1)
 AM_CONFIG_HEADER(include/il_config.h)

Index: cscc/c/c_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_grammar.y,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- cscc/c/c_grammar.y  19 Oct 2008 16:45:17 -0000      1.84
+++ cscc/c/c_grammar.y  22 Feb 2009 15:06:50 -0000      1.85
@@ -22,6 +22,7 @@
 /* Rename the lex/yacc symbols to support multiple parsers */
 #include "c_rename.h"
 
+#include "il_config.h"
 #include <stdio.h>
 #include <cscc/c/c_internal.h>
 #include "il_dumpasm.h"

Index: cscc/csharp/cs_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_grammar.y,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- cscc/csharp/cs_grammar.y    15 Feb 2009 15:00:57 -0000      1.88
+++ cscc/csharp/cs_grammar.y    22 Feb 2009 15:06:50 -0000      1.89
@@ -24,6 +24,7 @@
 
 /*#define YYDEBUG 1*/
 
+#include "il_config.h"
 #include <stdio.h>
 #include "il_system.h"
 #include "il_opcodes.h"

Index: cscc/vb/vb_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/vb/vb_grammar.y,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- cscc/vb/vb_grammar.y        19 Oct 2008 16:45:18 -0000      1.7
+++ cscc/vb/vb_grammar.y        22 Feb 2009 15:06:50 -0000      1.8
@@ -22,6 +22,7 @@
 /* Rename the lex/yacc symbols to support multiple parsers */
 #include "vb_rename.h"
 
+#include "il_config.h"
 #include <stdio.h>
 #include <cscc/vb/vb_internal.h>
 

Index: ilasm/ilasm_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilasm/ilasm_grammar.y,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- ilasm/ilasm_grammar.y       26 Nov 2008 20:15:24 -0000      1.52
+++ ilasm/ilasm_grammar.y       22 Feb 2009 15:06:51 -0000      1.53
@@ -25,6 +25,7 @@
 
 #define YYDEBUG 1
 
+#include "il_config.h"
 #include <stdio.h>
 #include "il_system.h"
 #include "il_opcodes.h"

Index: support/thr_defs.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/thr_defs.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- support/thr_defs.h  10 Oct 2005 20:03:15 -0000      1.17
+++ support/thr_defs.h  22 Feb 2009 15:06:51 -0000      1.18
@@ -22,8 +22,6 @@
 #ifndef        _THR_DEFS_H
 #define        _THR_DEFS_H
 
-#define        _GNU_SOURCE             /* Get read-write lock support from 
<pthread.h> */
-
 /*
  * Choose which thread package we will be using.
  */




reply via email to

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