2
* Sample configuration file for ST - works with gcc and TOS libraries;
3
* revise for your configuration if configure script does not work
6
* acconfig.h -- configuration definitions for gawk.
2
* config.h for Atari ST.
3
* Assumes gcc compiler and TOS libraries.
4
* Edited by hand from a config.h generated automatically by configure.
7
/* Default path for Awk library */
8
#define DEFPATH ".,c:\\lib\\awk,c:\\gnu\\lib\\awk"
9
/* Path separator in use */
14
#define STDC_HEADERS 1 /* have the usual ANSI header files */
15
#undef REGEX_MALLOC /* use alloca in regex.c */
17
#undef __CHAR_UNSIGNED__ /* default char is signed */
20
* srandom already has a prototype defined - don't redefine it
22
#define SRANDOM_PROTO 1
24
#undef _POSIX_SOURCE /* on Minix, used to get Posix functions */
25
#undef _MINIX /* on Minix, used to get Posix functions */
26
#undef _POSIX_1_SOURCE /* on Minix, define to 2 */
29
* define const to nothing if not __STDC__
10
* Copyright (C) 1995 the Free Software Foundation, Inc.
12
* This file is part of GAWK, the GNU implementation of the
13
* AWK Programming Language.
15
* GAWK is free software; you can redistribute it and/or modify
16
* it under the terms of the GNU General Public License as published by
17
* the Free Software Foundation; either version 2 of the License, or
18
* (at your option) any later version.
20
* GAWK is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU General Public License for more details.
25
* You should have received a copy of the GNU General Public License
26
* along with this program; if not, write to the Free Software
27
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
30
/* Define if using alloca.c. */
33
/* Define if type char is unsigned and you are not using gcc. */
34
#ifndef __CHAR_UNSIGNED__
35
/* #undef __CHAR_UNSIGNED__ */
38
/* Define to empty if the keyword does not work. */
41
/* Define to the type of elements in the array set by `getgroups'.
42
Usually this is either `int' or `gid_t'. */
43
#define GETGROUPS_T gid_t
45
/* Define if the `getpgrp' function takes no argument. */
46
#define GETPGRP_VOID 1
48
/* Define to `int' if <sys/types.h> doesn't define. */
51
/* Define if you have alloca, as a function or macro. */
54
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
55
/* #undef HAVE_ALLOCA_H */
57
/* Define if you don't have vprintf but do have _doprnt. */
58
/* #undef HAVE_DOPRNT */
60
/* Define if your struct stat has st_blksize. */
61
#define HAVE_ST_BLKSIZE 1
63
/* Define if your struct tm has tm_zone. */
64
/* #undef HAVE_TM_ZONE */
66
/* Define if you don't have tm_zone but do have the external array
68
/* #undef HAVE_TZNAME */
70
/* Define if you have the vprintf function. */
71
#define HAVE_VPRINTF 1
73
/* Define if on MINIX. */
76
/* Define to `int' if <sys/types.h> doesn't define. */
79
/* Define if the system does not provide POSIX.1 features except
81
/* #undef _POSIX_1_SOURCE */
83
/* Define if you need to in order for stat and other things to work. */
84
/* #undef _POSIX_SOURCE */
86
/* Define as the return type of signal handlers (int or void). */
87
#define RETSIGTYPE void
89
/* Define to `unsigned' if <sys/types.h> doesn't define. */
92
/* If using the C implementation of alloca, define if you know the
93
direction of stack growth for your system; otherwise it will be
94
automatically deduced at run-time.
95
STACK_DIRECTION > 0 => grows toward higher addresses
96
STACK_DIRECTION < 0 => grows toward lower addresses
97
STACK_DIRECTION = 0 => direction of growth unknown
99
/* #undef STACK_DIRECTION */
101
/* Define if you have the ANSI C header files. */
102
#define STDC_HEADERS 1
104
/* Define if you can safely include both <sys/time.h> and <time.h>. */
105
#define TIME_WITH_SYS_TIME 1
107
/* Define if your <sys/time.h> declares struct tm. */
108
#define TM_IN_SYS_TIME 1
110
/* Define to `int' if <sys/types.h> doesn't define. */
113
/* #undef GETPGRP_IS_STANDARD */ /* getpgrp does/does not take an argument */
114
/* #define HAVE_BCOPY 1 *//* we have the bcopy function */
115
#define HAVE_MEMCPY 1 /* we have the memcpy function */
116
#define HAVE_STRINGIZE 1 /* can use ANSI # operator in cpp */
117
#define HAVE_STRING_H 1 /* the <string.h> header file */
118
/* #undef REGEX_MALLOC */ /* use malloc instead of alloca in regex.c */
119
#define SPRINTF_RET int /* return type of sprintf */
121
/* Define if you have the fmod function. */
124
/* Define if you have the memcmp function. */
125
#define HAVE_MEMCMP 1
127
/* Define if you have the memcpy function. */
128
#define HAVE_MEMCPY 1
130
/* Define if you have the memset function. */
131
#define HAVE_MEMSET 1
133
/* Define if you have the random function. */
134
#define HAVE_RANDOM 1
136
/* Define if you have the strchr function. */
137
#define HAVE_STRCHR 1
139
/* Define if you have the strerror function. */
140
#define HAVE_STRERROR 1
142
/* Define if you have the strftime function. */
143
#define HAVE_STRFTIME 1
145
/* Define if you have the strncasecmp function. */
146
/* #undef HAVE_STRNCASECMP */
148
/* Define if you have the strtod function. */
149
#define HAVE_STRTOD 1
151
/* Define if you have the system function. */
152
/* This is a white lie - but you may or may not prefer this way */
153
/* #define HAVE_SYSTEM 1 */
155
/* Define if you have the tzset function. */
158
/* Define if you have the <memory.h> header file. */
159
#define HAVE_MEMORY_H 1
161
/* Define if you have the <signum.h> header file. */
162
/* #undef HAVE_SIGNUM_H */
164
/* Define if you have the <strings.h> header file. */
165
/* #undef HAVE_STRINGS_H */
167
/* Define if you have the <sys/param.h> header file. */
168
#define HAVE_SYS_PARAM_H 1
170
/* Define if you have the <unistd.h> header file. */
171
#define HAVE_UNISTD_H 1