ChangeLog:
[deliverable/binutils-gdb.git] / gas / configure.com
CommitLineData
cb0e7c25
TG
1$! configure.com
2$! This file sets things up to build gas on a VMS system to generate object
3$! files for a VMS system. We do not use the configure script, since we
4$! do not have /bin/sh to execute it.
5$!
6$!
7$ arch_indx = 1 + ((f$getsyi("CPU").ge.128).and.1) ! vax==1, alpha==2
8$ arch = f$element(arch_indx,"|","|VAX|Alpha|")
9$!
10$ if arch.eqs."Alpha"
11$ then
12$! Target specific information
13$ create targ-cpu.h
14#include "tc-alpha.h"
15$ create targ-cpu.c
16#include "tc-alpha.c"
17$ create targ-env.h
18#define TE_VMS
19#include "obj-format.h"
20$
21$! Code to handle the object file format.
22$ create obj-format.h
23#include "obj-evax.h"
24$ create obj-format.c
25#include "obj-evax.c"
26$ create atof-targ.c
27#include "atof-ieee.c"
28$ create config-vms.in
29/* config.h. Generated by configure.com. */
30/* Define to 1 if using `alloca.c'. */
31#undef C_ALLOCA
32
33/* Default architecture. */
34#undef DEFAULT_ARCH
35
36/* Default emulation. */
37#define DEFAULT_EMULATION ""
38
39/* Supported emulations. */
40#define EMULATIONS
41
42/* Define if you want run-time sanity checks. */
43#undef ENABLE_CHECKING
44
45/* Define to 1 if translation of program messages to the user's native
46 language is requested. */
47#undef ENABLE_NLS
48
49/* Define to 1 if you have `alloca', as a function or macro. */
50#define HAVE_ALLOCA 1
51#include <builtins.h>
52#define C_alloca(x) __ALLOCA(x)
53
54/* Is the prototype for getopt in <unistd.h> in the expected format? */
55#define HAVE_DECL_GETOPT 1
56
57/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
58 don't. */
59#undef HAVE_DECL_VSNPRINTF
60
61/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
62 don't. */
63#define HAVE_DECL_SNPRINTF 1
64
65/* Define to 1 if you have the <errno.h> header file. */
66#define HAVE_ERRNO_H 1
67
68/* Define to 1 if you have the <limits.h> header file. */
69#undef HAVE_LIMITS_H
70
71/* Define to 1 if you have the `remove' function. */
72#define HAVE_REMOVE 1
73
74/* Define to 1 if you have the <stdarg.h> header file. */
75#define HAVE_STDARG_H 1
76
77/* Define to 1 if you have the <stdint.h> header file. */
78#undef HAVE_STDINT_H
79
80/* Define to 1 if you have the <stdlib.h> header file. */
81#define HAVE_STDLIB_H 1
82
83/* Define to 1 if you have the <strings.h> header file. */
84#define HAVE_STRINGS_H 1
85
86/* Define to 1 if you have the <string.h> header file. */
87#define HAVE_STRING_H 1
88
89/* Define to 1 if you have the <sys/stat.h> header file. */
90#undef HAVE_SYS_STAT_H
91
92/* Define to 1 if you have the <sys/types.h> header file. */
93#undef HAVE_SYS_TYPES_H
94
95/* Define to 1 if you have the <unistd.h> header file. */
96#undef HAVE_UNISTD_H
97
98/* Define to 1 if you have the `unlink' function. */
99#undef HAVE_UNLINK
100
101/* Name of package */
102#define PACKAGE "gas"
103
104/* Define to the address where bug reports for this package should be sent. */
105#define PACKAGE_BUGREPORT ""
106
107/* Define to the full name of this package. */
108#define PACKAGE_NAME ""
109
110/* Define to the full name and version of this package. */
111#define PACKAGE_STRING ""
112
113/* Define to the one symbol short name of this package. */
114#define PACKAGE_TARNAME ""
115
116/* Define to the version of this package. */
117#define PACKAGE_VERSION ""
118
119/* Define to 1 if you have the ANSI C header files. */
120#define STDC_HEADERS 1
121
122/* Target alias. */
123#define TARGET_ALIAS "alpha-dec-openvms"
124
125/* Canonical target. */
126#define TARGET_CANONICAL "alpha-dec-openvms"
127
128/* Target CPU. */
129#define TARGET_CPU "alpha"
130
131/* Target OS. */
132#define TARGET_OS "openvms"
133
134/* Target vendor. */
135#define TARGET_VENDOR "dec"
136
137/* Define to 1 if your processor stores words with the most significant byte
138 first (like Motorola and SPARC, unlike Intel and VAX). */
139#define WORDS_BIGENDIAN 1
140
141/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
142 `char[]'. */
143#undef YYTEXT_POINTER
144
145/* Version number of package */
146$
147$ endif
148$!
149$! Get VERSION from ../bfd/configure.in
150$!
151$ edit/tpu/nojournal/nosection/nodisplay/command=sys$input
152$DECK
153 mfile := CREATE_BUFFER("mfile", "[-.bfd]configure.in");
154 match_pos := SEARCH_QUIETLY('AM_INIT_AUTOMAKE(bfd, ', FORWARD, EXACT, mfile);
155 IF match_pos <> 0 THEN;
156 POSITION(BEGINNING_OF(match_pos));
157 ERASE(match_pos);
158 vers := CURRENT_LINE-")";
159 ELSE;
160 vers := "unknown";
161 ENDIF;
162
163 file := CREATE_BUFFER("file", "config-vms.in");
164 POSITION(END_OF(file));
165 COPY_TEXT("#define VERSION """);
166 COPY_TEXT(vers);
167 COPY_TEXT("""");
168 WRITE_FILE(file, "config.h");
169 QUIT
170$ EOD
171$del/nolog config-vms.in;
172$exit
This page took 0.041293 seconds and 4 git commands to generate.