[Cmake-commits] [cmake-commits] hoffman committed ProcessUNIX.c 1.81 1.82 System.h.in 1.8 1.9 SystemTools.cxx 1.239 1.240 kwsysPrivate.h 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Apr 23 11:09:39 EDT 2009


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv24424/Source/kwsys

Modified Files:
	ProcessUNIX.c System.h.in SystemTools.cxx kwsysPrivate.h 
Log Message:
ENH: check in almost building VMS stuff with VMSBuild directory since the bootstrap script will not work on VMS


Index: ProcessUNIX.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/ProcessUNIX.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -C 2 -d -r1.81 -r1.82
*** ProcessUNIX.c	16 Mar 2009 21:38:17 -0000	1.81
--- ProcessUNIX.c	23 Apr 2009 15:09:32 -0000	1.82
***************
*** 2271,2274 ****
--- 2271,2277 ----
      {
      /* Create an intermediate process.  */
+ #ifdef __VMS
+ #define fork vfork
+ #endif
      pid_t middle_pid = fork();
      if(middle_pid < 0)

Index: kwsysPrivate.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/kwsysPrivate.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** kwsysPrivate.h	15 Dec 2003 21:30:46 -0000	1.3
--- kwsysPrivate.h	23 Apr 2009 15:09:36 -0000	1.4
***************
*** 13,17 ****
  =========================================================================*/
  #ifndef KWSYS_NAMESPACE
! # error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
  #endif
  
--- 13,19 ----
  =========================================================================*/
  #ifndef KWSYS_NAMESPACE
! # ifndef __VMS
! #  error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
! # endif
  #endif
  
***************
*** 40,43 ****
  
  #else
! # error "kwsysPrivate.h included multiple times."
  #endif
--- 42,47 ----
  
  #else
! # ifndef __VMS
! #  error "kwsysPrivate.h included multiple times."
! # endif
  #endif

Index: System.h.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/System.h.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** System.h.in	14 Apr 2009 13:35:56 -0000	1.8
--- System.h.in	23 Apr 2009 15:09:35 -0000	1.9
***************
*** 40,43 ****
--- 40,52 ----
  #endif
  
+ #ifdef __VMS
+ #define @KWSYS_NAMESPACE at System_Shell_GetArgumentForUnix \
+    @KWSYS_NAMESPACE at System_Shell_UnixGA
+ #define @KWSYS_NAMESPACE at System_Shell_GetArgumentSizeForUnix \
+    @KWSYS_NAMESPACE at System_Shell_UnixGAS
+ #define @KWSYS_NAMESPACE at System_Shell_GetArgumentForWindows \
+    @KWSYS_NAMESPACE at System_Shell_WindowsGA
+ #endif
+ 
  #if defined(__cplusplus)
  extern "C"

Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.239
retrieving revision 1.240
diff -C 2 -d -r1.239 -r1.240
*** SystemTools.cxx	21 Apr 2009 15:36:59 -0000	1.239
--- SystemTools.cxx	23 Apr 2009 15:09:36 -0000	1.240
***************
*** 54,63 ****
  #include <utime.h>
  #include <limits.h>
- #include <sys/param.h>
  #include <sys/wait.h>
  #include <sys/ioctl.h>
  #include <unistd.h>
  #include <pwd.h>
  #include <termios.h>
  #include <signal.h>    /* sigprocmask */
  #endif
--- 54,65 ----
  #include <utime.h>
  #include <limits.h>
  #include <sys/wait.h>
  #include <sys/ioctl.h>
  #include <unistd.h>
  #include <pwd.h>
+ #ifndef __VMS
+ #include <sys/param.h>
  #include <termios.h>
+ #endif
  #include <signal.h>    /* sigprocmask */
  #endif



More information about the Cmake-commits mailing list