config.h revision 1.7
1/* $OpenBSD: config.h,v 1.7 2003/02/28 09:45:09 jmc Exp $ */ 2 3/* config.h. Generated automatically by configure. */ 4/* config.h.in. Generated automatically from configure.in by autoheader. */ 5/* 6 * This file, acconfig.h, which is a part of pdksh (the public domain ksh), 7 * is placed in the public domain. It comes with no licence, warranty 8 * or guarantee of any kind (i.e., at your own risk). 9 */ 10 11#ifndef CONFIG_H 12#define CONFIG_H 13 14 15/* Define if on AIX 3. 16 System headers sometimes define this. 17 We just want to avoid a redefinition error message. */ 18#ifndef _ALL_SOURCE 19/* #undef _ALL_SOURCE */ 20#endif 21 22/* Define if the closedir function returns void instead of int. */ 23/* #undef CLOSEDIR_VOID */ 24 25/* Define to empty if the keyword does not work. */ 26/* #undef const */ 27 28 29/* Define to `int' if <sys/types.h> doesn't define. */ 30/* #undef gid_t */ 31 32/* Define if you have a working `mmap' system call. */ 33#define HAVE_MMAP 1 34 35/* Define if your struct stat has st_rdev. */ 36#define HAVE_ST_RDEV 1 37 38/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ 39#define HAVE_SYS_WAIT_H 1 40 41/* Define if you have <unistd.h>. */ 42#define HAVE_UNISTD_H 1 43 44/* Define if on MINIX. */ 45/* #undef _MINIX */ 46 47/* Define to `int' if <sys/types.h> doesn't define. */ 48/* #undef mode_t */ 49 50/* Define to `long' if <sys/types.h> doesn't define. */ 51/* #undef off_t */ 52 53/* Define to `int' if <sys/types.h> doesn't define. */ 54/* #undef pid_t */ 55 56/* Define if the system does not provide POSIX.1 features except 57 with this defined. */ 58/* #undef _POSIX_1_SOURCE */ 59 60/* Define if you need to in order for stat and other things to work. */ 61/* #undef _POSIX_SOURCE */ 62 63/* Define as the return type of signal handlers (int or void). */ 64#define RETSIGTYPE void 65 66/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 67/* #undef STAT_MACROS_BROKEN */ 68 69/* Define if `sys_siglist' is declared by <signal.h>. */ 70#define SYS_SIGLIST_DECLARED 1 71 72/* Define if you can safely include both <sys/time.h> and <time.h>. */ 73#define TIME_WITH_SYS_TIME 1 74 75/* Define to `int' if <sys/types.h> doesn't define. */ 76/* #undef uid_t */ 77 78/* Define if the closedir function returns void instead of int. */ 79/* #undef VOID_CLOSEDIR */ 80 81/* Define if your kernal doesn't handle scripts starting with #! */ 82/* #undef SHARPBANG */ 83 84/* Define if dup2() preserves the close-on-exec flag (ultrix does this) */ 85/* #undef DUP2_BROKEN */ 86 87/* Define as the return value of signal handlers (0 or ). */ 88#define RETSIGVAL 89 90/* Define if you have posix signal routines (sigaction(), et. al.) */ 91#define POSIX_SIGNALS 1 92 93/* Define if you have BSD4.2 signal routines (sigsetmask(), et. al.) */ 94/* #undef BSD42_SIGNALS */ 95 96/* Define if you have BSD4.1 signal routines (sigset(), et. al.) */ 97/* #undef BSD41_SIGNALS */ 98 99/* Define if you have v7 signal routines (signal(), signal reset on delivery) */ 100/* #undef V7_SIGNALS */ 101 102/* Define to use the fake posix signal routines (sigact.[ch]) */ 103/* #undef USE_FAKE_SIGACT */ 104 105/* Define if signals don't interrupt read() */ 106/* #undef SIGNALS_DONT_INTERRUPT */ 107 108/* Define if you have bsd versions of the setpgrp() and getpgrp() routines */ 109/* #undef BSD_PGRP */ 110 111/* Define if you have POSIX versions of the setpgid() and getpgrp() routines */ 112#define POSIX_PGRP 1 113 114/* Define if you have sysV versions of the setpgrp() and getpgrp() routines */ 115/* #undef SYSV_PGRP */ 116 117/* Define if you don't have setpgrp(), setpgid() or getpgrp() routines */ 118/* #undef NO_PGRP */ 119 120/* Define to char if your compiler doesn't like the void keyword */ 121/* #undef void */ 122 123/* Define to nothing if compiler doesn't like the volatile keyword */ 124/* #undef volatile */ 125 126/* Define if C compiler groks function prototypes */ 127#define HAVE_PROTOTYPES 1 128 129/* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */ 130#define HAVE_GCC_FUNC_ATTR 1 131 132/* Define to 32-bit signed integer type if <sys/types.h> doesn't define */ 133/* #undef clock_t */ 134 135/* Define to the type of struct rlimit fields if the rlim_t type is missing */ 136/* #undef rlim_t */ 137 138/* Define if time() is declared in <time.h> */ 139#define TIME_DECLARED 1 140 141/* Define to `unsigned' if <signal.h> doesn't define */ 142/* #undef sigset_t */ 143 144/* Define if sys_errlist[] and sys_nerr are in the C library */ 145#define HAVE_SYS_ERRLIST 1 146 147/* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */ 148#define SYS_ERRLIST_DECLARED 1 149 150/* Define if sys_siglist[] is in the C library */ 151#define HAVE_SYS_SIGLIST 1 152 153/* Define if you have a sane <termios.h> header file */ 154#define HAVE_TERMIOS_H 1 155 156/* Define if you have a memset() function in your C library */ 157#define HAVE_MEMSET 1 158 159/* Define if you have a memmove() function in your C library */ 160#define HAVE_MEMMOVE 1 161 162/* Define if you have a bcopy() function in your C library */ 163/* #undef HAVE_BCOPY */ 164 165/* Define if you have a lstat() function in your C library */ 166#define HAVE_LSTAT 1 167 168/* Define if you have a sane <termio.h> header file */ 169/* #undef HAVE_TERMIO_H */ 170 171/* Define if you don't have times() or if it always returns 0 */ 172/* #undef TIMES_BROKEN */ 173 174/* Define if opendir() will open non-directory files */ 175/* #undef OPENDIR_DOES_NONDIR */ 176 177/* Define if the pgrp of setpgrp() can't be the pid of a zombie process */ 178/* #undef NEED_PGRP_SYNC */ 179 180/* Define if you arg running SCO unix */ 181/* #undef OS_SCO */ 182 183/* Define if you arg running ISC unix */ 184/* #undef OS_ISC */ 185 186/* Define if you arg running OS2 with the EMX library */ 187/* #undef OS2 */ 188 189/* Define if you have a POSIX.1 compatible <sys/wait.h> */ 190#define POSIX_SYS_WAIT 1 191 192/* Define if your OS maps references to /dev/fd/n to file descriptor n */ 193#define HAVE_DEV_FD 1 194 195/* Default PATH (see comments in configure.in for more details) */ 196#define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" 197 198/* Define if your C library's getwd/getcwd function dumps core in unreadable 199 * directories. */ 200/* #undef HPUX_GETWD_BUG */ 201 202/* Include ksh features? (see comments in configure.in for more details) */ 203/* #define KSH 1 */ 204 205/* Include emacs editing? (see comments in configure.in for more details) */ 206#define EMACS 1 207 208/* Include vi editing? (see comments in configure.in for more details) */ 209#define VI 1 210 211/* Include job control? (see comments in configure.in for more details) */ 212#define JOBS 1 213 214/* Include brace-expansion? (see comments in configure.in for more details) */ 215#define BRACE_EXPAND 1 216 217/* Include any history? (see comments in configure.in for more details) */ 218#define HISTORY 1 219 220/* Include complex history? (see comments in configure.in for more details) */ 221#define COMPLEX_HISTORY 222 223/* Strict POSIX behaviour? (see comments in configure.in for more details) */ 224/* #undef POSIXLY_CORRECT */ 225 226/* Specify default $ENV? (see comments in configure.in for more details) */ 227/* #undef DEFAULT_ENV */ 228 229/* Include shl(1) support? (see comments in configure.in for more details) */ 230/* #undef SWTCH */ 231 232/* Include game-of-life? (see comments in configure.in for more details) */ 233/* #undef SILLY */ 234 235/* The number of bytes in a int. */ 236#define SIZEOF_INT 4 237 238/* The number of bytes in a long. */ 239#if defined(alpha) 240#define SIZEOF_LONG 8 241#else 242#define SIZEOF_LONG 4 243#endif 244 245/* Define if you have the _setjmp function. */ 246/* #undef HAVE__SETJMP */ 247 248/* Define if you have the confstr function. */ 249#define HAVE_CONFSTR 1 250 251/* Define if you have the flock function. */ 252#define HAVE_FLOCK 1 253 254/* Define if you have the getcwd function. */ 255#define HAVE_GETCWD 1 256 257/* Define if you have the getgroups function. */ 258/* #undef HAVE_GETGROUPS */ 259 260/* Define if you have the getpagesize function. */ 261#define HAVE_GETPAGESIZE 1 262 263/* Define if you have the getrusage function. */ 264/* #undef HAVE_GETRUSAGE */ 265 266/* Define if you have the getwd function. */ 267#define HAVE_GETWD 1 268 269/* Define if you have the killpg function. */ 270#define HAVE_KILLPG 1 271 272/* Define if you have the nice function. */ 273#define HAVE_NICE 1 274 275/* Define if you have the setrlimit function. */ 276#define HAVE_SETRLIMIT 1 277 278/* Define if you have the sigsetjmp function. */ 279#define HAVE_SIGSETJMP 1 280 281/* Define if you have the strcasecmp function. */ 282#define HAVE_STRCASECMP 1 283 284/* Define if you have the strerror function. */ 285#define HAVE_STRERROR 1 286 287/* Define if you have the strstr function. */ 288#define HAVE_STRSTR 1 289 290/* Define if you have the sysconf function. */ 291#define HAVE_SYSCONF 1 292 293/* Define if you have the tcsetpgrp function. */ 294#define HAVE_TCSETPGRP 1 295 296/* Define if you have the ulimit function. */ 297/* #undef HAVE_ULIMIT */ 298 299/* Define if you have the valloc function. */ 300#define HAVE_VALLOC 1 301 302/* Define if you have the wait3 function. */ 303#define HAVE_WAIT3 1 304 305/* Define if you have the waitpid function. */ 306#define HAVE_WAITPID 1 307 308/* Define if you have the <dirent.h> header file. */ 309#define HAVE_DIRENT_H 1 310 311/* Define if you have the <fcntl.h> header file. */ 312#define HAVE_FCNTL_H 1 313 314/* Define if you have the <limits.h> header file. */ 315#define HAVE_LIMITS_H 1 316 317/* Define if you have the <memory.h> header file. */ 318#define HAVE_MEMORY_H 1 319 320/* Define if you have the <ndir.h> header file. */ 321/* #undef HAVE_NDIR_H */ 322 323/* Define if you have the <paths.h> header file. */ 324#define HAVE_PATHS_H 1 325 326/* Define if you have the <stddef.h> header file. */ 327#define HAVE_STDDEF_H 1 328 329/* Define if you have the <stdlib.h> header file. */ 330#define HAVE_STDLIB_H 1 331 332/* Define if you have the <string.h> header file. */ 333#define HAVE_STRING_H 1 334 335/* Define if you have the <sys/dir.h> header file. */ 336/* #undef HAVE_SYS_DIR_H */ 337 338/* Define if you have the <sys/ndir.h> header file. */ 339/* #undef HAVE_SYS_NDIR_H */ 340 341/* Define if you have the <sys/param.h> header file. */ 342#define HAVE_SYS_PARAM_H 1 343 344/* Define if you have the <sys/resource.h> header file. */ 345#define HAVE_SYS_RESOURCE_H 1 346 347/* Define if you have the <sys/time.h> header file. */ 348#define HAVE_SYS_TIME_H 1 349 350/* Define if you have the <sys/wait.h> header file. */ 351#define HAVE_SYS_WAIT_H 1 352 353/* Define if you have the <ulimit.h> header file. */ 354/* #undef HAVE_ULIMIT_H */ 355 356/* Define if you have the <values.h> header file. */ 357/* #undef HAVE_VALUES_H */ 358 359/* Need to use a separate file to keep the configure script from commenting 360 * out the undefs.... 361 */ 362#include "conf-end.h" 363 364#endif /* CONFIG_H */ 365