config.h revision 1.15
1/*	$OpenBSD: config.h,v 1.15 2015/09/14 16:10:55 nicm 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/* Include emacs editing? */
15#define EMACS 1
16
17/* Include vi editing? */
18#define VI 1
19
20/* Include job control? */
21#define JOBS 1
22
23/* Include brace-expansion? */
24#define BRACE_EXPAND 1
25
26/* Include any history? */
27#define HISTORY 1
28
29/* Strict POSIX behaviour? */
30/* #undef POSIXLY_CORRECT */
31
32/* Specify default $ENV? */
33/* #undef DEFAULT_ENV */
34
35/*
36 * End of configuration stuff for PD ksh.
37 */
38
39#if defined(EMACS) || defined(VI)
40# define	EDIT
41#else
42# undef		EDIT
43#endif
44
45/* Super small configuration-- no editing. */
46#if defined(EDIT) && defined(NOEDIT)
47# undef EDIT
48# undef EMACS
49# undef VI
50#endif
51
52/* Editing implies history */
53#if defined(EDIT) && !defined(HISTORY)
54# define HISTORY
55#endif /* EDIT */
56
57#endif /* CONFIG_H */
58