Hi Mark,

Am Donnerstag, den 19.01.2006, 01:59 +0100 schrieb Mark Wielaard:
> Hi Roman,
> 
> On Wed, 2006-01-18 at 11:31 +0000, Roman Kennke wrote:
> > CVSROOT:    /cvsroot/classpath
> > Module name:        classpath
> > Branch:     
> > Changes by: Roman Kennke <[EMAIL PROTECTED]>        06/01/18 11:31:14
> > 
> > Modified files:
> >     .              : ChangeLog configure.ac 
> > 
> > Log message:
> >     2006-01-18  Roman Kennke  <     
> >     
> >     * configure.ac: Added --enable-posix-layer option to enable
> >     build of the posix target layer.
> 
> I didn't see a patch with the rationale for this on classpath-patches,
> can you please post one with a little explanation.

I fixed the build machinery so that the posix layer can (in theory) be
build by adding --enable-posix-layer to the configure call. However, the
posix code seems to have bugs and is not buildable ATM. I'll try to fix
that asap (and still commit this, mainly to answer you email :-) )


2006-01-19  Roman Kennke  <[EMAIL PROTECTED]>

        * configure.ac: Added/fixed --enable-posix-layer option to
enable
        build of posix layer.
        * native/target/Makefile.am: Added build for posix layer.

/Roman

Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.129
diff -u -r1.129 configure.ac
--- configure.ac	19 Jan 2006 10:32:20 -0000	1.129
+++ configure.ac	19 Jan 2006 10:57:54 -0000
@@ -32,9 +32,6 @@
 
 dnl get the target for the native layer
 case "$target_os" in
-    linux* )
-        TARGET=Linux
-        ;;
     * )
         dnl XXX change me when transition to target native layer is done
         TARGET=Linux
@@ -201,10 +198,11 @@
                 *) ENABLE_POSIX=yes ;;
               esac],
               [ENABLE_POSIX=no])
-AC_SUBST(CP_NEW)
+AC_SUBST(NEW_CP)
 if test "x${ENABLE_POSIX}" = xyes; then
-  AC_DEFINE(CP_NEW, 1, [defined if the posix layer should be used])
+  AC_DEFINE(NEW_CP, 1, [defined if the posix layer should be used])
 fi
+AM_CONDITIONAL(CREATE_POSIX, test "x${ENABLE_POSIX}" = xyes)
 
 dnl -----------------------------------------------------------
 dnl Sets the native libraries installation dir
Index: native/target/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/native/target/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- native/target/Makefile.am	19 Jan 2006 10:32:20 -0000	1.5
+++ native/target/Makefile.am	19 Jan 2006 10:57:54 -0000
@@ -1,5 +1,9 @@
 ## Input file for automake to generate the Makefile.in used by configure
 
+if CREATE_POSIX
+  POSIXDIR = posix
+endif
+
 DIST_SUBDIRS = \
 	Linux \
 	SunOS \
@@ -11,7 +15,8 @@
 
 SUBDIRS = \
 	$(TARGET) \
-	generic
+	generic \
+	posix
 
 EXTRA_DIST = readme.txt
 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to