diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/apollo | 6 | ||||
-rw-r--r-- | config/atari | 9 | ||||
-rw-r--r-- | config/bsd42 | 16 | ||||
-rw-r--r-- | config/bsd43 | 16 | ||||
-rw-r--r-- | config/bsd43r | 3 | ||||
-rw-r--r-- | config/bsd43t | 14 | ||||
-rw-r--r-- | config/cray | 9 | ||||
-rw-r--r-- | config/cray2-50 | 7 | ||||
-rw-r--r-- | config/cray2-60 | 6 | ||||
-rw-r--r-- | config/cray60 | 5 | ||||
-rw-r--r-- | config/interactive2.2 | 9 | ||||
-rw-r--r-- | config/msc60 | 9 | ||||
-rw-r--r-- | config/msdos | 9 | ||||
-rw-r--r-- | config/news | 6 | ||||
-rw-r--r-- | config/next20 | 6 | ||||
-rw-r--r-- | config/rs6000 | 6 | ||||
-rw-r--r-- | config/sequent | 16 | ||||
-rw-r--r-- | config/sgi | 5 | ||||
-rw-r--r-- | config/sgi33 | 4 | ||||
-rw-r--r-- | config/sgi33.cc | 5 | ||||
-rw-r--r-- | config/sunos3 | 8 | ||||
-rw-r--r-- | config/sunos40 | 7 | ||||
-rw-r--r-- | config/sunos41 | 4 | ||||
-rw-r--r-- | config/sysv2 | 6 | ||||
-rw-r--r-- | config/sysv3 | 6 | ||||
-rw-r--r-- | config/sysv4 | 4 | ||||
-rw-r--r-- | config/ultrix31 | 6 | ||||
-rw-r--r-- | config/ultrix40 | 2 | ||||
-rw-r--r-- | config/ultrix41 | 3 | ||||
-rw-r--r-- | config/vms-conf.h | 307 |
30 files changed, 519 insertions, 0 deletions
diff --git a/config/apollo b/config/apollo new file mode 100644 index 00000000..c1660e02 --- /dev/null +++ b/config/apollo @@ -0,0 +1,6 @@ +HP/Apollo workstations, running Domain/OS 10.x, with cc 6.7 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +NO_TOKEN_PASTING 1 +MAKE_Apollo diff --git a/config/atari b/config/atari new file mode 100644 index 00000000..36bf23f6 --- /dev/null +++ b/config/atari @@ -0,0 +1,9 @@ +Atari ST under TOS with gcc compiler +BLKSIZE_MISSING 1 /* Not really - but it may work better that way */ +STRCASE_MISSING 1 +STDC_HEADERS 1 +SYSTEM_MISSING 1 +DEFPATH ".,c:\\\\lib\\\\awk,c:\\\\gnu\\\\lib\\\\awk" +ENVSEP ',' +SZTC (size_t) +INTC (int) diff --git a/config/bsd42 b/config/bsd42 new file mode 100644 index 00000000..720cd0f1 --- /dev/null +++ b/config/bsd42 @@ -0,0 +1,16 @@ +For generic 4.2 BSD machine. +SIGTYPE int +HAVE_UNDERSCORE_SETJMP 1 +GETOPT_MISSING 1 +MEMCMP_MISSING 1 +MEMCPY_MISSING 1 +MEMSET_MISSING 1 +STRCASE_MISSING 1 +STRCHR_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STRTOD_MISSING 1 +STRTOL_MISSING 1 +NON_STD_SPRINTF 1 +VPRINTF_MISSING 1 +BSDSTDIO 1 diff --git a/config/bsd43 b/config/bsd43 new file mode 100644 index 00000000..c48601f7 --- /dev/null +++ b/config/bsd43 @@ -0,0 +1,16 @@ +For generic 4.3 BSD machine. +SIGTYPE int +HAVE_UNDERSCORE_SETJMP 1 +MEMCMP_MISSING 1 +MEMCPY_MISSING 1 +MEMSET_MISSING 1 +STRCASE_MISSING 1 +STRCHR_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STRTOD_MISSING 1 +STRTOL_MISSING 1 +NON_STD_SPRINTF 1 +VPRINTF_MISSING 1 +BSDSTDIO 1 +TZNAME_MISSING 1 diff --git a/config/bsd43r b/config/bsd43r new file mode 100644 index 00000000..e1ea95a2 --- /dev/null +++ b/config/bsd43r @@ -0,0 +1,3 @@ +For generic 4.3-Reno BSD machine. +HAVE_UNDERSCORE_SETJMP 1 +STRTOD_MISSING 1 diff --git a/config/bsd43t b/config/bsd43t new file mode 100644 index 00000000..d0bdcf6b --- /dev/null +++ b/config/bsd43t @@ -0,0 +1,14 @@ +For generic 4.3-Tahoe BSD machine. +SIGTYPE int +HAVE_UNDERSCORE_SETJMP 1 +MEMCMP_MISSING 1 +MEMCPY_MISSING 1 +MEMSET_MISSING 1 +STRCHR_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STRTOD_MISSING 1 +STRTOL_MISSING 1 +NON_STD_SPRINTF 1 +VPRINTF_MISSING 1 +BSDSTDIO 1 diff --git a/config/cray b/config/cray new file mode 100644 index 00000000..fab18998 --- /dev/null +++ b/config/cray @@ -0,0 +1,9 @@ +Cray 2 running Unicos 5.0.7 +BLKSIZE_MISSING 1 +SIGTYPE void +HAVE_UNDERSCORE_SETJMP 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STDC_HEADERS 1 diff --git a/config/cray2-50 b/config/cray2-50 new file mode 100644 index 00000000..744a97eb --- /dev/null +++ b/config/cray2-50 @@ -0,0 +1,7 @@ +Cray CRAY-2 system running Unicos 5.0 or 5.x? +BLKSIZE_MISSING 1 +SIGTYPE void +RANDOM_MISSING 1 +STDC_HEADERS 1 +CHAR_UNSIGNED 1 +STRCASE_MISSING 1 diff --git a/config/cray2-60 b/config/cray2-60 new file mode 100644 index 00000000..6330ba7f --- /dev/null +++ b/config/cray2-60 @@ -0,0 +1,6 @@ +Cray Research CRAY-2 system running Unicos 6.0 or 6.1 +BLKSIZE_MISSING 1 +SIGTYPE void +RANDOM_MISSING 1 +STDC_HEADERS 1 +CHAR_UNSIGNED 1 diff --git a/config/cray60 b/config/cray60 new file mode 100644 index 00000000..043f5dd7 --- /dev/null +++ b/config/cray60 @@ -0,0 +1,5 @@ +Cray Research system running Unicos 6.0 +SIGTYPE void +RANDOM_MISSING 1 +STDC_HEADERS 1 +CHAR_UNSIGNED 1 diff --git a/config/interactive2.2 b/config/interactive2.2 new file mode 100644 index 00000000..24d5ec18 --- /dev/null +++ b/config/interactive2.2 @@ -0,0 +1,9 @@ +Interactive Unix 2.2 +BLKSIZE_MISSING 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STDC_HEADERS 1 +_POSIX_SOURCE 1 +POSIX 1 diff --git a/config/msc60 b/config/msc60 new file mode 100644 index 00000000..d9909659 --- /dev/null +++ b/config/msc60 @@ -0,0 +1,9 @@ +MS-DOS systems using MSC 6.0 +BLKSIZE_MISSING 1 +SIZE_T_MISSING 1 +GCVT_MISSING 1 +GETOPT_MISSING 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +#STRFTIME_MISSING 1 +STRTOL_MISSING 1 diff --git a/config/msdos b/config/msdos new file mode 100644 index 00000000..cb2d4c67 --- /dev/null +++ b/config/msdos @@ -0,0 +1,9 @@ +MS-DOS systems using MSC 5.1 +BLKSIZE_MISSING 1 +SIZE_T_MISSING 1 +GCVT_MISSING 1 +GETOPT_MISSING 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STRFTIME_MISSING 1 +STRTOL_MISSING 1 diff --git a/config/news b/config/news new file mode 100644 index 00000000..dbcc354e --- /dev/null +++ b/config/news @@ -0,0 +1,6 @@ +Sony News +HAVE_UNDERSCORE_SETJMP 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STRTOD_MISSING 1 +NON_STD_SPRINTF 1 diff --git a/config/next20 b/config/next20 new file mode 100644 index 00000000..6151e496 --- /dev/null +++ b/config/next20 @@ -0,0 +1,6 @@ +NeXT running 2.0 +STRTOD_MISSING 1 /* NeXT strtod() is buggy */ +STDC_HEADERS 1 +SZTC (size_t) +INTC (int) +MAKE_NeXT diff --git a/config/rs6000 b/config/rs6000 new file mode 100644 index 00000000..ec389a3b --- /dev/null +++ b/config/rs6000 @@ -0,0 +1,6 @@ +For IBM RS/6000 systems. +RANDOM_MISSING 1 +STDC_HEADERS 1 +CHAR_UNSIGNED 1 +MAKE_ALLOCA_C +MAKE_RS6000 diff --git a/config/sequent b/config/sequent new file mode 100644 index 00000000..48d2821a --- /dev/null +++ b/config/sequent @@ -0,0 +1,16 @@ +For generic 4.3 BSD machine. +SIGTYPE int +HAVE_UNDERSCORE_SETJMP 1 +MEMCMP_MISSING 1 +MEMCPY_MISSING 1 +MEMSET_MISSING 1 +STRCASE_MISSING 1 +STRCHR_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +STRTOD_MISSING 1 +STRTOL_MISSING 1 +NON_STD_SPRINTF 1 +VPRINTF_MISSING 1 +BSDSTDIO 1 +TZSET_MISSING 1 diff --git a/config/sgi b/config/sgi new file mode 100644 index 00000000..7886bb5f --- /dev/null +++ b/config/sgi @@ -0,0 +1,5 @@ +SGI Personal Iris (Sys V derived) +BLKSIZE_MISSING 1 +RANDOM_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 diff --git a/config/sgi33 b/config/sgi33 new file mode 100644 index 00000000..633f8e53 --- /dev/null +++ b/config/sgi33 @@ -0,0 +1,4 @@ +SGI Personal Iris (Sys V derived) (this works with gcc) +BLKSIZE_MISSING 1 +STDC_HEADERS 1 +MAKE_ALLOCA_C diff --git a/config/sgi33.cc b/config/sgi33.cc new file mode 100644 index 00000000..2798db8a --- /dev/null +++ b/config/sgi33.cc @@ -0,0 +1,5 @@ +SGI Personal Iris (Sys V derived) (this works with cc) +BLKSIZE_MISSING 1 +STDC_HEADERS 1 +CHAR_UNSIGNED 1 +MAKE_ALLOCA_C diff --git a/config/sunos3 b/config/sunos3 new file mode 100644 index 00000000..be09e0d8 --- /dev/null +++ b/config/sunos3 @@ -0,0 +1,8 @@ +Sun running SunOS 3.x +SIGTYPE int +HAVE_UNDERSCORE_SETJMP 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +NON_STD_SPRINTF 1 +TZSET_MISSING 1 diff --git a/config/sunos40 b/config/sunos40 new file mode 100644 index 00000000..c3e8bdc2 --- /dev/null +++ b/config/sunos40 @@ -0,0 +1,7 @@ +Sun running SunOS 4.0.x +HAVE_UNDERSCORE_SETJMP 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +TZNAME_MISSING 1 +NON_STD_SPRINTF 1 diff --git a/config/sunos41 b/config/sunos41 new file mode 100644 index 00000000..c26040dc --- /dev/null +++ b/config/sunos41 @@ -0,0 +1,4 @@ +Sun running SunOS 4.1 +HAVE_UNDERSCORE_SETJMP 1 +STRERROR_MISSING 1 +NON_STD_SPRINTF 1 diff --git a/config/sysv2 b/config/sysv2 new file mode 100644 index 00000000..0239639c --- /dev/null +++ b/config/sysv2 @@ -0,0 +1,6 @@ +System V.2 Systems, Amdahl UTS, ATT UnixPCs +BLKSIZE_MISSING 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 diff --git a/config/sysv3 b/config/sysv3 new file mode 100644 index 00000000..30e19d16 --- /dev/null +++ b/config/sysv3 @@ -0,0 +1,6 @@ +System V.3 Systems (generic) +BLKSIZE_MISSING 1 +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 diff --git a/config/sysv4 b/config/sysv4 new file mode 100644 index 00000000..dfaf5ce4 --- /dev/null +++ b/config/sysv4 @@ -0,0 +1,4 @@ +System V.4 Systems (generic) +RANDOM_MISSING 1 +STRCASE_MISSING 1 +STDC_HEADERS 1 diff --git a/config/ultrix31 b/config/ultrix31 new file mode 100644 index 00000000..912c80cd --- /dev/null +++ b/config/ultrix31 @@ -0,0 +1,6 @@ +DECstation or VAX running Ultrix 3.x +HAVE_UNDERSCORE_SETJMP 1 +STRERROR_MISSING 1 +STRFTIME_MISSING 1 +NON_STD_SPRINTF 1 +TZSET_MISSING 1 diff --git a/config/ultrix40 b/config/ultrix40 new file mode 100644 index 00000000..2c0b70db --- /dev/null +++ b/config/ultrix40 @@ -0,0 +1,2 @@ +DECstation running Ultrix 4.0 (4.x?) +STDC_HEADERS 1 diff --git a/config/ultrix41 b/config/ultrix41 new file mode 100644 index 00000000..84348df8 --- /dev/null +++ b/config/ultrix41 @@ -0,0 +1,3 @@ +DECstation running Ultrix 4.1 (and 4.2??) +STDC_HEADERS 1 +#define Ultrix41 1 diff --git a/config/vms-conf.h b/config/vms-conf.h new file mode 100644 index 00000000..d68f0a91 --- /dev/null +++ b/config/vms-conf.h @@ -0,0 +1,307 @@ +/* + * config.h -- configuration definitions for gawk. + * + * For VMS (assumes V4.6 or later; tested on V5.3 and V5.4) + */ + +/* + * Copyright (C) 1991, the Free Software Foundation, Inc. + * + * This file is part of GAWK, the GNU implementation of the + * AWK Progamming Language. + * + * GAWK is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 1, or (at your option) + * any later version. + * + * GAWK is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GAWK; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/**************************/ +/* Miscellanious features */ +/**************************/ + +/* + * BLKSIZE_MISSING + * VMS: missing--not applicable + * Check your /usr/include/sys/stat.h file. If the stat structure + * does not have a member named st_blksize, define this. (This will + * most likely be the case on most System V systems prior to V.4.) + */ +#define BLKSIZE_MISSING 1 + +/* + * SIGTYPE + * VMS: either should work; void is 'correct' + * The return type of the routines passed to the signal function. + * Modern systems use `void', older systems use `int'. + * If left undefined, it will default to void. + */ +#define SIGTYPE void + +/* + * SIZE_T_MISSING + * VMS: <stddef.h> via <stdlib.h> (VAX C V2.3 & up); <sys/types.h> (GNU C) + * If your system has no typedef for size_t, define this to get a default + */ +/* #define SIZE_T_MISSING 1 */ + +/* + * CHAR_UNSIGNED + * VMS: well behaved, either signed or unsigned (signed by default) + * If your machine uses unsigned characters (IBM RT and RS/6000 and others) + * then define this for use in regex.c + */ +/* #define CHAR_UNSIGNED 1 */ + +/* + * HAVE_UNDERSCORE_SETJMP + * VMS: not present + * Check in your /usr/include/setjmp.h file. If there are routines + * there named _setjmp and _longjmp, then you should define this. + * Typically only systems derived from Berkeley Unix have this. + */ +/* #define HAVE_UNDERSCORE_SETJMP 1 */ + +/***********************************************/ +/* Missing library subroutines or system calls */ +/***********************************************/ + +/* + * GETOPT_MISSING + * VMS: missing + * Define this if your library does not have the getopt(3) library + * routine for parsing command line arguments. + */ +#define GETOPT_MISSING 1 + +/* + * MEMCMP_MISSING + * MEMCPY_MISSING + * MEMSET_MISSING + * VMS: <string.h> (introduced V4.6) + * These three routines are for manipulating blocks of memory. Most + * likely they will either all three be present or all three be missing, + * so they're grouped together. + */ +/* #define MEMCMP_MISSING 1 */ +/* #define MEMCPY_MISSING 1 */ +/* #define MEMSET_MISSING 1 */ + +/* + * RANDOM_MISSING + * VMS: missing (as of V5.4) + * Your system does not have the random(3) suite of random number + * generating routines. These are different than the old rand(3) + * routines! + */ +#define RANDOM_MISSING 1 + +/* + * STRCASE_MISSING + * VMS: missing + * Your system does not have the strcasemp() and strncasecmp() + * routines that originated in Berkeley Unix. + */ +#define STRCASE_MISSING 1 + +/* + * STRCHR_MISSING + * VMS: <string.h> + * Your system does not have the strchr() and strrchr() functions. + */ +/* #define STRCHR_MISSING 1 */ + +/* + * STRERROR_MISSING + * VMS: <stdlib.h> (introduced V4.6) + * Your system lacks the ANSI C strerror() routine for returning the + * strings associated with errno values. + */ +/* #define STRERROR_MISSING 1 */ + +/* + * STRFTIME_MISSING + * VMS: missing (as of V5.4) + * Your system lacks the ANSI C strftime() routine for formatting + * broken down time values. + */ +#define STRFTIME_MISSING 1 + +/* + * STRTOD_MISSING + * VMS: <stdlib.h> (introduced V4.6) + * Your system does not have the strtod() routine for converting + * strings to double precision floating point values. + */ +/* #define STRTOD_MISSING 1 */ + +/* + * STRTOL_MISSING + * VMS: <stdlib.h> (introduced V4.6) + * Your system does not have the strtol() routine for converting + * strings to long integers. + */ +/* #define STRTOL_MISSING 1 */ + +/* + * TZSET_MISSING + * VMS: missing, but can't use missing/tzset.c [no timezone support] + * If you have a 4.2 BSD vintage system, then the strftime() routine + * supplied in the missing directory won't be enough, because it relies on the + * tzset() routine from System V / Posix. Fortunately, there is an + * emulation for tzset() too that should do the trick. If you don't + * have tzset(), define this. + */ +/* #define TZSET_MISSING 1 */ + +/* + * STDC_HEADERS + * VMS: close enough (as of V4.6, VAX C V2.3) [GCC, see below] + * If your system does have ANSI compliant header files that + * provide prototypes for library routines, then define this. + */ +#define STDC_HEADERS 1 + +/* + * NO_TOKEN_PASTING + * VMS: compiler specific--see below + * If your compiler define's __STDC__ but does not support token + * pasting (tok##tok), then define this. + */ +/* #define NO_TOKEN_PASTING 1 */ + +/*****************************************************************/ +/* Stuff related to the Standard I/O Library. */ +/*****************************************************************/ +/* Much of this is (still, unfortunately) black magic in nature. */ +/* You may have to use some or all of these together to get gawk */ +/* to work correctly. */ +/*****************************************************************/ + +/* + * NON_STD_SPRINTF + * VMS: ok + * Look in your /usr/include/stdio.h file. If the return type of the + * sprintf() function is NOT `int', define this. + */ +/* #define NON_STD_SPRINTF 1 */ + +/* + * VPRINTF_MISSING + * VMS: ok (introduced V4.6) + * Define this if your system lacks vprintf() and the other routines + * that go with it. + */ +/* #define VPRINTF_MISSING 1 */ + +/* + * BSDSTDIO + * VMS: forgot it + * Define this if your standard i/o library is internally compatible + * with the one shipped with Berkeley Unix systems (4.n, n <= 3-reno). + * If you've defined VPRINTF_MISSING, you probably will need this too. + */ +/* #define BSDSTDIO 1 */ + +/* + * DOPRNT_MISSING + * VMS: missing--doesn't matter + * Define this if your standard i/o library does not have the _doprnt() + * routine. This is used in an attempt to simulate the vfprintf() + * routine. + */ +/* #define DOPRNT_MISSING 1 */ + +/* + * Casts from size_t to int and back. These will become unnecessary + * at some point in the future, but for now are required where the + * two types are a different representation. + */ +/* #define SZTC */ +/* #define INTC */ + +/* + * SYSTEM_MISSING + * VMS: ok (introduced V4.6) + * Define this if your library does not provide a system function + * or you are not entirely happy with it and would rather use + * a provided replacement (atari only). + */ +/* #define SYSTEM_MISSING 1 */ + + +/*******************************/ +/* Gawk configuration options. */ +/*******************************/ + +/* + * DEFPATH + * VMS: "/AWK_LIBRARY" => "AWK_LIBRARY:" + * The default search path for the -f option of gawk. It is used + * if the AWKPATH environment variable is undefined. + * + * Note: OK even if no AWK_LIBRARY logical name has been defined. + */ + +#define DEFPATH ".,/AWK_LIBRARY" +#define ENVSEP ',' + +/* + * Extended source file access. + */ +#define DEFAULT_FILETYPE ".awk" + +/* + * Pipe handling. + */ +#define PIPES_SIMULATED 1 + +/* + * %g format in VAXCRTL is broken (chooses %e format when should use %f). + */ +#define GFMT_WORKAROUND 1 + +/* + * VAX C + * + * As of V3.2, VAX C is not yet ANSI-compliant. But it's close enough + * for GAWK's purposes. Comment this out for VAX C V2.4 and earlier. + * Value of 0 should mean "not ANSI-C", but GAWK uses def/not-def tests. + * YYDEBUG definition is needed for combination of VAX C V2.x and Bison. + */ +#if defined(VAXC) && !defined(__STDC__) +#define __STDC__ 0 +#define NO_TOKEN_PASTING +#define VAXC_BUILTINS +/* #define YYDEBUG 0 */ +#endif + +/* + * GNU C + * + * Versions of GCC (actually GAS) earlier than 1.38 don't produce the + * right code for ``extern const'' constructs, and other usages of + * const might not be right either. The old set of include files from + * the gcc-vms distribution did not contain prototypes, and this could + * provoke some const-related compiler warnings. If you've got an old + * version of gcc for VMS, define 'const' out of existance, and by all + * means obtain the most recent version! + * + * Note: old versions of GCC should also avoid defining STDC_HEADERS, + * because most of the ANSI-C required header files are missing. + */ +#ifdef __GNUC__ +#define const +#undef STDC_HEADERS +#define alloca __builtin_alloca +#define environ $$PsectAttributes_NOSHR$$environ /* awful GAS kludge */ +#endif |