| 1 |
/* config.h. Generated automatically by configure. */ |
| 2 |
/* WARNING: Do NOT edit the config.h file; instead, put any needed |
| 3 |
changes in custom.h, so that they can override assumptions made in the |
| 4 |
automatically-generated config.h file */ |
| 5 |
|
| 6 |
#define STDC_HEADERS 1 |
| 7 |
|
| 8 |
/* #undef _ALL_SOURCE */ |
| 9 |
|
| 10 |
/* #undef _POSIX_SOURCE */ |
| 11 |
|
| 12 |
#define HAVE_STDC 1 |
| 13 |
|
| 14 |
/* Define if you want old pattern-less string matching in .ini files */ |
| 15 |
/* #undef HAVE_OLDCODE */ |
| 16 |
|
| 17 |
/* Define if you want standard bibclean-specific pattern in .ini files */ |
| 18 |
#define HAVE_PATTERNS 1 |
| 19 |
|
| 20 |
/* Define if you want regular-expression patterns in .ini files using re_comp() */ |
| 21 |
|
| 22 |
/* #undef HAVE_RECOMP */ |
| 23 |
/* #undef HAVE_REGEXP */ |
| 24 |
|
| 25 |
#if !(defined(__cplusplus) || defined(c_plusplus)) |
| 26 |
/* Define to empty if the keyword does not work, but do nothing in */ |
| 27 |
/* C++ environment, because autoconf 2.4 gets the wrong answer from */ |
| 28 |
/* the AC_C_CONST test program under C++ compilation. */ |
| 29 |
/* #undef const */ |
| 30 |
#endif |
| 31 |
|
| 32 |
/* Define if your free() requires (char*) cast instead of (void*) */ |
| 33 |
/* #undef FREE_CAST_IS_CHAR_STAR */ |
| 34 |
|
| 35 |
/* Define if your compiler recognizes \a as an alert (ASCII BEL) character */ |
| 36 |
#define HAVE_ALERT_CHAR 1 |
| 37 |
|
| 38 |
/* Library functions that we need */ |
| 39 |
|
| 40 |
#define HAVE_GETCWD 1 |
| 41 |
#define HAVE_GETWD 1 |
| 42 |
#define HAVE_STRCSPN 1 |
| 43 |
/* #undef HAVE_STRDUP */ |
| 44 |
#define HAVE_STRSPN 1 |
| 45 |
#define HAVE_STRSTR 1 |
| 46 |
#define HAVE_STRTOD 1 |
| 47 |
#define HAVE_STRTOL 1 |
| 48 |
|
| 49 |
/* Header files that we might need */ |
| 50 |
|
| 51 |
#define HAVE_CONIO_H 1 |
| 52 |
#define HAVE_CTYPE_H 1 |
| 53 |
/* #undef HAVE_DESCRIP_H */ |
| 54 |
#define HAVE_ERRNO_H 1 |
| 55 |
#define HAVE_FCNTL_H 1 |
| 56 |
/* #undef HAVE_IODEF_H */ |
| 57 |
#define HAVE_IO_H 1 |
| 58 |
/* #undef HAVE_JPIDEF_H */ |
| 59 |
#define HAVE_LIMITS_H 1 |
| 60 |
/* #undef HAVE_OSFCN_H */ |
| 61 |
/* #undef HAVE_PWD_H */ |
| 62 |
#define HAVE_REGEXP_H 1 |
| 63 |
/* #undef HAVE_REGEX_H */ |
| 64 |
/* #undef HAVE_RMS_H */ |
| 65 |
#define HAVE_SGTTY_H 1 |
| 66 |
/* #undef HAVE_SSDEF_H */ |
| 67 |
/* #undef HAVE_STAT_H */ |
| 68 |
/* #undef HAVE_STDDEF_H */ |
| 69 |
#define HAVE_STDIO_H 1 |
| 70 |
#define HAVE_STDLIB_H 1 |
| 71 |
#define HAVE_STRING_H 1 |
| 72 |
/* #undef HAVE_SYS_IOCTL_H */ |
| 73 |
/* #undef HAVE_SYS_PARAM_H */ |
| 74 |
#define HAVE_SYS_STAT_H 1 |
| 75 |
#define HAVE_SYS_TYPES_H 1 |
| 76 |
#define HAVE_TERMIOS_H 1 |
| 77 |
#define HAVE_TERMIO_H 1 |
| 78 |
#define HAVE_TIME_H 1 |
| 79 |
/* #undef HAVE_TT2DEF_H */ |
| 80 |
/* #undef HAVE_TTDEF_H */ |
| 81 |
/* #undef HAVE_TYPES_H */ |
| 82 |
#define HAVE_UNISTD_H 1 |
| 83 |
/* #undef HAVE_UNIXIO_H */ |
| 84 |
|
| 85 |
#define RCSID(s) static char rcsid[] = s; |
| 86 |
|
| 87 |
#define OS_PCDOS 1 |
| 88 |
|
| 89 |
/* NB: some systems have Standard C header files, but compilers that |
| 90 |
do not accept function prototypes (e.g. HP HP-UX 9.0.3 /bin/cc) */ |
| 91 |
#if defined(STDC_HEADERS) && (defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)) |
| 92 |
#define ARGS(plist) plist |
| 93 |
#define VOID void |
| 94 |
#else |
| 95 |
#define ARGS(plist) () |
| 96 |
#define VOID |
| 97 |
#endif |
| 98 |
|
| 99 |
#define SCREEN_LINES 24 |
| 100 |
|
| 101 |
/*********************************************************************** |
| 102 |
The limit on file name lengths is non-standard: |
| 103 |
|
| 104 |
-------- ------------- ------------------------------------------ |
| 105 |
Name Definition System |
| 106 |
-------- ------------- ------------------------------------------ |
| 107 |
FNMAX <stdio.h> PCC-20 |
| 108 |
MAXPATH <dir.h> Turbo C 2.0, C and C++ 3.0, and TopSpeed C |
| 109 |
_MAX_PATH <stdlib.h> Microsoft C 5.0, 6.0, 7.0 and TopSpeed C |
| 110 |
MAXPATHLEN <sys/param.h> Sun OS (4.2BSD), 4.3BSD, Gould UTX/32, |
| 111 |
HPUX, KCC-20, AIX (RT, RS, PS/2, 370), |
| 112 |
HP/Apollo DomainOS, DEC Alpha (OSF/1) |
| 113 |
PATH_MAX <stdio.h> SYS V (Silicon Graphics) |
| 114 |
PATH_MAX <limits.h> POSIX, DEC Alpha (OSF/1) |
| 115 |
FILENAME_MAX <stdio.h> Intel RMX, NeXT Mach, Turbo C/C++ 3.0 |
| 116 |
-------- ------------- ------------------------------------------ |
| 117 |
|
| 118 |
***********************************************************************/ |
| 119 |
|
| 120 |
#if defined(HAVE_SYS_PARAM_H) |
| 121 |
#include <sys/param.h> |
| 122 |
#endif |
| 123 |
|
| 124 |
#if defined(HAVE_LIMITS_H) |
| 125 |
#include <limits.h> |
| 126 |
#endif |
| 127 |
|
| 128 |
#if defined(HAVE_STDLIB_H) |
| 129 |
#include <stdlib.h> |
| 130 |
#endif |
| 131 |
|
| 132 |
#if !defined(MAXPATHLEN) && defined(FNMAX) |
| 133 |
#define MAXPATHLEN FNMAX |
| 134 |
#endif |
| 135 |
|
| 136 |
#if !defined(MAXPATHLEN) && defined(MAXPATH) |
| 137 |
#define MAXPATHLEN MAXPATH |
| 138 |
#endif |
| 139 |
|
| 140 |
#if !defined(MAXPATHLEN) && defined(_MAX_PATH) |
| 141 |
#define MAXPATHLEN _MAX_PATH |
| 142 |
#endif |
| 143 |
|
| 144 |
#if !defined(MAXPATHLEN) && defined(PATH_MAX) |
| 145 |
#define MAXPATHLEN PATH_MAX |
| 146 |
#endif |
| 147 |
|
| 148 |
#if !defined(MAXPATHLEN) && defined(FILENAME_MAX) |
| 149 |
#define MAXPATHLEN FILENAME_MAX |
| 150 |
#endif |
| 151 |
|
| 152 |
#if !defined(MAXPATHLEN) && defined(FNMAX) |
| 153 |
#define MAXPATHLEN 1024 |
| 154 |
#endif |
| 155 |
|
| 156 |
#if defined(OS_PCDOS) |
| 157 |
#define SEP_COMP " ;,|" /* separators between filename components */ |
| 158 |
#define SEP_PATH "\\" /* separators between directory path and filename */ |
| 159 |
#endif |
| 160 |
|
| 161 |
#if defined(OS_UNIX) |
| 162 |
#define SEP_COMP " ;:,|" /* separators between filename components */ |
| 163 |
#define SEP_PATH "/" /* separators between directory path and filename */ |
| 164 |
#endif |
| 165 |
|
| 166 |
#include <stdio.h> |
| 167 |
#include <custom.h> |
| 168 |
|
| 169 |
#if !defined(HAVE_IOCTL_PROTOTYPE) |
| 170 |
#if defined(__cplusplus) || defined(c_plusplus) |
| 171 |
/* system files should have: extern "C" {int ioctl ARGS((int, int, ...));} */ |
| 172 |
#else |
| 173 |
extern int ioctl ARGS((int, int, ...)); |
| 174 |
#endif |
| 175 |
#endif |
| 176 |
|
| 177 |
#if defined(FREE_CAST_IS_CHAR_STAR) |
| 178 |
#define FREE(p) free((char*)(p)) |
| 179 |
#else |
| 180 |
#define FREE(p) free((void*)(p)) |
| 181 |
#endif |