1 /* 2 * Sample configuration file for ST - works with gcc and TOS libraries; 3 * revise for your configuration if configure script does not work 4 */ 5 /* 6 * config.h -- configuration definitions for gawk. 7 */ 8 9 /* 10 * Copyright (C) 1995, 96 the Free Software Foundation, Inc. 11 * 12 * This file is part of GAWK, the GNU implementation of the 13 * AWK Programming Language. 14 * 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. 19 * 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. 24 * 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 28 */ 29 30 /* Define if using alloca.c. */ 31 /* #undef C_ALLOCA */ 32 33 /* Define if type char is unsigned and you are not using gcc. */ 34 #ifndef __CHAR_UNSIGNED__ 35 /* #undef __CHAR_UNSIGNED__ */ 36 #endif 37 38 /* Define to empty if the keyword does not work. */ 39 /* #undef const */ 40 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 44 45 /* Define if the `getpgrp' function takes no argument. */ 46 #define GETPGRP_VOID 1 47 48 /* Define to `int' if <sys/types.h> doesn't define. */ 49 /* #undef gid_t */ 50 51 /* Define if you have alloca, as a function or macro. */ 52 #define HAVE_ALLOCA 1 53 54 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */ 55 /* #undef HAVE_ALLOCA_H */ 56 57 /* Define if you don't have vprintf but do have _doprnt. */ 58 /* #undef HAVE_DOPRNT */ 59 60 /* Define if you have a working `mmap' system call. */ 61 /* #undef HAVE_MMAP */ 62 63 /* Define if your struct stat has st_blksize. */ 64 #define HAVE_ST_BLKSIZE 1 65 66 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ 67 #define HAVE_SYS_WAIT_H 1 68 69 /* Define if your struct tm has tm_zone. */ 70 /* #undef HAVE_TM_ZONE */ 71 72 /* Define if you don't have tm_zone but do have the external array 73 tzname. */ 74 /* #undef HAVE_TZNAME */ 75 76 /* Define if you have the vprintf function. */ 77 #define HAVE_VPRINTF 1 78 79 /* Define if on MINIX. */ 80 /* #undef _MINIX */ 81 82 /* Define to `int' if <sys/types.h> doesn't define. */ 83 /* #undef pid_t */ 84 85 /* Define if the system does not provide POSIX.1 features except 86 with this defined. */ 87 /* #undef _POSIX_1_SOURCE */ 88 89 /* Define if you need to in order for stat and other things to work. */ 90 /* #undef _POSIX_SOURCE */ 91 92 /* Define as the return type of signal handlers (int or void). */ 93 #define RETSIGTYPE void 94 95 /* Define to `unsigned' if <sys/types.h> doesn't define. */ 96 /* #undef size_t */ 97 98 /* If using the C implementation of alloca, define if you know the 99 direction of stack growth for your system; otherwise it will be 100 automatically deduced at run-time. 101 STACK_DIRECTION > 0 => grows toward higher addresses 102 STACK_DIRECTION < 0 => grows toward lower addresses 103 STACK_DIRECTION = 0 => direction of growth unknown 104 */ 105 /* #undef STACK_DIRECTION */ 106 107 /* Define if you have the ANSI C header files. */ 108 #define STDC_HEADERS 1 109 110 /* Define if you can safely include both <sys/time.h> and <time.h>. */ 111 #define TIME_WITH_SYS_TIME 1 112 113 /* Define if your <sys/time.h> declares struct tm. */ 114 #define TM_IN_SYS_TIME 1 115 116 /* Define to `int' if <sys/types.h> doesn't define. */ 117 /* #undef uid_t */ 118 119 #define HAVE_STRINGIZE 1 /* can use ANSI # operator in cpp */ 120 /* #undef REGEX_MALLOC */ /* use malloc instead of alloca in regex.c */ 121 #define SPRINTF_RET int /* return type of sprintf */ 122 123 /* Define if you have the fmod function. */ 124 #define HAVE_FMOD 1 125 126 /* Define if you have the getpagesize function. */ 127 #define HAVE_GETPAGESIZE 1 128 129 /* Define if you have the madvise function. */ 130 /* #undef HAVE_MADVISE */ 131 132 /* Define if you have the memcmp function. */ 133 #define HAVE_MEMCMP 1 134 135 /* Define if you have the memcpy function. */ 136 #define HAVE_MEMCPY 1 137 138 /* Define if you have the memset function. */ 139 #define HAVE_MEMSET 1 140 141 /* Define if you have the strchr function. */ 142 #define HAVE_STRCHR 1 143 144 /* Define if you have the strerror function. */ 145 #define HAVE_STRERROR 1 146 147 /* Define if you have the strftime function. */ 148 #define HAVE_STRFTIME 1 149 150 /* Define if you have the strncasecmp function. */ 151 /* #undef HAVE_STRNCASECMP */ 152 153 /* Define if you have the strtod function. */ 154 #define HAVE_STRTOD 1 155 156 /* Define if you have the system function. */ 157 /* This is a white lie - but you may or may not prefer this way */ 158 /* #define HAVE_SYSTEM 1 */ 159 160 /* Define if you have the tzset function. */ 161 #define HAVE_TZSET 1 162 163 /* Define if you have the valloc function. */ 164 /* #undef HAVE_VALLOC */ 165 166 /* Define if you have the <limits.h> header file. */ 167 #define HAVE_LIMITS_H 1 168 169 /* Define if you have the <memory.h> header file. */ 170 #define HAVE_MEMORY_H 1 171 172 /* Define if you have the <signum.h> header file. */ 173 /* #undef HAVE_SIGNUM_H */ 174 175 /* Define if you have the <stdarg.h> header file. */ 176 #define HAVE_STDARG_H 1 177 178 /* Define if you have the <string.h> header file. */ 179 #define HAVE_STRING_H 1 180 181 /* Define if you have the <strings.h> header file. */ 182 /* #undef HAVE_STRINGS_H */ 183 184 /* Define if you have the <sys/param.h> header file. */ 185 #define HAVE_SYS_PARAM_H 1 186 187 /* Define if you have the <unistd.h> header file. */ 188 #define HAVE_UNISTD_H 1 189 190 #include <custom.h> /* overrides for stuff autoconf can't deal with */ 191