diff options
author | Hartmut Becker <becker.ismaning@freenet.de> | 2014-08-18 22:45:29 +0200 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-07 17:13:56 -0400 |
commit | 7e51810bb575040295523e373028ed714daade44 (patch) | |
tree | e2eb78095bc60d0834eec113f51395ad2048a83e /config.h-vms.template | |
parent | bd30df44788c6a74ab9943b8b41b12df338e105b (diff) | |
download | gunmake-7e51810bb575040295523e373028ed714daade44.tar.gz |
Enhance/fix VMS build environment
* config.h-vms.template: make sure the CRTL version is known
* makefile.com: always compile/link the guile module, remove VAXCRTL
parameter, new LIST parameter
* makefile.vms: always compile/link the guile module, use more
complete dependencies
* prepare_vms.com: helper to create a VMS config file when building
from a snapshot of the repository
Diffstat (limited to 'config.h-vms.template')
-rw-r--r-- | config.h-vms.template | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config.h-vms.template b/config.h-vms.template index 3b4bd3b..eefc299 100644 --- a/config.h-vms.template +++ b/config.h-vms.template @@ -18,6 +18,12 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* config.h. Generated automatically by configure. */ /* config.h.in. Generated automatically from configure.ac by autoheader. */ +/* Pull in types.h here to get __CRTL_VER defined for old versions of the + compiler which don't define it. */ +#ifdef __DECC +# include <types.h> +#endif + /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ @@ -372,15 +378,9 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* #undef HAVE_VMSDIR_H */ /* #undef _DIRENT_HAVE_D_NAMLEN */ -/* On older systems without 7.0 backport of CRTL the first one is defined */ -#ifdef __CRTL_VER -# if __CRTL_VER < 70000000 -# define HAVE_VMSDIR_H 1 -# endif -#else -# if __VMS_VER < 70000000 -# define HAVE_VMSDIR_H 1 -# endif +/* On older systems without 7.0 backport of CRTL use non-VMS code for opendir() etc. */ +#if __CRTL_VER < 70000000 +# define HAVE_VMSDIR_H 1 #endif #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H) |