2 $! This file configures binutils for use with openVMS/Alpha
3 $! We do not use the configure script, since we do not have /bin/sh
6 $! Written by Klaus K"ampf (kkaempf@rmi.de)
8 $arch_indx = 1 + ((f$getsyi("CPU").ge.128).and.1) ! vax==1, alpha==2
9 $arch = f$element(arch_indx,"|","|VAX|Alpha|")
14 /* config.h. Generated automatically by configure.com */
15 /* Is the type time_t defined in <time.h>? */
16 #define HAVE_TIME_T_IN_TIME_H 1
17 /* Is the type time_t defined in <sys/types.h>? */
18 #define HAVE_TIME_T_IN_TYPES_H 1
19 /* Does <utime.h> define struct utimbuf? */
20 #define HAVE_GOOD_UTIME_H 1
21 /* Whether fprintf must be declared even if <stdio.h> is included. */
22 #define NEED_DECLARATION_FPRINTF 1
23 /* Do we need to use the b modifier when opening binary files? */
24 /* #undef USE_BINARY_FOPEN */
25 /* Define if you have the utimes function. */
27 /* Define if you have the <fcntl.h> header file. */
28 #define HAVE_FCNTL_H 1
29 /* Define if you have the <stdlib.h> header file. */
30 #define HAVE_STDLIB_H 1
31 /* Define if you have the <string.h> header file. */
32 #define HAVE_STRING_H 1
33 /* Define if you have the <strings.h> header file. */
34 #define HAVE_STRINGS_H 1
35 /* Define if you have the <sys/file.h> header file. */
36 #define HAVE_SYS_FILE_H 1
37 /* Define if you have the <unistd.h> header file. */
38 #define HAVE_UNISTD_H 1
42 #define C_alloca(x) __ALLOCA(x)
47 $ if arch .eqs. "Alpha"
49 $ target = "vms-alpha"
54 $ open/append tfile config.h
55 $ write tfile "#define TARGET """ + target + """"
57 $ write sys$output "Created `config.h'"
59 $ copy makefile.vms-in makefile.vms
60 $ write sys$output "Created `makefile.vms'"