config.h revision 1.11
1/* $OpenBSD: config.h,v 1.11 2004/12/18 20:55:52 millert Exp $ */ 2 3/* config.h. NOT generated automatically. */ 4 5/* 6 * This file, config.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 16 17/* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */ 18#define HAVE_GCC_FUNC_ATTR 1 19 20 21/* Include ksh features? */ 22/* #define KSH 1 */ 23 24/* Include emacs editing? */ 25#define EMACS 1 26 27/* Include vi editing? */ 28#define VI 1 29 30/* Include job control? */ 31#define JOBS 1 32 33/* Include brace-expansion? */ 34#define BRACE_EXPAND 1 35 36/* Include any history? */ 37#define HISTORY 1 38 39/* Strict POSIX behaviour? */ 40/* #undef POSIXLY_CORRECT */ 41 42/* Specify default $ENV? */ 43/* #undef DEFAULT_ENV */ 44 45/* Include game-of-life? */ 46/* #undef SILLY */ 47 48/* The number of bytes in a int. */ 49#define SIZEOF_INT 4 50 51/* 52 * End of configuration stuff for PD ksh. 53 */ 54 55#if defined(EMACS) || defined(VI) 56# define EDIT 57#else 58# undef EDIT 59#endif 60 61/* Super small configuration-- no editing. */ 62#if defined(EDIT) && defined(NOEDIT) 63# undef EDIT 64# undef EMACS 65# undef VI 66#endif 67 68/* Editing implies history */ 69#if defined(EDIT) && !defined(HISTORY) 70# define HISTORY 71#endif /* EDIT */ 72 73#ifdef HAVE_GCC_FUNC_ATTR 74# define GCC_FUNC_ATTR(x) __attribute__((x)) 75# define GCC_FUNC_ATTR2(x,y) __attribute__((x,y)) 76#else 77# define GCC_FUNC_ATTR(x) 78# define GCC_FUNC_ATTR2(x,y) 79#endif /* HAVE_GCC_FUNC_ATTR */ 80 81#endif /* CONFIG_H */ 82