summaryrefslogtreecommitdiff
path: root/config.h-vms.template
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-09-07 17:13:56 -0400
committerPaul Smith <psmith@gnu.org>2014-09-07 17:13:56 -0400
commitf22899fba215d8cb9620ade16e747e885215dad8 (patch)
treee2eb78095bc60d0834eec113f51395ad2048a83e /config.h-vms.template
parent2a83083c19b3c7010d392e59ed88e237c6ac792f (diff)
downloadmake-f22899fba215d8cb9620ade16e747e885215dad8.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.template18
1 files changed, 9 insertions, 9 deletions
diff --git a/config.h-vms.template b/config.h-vms.template
index 3b4bd3b5..eefc2993 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)