]>
Commit | Line | Data |
---|---|---|
61a3939f AM |
1 | diff -urN cdrtools-1.11.org/cdda2wav/aclocal.m4 cdrtools-1.11/cdda2wav/aclocal.m4 |
2 | --- cdrtools-1.11.org/cdda2wav/aclocal.m4 Fri May 17 13:33:04 2002 | |
3 | +++ cdrtools-1.11/cdda2wav/aclocal.m4 Fri May 17 13:33:29 2002 | |
4 | @@ -17,7 +17,7 @@ | |
9a068959 | 5 | |
61a3939f AM |
6 | dnl Checks if structure 'stat' have field 'st_spare1'. |
7 | dnl Defines HAVE_ST_SPARE1 on success. | |
8 | -AC_DEFUN(AC_STRUCT_ST_SPARE1, | |
9 | +AC_DEFUN([AC_STRUCT_ST_SPARE1], | |
10 | [AC_CACHE_CHECK([if struct stat contains st_spare1], ac_cv_struct_st_spare1, | |
11 | [AC_TRY_COMPILE([#include <sys/types.h> | |
12 | #include <sys/stat.h>], | |
13 | @@ -30,7 +30,7 @@ | |
4ac6d9e0 | 14 | |
61a3939f AM |
15 | dnl Checks if structure 'stat' have field 'st_atim.tv_nsec'. |
16 | dnl Defines HAVE_ST_NSEC on success. | |
17 | -AC_DEFUN(AC_STRUCT_ST_NSEC, | |
18 | +AC_DEFUN([AC_STRUCT_ST_NSEC], | |
19 | [AC_CACHE_CHECK([if struct stat contains st_atim.tv_nsec], ac_cv_struct_st_nsec, | |
20 | [AC_TRY_COMPILE([#include <sys/types.h> | |
21 | #include <sys/stat.h>], | |
22 | @@ -43,7 +43,7 @@ | |
9a068959 | 23 | |
61a3939f AM |
24 | dnl Checks if structure 'stat' have field 'st_flags'. |
25 | dnl Defines HAVE_ST_FLAGS on success. | |
26 | -AC_DEFUN(AC_STRUCT_ST_FLAGS, | |
27 | +AC_DEFUN([AC_STRUCT_ST_FLAGS], | |
28 | [AC_CACHE_CHECK([if struct stat contains st_flags], ac_cv_struct_st_flags, | |
29 | [AC_TRY_COMPILE([#include <sys/types.h> | |
30 | #include <sys/stat.h>], | |
31 | @@ -56,7 +56,7 @@ | |
4ac6d9e0 | 32 | |
33 | dnl Checks if structure 'mtget' have field 'mt_type'. | |
34 | dnl Defines HAVE_MTGET_TYPE on success. | |
35 | -AC_DEFUN(AC_STRUCT_MTGET_TYPE, | |
36 | +AC_DEFUN([AC_STRUCT_MTGET_TYPE], | |
37 | [AC_CACHE_CHECK([if struct mtget contains mt_type], ac_cv_struct_mtget_type, | |
38 | [AC_TRY_COMPILE([#include <sys/types.h> | |
39 | #include <sys/mtio.h>], | |
40 | @@ -69,7 +69,7 @@ | |
41 | ||
42 | dnl Checks if structure 'mtget' have field 'mt_dsreg'. | |
43 | dnl Defines HAVE_MTGET_DSREG on success. | |
44 | -AC_DEFUN(AC_STRUCT_MTGET_DSREG, | |
45 | +AC_DEFUN([AC_STRUCT_MTGET_DSREG], | |
46 | [AC_CACHE_CHECK([if struct mtget contains mt_dsreg], ac_cv_struct_mtget_dsreg, | |
47 | [AC_TRY_COMPILE([#include <sys/types.h> | |
48 | #include <sys/mtio.h>], | |
49 | @@ -82,7 +82,7 @@ | |
50 | ||
51 | dnl Checks if structure 'mtget' have field 'mt_erreg'. | |
52 | dnl Defines HAVE_MTGET_ERREG on success. | |
53 | -AC_DEFUN(AC_STRUCT_MTGET_ERREG, | |
54 | +AC_DEFUN([AC_STRUCT_MTGET_ERREG], | |
55 | [AC_CACHE_CHECK([if struct mtget contains mt_erreg], ac_cv_struct_mtget_erreg, | |
56 | [AC_TRY_COMPILE([#include <sys/types.h> | |
57 | #include <sys/mtio.h>], | |
58 | @@ -95,7 +95,7 @@ | |
59 | ||
60 | dnl Checks if structure 'mtget' have field 'mt_resid'. | |
61 | dnl Defines HAVE_MTGET_RESID on success. | |
62 | -AC_DEFUN(AC_STRUCT_MTGET_RESID, | |
63 | +AC_DEFUN([AC_STRUCT_MTGET_RESID], | |
64 | [AC_CACHE_CHECK([if struct mtget contains mt_resid], ac_cv_struct_mtget_resid, | |
65 | [AC_TRY_COMPILE([#include <sys/types.h> | |
66 | #include <sys/mtio.h>], | |
67 | @@ -108,7 +108,7 @@ | |
68 | ||
69 | dnl Checks if structure 'mtget' have field 'mt_fileno'. | |
70 | dnl Defines HAVE_MTGET_FILENO on success. | |
71 | -AC_DEFUN(AC_STRUCT_MTGET_FILENO, | |
72 | +AC_DEFUN([AC_STRUCT_MTGET_FILENO], | |
73 | [AC_CACHE_CHECK([if struct mtget contains mt_fileno], | |
74 | ac_cv_struct_mtget_fileno, | |
75 | [AC_TRY_COMPILE([#include <sys/types.h> | |
76 | @@ -122,7 +122,7 @@ | |
77 | ||
78 | dnl Checks if structure 'mtget' have field 'mt_blkno'. | |
79 | dnl Defines HAVE_MTGET_BLKNO on success. | |
80 | -AC_DEFUN(AC_STRUCT_MTGET_BLKNO, | |
81 | +AC_DEFUN([AC_STRUCT_MTGET_BLKNO], | |
82 | [AC_CACHE_CHECK([if struct mtget contains mt_blkno], ac_cv_struct_mtget_blkno, | |
83 | [AC_TRY_COMPILE([#include <sys/types.h> | |
84 | #include <sys/mtio.h>], | |
85 | @@ -135,7 +135,7 @@ | |
86 | ||
87 | dnl Checks if structure 'mtget' have field 'mt_flags'. | |
88 | dnl Defines HAVE_MTGET_FLAGS on success. | |
89 | -AC_DEFUN(AC_STRUCT_MTGET_FLAGS, | |
90 | +AC_DEFUN([AC_STRUCT_MTGET_FLAGS], | |
91 | [AC_CACHE_CHECK([if struct mtget contains mt_flags], ac_cv_struct_mtget_flags, | |
92 | [AC_TRY_COMPILE([#include <sys/types.h> | |
93 | #include <sys/mtio.h>], | |
94 | @@ -148,7 +148,7 @@ | |
95 | ||
96 | dnl Checks if structure 'mtget' have field 'mt_bf'. | |
97 | dnl Defines HAVE_MTGET_BF on success. | |
98 | -AC_DEFUN(AC_STRUCT_MTGET_BF, | |
99 | +AC_DEFUN([AC_STRUCT_MTGET_BF], | |
100 | [AC_CACHE_CHECK([if struct mtget contains mt_bf], ac_cv_struct_mtget_bf, | |
101 | [AC_TRY_COMPILE([#include <sys/types.h> | |
102 | #include <sys/mtio.h>], | |
103 | @@ -161,7 +161,7 @@ | |
104 | ||
105 | dnl Checks for illegal declaration of 'union semun' in sys/sem.h. | |
106 | dnl Defines HAVE_UNION_SEMUN on success. | |
107 | -AC_DEFUN(AC_STRUCT_UNION_SEMUN, | |
108 | +AC_DEFUN([AC_STRUCT_UNION_SEMUN], | |
109 | [AC_CACHE_CHECK([if an illegal declaration for union semun in sys/sem.h exists], ac_cv_struct_union_semun, | |
110 | [AC_TRY_COMPILE([#include <sys/types.h> | |
111 | #include <sys/ipc.h> | |
112 | @@ -174,7 +174,7 @@ | |
113 | ||
114 | dnl Checks if 'union wait' is declared in 'wait.h' or 'sys/wait.h'. | |
115 | dnl Defines HAVE_UNION_WAIT on success. | |
116 | -AC_DEFUN(AC_STRUCT_UNION_WAIT, | |
117 | +AC_DEFUN([AC_STRUCT_UNION_WAIT], | |
118 | [AC_CACHE_CHECK([if union wait is declared in wait.h or sys/wait.h], ac_cv_struct_union_wait, | |
119 | [AC_TRY_COMPILE([#include <sys/types.h> | |
120 | #if defined(HAVE_WAIT_H) | |
121 | @@ -190,7 +190,7 @@ | |
122 | ||
123 | dnl Checks if 'struct rusage' is declared in sys/resource.h. | |
124 | dnl Defines HAVE_STRUCT_RUSAGE on success. | |
125 | -AC_DEFUN(AC_STRUCT_RUSAGE, | |
126 | +AC_DEFUN([AC_STRUCT_RUSAGE], | |
127 | [AC_CACHE_CHECK([if struct rusage is declared in sys/resource.h], ac_cv_struct_rusage, | |
128 | [AC_TRY_COMPILE([#include <sys/time.h> | |
129 | #include <sys/resource.h>], [struct rusage r;], | |
130 | @@ -203,7 +203,7 @@ | |
131 | dnl Checks wether major(), minor() and makedev() are defined in | |
132 | dnl 'sys/mkdev.h' or in 'sys/sysmacros.h. Defines MAJOR_IN_MKDEV or | |
133 | dnl MAJOR_IN_SYSMACROS or nothing. | |
134 | -AC_DEFUN(AC_HEADER_MAKEDEV, | |
135 | +AC_DEFUN([AC_HEADER_MAKEDEV], | |
136 | [AC_CACHE_CHECK([for header file containing major(), minor() and makedev()], | |
137 | ac_cv_header_makedev, | |
138 | [ac_cv_header_makedev=none | |
139 | @@ -226,7 +226,7 @@ | |
140 | ||
141 | dnl Checks for USG derived STDIO that uses _filbuf() | |
142 | dnl Defines HAVE__FILBUF on success. | |
143 | -AC_DEFUN(AC_HEADER__FILBUF, | |
144 | +AC_DEFUN([AC_HEADER__FILBUF], | |
145 | [AC_CACHE_CHECK([for _filbuf()], ac_cv_func__filbuf, | |
146 | [AC_TRY_LINK([#include <stdio.h>], | |
147 | [FILE *f; | |
148 | @@ -251,7 +251,7 @@ | |
149 | ||
150 | dnl Checks for USG derived STDIO that uses __filbuf() | |
151 | dnl Defines HAVE___FILBUF on success. | |
152 | -AC_DEFUN(AC_HEADER___FILBUF, | |
153 | +AC_DEFUN([AC_HEADER___FILBUF], | |
154 | [AC_CACHE_CHECK([for __filbuf()], ac_cv_func___filbuf, | |
155 | [AC_TRY_LINK([#include <stdio.h>], | |
156 | [FILE *f; | |
157 | @@ -276,7 +276,7 @@ | |
158 | ||
159 | dnl Checks for USG derived STDIO | |
160 | dnl Defines HAVE_USG_STDIO on success. | |
161 | -AC_DEFUN(AC_HEADER_USG_STDIO, | |
162 | +AC_DEFUN([AC_HEADER_USG_STDIO], | |
163 | [AC_REQUIRE([AC_HEADER__FILBUF])AC_REQUIRE([AC_HEADER___FILBUF])dnl | |
164 | AC_CACHE_CHECK([for USG derived STDIO], ac_cv_header_usg_stdio, | |
165 | [AC_TRY_LINK([#include <stdio.h>], | |
166 | @@ -311,7 +311,7 @@ | |
167 | ||
168 | dnl Checks for errno definition in <errno.h> | |
169 | dnl Defines HAVE_ERRNO_DEF on success. | |
170 | -AC_DEFUN(AC_HEADER_ERRNO_DEF, | |
171 | +AC_DEFUN([AC_HEADER_ERRNO_DEF], | |
172 | [AC_CACHE_CHECK([for errno definition in errno.h], ac_cv_header_errno_def, | |
173 | [AC_TRY_COMPILE([#include <errno.h>], | |
174 | [errno = 0;], | |
175 | @@ -323,7 +323,7 @@ | |
176 | ||
177 | dnl Checks for UNIX-98 compliant <inttypes.h> | |
178 | dnl Defines HAVE_INTTYPES_H on success. | |
179 | -AC_DEFUN(AC_HEADER_INTTYPES, | |
180 | +AC_DEFUN([AC_HEADER_INTTYPES], | |
181 | [AC_CACHE_CHECK([for UNIX-98 compliant inttypes.h], ac_cv_header_inttypes, | |
182 | [AC_TRY_COMPILE([#include <inttypes.h>], | |
183 | [int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; | |
184 | @@ -337,7 +337,7 @@ | |
185 | ||
186 | dnl Checks for type time_t | |
187 | dnl Defines time_t to long on failure. | |
188 | -AC_DEFUN(AC_TYPE_TIME_T, | |
189 | +AC_DEFUN([AC_TYPE_TIME_T], | |
190 | [AC_REQUIRE([AC_HEADER_TIME])dnl | |
191 | AC_CACHE_CHECK([for time_t], ac_cv_type_time_t, | |
192 | [AC_TRY_COMPILE([ | |
193 | @@ -360,7 +360,7 @@ | |
194 | ||
195 | dnl Checks for type socklen_t | |
196 | dnl Defines socklen_t to int on failure. | |
197 | -AC_DEFUN(AC_TYPE_SOCKLEN_T, | |
198 | +AC_DEFUN([AC_TYPE_SOCKLEN_T], | |
199 | [AC_REQUIRE([AC_HEADER_STDC])dnl | |
200 | AC_MSG_CHECKING(for socklen_t) | |
201 | AC_CACHE_VAL(ac_cv_type_socklen_t, | |
202 | @@ -380,7 +380,7 @@ | |
203 | ||
204 | dnl Checks for type long long | |
205 | dnl Defines HAVE_LONGLONG on success. | |
206 | -AC_DEFUN(AC_TYPE_LONGLONG, | |
207 | +AC_DEFUN([AC_TYPE_LONGLONG], | |
208 | [AC_CACHE_CHECK([for type long long], ac_cv_type_longlong, | |
209 | [AC_TRY_COMPILE([], [long long i;], | |
210 | [ac_cv_type_longlong=yes], | |
211 | @@ -391,7 +391,7 @@ | |
212 | ||
61a3939f AM |
213 | dnl Checks if C-compiler orders bitfields htol |
214 | dnl Defines BITFIELDS_HTOL on success. | |
215 | -AC_DEFUN(AC_C_BITFIELDS, | |
216 | +AC_DEFUN([AC_C_BITFIELDS], | |
217 | [AC_CACHE_CHECK([whether bitorder in bitfields is htol], ac_cv_c_bitfields_htol, | |
218 | [AC_TRY_RUN([ | |
219 | struct { | |
220 | @@ -414,7 +414,7 @@ | |
221 | ||
222 | dnl Checks if C-compiler understands prototypes | |
223 | dnl Defines PROTOTYPES on success. | |
224 | -AC_DEFUN(AC_TYPE_PROTOTYPES, | |
225 | +AC_DEFUN([AC_TYPE_PROTOTYPES], | |
226 | [AC_CACHE_CHECK([for prototypes], ac_cv_type_prototypes, | |
227 | [AC_TRY_RUN([ | |
228 | doit(int i, ...) | |
229 | @@ -431,7 +431,7 @@ | |
230 | ||
231 | dnl Checks for type size_t | |
232 | dnl Defines HAVE_SIZE_T_ on success. | |
233 | -AC_DEFUN(AC_TYPE_SIZE_T_, | |
234 | +AC_DEFUN([AC_TYPE_SIZE_T_], | |
235 | [AC_CACHE_CHECK([for type size_t], ac_cv_type_size_t_, | |
236 | [AC_TRY_COMPILE([#include <sys/types.h>], [size_t s;], | |
237 | [ac_cv_type_size_t_=yes], | |
238 | @@ -444,7 +444,7 @@ | |
239 | ||
240 | dnl Checks if type char is unsigned | |
241 | dnl Defines CHAR_IS_UNSIGNED on success. | |
242 | -AC_DEFUN(AC_TYPE_CHAR, | |
243 | +AC_DEFUN([AC_TYPE_CHAR], | |
244 | [AC_CACHE_CHECK([if char is unsigned], ac_cv_type_char_unsigned, | |
245 | [AC_TRY_RUN([ | |
246 | int | |
247 | @@ -463,7 +463,7 @@ | |
248 | ||
249 | dnl Checks if function/macro va_copy() is available | |
250 | dnl Defines HAVE_VA_COPY on success. | |
251 | -AC_DEFUN(AC_FUNC_VA_COPY, | |
252 | +AC_DEFUN([AC_FUNC_VA_COPY], | |
253 | [AC_CACHE_CHECK([for va_copy], ac_cv_func_va_copy, | |
254 | [AC_TRY_LINK([ | |
255 | #ifdef HAVE_STDARG_H | |
256 | @@ -483,7 +483,7 @@ | |
257 | ||
258 | dnl Checks if function/macro __va_copy() is available | |
259 | dnl Defines HAVE__VA_COPY on success. | |
260 | -AC_DEFUN(AC_FUNC__VA_COPY, | |
261 | +AC_DEFUN([AC_FUNC__VA_COPY], | |
262 | [AC_CACHE_CHECK([for __va_copy], ac_cv_func__va_copy, | |
263 | [AC_TRY_LINK([ | |
264 | #ifdef HAVE_STDARG_H | |
265 | @@ -504,7 +504,7 @@ | |
266 | ||
267 | dnl Checks if va_list is an array | |
268 | dnl Defines VA_LIST_IS_ARRAY on success. | |
269 | -AC_DEFUN(AC_TYPE_VA_LIST, | |
270 | +AC_DEFUN([AC_TYPE_VA_LIST], | |
271 | [AC_CACHE_CHECK([if va_list is an array], ac_cv_type_va_list_array, | |
272 | [AC_TRY_LINK([ | |
273 | #ifdef HAVE_STDARG_H | |
274 | @@ -525,7 +525,7 @@ | |
275 | ||
276 | dnl Checks if quotactl is present as ioctl | |
277 | dnl Defines HAVE_QUOTAIOCTL on success. | |
278 | -AC_DEFUN(AC_FUNC_QUOTAIOCTL, | |
279 | +AC_DEFUN([AC_FUNC_QUOTAIOCTL], | |
280 | [AC_CACHE_CHECK([if quotactl is an ioctl], ac_cv_func_quotaioctl, | |
281 | [AC_TRY_LINK([#include <sys/types.h> | |
282 | #include <sys/fs/ufs_quota.h>], | |
283 | @@ -538,7 +538,7 @@ | |
284 | ||
285 | dnl Checks if function __dtoa() is available | |
286 | dnl Defines HAVE_DTOA on success. | |
287 | -AC_DEFUN(AC_FUNC_DTOA, | |
288 | +AC_DEFUN([AC_FUNC_DTOA], | |
289 | [AC_CACHE_CHECK([for __dtoa], ac_cv_func_dtoa, | |
290 | [AC_TRY_LINK([extern char *__dtoa();], | |
291 | [int decpt; int sign; char *ep; char *bp; | |
292 | @@ -551,7 +551,7 @@ | |
293 | ||
294 | dnl Checks if reentrant __dtoa() exists (needs a result prt) | |
295 | dnl Defines HAVE_DTOA_R on success. | |
296 | -AC_DEFUN(AC_FUNC_DTOA_R, | |
297 | +AC_DEFUN([AC_FUNC_DTOA_R], | |
298 | [AC_REQUIRE([AC_FUNC_DTOA])dnl | |
299 | AC_CACHE_CHECK([for __dtoa that needs result ptr], ac_cv_func_dtoa_r, | |
300 | [AC_TRY_RUN([ | |
301 | @@ -580,7 +580,7 @@ | |
302 | ||
303 | dnl Checks if working ecvt() exists | |
304 | dnl Defines HAVE_ECVT on success. | |
305 | -AC_DEFUN(AC_FUNC_ECVT, | |
306 | +AC_DEFUN([AC_FUNC_ECVT], | |
307 | [AC_CACHE_CHECK([for working ecvt() ], ac_cv_func_ecvt, | |
308 | [AC_TRY_RUN([ | |
309 | extern char *ecvt(); | |
310 | @@ -607,7 +607,7 @@ | |
311 | ||
312 | dnl Checks if working fcvt() exists | |
313 | dnl Defines HAVE_FCVT on success. | |
314 | -AC_DEFUN(AC_FUNC_FCVT, | |
315 | +AC_DEFUN([AC_FUNC_FCVT], | |
316 | [AC_CACHE_CHECK([for working fcvt() ], ac_cv_func_fcvt, | |
317 | [AC_TRY_RUN([ | |
318 | extern char *fcvt(); | |
319 | @@ -634,7 +634,7 @@ | |
320 | ||
321 | dnl Checks if working gcvt() exists | |
322 | dnl Defines HAVE_GCVT on success. | |
323 | -AC_DEFUN(AC_FUNC_GCVT, | |
324 | +AC_DEFUN([AC_FUNC_GCVT], | |
325 | [AC_CACHE_CHECK([for working gcvt() ], ac_cv_func_gcvt, | |
326 | [AC_TRY_RUN([ | |
327 | extern char *gcvt(); | |
328 | @@ -661,7 +661,7 @@ | |
329 | ||
330 | dnl Checks if function uname() is available | |
331 | dnl Defines HAVE_UNAME on success. | |
332 | -AC_DEFUN(AC_FUNC_UNAME, | |
333 | +AC_DEFUN([AC_FUNC_UNAME], | |
334 | [AC_CACHE_CHECK([for uname], ac_cv_func_uname, | |
335 | [AC_TRY_LINK([#include <sys/utsname.h>], | |
336 | [struct utsname un; | |
337 | @@ -675,7 +675,7 @@ | |
338 | dnl Checks if function mlockall() is available | |
339 | dnl beware HP-UX 10.x it contains a bad mlockall() in libc | |
340 | dnl Defines HAVE_MLOCKALL on success. | |
341 | -AC_DEFUN(AC_FUNC_MLOCKALL, | |
342 | +AC_DEFUN([AC_FUNC_MLOCKALL], | |
343 | [AC_CACHE_CHECK([for mlockall], ac_cv_func_mlockall, | |
344 | [AC_TRY_RUN([ | |
345 | #include <sys/types.h> | |
346 | @@ -699,7 +699,7 @@ | |
347 | AC_DEFINE(HAVE_MLOCKALL) | |
348 | fi]) | |
349 | ||
350 | -AC_DEFUN(jsAC_FUNC_MMAP, | |
351 | +AC_DEFUN([jsAC_FUNC_MMAP], | |
352 | [AC_REQUIRE([AC_MMAP_SIZEP])dnl | |
353 | AC_CHECK_HEADERS(unistd.h) | |
354 | AC_CHECK_FUNCS(getpagesize) | |
355 | @@ -856,7 +856,7 @@ | |
356 | fi | |
357 | ]) | |
358 | ||
359 | -AC_DEFUN(AC_MMAP_SIZEP, | |
360 | +AC_DEFUN([AC_MMAP_SIZEP], | |
361 | [AC_CHECK_HEADERS(unistd.h) | |
362 | AC_CHECK_FUNCS(getpagesize) | |
363 | AC_CACHE_CHECK(for mmap that needs ptr to size, ac_cv_func_mmap_sizep, | |
364 | @@ -1006,7 +1006,7 @@ | |
365 | ||
366 | dnl Checks if mmap() works to get shared memory | |
367 | dnl Defines HAVE_SMMAP on success. | |
368 | -AC_DEFUN(AC_FUNC_SMMAP, | |
369 | +AC_DEFUN([AC_FUNC_SMMAP], | |
370 | [AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap, | |
371 | [AC_TRY_RUN([ | |
372 | #include <sys/types.h> | |
373 | @@ -1086,7 +1086,7 @@ | |
374 | ||
375 | dnl Checks if sys_siglist[] exists | |
376 | dnl Defines HAVE_SYS_SIGLIST on success. | |
377 | -AC_DEFUN(AC_FUNC_SYS_SIGLIST, | |
378 | +AC_DEFUN([AC_FUNC_SYS_SIGLIST], | |
379 | [AC_CACHE_CHECK([for sys_siglist], ac_cv_func_sys_siglist, | |
380 | [AC_TRY_RUN([ | |
381 | int | |
382 | @@ -1102,7 +1102,7 @@ | |
383 | fi]) | |
384 | ||
385 | dnl Checks for maximum number of bits in minor device number | |
386 | -AC_DEFUN(AC_CHECK_MINOR_BITS, | |
387 | +AC_DEFUN([AC_CHECK_MINOR_BITS], | |
388 | [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl | |
389 | changequote(<<, >>)dnl | |
390 | define(<<AC_MACRO_NAME>>, DEV_MINOR_BITS)dnl | |
391 | @@ -1169,7 +1169,7 @@ | |
392 | ||
393 | dnl Checks for maximum number of bits in minor device numbers are non contiguous | |
394 | dnl Defines DEV_MINOR_NONCONTIG on success. | |
395 | -AC_DEFUN(AC_CHECK_MINOR_NONCONTIG, | |
396 | +AC_DEFUN([AC_CHECK_MINOR_NONCONTIG], | |
397 | [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl | |
398 | AC_CACHE_CHECK([whether bits in minor device numbers are non contiguous], ac_cv_dev_minor_noncontig, | |
399 | [AC_TRY_RUN([ | |
400 | @@ -1225,7 +1225,7 @@ | |
401 | ||
402 | dnl Checks if we may not define our own malloc() | |
403 | dnl Defines NO_USER_MALLOC if we cannot. | |
404 | -AC_DEFUN(AC_USER_MALLOC, | |
405 | +AC_DEFUN([AC_USER_MALLOC], | |
406 | [AC_CACHE_CHECK([if we may not define our own malloc()], ac_cv_no_user_malloc, | |
407 | [AC_TRY_LINK([ | |
408 | char * malloc(x) | |
409 | @@ -1242,7 +1242,7 @@ | |
410 | ||
411 | dnl Checks if BSD-4.2 compliant getpgrp() exists | |
412 | dnl Defines HAVE_BSD_GETPGRP on success. | |
413 | -AC_DEFUN(AC_FUNC_BSD_GETPGRP, | |
414 | +AC_DEFUN([AC_FUNC_BSD_GETPGRP], | |
415 | [AC_CACHE_CHECK([for BSD compliant getpgrp], ac_cv_func_bsd_getpgrp, | |
416 | [AC_TRY_RUN([ | |
417 | int | |
418 | @@ -1263,7 +1263,7 @@ | |
419 | ||
420 | dnl Checks if BSD-4.2 compliant setpgrp() exists | |
421 | dnl Defines HAVE_BSD_SETPGRP on success. | |
422 | -AC_DEFUN(AC_FUNC_BSD_SETPGRP, | |
423 | +AC_DEFUN([AC_FUNC_BSD_SETPGRP], | |
424 | [AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl | |
425 | AC_CACHE_CHECK([for BSD compliant setpgrp], ac_cv_func_bsd_setpgrp, | |
426 | [AC_TRY_RUN([ | |
427 | @@ -1288,7 +1288,7 @@ | |
428 | ||
429 | dnl Checks if select() needs more than sys/time.h & sys/types.h | |
430 | dnl Defines SELECT_NONSTD_HDR on success. | |
431 | -AC_DEFUN(AC_HEADER_SELECT_NONSTD, | |
432 | +AC_DEFUN([AC_HEADER_SELECT_NONSTD], | |
433 | [AC_CACHE_CHECK([if select needs nonstd include files], ac_cv_header_slect_nonstd_hdr, | |
434 | [AC_TRY_COMPILE([#include <sys/types.h> | |
435 | #include <sys/time.h>], | |
436 | @@ -1301,7 +1301,7 @@ | |
437 | ||
438 | dnl Checks if select() needs sys/select.h | |
439 | dnl Defines NEED_SYS_SELECT_H on success. | |
440 | -AC_DEFUN(AC_HEADER_SYS_SELECT, | |
441 | +AC_DEFUN([AC_HEADER_SYS_SELECT], | |
442 | [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl | |
443 | AC_CACHE_CHECK([if sys/select.h is needed for select], ac_cv_header_need_sys_select_h, | |
444 | [AC_TRY_COMPILE([#include <sys/types.h> | |
445 | @@ -1319,7 +1319,7 @@ | |
446 | ||
447 | dnl Checks if select() needs sys/socket.h | |
448 | dnl Defines NEED_SYS_SOCKET_H on success. | |
449 | -AC_DEFUN(AC_HEADER_SELECT2, | |
450 | +AC_DEFUN([AC_HEADER_SELECT2], | |
451 | [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl | |
452 | AC_CACHE_CHECK([if sys/socket.h is needed for select], ac_cv_header_need_sys_socket_h, | |
453 | [AC_TRY_COMPILE([#include <sys/types.h> | |
454 | @@ -1337,7 +1337,7 @@ | |
455 | ||
456 | dnl Checks if file locking via fcntl() is available | |
457 | dnl Defines HAVE_FCNTL_LOCKF on success. | |
458 | -AC_DEFUN(AC_FUNC_FCNTL_LOCKF, | |
459 | +AC_DEFUN([AC_FUNC_FCNTL_LOCKF], | |
460 | [AC_CACHE_CHECK([for file locking via fcntl], ac_cv_func_fcntl_lock, | |
461 | [AC_TRY_LINK([ | |
462 | #include <sys/types.h> | |
463 | @@ -1366,107 +1366,9 @@ | |
464 | ||
465 | #serial 18 | |
466 | ||
467 | -dnl By default, many hosts won't let programs access large files; | |
468 | -dnl one must use special compiler options to get large-file access to work. | |
469 | -dnl For more details about this brain damage please see: | |
470 | -dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html | |
471 | - | |
472 | -dnl Written by Paul Eggert <eggert@twinsun.com>. | |
473 | - | |
474 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
475 | -dnl AC_SYS_LARGEFILE_TEST_INCLUDES | |
476 | -AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES, | |
477 | - [[#include <sys/types.h> | |
478 | - /* Check that off_t can represent 2**63 - 1 correctly. | |
479 | - We can't simply "#define LARGE_OFF_T 9223372036854775807", | |
480 | - since some C++ compilers masquerading as C compilers | |
481 | - incorrectly reject 9223372036854775807. */ | |
482 | -# define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
483 | - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
484 | - && LARGE_OFF_T % 2147483647 == 1) | |
485 | - ? 1 : -1]; | |
486 | - ]]) | |
487 | - | |
488 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
489 | -dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY) | |
490 | -AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, | |
491 | - [AC_CACHE_CHECK([for $1 value needed for large files], $3, | |
492 | - [$3=no | |
493 | - AC_TRY_COMPILE([$5], | |
494 | - [$6], | |
495 | - , | |
496 | - [AC_TRY_COMPILE([#define $1 $2] | |
497 | -[$5] | |
498 | - , | |
499 | - [$6], | |
500 | - [$3=$2])])]) | |
501 | - if test "[$]$3" != no; then | |
502 | - AC_DEFINE_UNQUOTED([$1], [$]$3, [$4]) | |
503 | - fi]) | |
504 | - | |
505 | -AC_DEFUN(AC_SYS_LARGEFILE, | |
506 | - [AC_ARG_ENABLE(largefile, | |
507 | - [ --disable-largefile omit support for large files]) | |
508 | - if test "$enable_largefile" != no; then | |
509 | - | |
510 | - AC_CACHE_CHECK([for special C compiler options needed for large files], | |
511 | - ac_cv_sys_largefile_CC, | |
512 | - [ac_cv_sys_largefile_CC=no | |
513 | - largefile_cc_opt="" | |
514 | - if test "$GCC" != yes; then | |
515 | - # IRIX 6.2 and later do not support large files by default, | |
516 | - # so use the C compiler's -n32 option if that helps. | |
517 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , , | |
518 | - [ac_save_CC="${CC-cc}" | |
519 | - CC="$CC -n32" | |
520 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , | |
521 | - ac_cv_sys_largefile_CC=' -n32') | |
522 | - CC="$ac_save_CC"]) | |
523 | - fi]) | |
524 | - if test "$ac_cv_sys_largefile_CC" != no; then | |
525 | - CC="$CC$ac_cv_sys_largefile_CC" | |
526 | - largefile_cc_opt="$ac_cv_sys_largefile_CC" | |
527 | - fi | |
528 | - | |
529 | - AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, | |
530 | - ac_cv_sys_file_offset_bits, | |
531 | - [Number of bits in a file offset, on hosts where this is settable.], | |
532 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
533 | - AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, | |
534 | - ac_cv_sys_large_files, | |
535 | - [Define for large files, on AIX-style hosts.], | |
536 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
537 | - AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, | |
538 | - ac_cv_sys_largefile_source, | |
539 | - [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], | |
540 | - [#include <stdio.h>], [return !fseeko;]) | |
541 | - fi | |
542 | - ]) | |
543 | - | |
544 | - | |
545 | -AC_DEFUN(AC_FUNC_FSEEKO, | |
546 | - [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, | |
547 | - ac_cv_sys_largefile_source, | |
548 | - [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], | |
549 | - [#include <stdio.h>], [return !fseeko;]) | |
550 | - # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | |
551 | - # in glibc 2.1.3, but that breaks too many other things. | |
552 | - # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | |
553 | - | |
554 | - AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko, | |
555 | - [ac_cv_func_fseeko=no | |
556 | - AC_TRY_LINK([#include <stdio.h>], | |
557 | - [return fseeko && fseeko (stdin, 0, 0);], | |
558 | - [ac_cv_func_fseeko=yes])]) | |
559 | - if test $ac_cv_func_fseeko != no; then | |
560 | - AC_DEFINE(HAVE_FSEEKO, 1, | |
561 | - [Define if fseeko (and presumably ftello) exists and is declared.]) | |
562 | - fi]) | |
563 | - | |
564 | - | |
565 | dnl XXXXXXXXXXXXXXXXXX End Stolen (but modified) from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
566 | ||
567 | -AC_DEFUN(AC_HAVE_LARGEFILES, | |
568 | +AC_DEFUN([AC_HAVE_LARGEFILES], | |
569 | [AC_CACHE_CHECK([if system supports Large Files at all], ac_cv_largefiles, | |
570 | [AC_TRY_COMPILE([#include <stdio.h> | |
571 | #include <sys/types.h>], | |
572 | @@ -1492,7 +1394,7 @@ | |
573 | dnl Checks for whether fseeko() is available in non large file mode | |
574 | dnl and whether there is a prototype for fseeko() | |
575 | dnl Defines HAVE_FSEEKO on success. | |
576 | -AC_DEFUN(AC_SMALL_FSEEKO, | |
577 | +AC_DEFUN([AC_SMALL_FSEEKO], | |
578 | [AC_CACHE_CHECK([for fseeko()], ac_cv_func_fseeko, | |
579 | [AC_TRY_LINK([#include <stdio.h>], | |
580 | [return !fseeko;], | |
581 | @@ -1505,7 +1407,7 @@ | |
582 | dnl Checks for whether ftello() is available in non large file mode | |
583 | dnl and whether there is a prototype for ftello() | |
584 | dnl Defines HAVE_FTELLO on success. | |
585 | -AC_DEFUN(AC_SMALL_FTELLO, | |
586 | +AC_DEFUN([AC_SMALL_FTELLO], | |
587 | [AC_CACHE_CHECK([for ftello()], ac_cv_func_ftello, | |
588 | [AC_TRY_LINK([#include <stdio.h>], | |
589 | [return !ftello;], | |
590 | diff -urN cdrtools-1.11.org/conf/aclocal.m4 cdrtools-1.11/conf/aclocal.m4 | |
591 | --- cdrtools-1.11.org/conf/aclocal.m4 Fri May 17 13:33:04 2002 | |
592 | +++ cdrtools-1.11/conf/aclocal.m4 Fri May 17 13:33:29 2002 | |
593 | @@ -17,7 +17,7 @@ | |
594 | ||
595 | dnl Checks if structure 'stat' have field 'st_spare1'. | |
596 | dnl Defines HAVE_ST_SPARE1 on success. | |
597 | -AC_DEFUN(AC_STRUCT_ST_SPARE1, | |
598 | +AC_DEFUN([AC_STRUCT_ST_SPARE1], | |
599 | [AC_CACHE_CHECK([if struct stat contains st_spare1], ac_cv_struct_st_spare1, | |
600 | [AC_TRY_COMPILE([#include <sys/types.h> | |
601 | #include <sys/stat.h>], | |
602 | @@ -30,7 +30,7 @@ | |
603 | ||
604 | dnl Checks if structure 'stat' have field 'st_atim.tv_nsec'. | |
605 | dnl Defines HAVE_ST_NSEC on success. | |
606 | -AC_DEFUN(AC_STRUCT_ST_NSEC, | |
607 | +AC_DEFUN([AC_STRUCT_ST_NSEC], | |
608 | [AC_CACHE_CHECK([if struct stat contains st_atim.tv_nsec], ac_cv_struct_st_nsec, | |
609 | [AC_TRY_COMPILE([#include <sys/types.h> | |
610 | #include <sys/stat.h>], | |
611 | @@ -43,7 +43,7 @@ | |
612 | ||
613 | dnl Checks if structure 'stat' have field 'st_flags'. | |
614 | dnl Defines HAVE_ST_FLAGS on success. | |
615 | -AC_DEFUN(AC_STRUCT_ST_FLAGS, | |
616 | +AC_DEFUN([AC_STRUCT_ST_FLAGS], | |
617 | [AC_CACHE_CHECK([if struct stat contains st_flags], ac_cv_struct_st_flags, | |
618 | [AC_TRY_COMPILE([#include <sys/types.h> | |
619 | #include <sys/stat.h>], | |
620 | @@ -56,7 +56,7 @@ | |
621 | ||
622 | dnl Checks if structure 'mtget' have field 'mt_type'. | |
623 | dnl Defines HAVE_MTGET_TYPE on success. | |
624 | -AC_DEFUN(AC_STRUCT_MTGET_TYPE, | |
625 | +AC_DEFUN([AC_STRUCT_MTGET_TYPE], | |
626 | [AC_CACHE_CHECK([if struct mtget contains mt_type], ac_cv_struct_mtget_type, | |
627 | [AC_TRY_COMPILE([#include <sys/types.h> | |
628 | #include <sys/mtio.h>], | |
629 | @@ -69,7 +69,7 @@ | |
630 | ||
631 | dnl Checks if structure 'mtget' have field 'mt_dsreg'. | |
632 | dnl Defines HAVE_MTGET_DSREG on success. | |
633 | -AC_DEFUN(AC_STRUCT_MTGET_DSREG, | |
634 | +AC_DEFUN([AC_STRUCT_MTGET_DSREG], | |
635 | [AC_CACHE_CHECK([if struct mtget contains mt_dsreg], ac_cv_struct_mtget_dsreg, | |
636 | [AC_TRY_COMPILE([#include <sys/types.h> | |
637 | #include <sys/mtio.h>], | |
638 | @@ -82,7 +82,7 @@ | |
639 | ||
640 | dnl Checks if structure 'mtget' have field 'mt_erreg'. | |
641 | dnl Defines HAVE_MTGET_ERREG on success. | |
642 | -AC_DEFUN(AC_STRUCT_MTGET_ERREG, | |
643 | +AC_DEFUN([AC_STRUCT_MTGET_ERREG], | |
644 | [AC_CACHE_CHECK([if struct mtget contains mt_erreg], ac_cv_struct_mtget_erreg, | |
645 | [AC_TRY_COMPILE([#include <sys/types.h> | |
646 | #include <sys/mtio.h>], | |
647 | @@ -95,7 +95,7 @@ | |
648 | ||
649 | dnl Checks if structure 'mtget' have field 'mt_resid'. | |
650 | dnl Defines HAVE_MTGET_RESID on success. | |
651 | -AC_DEFUN(AC_STRUCT_MTGET_RESID, | |
652 | +AC_DEFUN([AC_STRUCT_MTGET_RESID], | |
653 | [AC_CACHE_CHECK([if struct mtget contains mt_resid], ac_cv_struct_mtget_resid, | |
654 | [AC_TRY_COMPILE([#include <sys/types.h> | |
655 | #include <sys/mtio.h>], | |
656 | @@ -108,7 +108,7 @@ | |
657 | ||
658 | dnl Checks if structure 'mtget' have field 'mt_fileno'. | |
659 | dnl Defines HAVE_MTGET_FILENO on success. | |
660 | -AC_DEFUN(AC_STRUCT_MTGET_FILENO, | |
661 | +AC_DEFUN([AC_STRUCT_MTGET_FILENO], | |
662 | [AC_CACHE_CHECK([if struct mtget contains mt_fileno], | |
663 | ac_cv_struct_mtget_fileno, | |
664 | [AC_TRY_COMPILE([#include <sys/types.h> | |
665 | @@ -122,7 +122,7 @@ | |
666 | ||
667 | dnl Checks if structure 'mtget' have field 'mt_blkno'. | |
668 | dnl Defines HAVE_MTGET_BLKNO on success. | |
669 | -AC_DEFUN(AC_STRUCT_MTGET_BLKNO, | |
670 | +AC_DEFUN([AC_STRUCT_MTGET_BLKNO], | |
671 | [AC_CACHE_CHECK([if struct mtget contains mt_blkno], ac_cv_struct_mtget_blkno, | |
672 | [AC_TRY_COMPILE([#include <sys/types.h> | |
673 | #include <sys/mtio.h>], | |
674 | @@ -135,7 +135,7 @@ | |
675 | ||
676 | dnl Checks if structure 'mtget' have field 'mt_flags'. | |
677 | dnl Defines HAVE_MTGET_FLAGS on success. | |
678 | -AC_DEFUN(AC_STRUCT_MTGET_FLAGS, | |
679 | +AC_DEFUN([AC_STRUCT_MTGET_FLAGS], | |
680 | [AC_CACHE_CHECK([if struct mtget contains mt_flags], ac_cv_struct_mtget_flags, | |
681 | [AC_TRY_COMPILE([#include <sys/types.h> | |
682 | #include <sys/mtio.h>], | |
683 | @@ -148,7 +148,7 @@ | |
684 | ||
685 | dnl Checks if structure 'mtget' have field 'mt_bf'. | |
686 | dnl Defines HAVE_MTGET_BF on success. | |
687 | -AC_DEFUN(AC_STRUCT_MTGET_BF, | |
688 | +AC_DEFUN([AC_STRUCT_MTGET_BF], | |
689 | [AC_CACHE_CHECK([if struct mtget contains mt_bf], ac_cv_struct_mtget_bf, | |
690 | [AC_TRY_COMPILE([#include <sys/types.h> | |
691 | #include <sys/mtio.h>], | |
692 | @@ -161,7 +161,7 @@ | |
693 | ||
694 | dnl Checks for illegal declaration of 'union semun' in sys/sem.h. | |
695 | dnl Defines HAVE_UNION_SEMUN on success. | |
696 | -AC_DEFUN(AC_STRUCT_UNION_SEMUN, | |
697 | +AC_DEFUN([AC_STRUCT_UNION_SEMUN], | |
698 | [AC_CACHE_CHECK([if an illegal declaration for union semun in sys/sem.h exists], ac_cv_struct_union_semun, | |
699 | [AC_TRY_COMPILE([#include <sys/types.h> | |
700 | #include <sys/ipc.h> | |
701 | @@ -174,7 +174,7 @@ | |
702 | ||
703 | dnl Checks if 'union wait' is declared in 'wait.h' or 'sys/wait.h'. | |
704 | dnl Defines HAVE_UNION_WAIT on success. | |
705 | -AC_DEFUN(AC_STRUCT_UNION_WAIT, | |
706 | +AC_DEFUN([AC_STRUCT_UNION_WAIT], | |
707 | [AC_CACHE_CHECK([if union wait is declared in wait.h or sys/wait.h], ac_cv_struct_union_wait, | |
708 | [AC_TRY_COMPILE([#include <sys/types.h> | |
709 | #if defined(HAVE_WAIT_H) | |
710 | @@ -190,7 +190,7 @@ | |
711 | ||
712 | dnl Checks if 'struct rusage' is declared in sys/resource.h. | |
713 | dnl Defines HAVE_STRUCT_RUSAGE on success. | |
714 | -AC_DEFUN(AC_STRUCT_RUSAGE, | |
715 | +AC_DEFUN([AC_STRUCT_RUSAGE], | |
716 | [AC_CACHE_CHECK([if struct rusage is declared in sys/resource.h], ac_cv_struct_rusage, | |
717 | [AC_TRY_COMPILE([#include <sys/time.h> | |
718 | #include <sys/resource.h>], [struct rusage r;], | |
719 | @@ -203,7 +203,7 @@ | |
720 | dnl Checks wether major(), minor() and makedev() are defined in | |
721 | dnl 'sys/mkdev.h' or in 'sys/sysmacros.h. Defines MAJOR_IN_MKDEV or | |
722 | dnl MAJOR_IN_SYSMACROS or nothing. | |
723 | -AC_DEFUN(AC_HEADER_MAKEDEV, | |
724 | +AC_DEFUN([AC_HEADER_MAKEDEV], | |
725 | [AC_CACHE_CHECK([for header file containing major(), minor() and makedev()], | |
726 | ac_cv_header_makedev, | |
727 | [ac_cv_header_makedev=none | |
728 | @@ -226,7 +226,7 @@ | |
729 | ||
730 | dnl Checks for USG derived STDIO that uses _filbuf() | |
731 | dnl Defines HAVE__FILBUF on success. | |
732 | -AC_DEFUN(AC_HEADER__FILBUF, | |
733 | +AC_DEFUN([AC_HEADER__FILBUF], | |
734 | [AC_CACHE_CHECK([for _filbuf()], ac_cv_func__filbuf, | |
735 | [AC_TRY_LINK([#include <stdio.h>], | |
736 | [FILE *f; | |
737 | @@ -251,7 +251,7 @@ | |
738 | ||
739 | dnl Checks for USG derived STDIO that uses __filbuf() | |
740 | dnl Defines HAVE___FILBUF on success. | |
741 | -AC_DEFUN(AC_HEADER___FILBUF, | |
742 | +AC_DEFUN([AC_HEADER___FILBUF], | |
743 | [AC_CACHE_CHECK([for __filbuf()], ac_cv_func___filbuf, | |
744 | [AC_TRY_LINK([#include <stdio.h>], | |
745 | [FILE *f; | |
746 | @@ -276,7 +276,7 @@ | |
747 | ||
748 | dnl Checks for USG derived STDIO | |
749 | dnl Defines HAVE_USG_STDIO on success. | |
750 | -AC_DEFUN(AC_HEADER_USG_STDIO, | |
751 | +AC_DEFUN([AC_HEADER_USG_STDIO], | |
752 | [AC_REQUIRE([AC_HEADER__FILBUF])AC_REQUIRE([AC_HEADER___FILBUF])dnl | |
753 | AC_CACHE_CHECK([for USG derived STDIO], ac_cv_header_usg_stdio, | |
754 | [AC_TRY_LINK([#include <stdio.h>], | |
755 | @@ -311,7 +311,7 @@ | |
756 | ||
757 | dnl Checks for errno definition in <errno.h> | |
758 | dnl Defines HAVE_ERRNO_DEF on success. | |
759 | -AC_DEFUN(AC_HEADER_ERRNO_DEF, | |
760 | +AC_DEFUN([AC_HEADER_ERRNO_DEF], | |
761 | [AC_CACHE_CHECK([for errno definition in errno.h], ac_cv_header_errno_def, | |
762 | [AC_TRY_COMPILE([#include <errno.h>], | |
763 | [errno = 0;], | |
764 | @@ -323,7 +323,7 @@ | |
765 | ||
766 | dnl Checks for UNIX-98 compliant <inttypes.h> | |
767 | dnl Defines HAVE_INTTYPES_H on success. | |
768 | -AC_DEFUN(AC_HEADER_INTTYPES, | |
769 | +AC_DEFUN([AC_HEADER_INTTYPES], | |
770 | [AC_CACHE_CHECK([for UNIX-98 compliant inttypes.h], ac_cv_header_inttypes, | |
771 | [AC_TRY_COMPILE([#include <inttypes.h>], | |
772 | [int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; | |
773 | @@ -337,7 +337,7 @@ | |
774 | ||
775 | dnl Checks for type time_t | |
776 | dnl Defines time_t to long on failure. | |
777 | -AC_DEFUN(AC_TYPE_TIME_T, | |
778 | +AC_DEFUN([AC_TYPE_TIME_T], | |
779 | [AC_REQUIRE([AC_HEADER_TIME])dnl | |
780 | AC_CACHE_CHECK([for time_t], ac_cv_type_time_t, | |
781 | [AC_TRY_COMPILE([ | |
782 | @@ -360,7 +360,7 @@ | |
783 | ||
784 | dnl Checks for type socklen_t | |
785 | dnl Defines socklen_t to int on failure. | |
786 | -AC_DEFUN(AC_TYPE_SOCKLEN_T, | |
787 | +AC_DEFUN([AC_TYPE_SOCKLEN_T], | |
788 | [AC_REQUIRE([AC_HEADER_STDC])dnl | |
789 | AC_MSG_CHECKING(for socklen_t) | |
790 | AC_CACHE_VAL(ac_cv_type_socklen_t, | |
791 | @@ -380,7 +380,7 @@ | |
792 | ||
793 | dnl Checks for type long long | |
794 | dnl Defines HAVE_LONGLONG on success. | |
795 | -AC_DEFUN(AC_TYPE_LONGLONG, | |
796 | +AC_DEFUN([AC_TYPE_LONGLONG], | |
797 | [AC_CACHE_CHECK([for type long long], ac_cv_type_longlong, | |
798 | [AC_TRY_COMPILE([], [long long i;], | |
799 | [ac_cv_type_longlong=yes], | |
800 | @@ -391,7 +391,7 @@ | |
801 | ||
802 | dnl Checks if C-compiler orders bitfields htol | |
803 | dnl Defines BITFIELDS_HTOL on success. | |
804 | -AC_DEFUN(AC_C_BITFIELDS, | |
805 | +AC_DEFUN([AC_C_BITFIELDS], | |
806 | [AC_CACHE_CHECK([whether bitorder in bitfields is htol], ac_cv_c_bitfields_htol, | |
807 | [AC_TRY_RUN([ | |
808 | struct { | |
809 | @@ -414,7 +414,7 @@ | |
810 | ||
811 | dnl Checks if C-compiler understands prototypes | |
812 | dnl Defines PROTOTYPES on success. | |
813 | -AC_DEFUN(AC_TYPE_PROTOTYPES, | |
814 | +AC_DEFUN([AC_TYPE_PROTOTYPES], | |
815 | [AC_CACHE_CHECK([for prototypes], ac_cv_type_prototypes, | |
816 | [AC_TRY_RUN([ | |
817 | doit(int i, ...) | |
818 | @@ -431,7 +431,7 @@ | |
819 | ||
820 | dnl Checks for type size_t | |
821 | dnl Defines HAVE_SIZE_T_ on success. | |
822 | -AC_DEFUN(AC_TYPE_SIZE_T_, | |
823 | +AC_DEFUN([AC_TYPE_SIZE_T_], | |
824 | [AC_CACHE_CHECK([for type size_t], ac_cv_type_size_t_, | |
825 | [AC_TRY_COMPILE([#include <sys/types.h>], [size_t s;], | |
826 | [ac_cv_type_size_t_=yes], | |
827 | @@ -444,7 +444,7 @@ | |
828 | ||
829 | dnl Checks if type char is unsigned | |
830 | dnl Defines CHAR_IS_UNSIGNED on success. | |
831 | -AC_DEFUN(AC_TYPE_CHAR, | |
832 | +AC_DEFUN([AC_TYPE_CHAR], | |
833 | [AC_CACHE_CHECK([if char is unsigned], ac_cv_type_char_unsigned, | |
834 | [AC_TRY_RUN([ | |
835 | int | |
836 | @@ -463,7 +463,7 @@ | |
837 | ||
838 | dnl Checks if function/macro va_copy() is available | |
839 | dnl Defines HAVE_VA_COPY on success. | |
840 | -AC_DEFUN(AC_FUNC_VA_COPY, | |
841 | +AC_DEFUN([AC_FUNC_VA_COPY], | |
842 | [AC_CACHE_CHECK([for va_copy], ac_cv_func_va_copy, | |
843 | [AC_TRY_LINK([ | |
844 | #ifdef HAVE_STDARG_H | |
845 | @@ -483,7 +483,7 @@ | |
846 | ||
847 | dnl Checks if function/macro __va_copy() is available | |
848 | dnl Defines HAVE__VA_COPY on success. | |
849 | -AC_DEFUN(AC_FUNC__VA_COPY, | |
850 | +AC_DEFUN([AC_FUNC__VA_COPY], | |
851 | [AC_CACHE_CHECK([for __va_copy], ac_cv_func__va_copy, | |
852 | [AC_TRY_LINK([ | |
853 | #ifdef HAVE_STDARG_H | |
854 | @@ -504,7 +504,7 @@ | |
855 | ||
856 | dnl Checks if va_list is an array | |
857 | dnl Defines VA_LIST_IS_ARRAY on success. | |
858 | -AC_DEFUN(AC_TYPE_VA_LIST, | |
859 | +AC_DEFUN([AC_TYPE_VA_LIST], | |
860 | [AC_CACHE_CHECK([if va_list is an array], ac_cv_type_va_list_array, | |
861 | [AC_TRY_LINK([ | |
862 | #ifdef HAVE_STDARG_H | |
863 | @@ -525,7 +525,7 @@ | |
864 | ||
865 | dnl Checks if quotactl is present as ioctl | |
866 | dnl Defines HAVE_QUOTAIOCTL on success. | |
867 | -AC_DEFUN(AC_FUNC_QUOTAIOCTL, | |
868 | +AC_DEFUN([AC_FUNC_QUOTAIOCTL], | |
869 | [AC_CACHE_CHECK([if quotactl is an ioctl], ac_cv_func_quotaioctl, | |
870 | [AC_TRY_LINK([#include <sys/types.h> | |
871 | #include <sys/fs/ufs_quota.h>], | |
872 | @@ -538,7 +538,7 @@ | |
873 | ||
874 | dnl Checks if function __dtoa() is available | |
875 | dnl Defines HAVE_DTOA on success. | |
876 | -AC_DEFUN(AC_FUNC_DTOA, | |
877 | +AC_DEFUN([AC_FUNC_DTOA], | |
878 | [AC_CACHE_CHECK([for __dtoa], ac_cv_func_dtoa, | |
879 | [AC_TRY_LINK([extern char *__dtoa();], | |
880 | [int decpt; int sign; char *ep; char *bp; | |
881 | @@ -551,7 +551,7 @@ | |
882 | ||
883 | dnl Checks if reentrant __dtoa() exists (needs a result prt) | |
884 | dnl Defines HAVE_DTOA_R on success. | |
885 | -AC_DEFUN(AC_FUNC_DTOA_R, | |
886 | +AC_DEFUN([AC_FUNC_DTOA_R], | |
887 | [AC_REQUIRE([AC_FUNC_DTOA])dnl | |
888 | AC_CACHE_CHECK([for __dtoa that needs result ptr], ac_cv_func_dtoa_r, | |
889 | [AC_TRY_RUN([ | |
890 | @@ -580,7 +580,7 @@ | |
891 | ||
892 | dnl Checks if working ecvt() exists | |
893 | dnl Defines HAVE_ECVT on success. | |
894 | -AC_DEFUN(AC_FUNC_ECVT, | |
895 | +AC_DEFUN([AC_FUNC_ECVT], | |
896 | [AC_CACHE_CHECK([for working ecvt() ], ac_cv_func_ecvt, | |
897 | [AC_TRY_RUN([ | |
898 | extern char *ecvt(); | |
899 | @@ -607,7 +607,7 @@ | |
900 | ||
901 | dnl Checks if working fcvt() exists | |
902 | dnl Defines HAVE_FCVT on success. | |
903 | -AC_DEFUN(AC_FUNC_FCVT, | |
904 | +AC_DEFUN([AC_FUNC_FCVT], | |
905 | [AC_CACHE_CHECK([for working fcvt() ], ac_cv_func_fcvt, | |
906 | [AC_TRY_RUN([ | |
907 | extern char *fcvt(); | |
908 | @@ -634,7 +634,7 @@ | |
909 | ||
910 | dnl Checks if working gcvt() exists | |
911 | dnl Defines HAVE_GCVT on success. | |
912 | -AC_DEFUN(AC_FUNC_GCVT, | |
913 | +AC_DEFUN([AC_FUNC_GCVT], | |
914 | [AC_CACHE_CHECK([for working gcvt() ], ac_cv_func_gcvt, | |
915 | [AC_TRY_RUN([ | |
916 | extern char *gcvt(); | |
917 | @@ -661,7 +661,7 @@ | |
918 | ||
919 | dnl Checks if function uname() is available | |
920 | dnl Defines HAVE_UNAME on success. | |
921 | -AC_DEFUN(AC_FUNC_UNAME, | |
922 | +AC_DEFUN([AC_FUNC_UNAME], | |
923 | [AC_CACHE_CHECK([for uname], ac_cv_func_uname, | |
924 | [AC_TRY_LINK([#include <sys/utsname.h>], | |
925 | [struct utsname un; | |
926 | @@ -675,7 +675,7 @@ | |
927 | dnl Checks if function mlockall() is available | |
928 | dnl beware HP-UX 10.x it contains a bad mlockall() in libc | |
929 | dnl Defines HAVE_MLOCKALL on success. | |
930 | -AC_DEFUN(AC_FUNC_MLOCKALL, | |
931 | +AC_DEFUN([AC_FUNC_MLOCKALL], | |
932 | [AC_CACHE_CHECK([for mlockall], ac_cv_func_mlockall, | |
933 | [AC_TRY_RUN([ | |
934 | #include <sys/types.h> | |
935 | @@ -699,7 +699,7 @@ | |
936 | AC_DEFINE(HAVE_MLOCKALL) | |
937 | fi]) | |
938 | ||
939 | -AC_DEFUN(jsAC_FUNC_MMAP, | |
940 | +AC_DEFUN([jsAC_FUNC_MMAP], | |
941 | [AC_REQUIRE([AC_MMAP_SIZEP])dnl | |
942 | AC_CHECK_HEADERS(unistd.h) | |
943 | AC_CHECK_FUNCS(getpagesize) | |
944 | @@ -856,7 +856,7 @@ | |
945 | fi | |
946 | ]) | |
947 | ||
948 | -AC_DEFUN(AC_MMAP_SIZEP, | |
949 | +AC_DEFUN([AC_MMAP_SIZEP], | |
950 | [AC_CHECK_HEADERS(unistd.h) | |
951 | AC_CHECK_FUNCS(getpagesize) | |
952 | AC_CACHE_CHECK(for mmap that needs ptr to size, ac_cv_func_mmap_sizep, | |
953 | @@ -1006,7 +1006,7 @@ | |
954 | ||
955 | dnl Checks if mmap() works to get shared memory | |
956 | dnl Defines HAVE_SMMAP on success. | |
957 | -AC_DEFUN(AC_FUNC_SMMAP, | |
958 | +AC_DEFUN([AC_FUNC_SMMAP], | |
959 | [AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap, | |
960 | [AC_TRY_RUN([ | |
961 | #include <sys/types.h> | |
962 | @@ -1086,7 +1086,7 @@ | |
963 | ||
964 | dnl Checks if sys_siglist[] exists | |
965 | dnl Defines HAVE_SYS_SIGLIST on success. | |
966 | -AC_DEFUN(AC_FUNC_SYS_SIGLIST, | |
967 | +AC_DEFUN([AC_FUNC_SYS_SIGLIST], | |
968 | [AC_CACHE_CHECK([for sys_siglist], ac_cv_func_sys_siglist, | |
969 | [AC_TRY_RUN([ | |
970 | int | |
971 | @@ -1102,7 +1102,7 @@ | |
972 | fi]) | |
973 | ||
974 | dnl Checks for maximum number of bits in minor device number | |
975 | -AC_DEFUN(AC_CHECK_MINOR_BITS, | |
976 | +AC_DEFUN([AC_CHECK_MINOR_BITS], | |
977 | [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl | |
978 | changequote(<<, >>)dnl | |
979 | define(<<AC_MACRO_NAME>>, DEV_MINOR_BITS)dnl | |
980 | @@ -1169,7 +1169,7 @@ | |
981 | ||
982 | dnl Checks for maximum number of bits in minor device numbers are non contiguous | |
983 | dnl Defines DEV_MINOR_NONCONTIG on success. | |
984 | -AC_DEFUN(AC_CHECK_MINOR_NONCONTIG, | |
985 | +AC_DEFUN([AC_CHECK_MINOR_NONCONTIG], | |
986 | [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl | |
987 | AC_CACHE_CHECK([whether bits in minor device numbers are non contiguous], ac_cv_dev_minor_noncontig, | |
988 | [AC_TRY_RUN([ | |
989 | @@ -1225,7 +1225,7 @@ | |
990 | ||
991 | dnl Checks if we may not define our own malloc() | |
992 | dnl Defines NO_USER_MALLOC if we cannot. | |
993 | -AC_DEFUN(AC_USER_MALLOC, | |
994 | +AC_DEFUN([AC_USER_MALLOC], | |
995 | [AC_CACHE_CHECK([if we may not define our own malloc()], ac_cv_no_user_malloc, | |
996 | [AC_TRY_LINK([ | |
997 | char * malloc(x) | |
998 | @@ -1242,7 +1242,7 @@ | |
999 | ||
1000 | dnl Checks if BSD-4.2 compliant getpgrp() exists | |
1001 | dnl Defines HAVE_BSD_GETPGRP on success. | |
1002 | -AC_DEFUN(AC_FUNC_BSD_GETPGRP, | |
1003 | +AC_DEFUN([AC_FUNC_BSD_GETPGRP], | |
1004 | [AC_CACHE_CHECK([for BSD compliant getpgrp], ac_cv_func_bsd_getpgrp, | |
1005 | [AC_TRY_RUN([ | |
1006 | int | |
1007 | @@ -1263,7 +1263,7 @@ | |
1008 | ||
1009 | dnl Checks if BSD-4.2 compliant setpgrp() exists | |
1010 | dnl Defines HAVE_BSD_SETPGRP on success. | |
1011 | -AC_DEFUN(AC_FUNC_BSD_SETPGRP, | |
1012 | +AC_DEFUN([AC_FUNC_BSD_SETPGRP], | |
1013 | [AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl | |
1014 | AC_CACHE_CHECK([for BSD compliant setpgrp], ac_cv_func_bsd_setpgrp, | |
1015 | [AC_TRY_RUN([ | |
1016 | @@ -1288,7 +1288,7 @@ | |
1017 | ||
1018 | dnl Checks if select() needs more than sys/time.h & sys/types.h | |
1019 | dnl Defines SELECT_NONSTD_HDR on success. | |
1020 | -AC_DEFUN(AC_HEADER_SELECT_NONSTD, | |
1021 | +AC_DEFUN([AC_HEADER_SELECT_NONSTD], | |
1022 | [AC_CACHE_CHECK([if select needs nonstd include files], ac_cv_header_slect_nonstd_hdr, | |
1023 | [AC_TRY_COMPILE([#include <sys/types.h> | |
1024 | #include <sys/time.h>], | |
1025 | @@ -1301,7 +1301,7 @@ | |
1026 | ||
1027 | dnl Checks if select() needs sys/select.h | |
1028 | dnl Defines NEED_SYS_SELECT_H on success. | |
1029 | -AC_DEFUN(AC_HEADER_SYS_SELECT, | |
1030 | +AC_DEFUN([AC_HEADER_SYS_SELECT], | |
1031 | [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl | |
1032 | AC_CACHE_CHECK([if sys/select.h is needed for select], ac_cv_header_need_sys_select_h, | |
1033 | [AC_TRY_COMPILE([#include <sys/types.h> | |
1034 | @@ -1319,7 +1319,7 @@ | |
1035 | ||
1036 | dnl Checks if select() needs sys/socket.h | |
1037 | dnl Defines NEED_SYS_SOCKET_H on success. | |
1038 | -AC_DEFUN(AC_HEADER_SELECT2, | |
1039 | +AC_DEFUN([AC_HEADER_SELECT2], | |
1040 | [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl | |
1041 | AC_CACHE_CHECK([if sys/socket.h is needed for select], ac_cv_header_need_sys_socket_h, | |
1042 | [AC_TRY_COMPILE([#include <sys/types.h> | |
1043 | @@ -1337,7 +1337,7 @@ | |
1044 | ||
1045 | dnl Checks if file locking via fcntl() is available | |
1046 | dnl Defines HAVE_FCNTL_LOCKF on success. | |
1047 | -AC_DEFUN(AC_FUNC_FCNTL_LOCKF, | |
1048 | +AC_DEFUN([AC_FUNC_FCNTL_LOCKF], | |
1049 | [AC_CACHE_CHECK([for file locking via fcntl], ac_cv_func_fcntl_lock, | |
1050 | [AC_TRY_LINK([ | |
1051 | #include <sys/types.h> | |
1052 | @@ -1366,107 +1366,9 @@ | |
1053 | ||
1054 | #serial 18 | |
1055 | ||
1056 | -dnl By default, many hosts won't let programs access large files; | |
1057 | -dnl one must use special compiler options to get large-file access to work. | |
1058 | -dnl For more details about this brain damage please see: | |
1059 | -dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html | |
1060 | - | |
1061 | -dnl Written by Paul Eggert <eggert@twinsun.com>. | |
1062 | - | |
1063 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
1064 | -dnl AC_SYS_LARGEFILE_TEST_INCLUDES | |
1065 | -AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES, | |
1066 | - [[#include <sys/types.h> | |
1067 | - /* Check that off_t can represent 2**63 - 1 correctly. | |
1068 | - We can't simply "#define LARGE_OFF_T 9223372036854775807", | |
1069 | - since some C++ compilers masquerading as C compilers | |
1070 | - incorrectly reject 9223372036854775807. */ | |
1071 | -# define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
1072 | - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
1073 | - && LARGE_OFF_T % 2147483647 == 1) | |
1074 | - ? 1 : -1]; | |
1075 | - ]]) | |
1076 | - | |
1077 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
1078 | -dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY) | |
1079 | -AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, | |
1080 | - [AC_CACHE_CHECK([for $1 value needed for large files], $3, | |
1081 | - [$3=no | |
1082 | - AC_TRY_COMPILE([$5], | |
1083 | - [$6], | |
1084 | - , | |
1085 | - [AC_TRY_COMPILE([#define $1 $2] | |
1086 | -[$5] | |
1087 | - , | |
1088 | - [$6], | |
1089 | - [$3=$2])])]) | |
1090 | - if test "[$]$3" != no; then | |
1091 | - AC_DEFINE_UNQUOTED([$1], [$]$3, [$4]) | |
1092 | - fi]) | |
1093 | - | |
1094 | -AC_DEFUN(AC_SYS_LARGEFILE, | |
1095 | - [AC_ARG_ENABLE(largefile, | |
1096 | - [ --disable-largefile omit support for large files]) | |
1097 | - if test "$enable_largefile" != no; then | |
1098 | - | |
1099 | - AC_CACHE_CHECK([for special C compiler options needed for large files], | |
1100 | - ac_cv_sys_largefile_CC, | |
1101 | - [ac_cv_sys_largefile_CC=no | |
1102 | - largefile_cc_opt="" | |
1103 | - if test "$GCC" != yes; then | |
1104 | - # IRIX 6.2 and later do not support large files by default, | |
1105 | - # so use the C compiler's -n32 option if that helps. | |
1106 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , , | |
1107 | - [ac_save_CC="${CC-cc}" | |
1108 | - CC="$CC -n32" | |
1109 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , | |
1110 | - ac_cv_sys_largefile_CC=' -n32') | |
1111 | - CC="$ac_save_CC"]) | |
1112 | - fi]) | |
1113 | - if test "$ac_cv_sys_largefile_CC" != no; then | |
1114 | - CC="$CC$ac_cv_sys_largefile_CC" | |
1115 | - largefile_cc_opt="$ac_cv_sys_largefile_CC" | |
1116 | - fi | |
1117 | - | |
1118 | - AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, | |
1119 | - ac_cv_sys_file_offset_bits, | |
1120 | - [Number of bits in a file offset, on hosts where this is settable.], | |
1121 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
1122 | - AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, | |
1123 | - ac_cv_sys_large_files, | |
1124 | - [Define for large files, on AIX-style hosts.], | |
1125 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
1126 | - AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, | |
1127 | - ac_cv_sys_largefile_source, | |
1128 | - [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], | |
1129 | - [#include <stdio.h>], [return !fseeko;]) | |
1130 | - fi | |
1131 | - ]) | |
1132 | - | |
1133 | - | |
1134 | -AC_DEFUN(AC_FUNC_FSEEKO, | |
1135 | - [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, | |
1136 | - ac_cv_sys_largefile_source, | |
1137 | - [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], | |
1138 | - [#include <stdio.h>], [return !fseeko;]) | |
1139 | - # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | |
1140 | - # in glibc 2.1.3, but that breaks too many other things. | |
1141 | - # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | |
1142 | - | |
1143 | - AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko, | |
1144 | - [ac_cv_func_fseeko=no | |
1145 | - AC_TRY_LINK([#include <stdio.h>], | |
1146 | - [return fseeko && fseeko (stdin, 0, 0);], | |
1147 | - [ac_cv_func_fseeko=yes])]) | |
1148 | - if test $ac_cv_func_fseeko != no; then | |
1149 | - AC_DEFINE(HAVE_FSEEKO, 1, | |
1150 | - [Define if fseeko (and presumably ftello) exists and is declared.]) | |
1151 | - fi]) | |
1152 | - | |
1153 | - | |
1154 | dnl XXXXXXXXXXXXXXXXXX End Stolen (but modified) from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
1155 | ||
1156 | -AC_DEFUN(AC_HAVE_LARGEFILES, | |
1157 | +AC_DEFUN([AC_HAVE_LARGEFILES], | |
1158 | [AC_CACHE_CHECK([if system supports Large Files at all], ac_cv_largefiles, | |
1159 | [AC_TRY_COMPILE([#include <stdio.h> | |
1160 | #include <sys/types.h>], | |
1161 | @@ -1492,7 +1394,7 @@ | |
1162 | dnl Checks for whether fseeko() is available in non large file mode | |
1163 | dnl and whether there is a prototype for fseeko() | |
1164 | dnl Defines HAVE_FSEEKO on success. | |
1165 | -AC_DEFUN(AC_SMALL_FSEEKO, | |
1166 | +AC_DEFUN([AC_SMALL_FSEEKO], | |
1167 | [AC_CACHE_CHECK([for fseeko()], ac_cv_func_fseeko, | |
1168 | [AC_TRY_LINK([#include <stdio.h>], | |
1169 | [return !fseeko;], | |
1170 | @@ -1505,7 +1407,7 @@ | |
1171 | dnl Checks for whether ftello() is available in non large file mode | |
1172 | dnl and whether there is a prototype for ftello() | |
1173 | dnl Defines HAVE_FTELLO on success. | |
1174 | -AC_DEFUN(AC_SMALL_FTELLO, | |
1175 | +AC_DEFUN([AC_SMALL_FTELLO], | |
1176 | [AC_CACHE_CHECK([for ftello()], ac_cv_func_ftello, | |
1177 | [AC_TRY_LINK([#include <stdio.h>], | |
1178 | [return !ftello;], | |
1179 | diff -urN cdrtools-1.11.org/conf/xconfig.h.in cdrtools-1.11/conf/xconfig.h.in | |
1180 | --- cdrtools-1.11.org/conf/xconfig.h.in Fri May 17 13:33:04 2002 | |
1181 | +++ cdrtools-1.11/conf/xconfig.h.in Fri May 17 13:34:24 2002 | |
1182 | @@ -1,4 +1,4 @@ | |
1183 | -/* @(#)xconfig.h.in 1.50 02/04/21 Copyright 1998 J. Schilling */ | |
1184 | + | |
1185 | /* | |
1186 | * Dynamic autoconf C-include code. | |
1187 | * | |
1188 | @@ -8,96 +8,96 @@ | |
1189 | /* | |
1190 | * Header Files | |
1191 | */ | |
1192 | -#undef PROTOTYPES /* if Compiler supports ANSI C prototypes */ | |
1193 | -#undef HAVE_STDARG_H /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */ | |
1194 | -#undef HAVE_VARARGS_H /* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */ | |
1195 | -#undef HAVE_STDLIB_H /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */ | |
1196 | -#undef HAVE_STRING_H /* to get NULL and ANSI C string function prototypes */ | |
1197 | -#undef HAVE_STRINGS_H /* to get BSD string function prototypes */ | |
1198 | -#undef STDC_HEADERS /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */ | |
1199 | -#undef HAVE_UNISTD_H /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/ | |
1200 | -#undef HAVE_GETOPT_H /* to get getopt() prototype from getopt.h instead of unistd.h */ | |
1201 | -#undef HAVE_LIMITS_H /* to get POSIX numeric limits constants */ | |
1202 | -#undef HAVE_A_OUT_H /* if a.out.h is present (may be a system using a.out format) */ | |
1203 | -#undef HAVE_AOUTHDR_H /* if aouthdr.h is present. This is a COFF system */ | |
1204 | -#undef HAVE_ELF_H /* if elf.h is present. This is an ELF system */ | |
1205 | -#undef HAVE_FCNTL_H /* to access, O_XXX constants for open(), otherwise use sys/file.h */ | |
1206 | -#undef HAVE_SYS_FILE_H /* to use O_XXX constants for open() and flock() defs */ | |
1207 | -#undef HAVE_INTTYPES_H /* to use UNIX-98 inttypes.h */ | |
1208 | -#undef HAVE_DIRENT_H /* to use POSIX dirent.h */ | |
1209 | -#undef HAVE_SYS_DIR_H /* to use BSD sys/dir.h */ | |
1210 | -#undef HAVE_NDIR_H /* to use ndir.h */ | |
1211 | -#undef HAVE_SYS_NDIR_H /* to use sys/ndir.h */ | |
1212 | -#undef HAVE_ALLOCA_H /* if alloca.h exists */ | |
1213 | -#undef HAVE_MALLOC_H /* if malloc.h exists */ | |
1214 | -#undef HAVE_TERMIOS_H /* to use POSIX termios.h */ | |
1215 | -#undef HAVE_TERMIO_H /* to use SVR4 termio.h */ | |
1216 | -#undef HAVE_PWD_H /* if pwd.h exists */ | |
1217 | -#undef HAVE_GRP_H /* if grp.h exists */ | |
1218 | -#undef HAVE_SYS_ACL_H /* to use <sys/acl.h> for ACL definitions */ | |
1219 | -#undef HAVE_ACLLIB_H /* if HP-UX <acllib.h> is present */ | |
1220 | -#undef HAVE_SHADOW_H /* if shadow.h exists */ | |
1221 | -#undef HAVE_SYSLOG_H /* if syslog.h exists */ | |
1222 | -#undef HAVE_SYS_TIME_H /* may include sys/time.h for struct timeval */ | |
1223 | -#undef TIME_WITH_SYS_TIME /* may include both time.h and sys/time.h */ | |
1224 | -#undef HAVE_TIMES /* to use times() and sys/times.h */ | |
1225 | -#undef HAVE_SYS_TIMES_H /* may include sys/times.h for struct tms */ | |
1226 | -#undef HAVE_UTIMES /* to use BSD utimes() and sys/time.h */ | |
1227 | -#undef HAVE_UTIME_H /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */ | |
1228 | -#undef HAVE_SYS_UTIME_H /* to use sys/utime.h if utime.h does not exist */ | |
1229 | -#undef HAVE_SYS_IOCTL_H /* if sys/ioctl.h is present */ | |
1230 | -#undef HAVE_SYS_FILIO_H /* if sys/ioctl.h is present */ | |
1231 | -#undef HAVE_SYS_PARAM_H /* if sys/param.h is present */ | |
1232 | -#undef HAVE_MNTENT_H /* if mntent.h is present */ | |
1233 | -#undef HAVE_SYS_MNTENT_H /* if sys/mntent.h is present */ | |
1234 | -#undef HAVE_SYS_MNTTAB_H /* if sys/mnttab.h is present */ | |
1235 | -#undef HAVE_SYS_MOUNT_H /* if sys/mount.h is present */ | |
1236 | -#undef HAVE_WAIT_H /* to use wait.h for prototypes and union wait */ | |
1237 | -#undef HAVE_SYS_WAIT_H /* else use sys/wait.h */ | |
1238 | -#undef HAVE_SYS_RESOURCE_H /* to use sys/resource.h for rlimit() and wait3() */ | |
1239 | -#undef HAVE_SYS_PROCFS_H /* to use sys/procfs.h for wait3() emulation */ | |
1240 | -#undef HAVE_SYS_SYSTEMINFO_H /* to use SVr4 sysinfo() */ | |
1241 | -#undef HAVE_SYS_UTSNAME_H /* to use uname() */ | |
1242 | -#undef HAVE_SYS_PRIOCNTL_H /* to use SVr4 priocntl() instead of nice()/setpriority() */ | |
1243 | -#undef HAVE_SYS_RTPRIOCNTL_H /* if the system supports SVr4 real time classes */ | |
1244 | -#undef HAVE_SYS_SYSCALL_H /* to use syscall() */ | |
1245 | -#undef HAVE_SYS_MTIO_H /* to use mtio definitions from sys/mtio.h */ | |
1246 | -#undef HAVE_SYS_MMAN_H /* to use definitions for mmap()/madvise()... from sys/mman.h */ | |
1247 | -#undef HAVE_SYS_SHM_H /* to use definitions for shmget() ... from sys/shm.h */ | |
1248 | -#undef HAVE_SYS_IPC_H /* to use definitions for shmget() ... from sys/ipc.h */ | |
1249 | -#undef MAJOR_IN_MKDEV /* if we should include sys/mkdev.h to get major()/minor()/makedev() */ | |
1250 | -#undef MAJOR_IN_SYSMACROS /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */ | |
1251 | -#undef HAVE_SYS_DKIO_H /* if we may include sys/dkio.h for disk ioctls */ | |
1252 | -#undef HAVE_SYS_DKLABEL_H /* if we may include sys/dklabel.h for disk label */ | |
1253 | -#undef HAVE_SUN_DKIO_H /* if we may include sun/dkio.h for disk ioctls */ | |
1254 | -#undef HAVE_SUN_DKLABEL_H /* if we may include sun/dklabel.h for disk label */ | |
1255 | -#undef HAVE_SYS_TYPES_H /* if we may include sys/types.h (the standard) */ | |
1256 | -#undef HAVE_SYS_STAT_H /* if we may include sys/stat.h (the standard) */ | |
1257 | -#undef HAVE_TYPES_H /* if we may include types.h (rare cases e.g. ATARI TOS) */ | |
1258 | -#undef HAVE_STAT_H /* if we may include stat.h (rare cases e.g. ATARI TOS) */ | |
1259 | -#undef HAVE_POLL_H /* if we may include poll.h to use poll() */ | |
1260 | -#undef HAVE_SYS_POLL_H /* if we may include sys/poll.h to use poll() */ | |
1261 | -#undef HAVE_SYS_SELECT_H /* if we may have sys/select.h nonstandard use for select() on some systems*/ | |
1262 | -#undef NEED_SYS_SELECT_H /* if we need sys/select.h to use select() (this is nonstandard) */ | |
1263 | -#undef HAVE_NETDB_H /* if we have netdb.h for get*by*() and rcmd() */ | |
1264 | -#undef HAVE_SYS_SOCKET_H /* if we have sys/socket.h for socket() */ | |
1265 | -#undef NEED_SYS_SOCKET_H /* if we need sys/socket.h to use select() (this is nonstandard) */ | |
1266 | -#undef HAVE_LINUX_PG_H /* if we may include linux/pg.h for PP ATAPI sypport */ | |
1267 | -#undef HAVE_CAMLIB_H /* if we may include camlib.h for CAM SCSI transport definitions */ | |
1268 | -#undef HAVE_IEEEFP_H /* if we may include ieeefp.h for finite()/isnand() */ | |
1269 | -#undef HAVE_FP_H /* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */ | |
1270 | -#undef HAVE_VALUES_H /* if we may include values.h for MAXFLOAT */ | |
1271 | -#undef HAVE_FLOAT_H /* if we may include float.h for FLT_MAX */ | |
1272 | -#undef HAVE__FILBUF /* if we have _filbuf() for USG derived STDIO */ | |
1273 | -#undef HAVE___FILBUF /* if we have __filbuf() for USG derived STDIO */ | |
1274 | -#undef HAVE_USG_STDIO /* if we have USG derived STDIO */ | |
1275 | -#undef HAVE_ERRNO_DEF /* if we have errno definition in <errno.h> */ | |
1276 | -#undef HAVE_VFORK_H /* if we should include vfork.h for vfork() definitions */ | |
1277 | -#undef HAVE_ARPA_INET_H /* if we have arpa/inet.h (missing on BeOS) */ | |
1278 | - /* BeOS has inet_ntoa() in <netdb.h> */ | |
1279 | -#undef HAVE_BSD_DEV_SCSIREG_H /* if we have a NeXT Step compatible sg driver */ | |
1280 | -#undef HAVE_SYS_BSDTTY_H /* if we have sys/bsdtty.h on HP-UX for TIOCGPGRP */ | |
1281 | -#undef HAVE_OS_H /* if we have the BeOS kernel definitions in OS.h */ | |
1282 | +#undef PROTOTYPES | |
1283 | +#undef HAVE_STDARG_H | |
1284 | +#undef HAVE_VARARGS_H | |
1285 | +#undef HAVE_STDLIB_H | |
1286 | +#undef HAVE_STRING_H | |
1287 | +#undef HAVE_STRINGS_H | |
1288 | +#undef STDC_HEADERS | |
1289 | +#undef HAVE_UNISTD_H | |
1290 | +#undef HAVE_GETOPT_H | |
1291 | +#undef HAVE_LIMITS_H | |
1292 | +#undef HAVE_A_OUT_H | |
1293 | +#undef HAVE_AOUTHDR_H | |
1294 | +#undef HAVE_ELF_H | |
1295 | +#undef HAVE_FCNTL_H | |
1296 | +#undef HAVE_SYS_FILE_H | |
1297 | +#undef HAVE_INTTYPES_H | |
1298 | +#undef HAVE_DIRENT_H | |
1299 | +#undef HAVE_SYS_DIR_H | |
1300 | +#undef HAVE_NDIR_H | |
1301 | +#undef HAVE_SYS_NDIR_H | |
1302 | +#undef HAVE_ALLOCA_H | |
1303 | +#undef HAVE_MALLOC_H | |
1304 | +#undef HAVE_TERMIOS_H | |
1305 | +#undef HAVE_TERMIO_H | |
1306 | +#undef HAVE_PWD_H | |
1307 | +#undef HAVE_GRP_H | |
1308 | +#undef HAVE_SYS_ACL_H | |
1309 | +#undef HAVE_ACLLIB_H | |
1310 | +#undef HAVE_SHADOW_H | |
1311 | +#undef HAVE_SYSLOG_H | |
1312 | +#undef HAVE_SYS_TIME_H | |
1313 | +#undef TIME_WITH_SYS_TIME | |
1314 | +#undef HAVE_TIMES | |
1315 | +#undef HAVE_SYS_TIMES_H | |
1316 | +#undef HAVE_UTIMES | |
1317 | +#undef HAVE_UTIME_H | |
1318 | +#undef HAVE_SYS_UTIME_H | |
1319 | +#undef HAVE_SYS_IOCTL_H | |
1320 | +#undef HAVE_SYS_FILIO_H | |
1321 | +#undef HAVE_SYS_PARAM_H | |
1322 | +#undef HAVE_MNTENT_H | |
1323 | +#undef HAVE_SYS_MNTENT_H | |
1324 | +#undef HAVE_SYS_MNTTAB_H | |
1325 | +#undef HAVE_SYS_MOUNT_H | |
1326 | +#undef HAVE_WAIT_H | |
1327 | +#undef HAVE_SYS_WAIT_H | |
1328 | +#undef HAVE_SYS_RESOURCE_H | |
1329 | +#undef HAVE_SYS_PROCFS_H | |
1330 | +#undef HAVE_SYS_SYSTEMINFO_H | |
1331 | +#undef HAVE_SYS_UTSNAME_H | |
1332 | +#undef HAVE_SYS_PRIOCNTL_H | |
1333 | +#undef HAVE_SYS_RTPRIOCNTL_H | |
1334 | +#undef HAVE_SYS_SYSCALL_H | |
1335 | +#undef HAVE_SYS_MTIO_H | |
1336 | +#undef HAVE_SYS_MMAN_H | |
1337 | +#undef HAVE_SYS_SHM_H | |
1338 | +#undef HAVE_SYS_IPC_H | |
1339 | +#undef MAJOR_IN_MKDEV | |
1340 | +#undef MAJOR_IN_SYSMACROS | |
1341 | +#undef HAVE_SYS_DKIO_H | |
1342 | +#undef HAVE_SYS_DKLABEL_H | |
1343 | +#undef HAVE_SUN_DKIO_H | |
1344 | +#undef HAVE_SUN_DKLABEL_H | |
1345 | +#undef HAVE_SYS_TYPES_H | |
1346 | +#undef HAVE_SYS_STAT_H | |
1347 | +#undef HAVE_TYPES_H | |
1348 | +#undef HAVE_STAT_H | |
1349 | +#undef HAVE_POLL_H | |
1350 | +#undef HAVE_SYS_POLL_H | |
1351 | +#undef HAVE_SYS_SELECT_H | |
1352 | +#undef NEED_SYS_SELECT_H | |
1353 | +#undef HAVE_NETDB_H | |
1354 | +#undef HAVE_SYS_SOCKET_H | |
1355 | +#undef NEED_SYS_SOCKET_H | |
1356 | +#undef HAVE_LINUX_PG_H | |
1357 | +#undef HAVE_CAMLIB_H | |
1358 | +#undef HAVE_IEEEFP_H | |
1359 | +#undef HAVE_FP_H | |
1360 | +#undef HAVE_VALUES_H | |
1361 | +#undef HAVE_FLOAT_H | |
1362 | +#undef HAVE__FILBUF | |
1363 | +#undef HAVE___FILBUF | |
1364 | +#undef HAVE_USG_STDIO | |
1365 | +#undef HAVE_ERRNO_DEF | |
1366 | +#undef HAVE_VFORK_H | |
1367 | +#undef HAVE_ARPA_INET_H | |
1368 | + | |
1369 | +#undef HAVE_BSD_DEV_SCSIREG_H | |
1370 | +#undef HAVE_SYS_BSDTTY_H | |
1371 | +#undef HAVE_OS_H | |
1372 | ||
1373 | /* | |
1374 | * Convert to SCHILY name | |
1375 | @@ -109,13 +109,13 @@ | |
1376 | #endif | |
1377 | ||
1378 | #ifdef HAVE_ELF_H | |
1379 | -#define HAVE_ELF /* This system uses ELF */ | |
1380 | +#define HAVE_ELF | |
1381 | #else | |
1382 | # ifdef HAVE_AOUTHDR_H | |
1383 | -# define HAVE_COFF /* This system uses COFF */ | |
1384 | +# define HAVE_COFF | |
1385 | # else | |
1386 | # ifdef HAVE_A_OUT_H | |
1387 | -# define HAVE_AOUT /* This system uses AOUT */ | |
1388 | +# define HAVE_AOUT | |
1389 | # endif | |
1390 | # endif | |
1391 | #endif | |
1392 | @@ -123,123 +123,123 @@ | |
1393 | /* | |
1394 | * Library Functions | |
1395 | */ | |
1396 | -#undef HAVE_STRERROR /* strerror() is present in libc */ | |
1397 | -#undef HAVE_MEMMOVE /* memmove() is present in libc */ | |
1398 | -#undef HAVE_MADVISE /* madvise() is present in libc */ | |
1399 | -#undef HAVE_MLOCK /* mlock() is present in libc */ | |
1400 | -#undef HAVE_MLOCKALL /* working mlockall() is present in libc */ | |
1401 | -#undef HAVE_MMAP /* working mmap() is present in libc */ | |
1402 | -#undef _MMAP_WITH_SIZEP /* mmap() needs address of size parameter */ | |
1403 | -#undef HAVE_FLOCK /* *BSD flock() is present in libc */ | |
1404 | -#undef HAVE_LOCKF /* lockf() is present in libc (XOPEN) */ | |
1405 | -#undef HAVE_FCNTL_LOCKF /* file locking via fcntl() is present in libc */ | |
1406 | -#undef HAVE_FCHDIR /* fchdir() is present in libc */ | |
1407 | -#undef HAVE_STATVFS /* statvfs() is present in libc */ | |
1408 | -#undef HAVE_QUOTACTL /* quotactl() is present in libc */ | |
1409 | -#undef HAVE_QUOTAIOCTL /* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */ | |
1410 | -#undef HAVE_SETREUID /* setreuid() is present in libc */ | |
1411 | -#undef HAVE_SETRESUID /* setresuid() is present in libc */ | |
1412 | -#undef HAVE_SETEUID /* seteuid() is present in libc */ | |
1413 | -#undef HAVE_SETUID /* setuid() is present in libc */ | |
1414 | -#undef HAVE_SETREGID /* setregid() is present in libc */ | |
1415 | -#undef HAVE_SETRESGID /* setresgid() is present in libc */ | |
1416 | -#undef HAVE_SETEGID /* setegid() is present in libc */ | |
1417 | -#undef HAVE_SETGID /* setgid() is present in libc */ | |
1418 | -#undef HAVE_GETPGID /* getpgid() is present in libc (POSIX) */ | |
1419 | -#undef HAVE_SETPGID /* setpgid() is present in libc (POSIX) */ | |
1420 | -#undef HAVE_GETPGRP /* getpgrp() is present in libc (ANY) */ | |
1421 | -#undef HAVE_SETPGRP /* setpgrp() is present in libc (ANY) */ | |
1422 | -#undef HAVE_BSD_GETPGRP /* getpgrp() in libc is BSD-4.2 compliant */ | |
1423 | -#undef HAVE_BSD_SETPGRP /* setpgrp() in libc is BSD-4.2 compliant */ | |
1424 | -#undef HAVE_GETSPNAM /* getspnam() in libc (SVR4 compliant) */ | |
1425 | -#undef HAVE_GETSPWNAM /* getspwnam() in libsec.a (HP-UX) */ | |
1426 | -#undef HAVE_SYNC /* sync() is present in libc */ | |
1427 | -#undef HAVE_FSYNC /* fsync() is present in libc */ | |
1428 | -#undef HAVE_WAIT3 /* working wait3() is present in libc */ | |
1429 | -#undef HAVE_WAIT4 /* wait4() is present in libc */ | |
1430 | -#undef HAVE_WAITID /* waitid() is present in libc */ | |
1431 | -#undef HAVE_WAITPID /* waitpid() is present in libc */ | |
1432 | -#undef HAVE_GETHOSTID /* gethostid() is present in libc */ | |
1433 | -#undef HAVE_GETHOSTNAME /* gethostname() is present in libc */ | |
1434 | -#undef HAVE_GETDOMAINNAME /* getdomainname() is present in libc */ | |
1435 | -#undef HAVE_GETPAGESIZE /* getpagesize() is present in libc */ | |
1436 | -#undef HAVE_GETDTABLESIZE /* getdtablesize() is present in libc */ | |
1437 | -#undef HAVE_GETRUSAGE /* getrusage() is present in libc */ | |
1438 | -#undef HAVE_GETRLIMIT /* getrlimit() is present in libc */ | |
1439 | -#undef HAVE_SETRLIMIT /* setrlimit() is present in libc */ | |
1440 | -#undef HAVE_ULIMIT /* ulimit() is present in libc */ | |
1441 | -#undef HAVE_GETTIMEOFDAY /* gettimeofday() is present in libc */ | |
1442 | -#undef HAVE_SETTIMEOFDAY /* settimeofday() is present in libc */ | |
1443 | -#undef HAVE_TIME /* time() is present in libc */ | |
1444 | -#undef HAVE_STIME /* stime() is present in libc */ | |
1445 | -#undef HAVE_POLL /* poll() is present in libc */ | |
1446 | -#undef HAVE_SELECT /* select() is present in libc */ | |
1447 | -#undef HAVE_LCHOWN /* lchown() is present in libc */ | |
1448 | -#undef HAVE_BRK /* brk() is present in libc */ | |
1449 | -#undef HAVE_SBRK /* sbrk() is present in libc */ | |
1450 | -#undef HAVE_VA_COPY /* va_copy() is present in varargs.h/stdarg.h */ | |
1451 | -#undef HAVE__VA_COPY /* __va_copy() is present in varargs.h/stdarg.h */ | |
1452 | -#undef HAVE_DTOA /* BSD-4.4 __dtoa() is present in libc */ | |
1453 | -#undef HAVE_DTOA_R /* BSD-4.4 __dtoa() with result ptr (reentrant) */ | |
1454 | -#undef HAVE_GETCWD /* POSIX getcwd() is present in libc */ | |
1455 | -#undef HAVE_SMMAP /* may map anonymous memory to get shared mem */ | |
1456 | -#undef HAVE_SHMAT /* shmat() is present in libc */ | |
1457 | -#undef HAVE_SEMGET /* semget() is present in libc */ | |
1458 | -#undef HAVE_LSTAT /* lstat() is present in libc */ | |
1459 | -#undef HAVE_READLINK /* readlink() is present in libc */ | |
1460 | -#undef HAVE_LINK /* link() is present in libc */ | |
1461 | -#undef HAVE_RENAME /* rename() is present in libc */ | |
1462 | -#undef HAVE_MKFIFO /* mkfifo() is present in libc */ | |
1463 | -#undef HAVE_MKNOD /* mknod() is present in libc */ | |
1464 | -#undef HAVE_ECVT /* ecvt() is present in libc */ | |
1465 | -#undef HAVE_FCVT /* fcvt() is present in libc */ | |
1466 | -#undef HAVE_GCVT /* gcvt() is present in libc */ | |
1467 | -#undef HAVE_ECVT_R /* ecvt_r() is present in libc */ | |
1468 | -#undef HAVE_FCVT_R /* fcvt_r() is present in libc */ | |
1469 | -#undef HAVE_GCVT_R /* gcvt_r() is present in libc */ | |
1470 | -#undef HAVE_ECONVERT /* econvert() is present in libc */ | |
1471 | -#undef HAVE_FCONVERT /* fconvert() is present in libc */ | |
1472 | -#undef HAVE_GCONVERT /* gconvert() is present in libc */ | |
1473 | -#undef HAVE_ISINF /* isinf() is present in libc */ | |
1474 | -#undef HAVE_ISNAN /* isnan() is present in libc */ | |
1475 | -#undef HAVE_RAND /* rand() is present in libc */ | |
1476 | -#undef HAVE_DRAND48 /* drand48() is present in libc */ | |
1477 | -#undef HAVE_SETPRIORITY /* setpriority() is present in libc */ | |
1478 | -#undef HAVE_NICE /* nice() is present in libc */ | |
1479 | -#undef HAVE_DOSSETPRIORITY /* DosSetPriority() is present in libc */ | |
1480 | -#undef HAVE_DOSALLOCSHAREDMEM /* DosAllocSharedMem() is present in libc */ | |
1481 | -#undef HAVE_SEEKDIR /* seekdir() is present in libc */ | |
1482 | -#undef HAVE_PUTENV /* putenv() is present in libc (preferred function) */ | |
1483 | -#undef HAVE_SETENV /* setenv() is present in libc (use instead of putenv()) */ | |
1484 | -#undef HAVE_UNAME /* uname() is present in libc */ | |
1485 | -#undef HAVE_SNPRINTF /* snprintf() is present in libc */ | |
1486 | -#undef HAVE_STRCASECMP /* strcasecmp() is present in libc */ | |
1487 | -#undef HAVE_STRDUP /* strdup() is present in libc */ | |
1488 | -#undef HAVE_STRSIGNAL /* strsignal() is present in libc */ | |
1489 | -#undef HAVE_STR2SIG /* str2sig() is present in libc */ | |
1490 | -#undef HAVE_SIG2STR /* sig2str() is present in libc */ | |
1491 | -#undef HAVE_KILLPG /* killpg() is present in libc */ | |
1492 | -#undef HAVE_SIGRELSE /* sigrelse() is present in libc */ | |
1493 | -#undef HAVE_SIGPROCMASK /* sigprocmask() is present in libc (POSIX) */ | |
1494 | -#undef HAVE_SIGSETMASK /* sigsetmask() is present in libc (BSD) */ | |
1495 | -#undef HAVE_SIGSET /* sigset() is present in libc (POSIX) */ | |
1496 | -#undef HAVE_SYS_SIGLIST /* char *sys_siglist[] is present in libc */ | |
1497 | -#undef HAVE_NANOSLEEP /* nanosleep() is present in libc */ | |
1498 | -#undef HAVE_USLEEP /* usleep() is present in libc */ | |
1499 | -#undef HAVE_FORK /* fork() is present in libc */ | |
1500 | -#undef HAVE_EXECL /* execl() is present in libc */ | |
1501 | -#undef HAVE_EXECLE /* execle() is present in libc */ | |
1502 | -#undef HAVE_EXECV /* execv() is present in libc */ | |
1503 | -#undef HAVE_EXECVE /* execve() is present in libc */ | |
1504 | -#undef HAVE_EXECVP /* execvp() is present in libc */ | |
1505 | -#undef HAVE_ALLOCA /* alloca() is present (else use malloc())*/ | |
1506 | -#undef HAVE_VALLOC /* valloc() is present in libc (else use malloc())*/ | |
1507 | +#undef HAVE_STRERROR | |
1508 | +#undef HAVE_MEMMOVE | |
1509 | +#undef HAVE_MADVISE | |
1510 | +#undef HAVE_MLOCK | |
1511 | +#undef HAVE_MLOCKALL | |
1512 | +#undef HAVE_MMAP | |
1513 | +#undef _MMAP_WITH_SIZEP | |
1514 | +#undef HAVE_FLOCK | |
1515 | +#undef HAVE_LOCKF | |
1516 | +#undef HAVE_FCNTL_LOCKF | |
1517 | +#undef HAVE_FCHDIR | |
1518 | +#undef HAVE_STATVFS | |
1519 | +#undef HAVE_QUOTACTL | |
1520 | +#undef HAVE_QUOTAIOCTL | |
1521 | +#undef HAVE_SETREUID | |
1522 | +#undef HAVE_SETRESUID | |
1523 | +#undef HAVE_SETEUID | |
1524 | +#undef HAVE_SETUID | |
1525 | +#undef HAVE_SETREGID | |
1526 | +#undef HAVE_SETRESGID | |
1527 | +#undef HAVE_SETEGID | |
1528 | +#undef HAVE_SETGID | |
1529 | +#undef HAVE_GETPGID | |
1530 | +#undef HAVE_SETPGID | |
1531 | +#undef HAVE_GETPGRP | |
1532 | +#undef HAVE_SETPGRP | |
1533 | +#undef HAVE_BSD_GETPGRP | |
1534 | +#undef HAVE_BSD_SETPGRP | |
1535 | +#undef HAVE_GETSPNAM | |
1536 | +#undef HAVE_GETSPWNAM | |
1537 | +#undef HAVE_SYNC | |
1538 | +#undef HAVE_FSYNC | |
1539 | +#undef HAVE_WAIT3 | |
1540 | +#undef HAVE_WAIT4 | |
1541 | +#undef HAVE_WAITID | |
1542 | +#undef HAVE_WAITPID | |
1543 | +#undef HAVE_GETHOSTID | |
1544 | +#undef HAVE_GETHOSTNAME | |
1545 | +#undef HAVE_GETDOMAINNAME | |
1546 | +#undef HAVE_GETPAGESIZE | |
1547 | +#undef HAVE_GETDTABLESIZE | |
1548 | +#undef HAVE_GETRUSAGE | |
1549 | +#undef HAVE_GETRLIMIT | |
1550 | +#undef HAVE_SETRLIMIT | |
1551 | +#undef HAVE_ULIMIT | |
1552 | +#undef HAVE_GETTIMEOFDAY | |
1553 | +#undef HAVE_SETTIMEOFDAY | |
1554 | +#undef HAVE_TIME | |
1555 | +#undef HAVE_STIME | |
1556 | +#undef HAVE_POLL | |
1557 | +#undef HAVE_SELECT | |
1558 | +#undef HAVE_LCHOWN | |
1559 | +#undef HAVE_BRK | |
1560 | +#undef HAVE_SBRK | |
1561 | +#undef HAVE_VA_COPY | |
1562 | +#undef HAVE__VA_COPY | |
1563 | +#undef HAVE_DTOA | |
1564 | +#undef HAVE_DTOA_R | |
1565 | +#undef HAVE_GETCWD | |
1566 | +#undef HAVE_SMMAP | |
1567 | +#undef HAVE_SHMAT | |
1568 | +#undef HAVE_SEMGET | |
1569 | +#undef HAVE_LSTAT | |
1570 | +#undef HAVE_READLINK | |
1571 | +#undef HAVE_LINK | |
1572 | +#undef HAVE_RENAME | |
1573 | +#undef HAVE_MKFIFO | |
1574 | +#undef HAVE_MKNOD | |
1575 | +#undef HAVE_ECVT | |
1576 | +#undef HAVE_FCVT | |
1577 | +#undef HAVE_GCVT | |
1578 | +#undef HAVE_ECVT_R | |
1579 | +#undef HAVE_FCVT_R | |
1580 | +#undef HAVE_GCVT_R | |
1581 | +#undef HAVE_ECONVERT | |
1582 | +#undef HAVE_FCONVERT | |
1583 | +#undef HAVE_GCONVERT | |
1584 | +#undef HAVE_ISINF | |
1585 | +#undef HAVE_ISNAN | |
1586 | +#undef HAVE_RAND | |
1587 | +#undef HAVE_DRAND48 | |
1588 | +#undef HAVE_SETPRIORITY | |
1589 | +#undef HAVE_NICE | |
1590 | +#undef HAVE_DOSSETPRIORITY | |
1591 | +#undef HAVE_DOSALLOCSHAREDMEM | |
1592 | +#undef HAVE_SEEKDIR | |
1593 | +#undef HAVE_PUTENV | |
1594 | +#undef HAVE_SETENV | |
1595 | +#undef HAVE_UNAME | |
1596 | +#undef HAVE_SNPRINTF | |
1597 | +#undef HAVE_STRCASECMP | |
1598 | +#undef HAVE_STRDUP | |
1599 | +#undef HAVE_STRSIGNAL | |
1600 | +#undef HAVE_STR2SIG | |
1601 | +#undef HAVE_SIG2STR | |
1602 | +#undef HAVE_KILLPG | |
1603 | +#undef HAVE_SIGRELSE | |
1604 | +#undef HAVE_SIGPROCMASK | |
1605 | +#undef HAVE_SIGSETMASK | |
1606 | +#undef HAVE_SIGSET | |
1607 | +#undef HAVE_SYS_SIGLIST | |
1608 | +#undef HAVE_NANOSLEEP | |
1609 | +#undef HAVE_USLEEP | |
1610 | +#undef HAVE_FORK | |
1611 | +#undef HAVE_EXECL | |
1612 | +#undef HAVE_EXECLE | |
1613 | +#undef HAVE_EXECV | |
1614 | +#undef HAVE_EXECVE | |
1615 | +#undef HAVE_EXECVP | |
1616 | +#undef HAVE_ALLOCA | |
1617 | +#undef HAVE_VALLOC | |
1618 | #undef vfork | |
1619 | ||
1620 | -#undef HAVE_CHFLAGS /* chflags() is present in libc */ | |
1621 | -#undef HAVE_FCHFLAGS /* fchflags() is present in libc */ | |
1622 | -#undef HAVE_FFLAGSTOSTR /* fflagstostr() is present in libc */ | |
1623 | -#undef HAVE_STRTOFFLAGS /* strtofflags() is present in libc */ | |
1624 | +#undef HAVE_CHFLAGS | |
1625 | +#undef HAVE_FCHFLAGS | |
1626 | +#undef HAVE_FFLAGSTOSTR | |
1627 | +#undef HAVE_STRTOFFLAGS | |
4ac6d9e0 | 1628 | |
61a3939f AM |
1629 | /* |
1630 | * Important: This must be a result from a check _before_ the Large File test | |
1631 | @@ -251,14 +251,14 @@ | |
1632 | * Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure | |
1633 | * they are placed before the large file tests. | |
1634 | */ | |
1635 | -#undef HAVE_FSEEKO /* fseeko() is present in default compile mode */ | |
1636 | -#undef HAVE_FTELLO /* ftello() is present in default compile mode */ | |
1637 | +#undef HAVE_FSEEKO | |
1638 | +#undef HAVE_FTELLO | |
4ac6d9e0 | 1639 | |
61a3939f AM |
1640 | -#undef HAVE_RCMD /* rcmd() is present in libc/libsocket */ |
1641 | -#undef HAVE_INET_NTOA /* inet_ntoa() is present in libc/libsocket */ | |
1642 | +#undef HAVE_RCMD | |
1643 | +#undef HAVE_INET_NTOA | |
4ac6d9e0 | 1644 | |
61a3939f AM |
1645 | #if defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL) |
1646 | -# define HAVE_QUOTA /* The system inludes quota */ | |
1647 | +# define HAVE_QUOTA | |
1648 | #endif | |
4ac6d9e0 | 1649 | |
61a3939f AM |
1650 | /* |
1651 | @@ -267,52 +267,52 @@ | |
1652 | * from the BSD compile environment. | |
1653 | */ | |
1654 | #if defined(HAVE_SHMAT) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H) | |
1655 | -# define HAVE_USGSHM /* USG shared memory is present */ | |
1656 | +# define HAVE_USGSHM | |
1657 | #endif | |
1658 | #if defined(HAVE_SEMGET) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H) | |
1659 | -# define HAVE_USGSEM /* USG semaphores are present */ | |
1660 | +# define HAVE_USGSEM | |
1661 | #endif | |
4ac6d9e0 | 1662 | |
61a3939f AM |
1663 | #if defined(HAVE_GETPGRP) && !defined(HAVE_BSD_GETPGRP) |
1664 | -#define HAVE_POSIX_GETPGRP 1 /* getpgrp() in libc is POSIX compliant */ | |
1665 | +#define HAVE_POSIX_GETPGRP 1 | |
1666 | #endif | |
1667 | #if defined(HAVE_SETPGRP) && !defined(HAVE_BSD_SETPGRP) | |
1668 | -#define HAVE_POSIX_SETPGRP 1 /* setpgrp() in libc is POSIX compliant */ | |
1669 | +#define HAVE_POSIX_SETPGRP 1 | |
1670 | #endif | |
4ac6d9e0 | 1671 | |
61a3939f AM |
1672 | /* |
1673 | * Structures | |
1674 | */ | |
1675 | -#undef HAVE_MTGET_TYPE /* if struct mtget contains mt_type (drive type) */ | |
1676 | -#undef HAVE_MTGET_DSREG /* if struct mtget contains mt_dsreg (drive status) */ | |
1677 | -#undef HAVE_MTGET_ERREG /* if struct mtget contains mt_erreg (error register) */ | |
1678 | -#undef HAVE_MTGET_RESID /* if struct mtget contains mt_resid (residual count) */ | |
1679 | -#undef HAVE_MTGET_FILENO /* if struct mtget contains mt_fileno (file #) */ | |
1680 | -#undef HAVE_MTGET_BLKNO /* if struct mtget contains mt_blkno (block #) */ | |
1681 | -#undef HAVE_MTGET_FLAGS /* if struct mtget contains mt_flags (flags) */ | |
1682 | -#undef HAVE_MTGET_BF /* if struct mtget contains mt_bf (optimum blocking factor) */ | |
1683 | -#undef HAVE_STRUCT_RUSAGE /* have struct rusage in sys/resource.h */ | |
1684 | -#undef HAVE_UNION_SEMUN /* have an illegal definition for union semun in sys/sem.h */ | |
1685 | -#undef HAVE_UNION_WAIT /* have union wait in wait.h */ | |
1686 | -#undef HAVE_ST_SPARE1 /* if struct stat contains st_spare1 (usecs) */ | |
1687 | -#undef HAVE_ST_NSEC /* if struct stat contains st_atim.st_nsec (nanosecs */ | |
1688 | -#undef HAVE_ST_BLKSIZE /* if struct stat contains st_blksize */ | |
1689 | -#undef HAVE_ST_BLOCKS /* if struct stat contains st_blocks */ | |
1690 | -#undef HAVE_ST_RDEV /* if struct stat contains st_rdev */ | |
1691 | -#undef HAVE_ST_FLAGS /* if struct stat contains st_flags */ | |
1692 | -#undef STAT_MACROS_BROKEN /* if the macros S_ISDIR, S_ISREG .. don't work */ | |
1693 | +#undef HAVE_MTGET_TYPE | |
1694 | +#undef HAVE_MTGET_DSREG | |
1695 | +#undef HAVE_MTGET_ERREG | |
1696 | +#undef HAVE_MTGET_RESID | |
1697 | +#undef HAVE_MTGET_FILENO | |
1698 | +#undef HAVE_MTGET_BLKNO | |
1699 | +#undef HAVE_MTGET_FLAGS | |
1700 | +#undef HAVE_MTGET_BF | |
1701 | +#undef HAVE_STRUCT_RUSAGE | |
1702 | +#undef HAVE_UNION_SEMUN | |
1703 | +#undef HAVE_UNION_WAIT | |
1704 | +#undef HAVE_ST_SPARE1 | |
1705 | +#undef HAVE_ST_NSEC | |
1706 | +#undef HAVE_ST_BLKSIZE | |
1707 | +#undef HAVE_ST_BLOCKS | |
1708 | +#undef HAVE_ST_RDEV | |
1709 | +#undef HAVE_ST_FLAGS | |
1710 | +#undef STAT_MACROS_BROKEN | |
4ac6d9e0 | 1711 | |
61a3939f AM |
1712 | -#undef DEV_MINOR_BITS /* # if bits needed to hold minor device number */ |
1713 | -#undef DEV_MINOR_NONCONTIG /* if bits in minor device number are noncontiguous */ | |
1714 | +#undef DEV_MINOR_BITS | |
1715 | +#undef DEV_MINOR_NONCONTIG | |
4ac6d9e0 | 1716 | |
4ac6d9e0 | 1717 | |
61a3939f AM |
1718 | /* |
1719 | * Byteorder/Bitorder | |
1720 | */ | |
1721 | -#define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ | |
1722 | -#undef WORDS_BIGENDIAN /* If using network byte order */ | |
1723 | -#define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ | |
1724 | -#undef BITFIELDS_HTOL /* If high bits come first in structures */ | |
1725 | +#define HAVE_C_BIGENDIAN | |
1726 | +#undef WORDS_BIGENDIAN | |
1727 | +#define HAVE_C_BITFIELDS | |
1728 | +#undef BITFIELDS_HTOL | |
4ac6d9e0 | 1729 | |
61a3939f AM |
1730 | /* |
1731 | * Types/Keywords | |
1732 | @@ -330,24 +330,24 @@ | |
1733 | #undef SIZEOF_UNSIGNED_LONG_LONG | |
1734 | #undef SIZEOF_UNSIGNED_CHAR_P | |
4ac6d9e0 | 1735 | |
61a3939f AM |
1736 | -#undef HAVE_LONGLONG /* Compiler defines long long type */ |
1737 | -#undef CHAR_IS_UNSIGNED /* Compiler defines char to be unsigned */ | |
1738 | +#undef HAVE_LONGLONG | |
1739 | +#undef CHAR_IS_UNSIGNED | |
4ac6d9e0 | 1740 | |
61a3939f AM |
1741 | -#undef const /* Define to empty if const doesn't work */ |
1742 | -#undef uid_t /* To be used if uid_t is not present */ | |
1743 | -#undef gid_t /* To be used if gid_t is not present */ | |
1744 | -#undef size_t /* To be used if size_t is not present */ | |
1745 | -#undef ssize_t /* To be used if ssize_t is not present */ | |
1746 | -#undef pid_t /* To be used if pid_t is not present */ | |
1747 | -#undef off_t /* To be used if off_t is not present */ | |
1748 | -#undef mode_t /* To be used if mode_t is not present */ | |
1749 | -#undef time_t /* To be used if time_t is not present */ | |
1750 | -#undef caddr_t /* To be used if caddr_t is not present */ | |
1751 | -#undef daddr_t /* To be used if daddr_t is not present */ | |
1752 | -#undef dev_t /* To be used if dev_t is not present */ | |
1753 | -#undef ino_t /* To be used if ino_t is not present */ | |
1754 | -#undef nlink_t /* To be used if nlink_t is not present */ | |
1755 | -#undef socklen_t /* To be used if socklen_t is not present */ | |
1756 | +#undef const | |
1757 | +#undef uid_t | |
1758 | +#undef gid_t | |
1759 | +#undef size_t | |
1760 | +#undef ssize_t | |
1761 | +#undef pid_t | |
1762 | +#undef off_t | |
1763 | +#undef mode_t | |
1764 | +#undef time_t | |
1765 | +#undef caddr_t | |
1766 | +#undef daddr_t | |
1767 | +#undef dev_t | |
1768 | +#undef ino_t | |
1769 | +#undef nlink_t | |
1770 | +#undef socklen_t | |
4ac6d9e0 | 1771 | |
61a3939f AM |
1772 | /* |
1773 | * These types are present on all UNIX systems but should be avoided | |
1774 | @@ -356,14 +356,14 @@ | |
1775 | * | |
1776 | * Better include <utypes.h> and use Uchar, Uint & Ulong | |
1777 | */ | |
1778 | -#undef u_char /* To be used if u_char is not present */ | |
1779 | -#undef u_short /* To be used if u_short is not present */ | |
1780 | -#undef u_int /* To be used if u_int is not present */ | |
1781 | -#undef u_long /* To be used if u_long is not present */ | |
1782 | - | |
1783 | -/*#undef HAVE_SIZE_T*/ | |
1784 | -/*#undef NO_SIZE_T*/ | |
1785 | -#undef VA_LIST_IS_ARRAY /* va_list is an array */ | |
1786 | +#undef u_char | |
1787 | +#undef u_short | |
1788 | +#undef u_int | |
1789 | +#undef u_long | |
1790 | + | |
1791 | + | |
1792 | + | |
1793 | +#undef VA_LIST_IS_ARRAY | |
1794 | #undef GETGROUPS_T | |
1795 | #define GID_T GETGROUPS_T | |
4ac6d9e0 | 1796 | |
61a3939f | 1797 | @@ -379,74 +379,74 @@ |
4ac6d9e0 | 1798 | |
61a3939f | 1799 | #undef HAVE_LARGEFILES |
4ac6d9e0 | 1800 | |
61a3939f AM |
1801 | -#ifdef HAVE_LARGEFILES /* If we have working largefiles at all */ |
1802 | - /* This is not defined with glibc-2.1.3 */ | |
1803 | +#ifdef HAVE_LARGEFILES | |
1804 | + | |
4ac6d9e0 | 1805 | |
61a3939f AM |
1806 | -#undef _FILE_OFFSET_BITS /* # of bits in off_t if settable */ |
1807 | -#undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */ | |
1808 | -#undef _LARGE_FILES /* Large file defined on AIX-style hosts. */ | |
1809 | -#undef _XOPEN_SOURCE /* To make ftello() visible (glibc 2.1.3). */ | |
1810 | - /* XXX We don't use this because glibc2.1.3*/ | |
1811 | - /* XXX is bad anyway. If we define */ | |
1812 | - /* XXX _XOPEN_SOURCE we will loose caddr_t */ | |
1813 | +#undef _FILE_OFFSET_BITS | |
1814 | +#undef _LARGEFILE_SOURCE | |
1815 | +#undef _LARGE_FILES | |
1816 | +#undef _XOPEN_SOURCE | |
1817 | + | |
1818 | + | |
1819 | + | |
4ac6d9e0 | 1820 | |
61a3939f AM |
1821 | -#undef HAVE_FSEEKO /* Do we need this? If HAVE_LARGEFILES is */ |
1822 | - /* defined, we have fseeko() */ | |
1823 | +#undef HAVE_FSEEKO | |
1824 | + | |
4ac6d9e0 | 1825 | |
61a3939f AM |
1826 | -#endif /* HAVE_LARGEFILES */ |
1827 | -#endif /* USE_LARGEFILES */ | |
1828 | +#endif | |
1829 | +#endif | |
4ac6d9e0 | 1830 | |
61a3939f AM |
1831 | -#ifdef USE_ACL /* Enable/disable ACL support */ |
1832 | +#ifdef USE_ACL | |
1833 | /* | |
1834 | * POSIX ACL support | |
1835 | */ | |
1836 | -#undef HAVE_ACL_GET_FILE /* acl_get_file() function */ | |
1837 | -#undef HAVE_ACL_SET_FILE /* acl_set_file() function */ | |
1838 | -#undef HAVE_ACL_FROM_TEXT /* acl_from_text() function */ | |
1839 | -#undef HAVE_ACL_TO_TEXT /* acl_to_text() function */ | |
1840 | -#undef HAVE_ACL_FREE /* acl_free() function */ | |
1841 | -#undef HAVE_ACL_DELETE_DEF_FILE /* acl_delete_def_file() function */ | |
1842 | +#undef HAVE_ACL_GET_FILE | |
1843 | +#undef HAVE_ACL_SET_FILE | |
1844 | +#undef HAVE_ACL_FROM_TEXT | |
1845 | +#undef HAVE_ACL_TO_TEXT | |
1846 | +#undef HAVE_ACL_FREE | |
1847 | +#undef HAVE_ACL_DELETE_DEF_FILE | |
4ac6d9e0 | 1848 | |
61a3939f AM |
1849 | #if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \ |
1850 | defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \ | |
1851 | defined(HAVE_ACL_FREE) | |
1852 | -# define HAVE_POSIX_ACL 1 /* POSIX ACL's present */ | |
1853 | +# define HAVE_POSIX_ACL 1 | |
1854 | #endif | |
4ac6d9e0 | 1855 | |
61a3939f AM |
1856 | /* |
1857 | * Sun ACL support. | |
1858 | * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc. | |
1859 | */ | |
1860 | -#undef HAVE_ACL /* acl() function */ | |
1861 | -#undef HAVE_FACL /* facl() function */ | |
1862 | -#undef HAVE_ACLFROMTEXT /* aclfromtext() function */ | |
1863 | -#undef HAVE_ACLTOTEXT /* acltotext() function */ | |
1864 | +#undef HAVE_ACL | |
1865 | +#undef HAVE_FACL | |
1866 | +#undef HAVE_ACLFROMTEXT | |
1867 | +#undef HAVE_ACLTOTEXT | |
4ac6d9e0 | 1868 | |
61a3939f AM |
1869 | #if defined(HAVE_ACL) && defined(HAVE_FACL) && \ |
1870 | defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT) | |
1871 | -# define HAVE_SUN_ACL 1 /* Sun ACL's present */ | |
1872 | +# define HAVE_SUN_ACL 1 | |
1873 | #endif | |
4ac6d9e0 | 1874 | |
61a3939f AM |
1875 | /* |
1876 | * HP-UX ACL support. | |
1877 | * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc. | |
1878 | */ | |
1879 | -#undef HAVE_GETACL /* getacl() function */ | |
1880 | -#undef HAVE_FGETACL /* fgetacl() function */ | |
1881 | -#undef HAVE_SETACL /* setacl() function */ | |
1882 | -#undef HAVE_FSETACL /* fsetacl() function */ | |
1883 | -#undef HAVE_STRTOACL /* strtoacl() function */ | |
1884 | -#undef HAVE_ACLTOSTR /* acltostr() function */ | |
1885 | -#undef HAVE_CPACL /* cpacl() function */ | |
1886 | -#undef HAVE_FCPACL /* fcpacl() function */ | |
1887 | -#undef HAVE_CHOWNACL /* chownacl() function */ | |
1888 | -#undef HAVE_SETACLENTRY /* setaclentry() function */ | |
1889 | -#undef HAVE_FSETACLENTRY /* fsetaclentry() function */ | |
1890 | +#undef HAVE_GETACL | |
1891 | +#undef HAVE_FGETACL | |
1892 | +#undef HAVE_SETACL | |
1893 | +#undef HAVE_FSETACL | |
1894 | +#undef HAVE_STRTOACL | |
1895 | +#undef HAVE_ACLTOSTR | |
1896 | +#undef HAVE_CPACL | |
1897 | +#undef HAVE_FCPACL | |
1898 | +#undef HAVE_CHOWNACL | |
1899 | +#undef HAVE_SETACLENTRY | |
1900 | +#undef HAVE_FSETACLENTRY | |
4ac6d9e0 | 1901 | |
61a3939f AM |
1902 | #if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \ |
1903 | defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \ | |
1904 | defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT) | |
1905 | -# define HAVE_HP_ACL 1 /* HP-UX ACL's present */ | |
1906 | +# define HAVE_HP_ACL 1 | |
1907 | #endif | |
4ac6d9e0 | 1908 | |
61a3939f AM |
1909 | /* |
1910 | @@ -455,25 +455,25 @@ | |
1911 | * included in HAVE_ANY_ACL. | |
1912 | */ | |
1913 | #if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL) | |
1914 | -# define HAVE_ANY_ACL 1 /* Any ACL implementation present */ | |
1915 | +# define HAVE_ANY_ACL 1 | |
1916 | #endif | |
4ac6d9e0 | 1917 | |
61a3939f AM |
1918 | -#endif /* USE_ACL */ |
1919 | +#endif | |
4ac6d9e0 | 1920 | |
61a3939f AM |
1921 | /* |
1922 | * Misc CC / LD related stuff | |
1923 | */ | |
1924 | -#undef NO_USER_MALLOC /* If we cannot define our own malloc() */ | |
1925 | -#undef HAVE_DYN_ARRAYS /* If the compiler allows dynamic sized arrays */ | |
1926 | +#undef NO_USER_MALLOC | |
1927 | +#undef HAVE_DYN_ARRAYS | |
4ac6d9e0 | 1928 | |
61a3939f AM |
1929 | /* |
1930 | * Strings that help to maintain OS/platform id's in C-programs | |
1931 | */ | |
1932 | -#undef HOST_ALIAS /* Output from config.guess (orig) */ | |
1933 | -#undef HOST_SUB /* Output from config.sub (modified) */ | |
1934 | -#undef HOST_CPU /* CPU part from HOST_SUB */ | |
1935 | -#undef HOST_VENDOR /* VENDOR part from HOST_SUB */ | |
1936 | -#undef HOST_OS /* CPU part from HOST_SUB */ | |
1937 | +#undef HOST_ALIAS | |
1938 | +#undef HOST_SUB | |
1939 | +#undef HOST_CPU | |
1940 | +#undef HOST_VENDOR | |
1941 | +#undef HOST_OS | |
1942 | ||
1943 | ||
1944 | /* |