File: config.hin

package info (click to toggle)
bibclean 2.11.4-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 5,212 kB
  • ctags: 1,545
  • sloc: ansic: 10,737; makefile: 817; perl: 66; sh: 40; awk: 27; sed: 6
file content (207 lines) | stat: -rw-r--r-- 5,246 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/* WARNING: Do NOT edit the config.h file; instead, put any needed
changes in custom.h, so that they can override assumptions made in the
automatically-generated config.h file */

/* Define to look for system-wide .bibcleanrc file as
 * /usr/local/share/bibcleanrc or /etc/bibcleanrc instead of
 * searching $PATH for a .bibcleanrc */
#undef FHS_RCFILES

#undef STDC_HEADERS

#undef _ALL_SOURCE

#undef _POSIX_SOURCE

#undef HAVE_STDC

/* Define if you want old pattern-less string matching in .ini files */
#undef HAVE_OLDCODE

/* Define if you want standard bibclean-specific pattern in .ini files */
#define HAVE_PATTERNS	1

/* Define if you want regular-expression patterns in .ini files using re_comp() */

#undef HAVE_RECOMP
#undef HAVE_REGEXP

#if !(defined(__cplusplus) || defined(c_plusplus))
/* Define to empty if the keyword does not work, but do nothing in */
/* C++ environment, because autoconf 2.4 gets the wrong answer from */
/* the AC_C_CONST test program under C++ compilation. */
#undef const
#endif

/* Define if your free() requires (char*) cast instead of (void*) */
#undef FREE_CAST_IS_CHAR_STAR

/* Define if your compiler recognizes \a as an alert (ASCII BEL) character */
#undef HAVE_ALERT_CHAR

/* Library functions that we need */

#undef HAVE_GETCWD
#undef HAVE_GETWD
#undef HAVE_STRCSPN
#undef HAVE_STRDUP
#undef HAVE_STRSPN
#undef HAVE_STRSTR
#undef HAVE_STRTOD
#undef HAVE_STRTOL

/* Header files that we might need */

#undef HAVE_CONIO_H
#undef HAVE_CTYPE_H
#undef HAVE_DESCRIP_H
#undef HAVE_ERRNO_H
#undef HAVE_FCNTL_H
#undef HAVE_IODEF_H
#undef HAVE_IO_H
#undef HAVE_JPIDEF_H
#undef HAVE_LIMITS_H
#undef HAVE_OSFCN_H
#undef HAVE_PWD_H
#undef HAVE_REGEXP_H
#undef HAVE_REGEX_H
#undef HAVE_RMS_H
#undef HAVE_SGTTY_H
#undef HAVE_SSDEF_H
#undef HAVE_STAT_H
#undef HAVE_STDDEF_H
#undef HAVE_STDIO_H
#undef HAVE_STDLIB_H
#undef HAVE_STRING_H
#undef HAVE_SYS_IOCTL_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_STAT_H
#undef HAVE_SYS_TYPES_H
#undef HAVE_TERMIOS_H
#undef HAVE_TERMIO_H
#undef HAVE_TIME_H
#undef HAVE_TT2DEF_H
#undef HAVE_TTDEF_H
#undef HAVE_TYPES_H
#undef HAVE_UNISTD_H
#undef HAVE_UNIXIO_H

#undef HAVE_IOCTL_PROTOTYPE

#ifndef __GNUC__
#define __attribute__(x)
#endif
#define RCSID(s) static char rcsid[] __attribute__((unused)) = s;

#define OS_UNIX	1

#include <stdio.h>

/* NB: some systems have Standard C header files, but compilers that
do not accept function prototypes (e.g. HP HP-UX 9.0.3 /bin/cc) */
#if defined(STDC_HEADERS) && (defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus))
#define ARGS(plist)	plist
#define VOID		void
#else
#define ARGS(plist)	()
#define VOID
#endif

#undef PAGER_PROGRAM
#define SCREEN_LINES	24

/***********************************************************************
The limit on file name lengths is non-standard:

--------	-------------	------------------------------------------
Name		Definition	System
--------	-------------	------------------------------------------
FNMAX		<stdio.h>	PCC-20
MAXPATH		<dir.h>		Turbo C 2.0, C and C++ 3.0, and TopSpeed C
_MAX_PATH	<stdlib.h>	Microsoft C 5.0, 6.0, 7.0 and TopSpeed C
MAXPATHLEN	<sys/param.h>	Sun OS (4.2BSD), 4.3BSD, Gould UTX/32,
				HPUX, KCC-20, AIX (RT, RS, PS/2, 370),
				HP/Apollo DomainOS, DEC Alpha (OSF/1)
PATH_MAX	<stdio.h>	SYS V (Silicon Graphics)
PATH_MAX	<limits.h>	POSIX, DEC Alpha (OSF/1)
FILENAME_MAX	<stdio.h>	Intel RMX, NeXT Mach, Turbo C/C++ 3.0
--------	-------------	------------------------------------------

***********************************************************************/

#if defined(HAVE_SYS_PARAM_H)
#include <sys/param.h>
#endif

#if defined(HAVE_LIMITS_H)
#include <limits.h>
#endif

#if defined(HAVE_STDLIB_H)
#include <stdlib.h>
#endif

#if defined(HAVE_UNIXIO_H)
#include <unixio.h>
#endif

#if !defined(MAXPATHLEN) && defined(FNMAX)
#define MAXPATHLEN FNMAX
#endif

#if !defined(MAXPATHLEN) && defined(MAXPATH)
#define MAXPATHLEN MAXPATH
#endif

#if !defined(MAXPATHLEN) && defined(_MAX_PATH)
#define MAXPATHLEN _MAX_PATH
#endif

#if !defined(MAXPATHLEN) && defined(PATH_MAX)
#define MAXPATHLEN PATH_MAX
#endif

#if !defined(MAXPATHLEN) && defined(FILENAME_MAX)
#define MAXPATHLEN FILENAME_MAX
#endif

#if !defined(MAXPATHLEN) && defined(FNMAX)
#define MAXPATHLEN 1024
#endif

#if OS_PCDOS
#define SEP_COMP " ;,|"	/* separators between filename components */
#define SEP_PATH "\\"	/* separators between directory path and filename */
#endif

#if OS_UNIX
#define SEP_COMP " ;:,|" /* separators between filename components */
#define SEP_PATH "/"	/* separators between directory path and filename */
#endif

#if OS_VAXVMS
#define SEP_COMP " ;,|"	/* separators between filename components */
#define SEP_PATH ":]"	/* separators between directory path and filename */
			/* first char is what we default to */
#endif

#if defined(__TURBOC__)
#undef fileno
#define fileno(f)       ((f)->fd)
#endif

#include <custom.h>

#if !defined(HAVE_IOCTL_PROTOTYPE)
#if defined(__cplusplus) || defined(c_plusplus)
/* system files should have: extern "C" {int ioctl ARGS((int, int, ...));} */
#else
extern int ioctl ARGS((int, int, ...));
#endif
#endif

#if defined(FREE_CAST_IS_CHAR_STAR)
#define FREE(p)		free((char*)(p))
#else
#define FREE(p)		free((void*)(p))
#endif