diff options
Diffstat (limited to 'config')
54 files changed, 0 insertions, 993 deletions
diff --git a/config/apollo b/config/apollo deleted file mode 100644 index c1660e02..00000000 --- a/config/apollo +++ /dev/null @@ -1,6 +0,0 @@ -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 deleted file mode 100644 index 29a80bb3..00000000 --- a/config/atari +++ /dev/null @@ -1,11 +0,0 @@ -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 -SRANDOM_PROTO 1 -ALLOCA_PROTO 1 -DEFPATH ".,c:\\\\lib\\\\awk,c:\\\\gnu\\\\lib\\\\awk" -ENVSEP ',' -SZTC (size_t) -INTC (int) diff --git a/config/bsd42 b/config/bsd42 deleted file mode 100644 index 720cd0f1..00000000 --- a/config/bsd42 +++ /dev/null @@ -1,16 +0,0 @@ -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 deleted file mode 100644 index c48601f7..00000000 --- a/config/bsd43 +++ /dev/null @@ -1,16 +0,0 @@ -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 deleted file mode 100644 index e1ea95a2..00000000 --- a/config/bsd43r +++ /dev/null @@ -1,3 +0,0 @@ -For generic 4.3-Reno BSD machine. -HAVE_UNDERSCORE_SETJMP 1 -STRTOD_MISSING 1 diff --git a/config/bsd43t b/config/bsd43t deleted file mode 100644 index d0bdcf6b..00000000 --- a/config/bsd43t +++ /dev/null @@ -1,14 +0,0 @@ -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/bsd44 b/config/bsd44 deleted file mode 100644 index 6c908859..00000000 --- a/config/bsd44 +++ /dev/null @@ -1,5 +0,0 @@ -For generic 4.4 alpha -HAVE_UNDERSCORE_SETJMP 1 -STDC_HEADERS 1 -ALLOCA_PROTO 1 -SRANDOM_PROTO 1 diff --git a/config/convex b/config/convex deleted file mode 100644 index 4e8c2d8e..00000000 --- a/config/convex +++ /dev/null @@ -1,7 +0,0 @@ -ConvexOS 9.1, Convex C 4.1. I used cc -O1 -HAVE_UNDERSCORE_SETJMP 1 -STRERROR_MISSING 1 -STRCASE_MISSING 1 -STRTOD_MISSING 1 -STDC_HEADERS 1 -CHAR_UNSIGNED 1 diff --git a/config/cray b/config/cray deleted file mode 100644 index fab18998..00000000 --- a/config/cray +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 744a97eb..00000000 --- a/config/cray2-50 +++ /dev/null @@ -1,7 +0,0 @@ -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 deleted file mode 100644 index 6330ba7f..00000000 --- a/config/cray2-60 +++ /dev/null @@ -1,6 +0,0 @@ -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 deleted file mode 100644 index c9aa5729..00000000 --- a/config/cray60 +++ /dev/null @@ -1,9 +0,0 @@ -Cray Research system running Unicos 6.0 or later -SIGTYPE void -RANDOM_MISSING 1 -STDC_HEADERS 1 -SRANDOM_PROTO 1 -CHAR_UNSIGNED 1 -GETPGRP_NOARG 1 -MAKE_ALLOCA_C -MAKE_CC diff --git a/config/gnu b/config/gnu deleted file mode 100644 index 93f0465d..00000000 --- a/config/gnu +++ /dev/null @@ -1,6 +0,0 @@ -For the GNU operating system. - -SIGTYPE void -HAVE_UNDERSCORE_SETJMP 1 -STDC_HEADERS 1 -GETPGRP_NOARG 1 diff --git a/config/hiosf1 b/config/hiosf1 deleted file mode 100644 index 6345da6d..00000000 --- a/config/hiosf1 +++ /dev/null @@ -1,5 +0,0 @@ -For HITACHI S systems hitm-hitachi-osf1. -RANDOM_MISSING 1 -STDC_HEADERS 1 -CHAR_UNSIGNED 1 -MAKE_CC diff --git a/config/hiuxwe2 b/config/hiuxwe2 deleted file mode 100644 index aaaa7334..00000000 --- a/config/hiuxwe2 +++ /dev/null @@ -1,5 +0,0 @@ -For HITACHI PA-RISC hppa1.0-hitachi-hiuxwe2 systems. -STDC_HEADERS 1 -RANDOM_MISSING 1 -MAKE_ALLOCA_PW -MAKE_CC diff --git a/config/hpux7.0 b/config/hpux7.0 deleted file mode 100644 index f0fe7902..00000000 --- a/config/hpux7.0 +++ /dev/null @@ -1,9 +0,0 @@ -For HPUX 7.0 -STDC_HEADERS 1 -_POSIX_SOURCE 1 -POSIX 1 -HAVE_UNDERSCORE_SETJMP 1 -STRCASE_MISSING 1 -BSDSTDIO 1 -RANDOM_MISSING 1 -GETPGRP_NOARG 1 diff --git a/config/hpux8x b/config/hpux8x deleted file mode 100644 index 31fda382..00000000 --- a/config/hpux8x +++ /dev/null @@ -1,5 +0,0 @@ -HPPA running HP-UX 8.x -STDC_HEADERS 1 -RANDOM_MISSING 1 -MAKE_ALLOCA_PW -GETPGRP_NOARG 1 diff --git a/config/ibmrt-aos b/config/ibmrt-aos deleted file mode 100644 index afbf1aa4..00000000 --- a/config/ibmrt-aos +++ /dev/null @@ -1,19 +0,0 @@ -For IBM RT running AOS -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 -TZSET_MISSING 1 -FMOD_MISSING 1 -CHAR_UNSIGNED 1 diff --git a/config/interactive2.2 b/config/interactive2.2 deleted file mode 100644 index 24d5ec18..00000000 --- a/config/interactive2.2 +++ /dev/null @@ -1,9 +0,0 @@ -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/linux b/config/linux deleted file mode 100644 index ff825f59..00000000 --- a/config/linux +++ /dev/null @@ -1,3 +0,0 @@ -Configure file for Linux 0.98.pl4 (with gcc 2.2.2d7) -DOPRNT_MISSING 1 -SRANDOM_PROTO 1 diff --git a/config/lynxos b/config/lynxos deleted file mode 100644 index 550b2134..00000000 --- a/config/lynxos +++ /dev/null @@ -1,10 +0,0 @@ -For Lynx version 2.1 -SIGTYPE int -STDC_HEADERS 1 -HAVE_STRING_H 1 -STRCASE_MISSING 1 -STRERROR_MISSING 1 -STRFTIME_MISSING 1 -TZNAME_MISSING 1 -TZSET_MISSING 1 -TM_ZONE_MISSING 1 diff --git a/config/mach b/config/mach deleted file mode 100644 index fc630e37..00000000 --- a/config/mach +++ /dev/null @@ -1,9 +0,0 @@ -For Mach-386 2.6 system. Should work on other Mach 2.5 or 2.6 systems. -SIGTYPE int -HAVE_UNDERSCORE_SETJMP 1 -STRERROR_MISSING 1 -STRFTIME_MISSING 1 -STRTOD_MISSING 1 -STRTOL_MISSING 1 -TZNAME_MISSING 1 -BSDSTDIO 1 diff --git a/config/msc60 b/config/msc60 deleted file mode 100644 index d9909659..00000000 --- a/config/msc60 +++ /dev/null @@ -1,9 +0,0 @@ -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/news b/config/news deleted file mode 100644 index dbcc354e..00000000 --- a/config/news +++ /dev/null @@ -1,6 +0,0 @@ -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 deleted file mode 100644 index 29528a94..00000000 --- a/config/next20 +++ /dev/null @@ -1,8 +0,0 @@ -NeXT running 2.0 -STRTOD_MISSING 1 /* NeXT strtod() is buggy */ -STDC_HEADERS 1 -ALLOCA_PROTO 1 -SRANDOM_PROTO 1 -SZTC (size_t) -INTC (int) -MAKE_NeXT diff --git a/config/next21 b/config/next21 deleted file mode 100644 index f29aa951..00000000 --- a/config/next21 +++ /dev/null @@ -1,7 +0,0 @@ -NeXT running 2.1 or higher -STDC_HEADERS 1 -ALLOCA_PROTO 1 -SRANDOM_PROTO 1 -SZTC (size_t) -INTC (int) -MAKE_NeXT diff --git a/config/next30 b/config/next30 deleted file mode 100644 index f29aa951..00000000 --- a/config/next30 +++ /dev/null @@ -1,7 +0,0 @@ -NeXT running 2.1 or higher -STDC_HEADERS 1 -ALLOCA_PROTO 1 -SRANDOM_PROTO 1 -SZTC (size_t) -INTC (int) -MAKE_NeXT diff --git a/config/osf1 b/config/osf1 deleted file mode 100644 index de9fb527..00000000 --- a/config/osf1 +++ /dev/null @@ -1,3 +0,0 @@ -For generic OSF/1 -STDC_HEADERS 1 -HAVE_UNDERSCORE_SETJMP 1 diff --git a/config/osf1.dec b/config/osf1.dec deleted file mode 100644 index c7aaec67..00000000 --- a/config/osf1.dec +++ /dev/null @@ -1,4 +0,0 @@ -For DEC OSF/1 2.0 -STDC_HEADERS 1 -HAVE_UNDERSCORE_SETJMP 1 -SRANDOM_PROTO 1 diff --git a/config/riscos452 b/config/riscos452 deleted file mode 100644 index be4ad54e..00000000 --- a/config/riscos452 +++ /dev/null @@ -1,7 +0,0 @@ -MIPS RISC/os 4.52 -BLKSIZE_MISSING 1 -RANDOM_MISSING 1 -STRCASE_MISSING 1 -STRERROR_MISSING 1 -STRFTIME_MISSING 1 -CHAR_UNSIGNED 1 diff --git a/config/rs6000 b/config/rs6000 deleted file mode 100644 index ec389a3b..00000000 --- a/config/rs6000 +++ /dev/null @@ -1,6 +0,0 @@ -For IBM RS/6000 systems. -RANDOM_MISSING 1 -STDC_HEADERS 1 -CHAR_UNSIGNED 1 -MAKE_ALLOCA_C -MAKE_RS6000 diff --git a/config/sco b/config/sco deleted file mode 100644 index 5123b0e7..00000000 --- a/config/sco +++ /dev/null @@ -1,6 +0,0 @@ -SCO UNIX -RANDOM_MISSING 1 -STRCASE_MISSING 1 -STDC_HEADERS 1 -MAKE_ALLOCA_C -HAVE_STRING_H 1 diff --git a/config/sequent b/config/sequent deleted file mode 100644 index 0b340110..00000000 --- a/config/sequent +++ /dev/null @@ -1,17 +0,0 @@ -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 -FMOD_MISSING 1 diff --git a/config/sgi b/config/sgi deleted file mode 100644 index 7886bb5f..00000000 --- a/config/sgi +++ /dev/null @@ -1,5 +0,0 @@ -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 deleted file mode 100644 index 633f8e53..00000000 --- a/config/sgi33 +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 2798db8a..00000000 --- a/config/sgi33.cc +++ /dev/null @@ -1,5 +0,0 @@ -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/sgi405 b/config/sgi405 deleted file mode 100644 index 49b2be49..00000000 --- a/config/sgi405 +++ /dev/null @@ -1,5 +0,0 @@ -SGI Personal Iris (Sys V derived) (this works with gcc) -BLKSIZE_MISSING 1 -STDC_HEADERS 1 -GETPGRP_NOARG 1 -MAKE_SGI_GCC diff --git a/config/sgi405.cc b/config/sgi405.cc deleted file mode 100644 index 391b4c95..00000000 --- a/config/sgi405.cc +++ /dev/null @@ -1,8 +0,0 @@ -SGI Personal Iris (Sys V derived) (this works with cc) -BLKSIZE_MISSING 1 -STDC_HEADERS 1 -CHAR_UNSIGNED 1 -GETPGRP_NOARG 1 -MAKE_CC -MAKE_SGI -MAKE_ALLOCA_C diff --git a/config/solaris2.cc b/config/solaris2.cc deleted file mode 100644 index be8f2799..00000000 --- a/config/solaris2.cc +++ /dev/null @@ -1,7 +0,0 @@ -Solaris 2.x Systems with cc -RANDOM_MISSING 1 -STRCASE_MISSING 1 -STDC_HEADERS 1 -SVR4 1 -MAKE_ALLOCA_C -MAKE_CC diff --git a/config/sunos3 b/config/sunos3 deleted file mode 100644 index be09e0d8..00000000 --- a/config/sunos3 +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index c3e8bdc2..00000000 --- a/config/sunos40 +++ /dev/null @@ -1,7 +0,0 @@ -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 deleted file mode 100644 index c26040dc..00000000 --- a/config/sunos41 +++ /dev/null @@ -1,4 +0,0 @@ -Sun running SunOS 4.1 -HAVE_UNDERSCORE_SETJMP 1 -STRERROR_MISSING 1 -NON_STD_SPRINTF 1 diff --git a/config/sunos41-glibc b/config/sunos41-glibc deleted file mode 100644 index e69de29b..00000000 --- a/config/sunos41-glibc +++ /dev/null diff --git a/config/sunos41.cc b/config/sunos41.cc deleted file mode 100644 index f13e8659..00000000 --- a/config/sunos41.cc +++ /dev/null @@ -1,6 +0,0 @@ -Sun running SunOS 4.1 -MAKE_CC -MAKE_ALLOCA_C -HAVE_UNDERSCORE_SETJMP 1 -STRERROR_MISSING 1 -NON_STD_SPRINTF 1 diff --git a/config/sysv2 b/config/sysv2 deleted file mode 100644 index 0239639c..00000000 --- a/config/sysv2 +++ /dev/null @@ -1,6 +0,0 @@ -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 deleted file mode 100644 index 944db233..00000000 --- a/config/sysv3 +++ /dev/null @@ -1,7 +0,0 @@ -System V.3 Systems (generic) -BLKSIZE_MISSING 1 -RANDOM_MISSING 1 -STRCASE_MISSING 1 -STRERROR_MISSING 1 -STRFTIME_MISSING 1 -MAKE_ALLOCA_C diff --git a/config/sysv4 b/config/sysv4 deleted file mode 100644 index 0ea9c4ff..00000000 --- a/config/sysv4 +++ /dev/null @@ -1,5 +0,0 @@ -System V.4 Systems (generic) -RANDOM_MISSING 1 -STRCASE_MISSING 1 -STDC_HEADERS 1 -MAKE_ALLOCA_C diff --git a/config/ultrix31 b/config/ultrix31 deleted file mode 100644 index 4359bdca..00000000 --- a/config/ultrix31 +++ /dev/null @@ -1,7 +0,0 @@ -DECstation or VAX running Ultrix 3.x -HAVE_UNDERSCORE_SETJMP 1 -STRERROR_MISSING 1 -STRFTIME_MISSING 1 -NON_STD_SPRINTF 1 -TZSET_MISSING 1 -FMOD_MISSING 1 diff --git a/config/ultrix40 b/config/ultrix40 deleted file mode 100644 index 2c0b70db..00000000 --- a/config/ultrix40 +++ /dev/null @@ -1,2 +0,0 @@ -DECstation running Ultrix 4.0 (4.x?) -STDC_HEADERS 1 diff --git a/config/ultrix41 b/config/ultrix41 deleted file mode 100644 index 8e82ec40..00000000 --- a/config/ultrix41 +++ /dev/null @@ -1,4 +0,0 @@ -DECstation running Ultrix 4.1 (and 4.2??) -STDC_HEADERS 1 -#define Ultrix41 1 -MAKE_ALLOCA_C diff --git a/config/utek b/config/utek deleted file mode 100644 index 101daef7..00000000 --- a/config/utek +++ /dev/null @@ -1,18 +0,0 @@ -For a Tektronix 4300 running UTek 4.0 (BSD based.) -SIGTYPE int -MEMCMP_MISSING 1 -MEMCPY_MISSING 1 -MEMSET_MISSING 1 -STRCASE_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 -TZSET_MISSING 1 -LIMITS_H_MISSING 1 -TM_ZONE_MISSING 1 -MAKE_CC diff --git a/config/v10config.h b/config/v10config.h deleted file mode 100644 index 5c6ddb15..00000000 --- a/config/v10config.h +++ /dev/null @@ -1,277 +0,0 @@ -/* - * config.h -- configuration definitions for gawk. - * - * Vax Running 10th Edition Unix - */ - -/* - * 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. - */ - -/* - * This file isolates configuration dependencies for gnu awk. - * You should know something about your system, perhaps by having - * a manual handy, when you edit this file. You should copy config.h-dist - * to config.h, and edit config.h. Do not modify config.h-dist, so that - * it will be easy to apply any patches that may be distributed. - * - * The general idea is that systems conforming to the various standards - * should need to do the least amount of changing. Definining the various - * items in ths file usually means that your system is missing that - * particular feature. - * - * The order of preference in standard conformance is ANSI C, POSIX, - * and the SVID. - * - * If you have no clue as to what's going on with your system, try - * compiling gawk without editing this file and see what shows up - * missing in the link stage. From there, you can probably figure out - * which defines to turn on. - */ - -/**************************/ -/* Miscellanious features */ -/**************************/ - -/* - * BLKSIZE_MISSING - * - * 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 - * - * 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 SIG_TYP /* defined in <signal.h> */ - -/* - * SIZE_T_MISSING - * - * If your system has no typedef for size_t, define this to get a default - */ -/* #define SIZE_T_MISSING 1 */ - -/* - * CHAR_UNSIGNED - * - * 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 - * - * 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 - * - * 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 - * - * 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 - * - * 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 - * - * Your system does not have the strcasemp() and strncasecmp() - * routines that originated in Berkeley Unix. - */ -#define STRCASE_MISSING 1 - -/* - * STRCHR_MISSING - * - * Your system does not have the strchr() and strrchr() functions. - */ -/* #define STRCHR_MISSING 1 */ - -/* - * STRERROR_MISSING - * - * Your system lacks the ANSI C strerror() routine for returning the - * strings associated with errno values. - */ -#define STRERROR_MISSING 1 - -/* - * STRFTIME_MISSING - * - * Your system lacks the ANSI C strftime() routine for formatting - * broken down time values. - */ -#define STRFTIME_MISSING 1 - -/* - * STRTOD_MISSING - * - * Your system does not have the strtod() routine for converting - * strings to double precision floating point values. - */ -/* #define STRTOD_MISSING 1 */ - -/* - * STRTOL_MISSING - * - * Your system does not have the strtol() routine for converting - * strings to long integers. - */ -/* #define STRTOL_MISSING 1 */ - -/* - * TZSET_MISSING - * - * 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 - * - * 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 - * - * 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 - * - * 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 - * - * Define this if your system lacks vprintf() and the other routines - * that go with it. - */ -/* #define VPRINTF_MISSING 1 */ - -/* - * BSDSTDIO - * - * 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 - * - * 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 - * - * 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 - * - * The default search path for the -f option of gawk. It is used - * if the AWKPATH environment variable is undefined. The default - * definition is provided here. Most likely you should not change - * this. - */ - -/* #define DEFPATH ".:/usr/lib/awk:/usr/local/lib/awk" */ -/* #define ENVSEP ':' */ diff --git a/config/vms-conf.h b/config/vms-conf.h deleted file mode 100644 index 944dc4af..00000000 --- a/config/vms-conf.h +++ /dev/null @@ -1,323 +0,0 @@ -/* - * config.h -- configuration definitions for gawk. - * - * For VMS (assumes V4.6 or later; tested on V5.3 and V5.4) - */ - -/* - * Copyright (C) 1991, 1992 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 2, 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, Inc., 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 */ -/***********************************************/ - -/* - * 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 */ - -/* - * 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 */ - -/* - * STRFTIME_MISSING - * VMS: missing (as of V5.4) [see below; do not change STRFTIME_MISSING] - * Your system lacks the ANSI C strftime() routine for formatting - * broken down time values. - */ -#define STRFTIME_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 */ - -/* - * TZNAME_MISSING - * - * Some systems do not support the external variables tzname and daylight. - * If this is the case *and* strftime() is missing, define this. - */ -/* #define TZNAME_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. This will trigger an attempt to use _doprnt(). - * If you don't have that, this attempt will fail and you are on your own. - */ -/* #define VPRINTF_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 */ - -/* - * FMOD_MISSING - * VMS: ok (introduced V4.6) - * Define this if your system lacks the fmod() function and modf() will - * be used instead. - */ -/* #define FMOD_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 ',' - -/* - * alloca already has a prototype defined - don't redefine it - */ -/* #define ALLOCA_PROTO 1 */ - -/* - * srandom already has a prototype defined - don't redefine it - */ -/* #define SRANDOM_PROTO 1 */ - -/* - * 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 -#ifndef __DECC /* DEC C does not support #pragma builtins even in VAXC mode */ -#define VAXC_BUILTINS -#endif -/* #define YYDEBUG 0 */ -#endif - -/* - * DEC C - * - * Digital's ANSI complier. - */ -#ifdef __DECC - /* DEC C implies DECC$SHR, which doesn't have the %g problem of VAXCRTL */ -#undef GFMT_WORKAROUND -#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 */ -#ifndef STDC_HEADERS -#define alloca __builtin_alloca -#define environ $$PsectAttributes_NOSHR$$environ /* awful GAS kludge */ -#endif -#endif - -#ifdef STRFTIME_MISSING -/* - * Always use the version of strftime() in missing/strftime.c instead of - * the [as yet undocumented/unsupported] one in VAXCRTL. Renaming it here - * guarantees that it won't clash with the library routine. - */ -#define strftime gnu_strftime -#endif diff --git a/config/vms-posix b/config/vms-posix deleted file mode 100644 index f1e0f373..00000000 --- a/config/vms-posix +++ /dev/null @@ -1,16 +0,0 @@ -VMS POSIX (not to be confused with native VMS...) -STDC_HEADERS 1 -RANDOM_MISSING 1 -STRCASE_MISSING 1 -NO_TOKEN_PASTING 1 -MAKE_ALLOCA_C -MAKE_VMS-Posix -MAKE_CC -#define DEFAULT_FILETYPE ".awk" -#define getopt gnu_getopt -#define optopt gnu_optopt -#define opterr gnu_opterr -#define regcomp gnu_regcomp -#define regexec gnu_regexec -#define regfree gnu_regfree -#define regerror gnu_regerror |