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