1/* -*- C -*- */
2/* Copyright (c) 2007 John E. Davis
3 * This file is part of JED editor library source.
4 *
5 * You may distribute this file under the terms the GNU General Public
6 * License.  See the file COPYING for more information.
7 */
8
9/* Note: this is for unix only. */
10
11#ifndef JED_CONFIG_H
12#define JED_CONFIG_H
13
14/* define if you have stdlib.h */
15#undef HAVE_STDLIB_H
16
17/* define if you have unistd.h */
18#undef HAVE_UNISTD_H
19
20/* define if you have termios.h */
21#undef HAVE_TERMIOS_H
22
23/* define if you have memory.h */
24#undef HAVE_MEMORY_H
25
26/* define if you have malloc.h */
27#undef HAVE_MALLOC_H
28
29/* define if you have limits.h */
30#undef HAVE_LIMITS_H
31
32/* define if you have fcntl.h */
33#undef HAVE_FCNTL_H
34
35/* define if you have sys/fcntl.h */
36#undef HAVE_SYS_FCNTL_H
37
38#undef HAVE_PTY_H
39#undef HAVE_SYS_PTY_H
40
41/* define if you have memset */
42#undef HAVE_MEMSET
43
44/* define if you have memcpy */
45#undef HAVE_MEMCPY
46
47/* define if you have these. */
48#undef HAVE_SETENV
49#undef HAVE_UNSETENV
50#undef HAVE_SETSID
51#undef HAVE_PUTENV
52#undef HAVE_GETCWD
53#undef HAVE_TCGETATTR
54#undef HAVE_TCSETATTR
55#undef HAVE_CFGETOSPEED
56
57#undef HAVE_GETPGID
58#undef HAVE_SETPGID
59#undef HAVE_TCSETPGRP
60#undef HAVE_TCGETPGRP
61
62#undef HAVE_OPENPTY
63
64#undef HAVE_GLOB_H
65
66#undef HAVE_SYS_WAIT_H
67#undef HAVE_DIRENT_H
68#undef HAVE_SYS_NDIR_H
69#undef HAVE_SYS_DIR_H
70#undef HAVE_NDIR_H
71
72#undef HAVE_PCRE_H
73
74#undef HAVE_DLOPEN
75
76#undef HAVE_GRANTPT
77
78#undef HAVE_UTIME
79
80#undef HAVE_SETLOCALE
81
82#undef HAVE_SYMLINK
83#undef HAVE_GETHOSTNAME
84
85/* Define if you have the vsnprintf, snprintf functions and they return
86 * EOF upon failure.
87 */
88#undef HAVE_VSNPRINTF
89#undef HAVE_SNPRINTF
90
91#undef mode_t
92#undef pid_t
93#undef uid_t
94#undef gid_t
95
96#undef SIZEOF_SHORT
97#undef SIZEOF_INT
98#undef SIZEOF_LONG
99#undef SIZEOF_FLOAT
100#undef SIZEOF_DOUBLE
101#undef SIZEOF_LONG_LONG
102
103#undef HAVE_LONG_LONG
104
105/* The following set defines may be necessary to activate long file support */
106#undef _FILE_OFFSET_BITS
107#undef _LARGE_FILES
108#undef _LARGEFILE_SOURCE
109
110
111/* For antialiased fonts, set this to 1 */
112#undef XJED_HAS_XRENDERFONT
113
114/* Undefine this to disable floating point support. */
115#define FLOAT_TYPE
116
117#if defined(ultrix) && !defined(__GNUC__)
118# ifndef NO_PROTOTYPES
119#  define NO_PROTOTYPES
120# endif
121#endif
122
123#ifndef REAL_UNIX_SYSTEM
124# define REAL_UNIX_SYSTEM
125#endif
126
127#ifndef __unix__
128# define __unix__ 1
129#endif
130
131#ifdef _AIX
132# ifndef _POSIX_SOURCE
133#  define _POSIX_SOURCE
134# endif
135# ifndef _ALL_SOURCE
136#  define _ALL_SOURCE
137# endif
138/* This may generate warnings but the fact is that without it, xlc will
139 * INCORRECTLY inline many str* functions. */
140# undef __STR__
141#endif
142
143/* #ifdef NeXT */
144/* # ifndef _POSIX_SOURCE */
145/* #  define _POSIX_SOURCE */
146/* # endif */
147/* #endif */
148
149#ifdef NeXT
150# undef HAVE_UTIME
151#endif
152
153#ifdef HAVE_TERMIOS_H
154# if defined(HAVE_TCGETATTR) && defined(HAVE_TCSETATTR)
155#  define REALLY_HAVE_TERMIOS_H
156# endif
157#endif
158
159
160#define HAS_MOUSE 1
161
162/* Set this to 1 if the filesystem is case-sensitive */
163#define JED_FILE_PRESERVE_CASE 1
164
165#ifndef JED
166# define JED
167#endif
168
169#endif /* JED_CONFIG_H */
170