]> git.pld-linux.org Git - packages/cdrtools.git/blame - cdrtools-ac250.patch
- looks good, but needs some updates in %files
[packages/cdrtools.git] / cdrtools-ac250.patch
CommitLineData
4ac6d9e0 1--- cdrtools-1.11/conf/xconfig.h.in.orig Sat Mar 23 21:39:26 2002
2+++ cdrtools-1.11/conf/xconfig.h.in Wed Apr 24 21:32:02 2002
3@@ -8,95 +8,95 @@
9a068959
JB
4 /*
5 * Header Files
6 */
7-#undef PROTOTYPES /* if Compiler supports ANSI C prototypes */
8-#undef HAVE_STDARG_H /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */
9-#undef HAVE_VARARGS_H /* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */
10-#undef HAVE_STDLIB_H /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */
11-#undef HAVE_STRING_H /* to get NULL and ANSI C string function prototypes */
12-#undef HAVE_STRINGS_H /* to get BSD string function prototypes */
13-#undef STDC_HEADERS /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */
14-#undef HAVE_UNISTD_H /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/
15-#undef HAVE_GETOPT_H /* to get getopt() prototype from getopt.h instead of unistd.h */
16-#undef HAVE_LIMITS_H /* to get POSIX numeric limits constants */
17-#undef HAVE_A_OUT_H /* if a.out.h is present (may be a system using a.out format) */
18-#undef HAVE_AOUTHDR_H /* if aouthdr.h is present. This is a COFF system */
19-#undef HAVE_ELF_H /* if elf.h is present. This is an ELF system */
20-#undef HAVE_FCNTL_H /* to access, O_XXX constants for open(), otherwise use sys/file.h */
21-#undef HAVE_SYS_FILE_H /* to use O_XXX constants for open() and flock() defs */
22-#undef HAVE_INTTYPES_H /* to use UNIX-98 inttypes.h */
23-#undef HAVE_DIRENT_H /* to use POSIX dirent.h */
24-#undef HAVE_SYS_DIR_H /* to use BSD sys/dir.h */
25-#undef HAVE_NDIR_H /* to use ndir.h */
26-#undef HAVE_SYS_NDIR_H /* to use sys/ndir.h */
27-#undef HAVE_MALLOC_H /* if malloc.h exists */
28-#undef HAVE_TERMIOS_H /* to use POSIX termios.h */
29-#undef HAVE_TERMIO_H /* to use SVR4 termio.h */
4ac6d9e0 30-#undef HAVE_PWD_H /* if pwd.h exists */
31-#undef HAVE_GRP_H /* if grp.h exists */
32-#undef HAVE_SYS_ACL_H /* to use <sys/acl.h> for ACL definitions */
33-#undef HAVE_ACLLIB_H /* if HP-UX <acllib.h> is present */
9a068959
JB
34-#undef HAVE_SHADOW_H /* if shadow.h exists */
35-#undef HAVE_SYSLOG_H /* if syslog.h exists */
36-#undef HAVE_SYS_TIME_H /* may include sys/time.h for struct timeval */
37-#undef TIME_WITH_SYS_TIME /* may include both time.h and sys/time.h */
38-#undef HAVE_TIMES /* to use times() and sys/times.h */
39-#undef HAVE_SYS_TIMES_H /* may include sys/times.h for struct tms */
40-#undef HAVE_UTIMES /* to use BSD utimes() and sys/time.h */
41-#undef HAVE_UTIME_H /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */
42-#undef HAVE_SYS_UTIME_H /* to use sys/utime.h if utime.h does not exist */
43-#undef HAVE_SYS_IOCTL_H /* if sys/ioctl.h is present */
44-#undef HAVE_SYS_FILIO_H /* if sys/ioctl.h is present */
45-#undef HAVE_SYS_PARAM_H /* if sys/param.h is present */
46-#undef HAVE_MNTENT_H /* if mntent.h is present */
47-#undef HAVE_SYS_MNTENT_H /* if sys/mntent.h is present */
48-#undef HAVE_SYS_MNTTAB_H /* if sys/mnttab.h is present */
49-#undef HAVE_SYS_MOUNT_H /* if sys/mount.h is present */
50-#undef HAVE_WAIT_H /* to use wait.h for prototypes and union wait */
51-#undef HAVE_SYS_WAIT_H /* else use sys/wait.h */
52-#undef HAVE_SYS_RESOURCE_H /* to use sys/resource.h for rlimit() and wait3() */
53-#undef HAVE_SYS_PROCFS_H /* to use sys/procfs.h for wait3() emulation */
54-#undef HAVE_SYS_SYSTEMINFO_H /* to use SVr4 sysinfo() */
55-#undef HAVE_SYS_UTSNAME_H /* to use uname() */
56-#undef HAVE_SYS_PRIOCNTL_H /* to use SVr4 priocntl() instead of nice()/setpriority() */
57-#undef HAVE_SYS_RTPRIOCNTL_H /* if the system supports SVr4 real time classes */
4ac6d9e0 58-#undef HAVE_SYS_SYSCALL_H /* to use syscall() */
9a068959
JB
59-#undef HAVE_SYS_MTIO_H /* to use mtio definitions from sys/mtio.h */
60-#undef HAVE_SYS_MMAN_H /* to use definitions for mmap()/madvise()... from sys/mman.h */
61-#undef HAVE_SYS_SHM_H /* to use definitions for shmget() ... from sys/shm.h */
62-#undef HAVE_SYS_IPC_H /* to use definitions for shmget() ... from sys/ipc.h */
63-#undef MAJOR_IN_MKDEV /* if we should include sys/mkdev.h to get major()/minor()/makedev() */
64-#undef MAJOR_IN_SYSMACROS /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */
65-#undef HAVE_SYS_DKIO_H /* if we may include sys/dkio.h for disk ioctls */
66-#undef HAVE_SYS_DKLABEL_H /* if we may include sys/dklabel.h for disk label */
67-#undef HAVE_SUN_DKIO_H /* if we may include sun/dkio.h for disk ioctls */
68-#undef HAVE_SUN_DKLABEL_H /* if we may include sun/dklabel.h for disk label */
4ac6d9e0 69-#undef HAVE_SYS_TYPES_H /* if we may include sys/types.h (the standard) */
70-#undef HAVE_SYS_STAT_H /* if we may include sys/stat.h (the standard) */
71-#undef HAVE_TYPES_H /* if we may include types.h (rare cases e.g. ATARI TOS) */
72-#undef HAVE_STAT_H /* if we may include stat.h (rare cases e.g. ATARI TOS) */
9a068959
JB
73-#undef HAVE_POLL_H /* if we may include poll.h to use poll() */
74-#undef HAVE_SYS_POLL_H /* if we may include sys/poll.h to use poll() */
75-#undef HAVE_SYS_SELECT_H /* if we may have sys/select.h nonstandard use for select() on some systems*/
76-#undef NEED_SYS_SELECT_H /* if we need sys/select.h to use select() (this is nonstandard) */
4ac6d9e0 77-#undef HAVE_NETDB_H /* if we have netdb.h for get*by*() and rcmd() */
78-#undef HAVE_SYS_SOCKET_H /* if we have sys/socket.h for socket() */
79-#undef NEED_SYS_SOCKET_H /* if we need sys/socket.h to use select() (this is nonstandard) */
9a068959
JB
80-#undef HAVE_LINUX_PG_H /* if we may include linux/pg.h for PP ATAPI sypport */
81-#undef HAVE_CAMLIB_H /* if we may include camlib.h for CAM SCSI transport definitions */
82-#undef HAVE_IEEEFP_H /* if we may include ieeefp.h for finite()/isnand() */
83-#undef HAVE_FP_H /* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */
84-#undef HAVE_VALUES_H /* if we may include values.h for MAXFLOAT */
85-#undef HAVE_FLOAT_H /* if we may include float.h for FLT_MAX */
86-#undef HAVE__FILBUF /* if we have _filbuf() for USG derived STDIO */
87-#undef HAVE___FILBUF /* if we have __filbuf() for USG derived STDIO */
88-#undef HAVE_USG_STDIO /* if we have USG derived STDIO */
89-#undef HAVE_ERRNO_DEF /* if we have errno definition in <errno.h> */
90-#undef HAVE_VFORK_H /* if we should include vfork.h for vfork() definitions */
4ac6d9e0 91-#undef HAVE_ARPA_INET_H /* if we have arpa/inet.h (missing on BeOS) */
92- /* BeOS has inet_ntoa() in <netdb.h> */
9a068959 93-#undef HAVE_BSD_DEV_SCSIREG_H /* if we have a NeXT Step compatible sg driver */
4ac6d9e0 94-#undef HAVE_SYS_BSDTTY_H /* if we have sys/bsdtty.h on HP-UX for TIOCGPGRP */
95-#undef HAVE_OS_H /* if we have the BeOS kernel definitions in OS.h */
9a068959
JB
96+#undef PROTOTYPES
97+#undef HAVE_STDARG_H
98+#undef HAVE_VARARGS_H
99+#undef HAVE_STDLIB_H
100+#undef HAVE_STRING_H
101+#undef HAVE_STRINGS_H
102+#undef STDC_HEADERS
103+#undef HAVE_UNISTD_H
104+#undef HAVE_GETOPT_H
105+#undef HAVE_LIMITS_H
106+#undef HAVE_A_OUT_H
107+#undef HAVE_AOUTHDR_H
108+#undef HAVE_ELF_H
109+#undef HAVE_FCNTL_H
110+#undef HAVE_SYS_FILE_H
111+#undef HAVE_INTTYPES_H
112+#undef HAVE_DIRENT_H
113+#undef HAVE_SYS_DIR_H
114+#undef HAVE_NDIR_H
115+#undef HAVE_SYS_NDIR_H
116+#undef HAVE_MALLOC_H
117+#undef HAVE_TERMIOS_H
118+#undef HAVE_TERMIO_H
4ac6d9e0 119+#undef HAVE_PWD_H
120+#undef HAVE_GRP_H
121+#undef HAVE_SYS_ACL_H
122+#undef HAVE_ACLLIB_H
9a068959
JB
123+#undef HAVE_SHADOW_H
124+#undef HAVE_SYSLOG_H
125+#undef HAVE_SYS_TIME_H
126+#undef TIME_WITH_SYS_TIME
127+#undef HAVE_TIMES
128+#undef HAVE_SYS_TIMES_H
129+#undef HAVE_UTIMES
130+#undef HAVE_UTIME_H
131+#undef HAVE_SYS_UTIME_H
132+#undef HAVE_SYS_IOCTL_H
133+#undef HAVE_SYS_FILIO_H
134+#undef HAVE_SYS_PARAM_H
135+#undef HAVE_MNTENT_H
136+#undef HAVE_SYS_MNTENT_H
137+#undef HAVE_SYS_MNTTAB_H
138+#undef HAVE_SYS_MOUNT_H
139+#undef HAVE_WAIT_H
140+#undef HAVE_SYS_WAIT_H
141+#undef HAVE_SYS_RESOURCE_H
142+#undef HAVE_SYS_PROCFS_H
143+#undef HAVE_SYS_SYSTEMINFO_H
144+#undef HAVE_SYS_UTSNAME_H
145+#undef HAVE_SYS_PRIOCNTL_H
146+#undef HAVE_SYS_RTPRIOCNTL_H
4ac6d9e0 147+#undef HAVE_SYS_SYSCALL_H
9a068959
JB
148+#undef HAVE_SYS_MTIO_H
149+#undef HAVE_SYS_MMAN_H
150+#undef HAVE_SYS_SHM_H
151+#undef HAVE_SYS_IPC_H
152+#undef MAJOR_IN_MKDEV
153+#undef MAJOR_IN_SYSMACROS
154+#undef HAVE_SYS_DKIO_H
155+#undef HAVE_SYS_DKLABEL_H
156+#undef HAVE_SUN_DKIO_H
157+#undef HAVE_SUN_DKLABEL_H
4ac6d9e0 158+#undef HAVE_SYS_TYPES_H
159+#undef HAVE_SYS_STAT_H
160+#undef HAVE_TYPES_H
161+#undef HAVE_STAT_H
9a068959
JB
162+#undef HAVE_POLL_H
163+#undef HAVE_SYS_POLL_H
164+#undef HAVE_SYS_SELECT_H
165+#undef NEED_SYS_SELECT_H
4ac6d9e0 166+#undef HAVE_NETDB_H
167+#undef HAVE_SYS_SOCKET_H
168+#undef NEED_SYS_SOCKET_H
9a068959
JB
169+#undef HAVE_LINUX_PG_H
170+#undef HAVE_CAMLIB_H
171+#undef HAVE_IEEEFP_H
172+#undef HAVE_FP_H
173+#undef HAVE_VALUES_H
174+#undef HAVE_FLOAT_H
175+#undef HAVE__FILBUF
176+#undef HAVE___FILBUF
177+#undef HAVE_USG_STDIO
178+#undef HAVE_ERRNO_DEF
179+#undef HAVE_VFORK_H
4ac6d9e0 180+#undef HAVE_ARPA_INET_H
181+
9a068959 182+#undef HAVE_BSD_DEV_SCSIREG_H
4ac6d9e0 183+#undef HAVE_SYS_BSDTTY_H
184+#undef HAVE_OS_H
9a068959
JB
185
186 /*
187 * Convert to SCHILY name
4ac6d9e0 188@@ -108,13 +108,13 @@
189 #endif
190
191 #ifdef HAVE_ELF_H
192-#define HAVE_ELF /* This system uses ELF */
193+#define HAVE_ELF
194 #else
195 # ifdef HAVE_AOUTHDR_H
196-# define HAVE_COFF /* This system uses COFF */
197+# define HAVE_COFF
198 # else
199 # ifdef HAVE_A_OUT_H
200-# define HAVE_AOUT /* This system uses AOUT */
201+# define HAVE_AOUT
202 # endif
203 # endif
204 #endif
205@@ -122,122 +122,122 @@
9a068959
JB
206 /*
207 * Library Functions
208 */
209-#undef HAVE_STRERROR /* strerror() is present in libc */
210-#undef HAVE_MEMMOVE /* memmove() is present in libc */
4ac6d9e0 211-#undef HAVE_MADVISE /* madvise() is present in libc */
212-#undef HAVE_MLOCK /* mlock() is present in libc */
9a068959
JB
213-#undef HAVE_MLOCKALL /* working mlockall() is present in libc */
214-#undef HAVE_MMAP /* working mmap() is present in libc */
215-#undef _MMAP_WITH_SIZEP /* mmap() needs address of size parameter */
216-#undef HAVE_FLOCK /* *BSD flock() is present in libc */
217-#undef HAVE_LOCKF /* lockf() is present in libc (XOPEN) */
218-#undef HAVE_FCNTL_LOCKF /* file locking via fcntl() is present in libc */
219-#undef HAVE_FCHDIR /* fchdir() is present in libc */
220-#undef HAVE_STATVFS /* statvfs() is present in libc */
221-#undef HAVE_QUOTACTL /* quotactl() is present in libc */
222-#undef HAVE_QUOTAIOCTL /* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */
223-#undef HAVE_SETREUID /* setreuid() is present in libc */
224-#undef HAVE_SETRESUID /* setresuid() is present in libc */
225-#undef HAVE_SETEUID /* seteuid() is present in libc */
226-#undef HAVE_SETUID /* setuid() is present in libc */
227-#undef HAVE_SETREGID /* setregid() is present in libc */
228-#undef HAVE_SETRESGID /* setresgid() is present in libc */
229-#undef HAVE_SETEGID /* setegid() is present in libc */
230-#undef HAVE_SETGID /* setgid() is present in libc */
231-#undef HAVE_GETPGID /* getpgid() is present in libc (POSIX) */
232-#undef HAVE_SETPGID /* setpgid() is present in libc (POSIX) */
233-#undef HAVE_GETPGRP /* getpgrp() is present in libc (ANY) */
234-#undef HAVE_SETPGRP /* setpgrp() is present in libc (ANY) */
235-#undef HAVE_BSD_GETPGRP /* getpgrp() in libc is BSD-4.2 compliant */
236-#undef HAVE_BSD_SETPGRP /* setpgrp() in libc is BSD-4.2 compliant */
237-#undef HAVE_GETSPNAM /* getspnam() in libc (SVR4 compliant) */
238-#undef HAVE_GETSPWNAM /* getspwnam() in libsec.a (HP-UX) */
239-#undef HAVE_SYNC /* sync() is present in libc */
240-#undef HAVE_FSYNC /* fsync() is present in libc */
241-#undef HAVE_WAIT3 /* working wait3() is present in libc */
242-#undef HAVE_WAIT4 /* wait4() is present in libc */
243-#undef HAVE_WAITID /* waitid() is present in libc */
244-#undef HAVE_WAITPID /* waitpid() is present in libc */
245-#undef HAVE_GETHOSTID /* gethostid() is present in libc */
246-#undef HAVE_GETHOSTNAME /* gethostname() is present in libc */
247-#undef HAVE_GETDOMAINNAME /* getdomainname() is present in libc */
248-#undef HAVE_GETPAGESIZE /* getpagesize() is present in libc */
4ac6d9e0 249-#undef HAVE_GETDTABLESIZE /* getdtablesize() is present in libc */
9a068959 250-#undef HAVE_GETRUSAGE /* getrusage() is present in libc */
4ac6d9e0 251-#undef HAVE_GETRLIMIT /* getrlimit() is present in libc */
252-#undef HAVE_SETRLIMIT /* setrlimit() is present in libc */
253-#undef HAVE_ULIMIT /* ulimit() is present in libc */
254-#undef HAVE_GETTIMEOFDAY /* gettimeofday() is present in libc */
255-#undef HAVE_SETTIMEOFDAY /* settimeofday() is present in libc */
256-#undef HAVE_TIME /* time() is present in libc */
257-#undef HAVE_STIME /* stime() is present in libc */
9a068959
JB
258-#undef HAVE_POLL /* poll() is present in libc */
259-#undef HAVE_SELECT /* select() is present in libc */
260-#undef HAVE_LCHOWN /* lchown() is present in libc */
261-#undef HAVE_BRK /* brk() is present in libc */
262-#undef HAVE_SBRK /* sbrk() is present in libc */
263-#undef HAVE_VA_COPY /* va_copy() is present in varargs.h/stdarg.h */
264-#undef HAVE__VA_COPY /* __va_copy() is present in varargs.h/stdarg.h */
265-#undef HAVE_DTOA /* BSD-4.4 __dtoa() is present in libc */
266-#undef HAVE_DTOA_R /* BSD-4.4 __dtoa() with result ptr (reentrant) */
267-#undef HAVE_GETCWD /* POSIX getcwd() is present in libc */
268-#undef HAVE_SMMAP /* may map anonymous memory to get shared mem */
269-#undef HAVE_SHMAT /* shmat() is present in libc */
270-#undef HAVE_SEMGET /* semget() is present in libc */
271-#undef HAVE_LSTAT /* lstat() is present in libc */
272-#undef HAVE_READLINK /* readlink() is present in libc */
273-#undef HAVE_LINK /* link() is present in libc */
274-#undef HAVE_RENAME /* rename() is present in libc */
275-#undef HAVE_MKFIFO /* mkfifo() is present in libc */
276-#undef HAVE_MKNOD /* mknod() is present in libc */
277-#undef HAVE_ECVT /* ecvt() is present in libc */
278-#undef HAVE_FCVT /* fcvt() is present in libc */
279-#undef HAVE_GCVT /* gcvt() is present in libc */
280-#undef HAVE_ECVT_R /* ecvt_r() is present in libc */
281-#undef HAVE_FCVT_R /* fcvt_r() is present in libc */
282-#undef HAVE_GCVT_R /* gcvt_r() is present in libc */
283-#undef HAVE_ECONVERT /* econvert() is present in libc */
284-#undef HAVE_FCONVERT /* fconvert() is present in libc */
285-#undef HAVE_GCONVERT /* gconvert() is present in libc */
286-#undef HAVE_ISINF /* isinf() is present in libc */
287-#undef HAVE_ISNAN /* isnan() is present in libc */
288-#undef HAVE_RAND /* rand() is present in libc */
289-#undef HAVE_DRAND48 /* drand48() is present in libc */
290-#undef HAVE_SETPRIORITY /* setpriority() is present in libc */
291-#undef HAVE_NICE /* nice() is present in libc */
292-#undef HAVE_DOSSETPRIORITY /* DosSetPriority() is present in libc */
293-#undef HAVE_DOSALLOCSHAREDMEM /* DosAllocSharedMem() is present in libc */
294-#undef HAVE_SEEKDIR /* seekdir() is present in libc */
295-#undef HAVE_PUTENV /* putenv() is present in libc (preferred function) */
296-#undef HAVE_SETENV /* setenv() is present in libc (use instead of putenv()) */
297-#undef HAVE_UNAME /* uname() is present in libc */
298-#undef HAVE_SNPRINTF /* snprintf() is present in libc */
299-#undef HAVE_STRCASECMP /* strcasecmp() is present in libc */
4ac6d9e0 300-#undef HAVE_STRDUP /* strdup() is present in libc */
9a068959
JB
301-#undef HAVE_STRSIGNAL /* strsignal() is present in libc */
302-#undef HAVE_STR2SIG /* str2sig() is present in libc */
303-#undef HAVE_SIG2STR /* sig2str() is present in libc */
304-#undef HAVE_KILLPG /* killpg() is present in libc */
305-#undef HAVE_SIGRELSE /* sigrelse() is present in libc */
306-#undef HAVE_SIGPROCMASK /* sigprocmask() is present in libc (POSIX) */
307-#undef HAVE_SIGSETMASK /* sigsetmask() is present in libc (BSD) */
4ac6d9e0 308-#undef HAVE_SIGSET /* sigset() is present in libc (POSIX) */
9a068959
JB
309-#undef HAVE_SYS_SIGLIST /* char *sys_siglist[] is present in libc */
310-#undef HAVE_NANOSLEEP /* nanosleep() is present in libc */
311-#undef HAVE_USLEEP /* usleep() is present in libc */
312-#undef HAVE_FORK /* fork() is present in libc */
4ac6d9e0 313-#undef HAVE_EXECL /* execl() is present in libc */
314-#undef HAVE_EXECLE /* execle() is present in libc */
315-#undef HAVE_EXECV /* execv() is present in libc */
316-#undef HAVE_EXECVE /* execve() is present in libc */
317-#undef HAVE_EXECVP /* execvp() is present in libc */
9a068959
JB
318-#undef HAVE_VALLOC /* valloc() is present in libc (else use malloc())*/
319+#undef HAVE_STRERROR
320+#undef HAVE_MEMMOVE
4ac6d9e0 321+#undef HAVE_MADVISE
322+#undef HAVE_MLOCK
9a068959
JB
323+#undef HAVE_MLOCKALL
324+#undef HAVE_MMAP
325+#undef _MMAP_WITH_SIZEP
326+#undef HAVE_FLOCK
327+#undef HAVE_LOCKF
328+#undef HAVE_FCNTL_LOCKF
329+#undef HAVE_FCHDIR
330+#undef HAVE_STATVFS
331+#undef HAVE_QUOTACTL
332+#undef HAVE_QUOTAIOCTL
333+#undef HAVE_SETREUID
334+#undef HAVE_SETRESUID
335+#undef HAVE_SETEUID
336+#undef HAVE_SETUID
337+#undef HAVE_SETREGID
338+#undef HAVE_SETRESGID
339+#undef HAVE_SETEGID
340+#undef HAVE_SETGID
341+#undef HAVE_GETPGID
342+#undef HAVE_SETPGID
343+#undef HAVE_GETPGRP
344+#undef HAVE_SETPGRP
345+#undef HAVE_BSD_GETPGRP
346+#undef HAVE_BSD_SETPGRP
347+#undef HAVE_GETSPNAM
348+#undef HAVE_GETSPWNAM
349+#undef HAVE_SYNC
350+#undef HAVE_FSYNC
351+#undef HAVE_WAIT3
352+#undef HAVE_WAIT4
353+#undef HAVE_WAITID
354+#undef HAVE_WAITPID
355+#undef HAVE_GETHOSTID
356+#undef HAVE_GETHOSTNAME
357+#undef HAVE_GETDOMAINNAME
358+#undef HAVE_GETPAGESIZE
4ac6d9e0 359+#undef HAVE_GETDTABLESIZE
9a068959 360+#undef HAVE_GETRUSAGE
4ac6d9e0 361+#undef HAVE_GETRLIMIT
362+#undef HAVE_SETRLIMIT
363+#undef HAVE_ULIMIT
364+#undef HAVE_GETTIMEOFDAY
365+#undef HAVE_SETTIMEOFDAY
366+#undef HAVE_TIME
367+#undef HAVE_STIME
9a068959
JB
368+#undef HAVE_POLL
369+#undef HAVE_SELECT
370+#undef HAVE_LCHOWN
371+#undef HAVE_BRK
372+#undef HAVE_SBRK
373+#undef HAVE_VA_COPY
374+#undef HAVE__VA_COPY
375+#undef HAVE_DTOA
376+#undef HAVE_DTOA_R
377+#undef HAVE_GETCWD
378+#undef HAVE_SMMAP
379+#undef HAVE_SHMAT
380+#undef HAVE_SEMGET
381+#undef HAVE_LSTAT
382+#undef HAVE_READLINK
383+#undef HAVE_LINK
384+#undef HAVE_RENAME
385+#undef HAVE_MKFIFO
386+#undef HAVE_MKNOD
387+#undef HAVE_ECVT
388+#undef HAVE_FCVT
389+#undef HAVE_GCVT
390+#undef HAVE_ECVT_R
391+#undef HAVE_FCVT_R
392+#undef HAVE_GCVT_R
393+#undef HAVE_ECONVERT
394+#undef HAVE_FCONVERT
395+#undef HAVE_GCONVERT
396+#undef HAVE_ISINF
397+#undef HAVE_ISNAN
398+#undef HAVE_RAND
399+#undef HAVE_DRAND48
400+#undef HAVE_SETPRIORITY
401+#undef HAVE_NICE
402+#undef HAVE_DOSSETPRIORITY
403+#undef HAVE_DOSALLOCSHAREDMEM
404+#undef HAVE_SEEKDIR
405+#undef HAVE_PUTENV
406+#undef HAVE_SETENV
407+#undef HAVE_UNAME
408+#undef HAVE_SNPRINTF
409+#undef HAVE_STRCASECMP
4ac6d9e0 410+#undef HAVE_STRDUP
9a068959
JB
411+#undef HAVE_STRSIGNAL
412+#undef HAVE_STR2SIG
413+#undef HAVE_SIG2STR
414+#undef HAVE_KILLPG
415+#undef HAVE_SIGRELSE
416+#undef HAVE_SIGPROCMASK
417+#undef HAVE_SIGSETMASK
4ac6d9e0 418+#undef HAVE_SIGSET
9a068959
JB
419+#undef HAVE_SYS_SIGLIST
420+#undef HAVE_NANOSLEEP
421+#undef HAVE_USLEEP
422+#undef HAVE_FORK
4ac6d9e0 423+#undef HAVE_EXECL
424+#undef HAVE_EXECLE
425+#undef HAVE_EXECV
426+#undef HAVE_EXECVE
427+#undef HAVE_EXECVP
9a068959
JB
428+#undef HAVE_VALLOC
429 #undef vfork
430
4ac6d9e0 431-#undef HAVE_CHFLAGS /* chflags() is present in libc */
432-#undef HAVE_FCHFLAGS /* fchflags() is present in libc */
433-#undef HAVE_FFLAGSTOSTR /* fflagstostr() is present in libc */
434-#undef HAVE_STRTOFFLAGS /* strtofflags() is present in libc */
435+#undef HAVE_CHFLAGS
436+#undef HAVE_FCHFLAGS
437+#undef HAVE_FFLAGSTOSTR
438+#undef HAVE_STRTOFFLAGS
439
440 /*
441 * Important: This must be a result from a check _before_ the Large File test
442@@ -249,14 +249,14 @@
443 * Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure
444 * they are placed before the large file tests.
445 */
446-#undef HAVE_FSEEKO /* fseeko() is present in default compile mode */
447-#undef HAVE_FTELLO /* ftello() is present in default compile mode */
448+#undef HAVE_FSEEKO
449+#undef HAVE_FTELLO
450
451-#undef HAVE_RCMD /* rcmd() is present in libc/libsocket */
452-#undef HAVE_INET_NTOA /* inet_ntoa() is present in libc/libsocket */
453+#undef HAVE_RCMD
454+#undef HAVE_INET_NTOA
455
9a068959 456 #if defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL)
4ac6d9e0 457-# define HAVE_QUOTA /* The system inludes quota */
458+# define HAVE_QUOTA
459 #endif
460
461 /*
462@@ -265,52 +265,52 @@
463 * from the BSD compile environment.
464 */
465 #if defined(HAVE_SHMAT) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
466-# define HAVE_USGSHM /* USG shared memory is present */
467+# define HAVE_USGSHM
468 #endif
469 #if defined(HAVE_SEMGET) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
470-# define HAVE_USGSEM /* USG semaphores are present */
471+# define HAVE_USGSEM
472 #endif
473
474 #if defined(HAVE_GETPGRP) && !defined(HAVE_BSD_GETPGRP)
475-#define HAVE_POSIX_GETPGRP 1 /* getpgrp() in libc is POSIX compliant */
476+#define HAVE_POSIX_GETPGRP 1
477 #endif
478 #if defined(HAVE_SETPGRP) && !defined(HAVE_BSD_SETPGRP)
479-#define HAVE_POSIX_SETPGRP 1 /* setpgrp() in libc is POSIX compliant */
480+#define HAVE_POSIX_SETPGRP 1
481 #endif
482
9a068959
JB
483 /*
484 * Structures
485 */
486-#undef HAVE_MTGET_TYPE /* if struct mtget contains mt_type (drive type) */
487-#undef HAVE_MTGET_DSREG /* if struct mtget contains mt_dsreg (drive status) */
488-#undef HAVE_MTGET_ERREG /* if struct mtget contains mt_erreg (error register) */
489-#undef HAVE_MTGET_RESID /* if struct mtget contains mt_resid (residual count) */
490-#undef HAVE_MTGET_FILENO /* if struct mtget contains mt_fileno (file #) */
491-#undef HAVE_MTGET_BLKNO /* if struct mtget contains mt_blkno (block #) */
492-#undef HAVE_MTGET_FLAGS /* if struct mtget contains mt_flags (flags) */
493-#undef HAVE_MTGET_BF /* if struct mtget contains mt_bf (optimum blocking factor) */
494-#undef HAVE_STRUCT_RUSAGE /* have struct rusage in sys/resource.h */
495-#undef HAVE_UNION_SEMUN /* have an illegal definition for union semun in sys/sem.h */
496-#undef HAVE_UNION_WAIT /* have union wait in wait.h */
497-#undef HAVE_ST_SPARE1 /* if struct stat contains st_spare1 (usecs) */
498-#undef HAVE_ST_NSEC /* if struct stat contains st_atim.st_nsec (nanosecs */
499-#undef HAVE_ST_BLKSIZE /* if struct stat contains st_blksize */
500-#undef HAVE_ST_BLOCKS /* if struct stat contains st_blocks */
501-#undef HAVE_ST_RDEV /* if struct stat contains st_rdev */
4ac6d9e0 502-#undef HAVE_ST_FLAGS /* if struct stat contains st_flags */
9a068959
JB
503-#undef STAT_MACROS_BROKEN /* if the macros S_ISDIR, S_ISREG .. don't work */
504+#undef HAVE_MTGET_TYPE
505+#undef HAVE_MTGET_DSREG
506+#undef HAVE_MTGET_ERREG
507+#undef HAVE_MTGET_RESID
508+#undef HAVE_MTGET_FILENO
509+#undef HAVE_MTGET_BLKNO
510+#undef HAVE_MTGET_FLAGS
511+#undef HAVE_MTGET_BF
512+#undef HAVE_STRUCT_RUSAGE
513+#undef HAVE_UNION_SEMUN
514+#undef HAVE_UNION_WAIT
515+#undef HAVE_ST_SPARE1
516+#undef HAVE_ST_NSEC
517+#undef HAVE_ST_BLKSIZE
518+#undef HAVE_ST_BLOCKS
519+#undef HAVE_ST_RDEV
4ac6d9e0 520+#undef HAVE_ST_FLAGS
9a068959
JB
521+#undef STAT_MACROS_BROKEN
522
523-#undef DEV_MINOR_BITS /* # if bits needed to hold minor device number */
524-#undef DEV_MINOR_NONCONTIG /* if bits in minor device number are noncontiguous */
525+#undef DEV_MINOR_BITS
526+#undef DEV_MINOR_NONCONTIG
527
528
529 /*
530 * Byteorder/Bitorder
531 */
532-#define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */
533-#undef WORDS_BIGENDIAN /* If using network byte order */
534-#define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */
535-#undef BITFIELDS_HTOL /* If high bits come first in structures */
536+#define HAVE_C_BIGENDIAN
537+#undef WORDS_BIGENDIAN
538+#define HAVE_C_BITFIELDS
539+#undef BITFIELDS_HTOL
540
541 /*
542 * Types/Keywords
4ac6d9e0 543@@ -328,24 +328,24 @@
9a068959
JB
544 #undef SIZEOF_UNSIGNED_LONG_LONG
545 #undef SIZEOF_UNSIGNED_CHAR_P
546
547-#undef HAVE_LONGLONG /* Compiler defines long long type */
548-#undef CHAR_IS_UNSIGNED /* Compiler defines char to be unsigned */
549+#undef HAVE_LONGLONG
550+#undef CHAR_IS_UNSIGNED
551
552-#undef const /* Define to empty if const doesn't work */
553-#undef uid_t /* To be used if uid_t is not present */
4ac6d9e0 554-#undef gid_t /* To be used if gid_t is not present */
9a068959 555-#undef size_t /* To be used if size_t is not present */
4ac6d9e0 556-#undef ssize_t /* To be used if ssize_t is not present */
9a068959
JB
557-#undef pid_t /* To be used if pid_t is not present */
558-#undef off_t /* To be used if off_t is not present */
559-#undef mode_t /* To be used if mode_t is not present */
560-#undef time_t /* To be used if time_t is not present */
561-#undef caddr_t /* To be used if caddr_t is not present */
562-#undef daddr_t /* To be used if daddr_t is not present */
563-#undef dev_t /* To be used if dev_t is not present */
4ac6d9e0 564-#undef ino_t /* To be used if ino_t is not present */
565-#undef nlink_t /* To be used if nlink_t is not present */
9a068959
JB
566-#undef socklen_t /* To be used if socklen_t is not present */
567+#undef const
568+#undef uid_t
4ac6d9e0 569+#undef gid_t
9a068959 570+#undef size_t
4ac6d9e0 571+#undef ssize_t
9a068959
JB
572+#undef pid_t
573+#undef off_t
574+#undef mode_t
575+#undef time_t
576+#undef caddr_t
577+#undef daddr_t
578+#undef dev_t
4ac6d9e0 579+#undef ino_t
580+#undef nlink_t
9a068959
JB
581+#undef socklen_t
582
583 /*
584 * These types are present on all UNIX systems but should be avoided
4ac6d9e0 585@@ -354,14 +354,14 @@
9a068959
JB
586 *
587 * Better include <utypes.h> and use Uchar, Uint & Ulong
588 */
589-#undef u_char /* To be used if u_char is not present */
590-#undef u_short /* To be used if u_short is not present */
591-#undef u_int /* To be used if u_int is not present */
592-#undef u_long /* To be used if u_long is not present */
593+#undef u_char
594+#undef u_short
595+#undef u_int
596+#undef u_long
597
598 /*#undef HAVE_SIZE_T*/
599 /*#undef NO_SIZE_T*/
600-#undef VA_LIST_IS_ARRAY /* va_list is an array */
601+#undef VA_LIST_IS_ARRAY
602 #undef GETGROUPS_T
603 #define GID_T GETGROUPS_T
604
4ac6d9e0 605@@ -377,74 +377,74 @@
9a068959
JB
606
607 #undef HAVE_LARGEFILES
608
609-#ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
610+#ifdef HAVE_LARGEFILES
611 /* This is not defined with glibc-2.1.3 */
612
613-#undef _FILE_OFFSET_BITS /* # of bits in off_t if settable */
614-#undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */
615-#undef _LARGE_FILES /* Large file defined on AIX-style hosts. */
616-#undef _XOPEN_SOURCE /* To make ftello() visible (glibc 2.1.3). */
617+#undef _FILE_OFFSET_BITS
618+#undef _LARGEFILE_SOURCE
619+#undef _LARGE_FILES
620+#undef _XOPEN_SOURCE
621 /* XXX We don't use this because glibc2.1.3*/
622 /* XXX is bad anyway. If we define */
623 /* XXX _XOPEN_SOURCE we will loose caddr_t */
624
625-#undef HAVE_FSEEKO /* Do we need this? If HAVE_LARGEFILES is */
626+#undef HAVE_FSEEKO
627 /* defined, we have fseeko() */
628
629 #endif /* HAVE_LARGEFILES */
4ac6d9e0 630 #endif /* USE_LARGEFILES */
631
632-#ifdef USE_ACL /* Enable/disable ACL support */
633+#ifdef USE_ACL
634 /*
635 * POSIX ACL support
636 */
637-#undef HAVE_ACL_GET_FILE /* acl_get_file() function */
638-#undef HAVE_ACL_SET_FILE /* acl_set_file() function */
639-#undef HAVE_ACL_FROM_TEXT /* acl_from_text() function */
640-#undef HAVE_ACL_TO_TEXT /* acl_to_text() function */
641-#undef HAVE_ACL_FREE /* acl_free() function */
642-#undef HAVE_ACL_DELETE_DEF_FILE /* acl_delete_def_file() function */
643+#undef HAVE_ACL_GET_FILE
644+#undef HAVE_ACL_SET_FILE
645+#undef HAVE_ACL_FROM_TEXT
646+#undef HAVE_ACL_TO_TEXT
647+#undef HAVE_ACL_FREE
648+#undef HAVE_ACL_DELETE_DEF_FILE
649
650 #if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \
651 defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \
652 defined(HAVE_ACL_FREE)
653-# define HAVE_POSIX_ACL 1 /* POSIX ACL's present */
654+# define HAVE_POSIX_ACL 1
655 #endif
656
657 /*
658 * Sun ACL support.
659 * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
660 */
661-#undef HAVE_ACL /* acl() function */
662-#undef HAVE_FACL /* facl() function */
663-#undef HAVE_ACLFROMTEXT /* aclfromtext() function */
664-#undef HAVE_ACLTOTEXT /* acltotext() function */
665+#undef HAVE_ACL
666+#undef HAVE_FACL
667+#undef HAVE_ACLFROMTEXT
668+#undef HAVE_ACLTOTEXT
669
670 #if defined(HAVE_ACL) && defined(HAVE_FACL) && \
671 defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT)
672-# define HAVE_SUN_ACL 1 /* Sun ACL's present */
673+# define HAVE_SUN_ACL 1
674 #endif
675
676 /*
677 * HP-UX ACL support.
678 * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
679 */
680-#undef HAVE_GETACL /* getacl() function */
681-#undef HAVE_FGETACL /* fgetacl() function */
682-#undef HAVE_SETACL /* setacl() function */
683-#undef HAVE_FSETACL /* fsetacl() function */
684-#undef HAVE_STRTOACL /* strtoacl() function */
685-#undef HAVE_ACLTOSTR /* acltostr() function */
686-#undef HAVE_CPACL /* cpacl() function */
687-#undef HAVE_FCPACL /* fcpacl() function */
688-#undef HAVE_CHOWNACL /* chownacl() function */
689-#undef HAVE_SETACLENTRY /* setaclentry() function */
690-#undef HAVE_FSETACLENTRY /* fsetaclentry() function */
691+#undef HAVE_GETACL
692+#undef HAVE_FGETACL
693+#undef HAVE_SETACL
694+#undef HAVE_FSETACL
695+#undef HAVE_STRTOACL
696+#undef HAVE_ACLTOSTR
697+#undef HAVE_CPACL
698+#undef HAVE_FCPACL
699+#undef HAVE_CHOWNACL
700+#undef HAVE_SETACLENTRY
701+#undef HAVE_FSETACLENTRY
702
703 #if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \
704 defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \
705 defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT)
706-# define HAVE_HP_ACL 1 /* HP-UX ACL's present */
707+# define HAVE_HP_ACL 1
708 #endif
709
710 /*
711@@ -453,7 +453,7 @@
712 * included in HAVE_ANY_ACL.
713 */
714 #if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL)
715-# define HAVE_ANY_ACL 1 /* Any ACL implementation present */
716+# define HAVE_ANY_ACL 1
717 #endif
718
719 #endif /* USE_ACL */
720@@ -461,16 +461,16 @@
9a068959
JB
721 /*
722 * Misc CC / LD related stuff
723 */
724-#undef NO_USER_MALLOC /* If we cannot define our own malloc() */
725+#undef NO_USER_MALLOC
726
727 /*
728 * Strings that help to maintain OS/platform id's in C-programs
729 */
730-#undef HOST_ALIAS /* Output from config.guess (orig) */
731-#undef HOST_SUB /* Output from config.sub (modified) */
732-#undef HOST_CPU /* CPU part from HOST_SUB */
733-#undef HOST_VENDOR /* VENDOR part from HOST_SUB */
734-#undef HOST_OS /* CPU part from HOST_SUB */
735+#undef HOST_ALIAS
736+#undef HOST_SUB
737+#undef HOST_CPU
738+#undef HOST_VENDOR
739+#undef HOST_OS
4ac6d9e0 740
741
742 /*
743--- cdrtools-1.11/conf/aclocal.m4.orig Sat Mar 23 21:39:26 2002
744+++ cdrtools-1.11/conf/aclocal.m4 Wed Apr 24 22:39:46 2002
745@@ -17,7 +17,7 @@
746
747 dnl Checks if structure 'stat' have field 'st_spare1'.
748 dnl Defines HAVE_ST_SPARE1 on success.
749-AC_DEFUN(AC_STRUCT_ST_SPARE1,
750+AC_DEFUN([AC_STRUCT_ST_SPARE1],
751 [AC_CACHE_CHECK([if struct stat contains st_spare1], ac_cv_struct_st_spare1,
752 [AC_TRY_COMPILE([#include <sys/types.h>
753 #include <sys/stat.h>],
754@@ -30,7 +30,7 @@
755
756 dnl Checks if structure 'stat' have field 'st_atim.tv_nsec'.
757 dnl Defines HAVE_ST_NSEC on success.
758-AC_DEFUN(AC_STRUCT_ST_NSEC,
759+AC_DEFUN([AC_STRUCT_ST_NSEC],
760 [AC_CACHE_CHECK([if struct stat contains st_atim.tv_nsec], ac_cv_struct_st_nsec,
761 [AC_TRY_COMPILE([#include <sys/types.h>
762 #include <sys/stat.h>],
763@@ -43,7 +43,7 @@
764
765 dnl Checks if structure 'stat' have field 'st_flags'.
766 dnl Defines HAVE_ST_FLAGS on success.
767-AC_DEFUN(AC_STRUCT_ST_FLAGS,
768+AC_DEFUN([AC_STRUCT_ST_FLAGS],
769 [AC_CACHE_CHECK([if struct stat contains st_flags], ac_cv_struct_st_flags,
770 [AC_TRY_COMPILE([#include <sys/types.h>
771 #include <sys/stat.h>],
772@@ -56,7 +56,7 @@
773
774 dnl Checks if structure 'mtget' have field 'mt_type'.
775 dnl Defines HAVE_MTGET_TYPE on success.
776-AC_DEFUN(AC_STRUCT_MTGET_TYPE,
777+AC_DEFUN([AC_STRUCT_MTGET_TYPE],
778 [AC_CACHE_CHECK([if struct mtget contains mt_type], ac_cv_struct_mtget_type,
779 [AC_TRY_COMPILE([#include <sys/types.h>
780 #include <sys/mtio.h>],
781@@ -69,7 +69,7 @@
782
783 dnl Checks if structure 'mtget' have field 'mt_dsreg'.
784 dnl Defines HAVE_MTGET_DSREG on success.
785-AC_DEFUN(AC_STRUCT_MTGET_DSREG,
786+AC_DEFUN([AC_STRUCT_MTGET_DSREG],
787 [AC_CACHE_CHECK([if struct mtget contains mt_dsreg], ac_cv_struct_mtget_dsreg,
788 [AC_TRY_COMPILE([#include <sys/types.h>
789 #include <sys/mtio.h>],
790@@ -82,7 +82,7 @@
791
792 dnl Checks if structure 'mtget' have field 'mt_erreg'.
793 dnl Defines HAVE_MTGET_ERREG on success.
794-AC_DEFUN(AC_STRUCT_MTGET_ERREG,
795+AC_DEFUN([AC_STRUCT_MTGET_ERREG],
796 [AC_CACHE_CHECK([if struct mtget contains mt_erreg], ac_cv_struct_mtget_erreg,
797 [AC_TRY_COMPILE([#include <sys/types.h>
798 #include <sys/mtio.h>],
799@@ -95,7 +95,7 @@
800
801 dnl Checks if structure 'mtget' have field 'mt_resid'.
802 dnl Defines HAVE_MTGET_RESID on success.
803-AC_DEFUN(AC_STRUCT_MTGET_RESID,
804+AC_DEFUN([AC_STRUCT_MTGET_RESID],
805 [AC_CACHE_CHECK([if struct mtget contains mt_resid], ac_cv_struct_mtget_resid,
806 [AC_TRY_COMPILE([#include <sys/types.h>
807 #include <sys/mtio.h>],
808@@ -108,7 +108,7 @@
809
810 dnl Checks if structure 'mtget' have field 'mt_fileno'.
811 dnl Defines HAVE_MTGET_FILENO on success.
812-AC_DEFUN(AC_STRUCT_MTGET_FILENO,
813+AC_DEFUN([AC_STRUCT_MTGET_FILENO],
814 [AC_CACHE_CHECK([if struct mtget contains mt_fileno],
815 ac_cv_struct_mtget_fileno,
816 [AC_TRY_COMPILE([#include <sys/types.h>
817@@ -122,7 +122,7 @@
818
819 dnl Checks if structure 'mtget' have field 'mt_blkno'.
820 dnl Defines HAVE_MTGET_BLKNO on success.
821-AC_DEFUN(AC_STRUCT_MTGET_BLKNO,
822+AC_DEFUN([AC_STRUCT_MTGET_BLKNO],
823 [AC_CACHE_CHECK([if struct mtget contains mt_blkno], ac_cv_struct_mtget_blkno,
824 [AC_TRY_COMPILE([#include <sys/types.h>
825 #include <sys/mtio.h>],
826@@ -135,7 +135,7 @@
827
828 dnl Checks if structure 'mtget' have field 'mt_flags'.
829 dnl Defines HAVE_MTGET_FLAGS on success.
830-AC_DEFUN(AC_STRUCT_MTGET_FLAGS,
831+AC_DEFUN([AC_STRUCT_MTGET_FLAGS],
832 [AC_CACHE_CHECK([if struct mtget contains mt_flags], ac_cv_struct_mtget_flags,
833 [AC_TRY_COMPILE([#include <sys/types.h>
834 #include <sys/mtio.h>],
835@@ -148,7 +148,7 @@
836
837 dnl Checks if structure 'mtget' have field 'mt_bf'.
838 dnl Defines HAVE_MTGET_BF on success.
839-AC_DEFUN(AC_STRUCT_MTGET_BF,
840+AC_DEFUN([AC_STRUCT_MTGET_BF],
841 [AC_CACHE_CHECK([if struct mtget contains mt_bf], ac_cv_struct_mtget_bf,
842 [AC_TRY_COMPILE([#include <sys/types.h>
843 #include <sys/mtio.h>],
844@@ -161,7 +161,7 @@
845
846 dnl Checks for illegal declaration of 'union semun' in sys/sem.h.
847 dnl Defines HAVE_UNION_SEMUN on success.
848-AC_DEFUN(AC_STRUCT_UNION_SEMUN,
849+AC_DEFUN([AC_STRUCT_UNION_SEMUN],
850 [AC_CACHE_CHECK([if an illegal declaration for union semun in sys/sem.h exists], ac_cv_struct_union_semun,
851 [AC_TRY_COMPILE([#include <sys/types.h>
852 #include <sys/ipc.h>
853@@ -174,7 +174,7 @@
854
855 dnl Checks if 'union wait' is declared in 'wait.h' or 'sys/wait.h'.
856 dnl Defines HAVE_UNION_WAIT on success.
857-AC_DEFUN(AC_STRUCT_UNION_WAIT,
858+AC_DEFUN([AC_STRUCT_UNION_WAIT],
859 [AC_CACHE_CHECK([if union wait is declared in wait.h or sys/wait.h], ac_cv_struct_union_wait,
860 [AC_TRY_COMPILE([#include <sys/types.h>
861 #if defined(HAVE_WAIT_H)
862@@ -190,7 +190,7 @@
863
864 dnl Checks if 'struct rusage' is declared in sys/resource.h.
865 dnl Defines HAVE_STRUCT_RUSAGE on success.
866-AC_DEFUN(AC_STRUCT_RUSAGE,
867+AC_DEFUN([AC_STRUCT_RUSAGE],
868 [AC_CACHE_CHECK([if struct rusage is declared in sys/resource.h], ac_cv_struct_rusage,
869 [AC_TRY_COMPILE([#include <sys/time.h>
870 #include <sys/resource.h>], [struct rusage r;],
871@@ -203,7 +203,7 @@
872 dnl Checks wether major(), minor() and makedev() are defined in
873 dnl 'sys/mkdev.h' or in 'sys/sysmacros.h. Defines MAJOR_IN_MKDEV or
874 dnl MAJOR_IN_SYSMACROS or nothing.
875-AC_DEFUN(AC_HEADER_MAKEDEV,
876+AC_DEFUN([AC_HEADER_MAKEDEV],
877 [AC_CACHE_CHECK([for header file containing major(), minor() and makedev()],
878 ac_cv_header_makedev,
879 [ac_cv_header_makedev=none
880@@ -226,7 +226,7 @@
881
882 dnl Checks for USG derived STDIO that uses _filbuf()
883 dnl Defines HAVE__FILBUF on success.
884-AC_DEFUN(AC_HEADER__FILBUF,
885+AC_DEFUN([AC_HEADER__FILBUF],
886 [AC_CACHE_CHECK([for _filbuf()], ac_cv_func__filbuf,
887 [AC_TRY_LINK([#include <stdio.h>],
888 [FILE *f;
889@@ -251,7 +251,7 @@
890
891 dnl Checks for USG derived STDIO that uses __filbuf()
892 dnl Defines HAVE___FILBUF on success.
893-AC_DEFUN(AC_HEADER___FILBUF,
894+AC_DEFUN([AC_HEADER___FILBUF],
895 [AC_CACHE_CHECK([for __filbuf()], ac_cv_func___filbuf,
896 [AC_TRY_LINK([#include <stdio.h>],
897 [FILE *f;
898@@ -276,7 +276,7 @@
899
900 dnl Checks for USG derived STDIO
901 dnl Defines HAVE_USG_STDIO on success.
902-AC_DEFUN(AC_HEADER_USG_STDIO,
903+AC_DEFUN([AC_HEADER_USG_STDIO],
904 [AC_REQUIRE([AC_HEADER__FILBUF])AC_REQUIRE([AC_HEADER___FILBUF])dnl
905 AC_CACHE_CHECK([for USG derived STDIO], ac_cv_header_usg_stdio,
906 [AC_TRY_LINK([#include <stdio.h>],
907@@ -311,7 +311,7 @@
908
909 dnl Checks for errno definition in <errno.h>
910 dnl Defines HAVE_ERRNO_DEF on success.
911-AC_DEFUN(AC_HEADER_ERRNO_DEF,
912+AC_DEFUN([AC_HEADER_ERRNO_DEF],
913 [AC_CACHE_CHECK([for errno definition in errno.h], ac_cv_header_errno_def,
914 [AC_TRY_COMPILE([#include <errno.h>],
915 [errno = 0;],
916@@ -323,7 +323,7 @@
917
918 dnl Checks for UNIX-98 compliant <inttypes.h>
919 dnl Defines HAVE_INTTYPES_H on success.
920-AC_DEFUN(AC_HEADER_INTTYPES,
921+AC_DEFUN([AC_HEADER_INTTYPES],
922 [AC_CACHE_CHECK([for UNIX-98 compliant inttypes.h], ac_cv_header_inttypes,
923 [AC_TRY_COMPILE([#include <inttypes.h>],
924 [int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui;
925@@ -337,7 +337,7 @@
926
927 dnl Checks for type time_t
928 dnl Defines time_t to long on failure.
929-AC_DEFUN(AC_TYPE_TIME_T,
930+AC_DEFUN([AC_TYPE_TIME_T],
931 [AC_REQUIRE([AC_HEADER_TIME])dnl
932 AC_CACHE_CHECK([for time_t], ac_cv_type_time_t,
933 [AC_TRY_COMPILE([
934@@ -360,7 +360,7 @@
935
936 dnl Checks for type socklen_t
937 dnl Defines socklen_t to int on failure.
938-AC_DEFUN(AC_TYPE_SOCKLEN_T,
939+AC_DEFUN([AC_TYPE_SOCKLEN_T],
940 [AC_REQUIRE([AC_HEADER_STDC])dnl
941 AC_MSG_CHECKING(for socklen_t)
942 AC_CACHE_VAL(ac_cv_type_socklen_t,
943@@ -380,7 +380,7 @@
944
945 dnl Checks for type long long
946 dnl Defines HAVE_LONGLONG on success.
947-AC_DEFUN(AC_TYPE_LONGLONG,
948+AC_DEFUN([AC_TYPE_LONGLONG],
949 [AC_CACHE_CHECK([for type long long], ac_cv_type_longlong,
950 [AC_TRY_COMPILE([], [long long i;],
951 [ac_cv_type_longlong=yes],
952@@ -391,7 +391,7 @@
953
954 dnl Checks if C-compiler orders bitfields htol
955 dnl Defines BITFIELDS_HTOL on success.
956-AC_DEFUN(AC_C_BITFIELDS,
957+AC_DEFUN([AC_C_BITFIELDS],
958 [AC_CACHE_CHECK([whether bitorder in bitfields is htol], ac_cv_c_bitfields_htol,
959 [AC_TRY_RUN([
960 struct {
961@@ -414,7 +414,7 @@
962
963 dnl Checks if C-compiler understands prototypes
964 dnl Defines PROTOTYPES on success.
965-AC_DEFUN(AC_TYPE_PROTOTYPES,
966+AC_DEFUN([AC_TYPE_PROTOTYPES],
967 [AC_CACHE_CHECK([for prototypes], ac_cv_type_prototypes,
968 [AC_TRY_RUN([
969 doit(int i, ...)
970@@ -431,7 +431,7 @@
971
972 dnl Checks for type size_t
973 dnl Defines HAVE_SIZE_T_ on success.
974-AC_DEFUN(AC_TYPE_SIZE_T_,
975+AC_DEFUN([AC_TYPE_SIZE_T_],
976 [AC_CACHE_CHECK([for type size_t], ac_cv_type_size_t_,
977 [AC_TRY_COMPILE([#include <sys/types.h>], [size_t s;],
978 [ac_cv_type_size_t_=yes],
979@@ -444,7 +444,7 @@
980
981 dnl Checks if type char is unsigned
982 dnl Defines CHAR_IS_UNSIGNED on success.
983-AC_DEFUN(AC_TYPE_CHAR,
984+AC_DEFUN([AC_TYPE_CHAR],
985 [AC_CACHE_CHECK([if char is unsigned], ac_cv_type_char_unsigned,
986 [AC_TRY_RUN([
987 int
988@@ -463,7 +463,7 @@
989
990 dnl Checks if function/macro va_copy() is available
991 dnl Defines HAVE_VA_COPY on success.
992-AC_DEFUN(AC_FUNC_VA_COPY,
993+AC_DEFUN([AC_FUNC_VA_COPY],
994 [AC_CACHE_CHECK([for va_copy], ac_cv_func_va_copy,
995 [AC_TRY_LINK([
996 #ifdef HAVE_STDARG_H
997@@ -483,7 +483,7 @@
998
999 dnl Checks if function/macro __va_copy() is available
1000 dnl Defines HAVE__VA_COPY on success.
1001-AC_DEFUN(AC_FUNC__VA_COPY,
1002+AC_DEFUN([AC_FUNC__VA_COPY],
1003 [AC_CACHE_CHECK([for __va_copy], ac_cv_func__va_copy,
1004 [AC_TRY_LINK([
1005 #ifdef HAVE_STDARG_H
1006@@ -504,7 +504,7 @@
1007
1008 dnl Checks if va_list is an array
1009 dnl Defines VA_LIST_IS_ARRAY on success.
1010-AC_DEFUN(AC_TYPE_VA_LIST,
1011+AC_DEFUN([AC_TYPE_VA_LIST],
1012 [AC_CACHE_CHECK([if va_list is an array], ac_cv_type_va_list_array,
1013 [AC_TRY_LINK([
1014 #ifdef HAVE_STDARG_H
1015@@ -525,7 +525,7 @@
1016
1017 dnl Checks if quotactl is present as ioctl
1018 dnl Defines HAVE_QUOTAIOCTL on success.
1019-AC_DEFUN(AC_FUNC_QUOTAIOCTL,
1020+AC_DEFUN([AC_FUNC_QUOTAIOCTL],
1021 [AC_CACHE_CHECK([if quotactl is an ioctl], ac_cv_func_quotaioctl,
1022 [AC_TRY_LINK([#include <sys/types.h>
1023 #include <sys/fs/ufs_quota.h>],
1024@@ -538,7 +538,7 @@
1025
1026 dnl Checks if function __dtoa() is available
1027 dnl Defines HAVE_DTOA on success.
1028-AC_DEFUN(AC_FUNC_DTOA,
1029+AC_DEFUN([AC_FUNC_DTOA],
1030 [AC_CACHE_CHECK([for __dtoa], ac_cv_func_dtoa,
1031 [AC_TRY_LINK([extern char *__dtoa();],
1032 [int decpt; int sign; char *ep; char *bp;
1033@@ -551,7 +551,7 @@
1034
1035 dnl Checks if reentrant __dtoa() exists (needs a result prt)
1036 dnl Defines HAVE_DTOA_R on success.
1037-AC_DEFUN(AC_FUNC_DTOA_R,
1038+AC_DEFUN([AC_FUNC_DTOA_R],
1039 [AC_REQUIRE([AC_FUNC_DTOA])dnl
1040 AC_CACHE_CHECK([for __dtoa that needs result ptr], ac_cv_func_dtoa_r,
1041 [AC_TRY_RUN([
1042@@ -580,7 +580,7 @@
1043
1044 dnl Checks if working ecvt() exists
1045 dnl Defines HAVE_ECVT on success.
1046-AC_DEFUN(AC_FUNC_ECVT,
1047+AC_DEFUN([AC_FUNC_ECVT],
1048 [AC_CACHE_CHECK([for working ecvt() ], ac_cv_func_ecvt,
1049 [AC_TRY_RUN([
1050 extern char *ecvt();
1051@@ -607,7 +607,7 @@
1052
1053 dnl Checks if working fcvt() exists
1054 dnl Defines HAVE_FCVT on success.
1055-AC_DEFUN(AC_FUNC_FCVT,
1056+AC_DEFUN([AC_FUNC_FCVT],
1057 [AC_CACHE_CHECK([for working fcvt() ], ac_cv_func_fcvt,
1058 [AC_TRY_RUN([
1059 extern char *fcvt();
1060@@ -634,7 +634,7 @@
1061
1062 dnl Checks if working gcvt() exists
1063 dnl Defines HAVE_GCVT on success.
1064-AC_DEFUN(AC_FUNC_GCVT,
1065+AC_DEFUN([AC_FUNC_GCVT],
1066 [AC_CACHE_CHECK([for working gcvt() ], ac_cv_func_gcvt,
1067 [AC_TRY_RUN([
1068 extern char *gcvt();
1069@@ -661,7 +661,7 @@
1070
1071 dnl Checks if function uname() is available
1072 dnl Defines HAVE_UNAME on success.
1073-AC_DEFUN(AC_FUNC_UNAME,
1074+AC_DEFUN([AC_FUNC_UNAME],
1075 [AC_CACHE_CHECK([for uname], ac_cv_func_uname,
1076 [AC_TRY_LINK([#include <sys/utsname.h>],
1077 [struct utsname un;
1078@@ -675,7 +675,7 @@
1079 dnl Checks if function mlockall() is available
1080 dnl beware HP-UX 10.x it contains a bad mlockall() in libc
1081 dnl Defines HAVE_MLOCKALL on success.
1082-AC_DEFUN(AC_FUNC_MLOCKALL,
1083+AC_DEFUN([AC_FUNC_MLOCKALL],
1084 [AC_CACHE_CHECK([for mlockall], ac_cv_func_mlockall,
1085 [AC_TRY_RUN([
1086 #include <sys/types.h>
1087@@ -699,7 +699,7 @@
1088 AC_DEFINE(HAVE_MLOCKALL)
1089 fi])
1090
1091-AC_DEFUN(jsAC_FUNC_MMAP,
1092+AC_DEFUN([jsAC_FUNC_MMAP],
1093 [AC_REQUIRE([AC_MMAP_SIZEP])dnl
1094 AC_CHECK_HEADERS(unistd.h)
1095 AC_CHECK_FUNCS(getpagesize)
1096@@ -856,7 +856,7 @@
1097 fi
1098 ])
1099
1100-AC_DEFUN(AC_MMAP_SIZEP,
1101+AC_DEFUN([AC_MMAP_SIZEP],
1102 [AC_CHECK_HEADERS(unistd.h)
1103 AC_CHECK_FUNCS(getpagesize)
1104 AC_CACHE_CHECK(for mmap that needs ptr to size, ac_cv_func_mmap_sizep,
1105@@ -1006,7 +1006,7 @@
1106
1107 dnl Checks if mmap() works to get shared memory
1108 dnl Defines HAVE_SMMAP on success.
1109-AC_DEFUN(AC_FUNC_SMMAP,
1110+AC_DEFUN([AC_FUNC_SMMAP],
1111 [AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap,
1112 [AC_TRY_RUN([
1113 #include <sys/types.h>
1114@@ -1086,7 +1089,7 @@
1115
1116 dnl Checks if sys_siglist[] exists
1117 dnl Defines HAVE_SYS_SIGLIST on success.
1118-AC_DEFUN(AC_FUNC_SYS_SIGLIST,
1119+AC_DEFUN([AC_FUNC_SYS_SIGLIST],
1120 [AC_CACHE_CHECK([for sys_siglist], ac_cv_func_sys_siglist,
1121 [AC_TRY_RUN([
1122 int
1123@@ -1102,7 +1105,7 @@
1124 fi])
1125
1126 dnl Checks for maximum number of bits in minor device number
1127-AC_DEFUN(AC_CHECK_MINOR_BITS,
1128+AC_DEFUN([AC_CHECK_MINOR_BITS],
1129 [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl
1130 changequote(<<, >>)dnl
1131 define(<<AC_MACRO_NAME>>, DEV_MINOR_BITS)dnl
1132@@ -1169,7 +1172,7 @@
1133
1134 dnl Checks for maximum number of bits in minor device numbers are non contiguous
1135 dnl Defines DEV_MINOR_NONCONTIG on success.
1136-AC_DEFUN(AC_CHECK_MINOR_NONCONTIG,
1137+AC_DEFUN([AC_CHECK_MINOR_NONCONTIG],
1138 [AC_REQUIRE([AC_HEADER_MAKEDEV])dnl
1139 AC_CACHE_CHECK([whether bits in minor device numbers are non contiguous], ac_cv_dev_minor_noncontig,
1140 [AC_TRY_RUN([
1141@@ -1225,7 +1228,7 @@
1142
1143 dnl Checks if we may not define our own malloc()
1144 dnl Defines NO_USER_MALLOC if we cannot.
1145-AC_DEFUN(AC_USER_MALLOC,
1146+AC_DEFUN([AC_USER_MALLOC],
1147 [AC_CACHE_CHECK([if we may not define our own malloc()], ac_cv_no_user_malloc,
1148 [AC_TRY_LINK([
1149 char * malloc(x)
1150@@ -1242,7 +1245,7 @@
1151
1152 dnl Checks if BSD-4.2 compliant getpgrp() exists
1153 dnl Defines HAVE_BSD_GETPGRP on success.
1154-AC_DEFUN(AC_FUNC_BSD_GETPGRP,
1155+AC_DEFUN([AC_FUNC_BSD_GETPGRP],
1156 [AC_CACHE_CHECK([for BSD compliant getpgrp], ac_cv_func_bsd_getpgrp,
1157 [AC_TRY_RUN([
1158 int
1159@@ -1263,7 +1266,7 @@
1160
1161 dnl Checks if BSD-4.2 compliant setpgrp() exists
1162 dnl Defines HAVE_BSD_SETPGRP on success.
1163-AC_DEFUN(AC_FUNC_BSD_SETPGRP,
1164+AC_DEFUN([AC_FUNC_BSD_SETPGRP],
1165 [AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl
1166 AC_CACHE_CHECK([for BSD compliant setpgrp], ac_cv_func_bsd_setpgrp,
1167 [AC_TRY_RUN([
1168@@ -1288,7 +1291,7 @@
1169
1170 dnl Checks if select() needs more than sys/time.h & sys/types.h
1171 dnl Defines SELECT_NONSTD_HDR on success.
1172-AC_DEFUN(AC_HEADER_SELECT_NONSTD,
1173+AC_DEFUN([AC_HEADER_SELECT_NONSTD],
1174 [AC_CACHE_CHECK([if select needs nonstd include files], ac_cv_header_slect_nonstd_hdr,
1175 [AC_TRY_COMPILE([#include <sys/types.h>
1176 #include <sys/time.h>],
1177@@ -1301,7 +1304,7 @@
1178
1179 dnl Checks if select() needs sys/select.h
1180 dnl Defines NEED_SYS_SELECT_H on success.
1181-AC_DEFUN(AC_HEADER_SYS_SELECT,
1182+AC_DEFUN([AC_HEADER_SYS_SELECT],
1183 [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl
1184 AC_CACHE_CHECK([if sys/select.h is needed for select], ac_cv_header_need_sys_select_h,
1185 [AC_TRY_COMPILE([#include <sys/types.h>
1186@@ -1319,7 +1322,7 @@
1187
1188 dnl Checks if select() needs sys/socket.h
1189 dnl Defines NEED_SYS_SOCKET_H on success.
1190-AC_DEFUN(AC_HEADER_SELECT2,
1191+AC_DEFUN([AC_HEADER_SELECT2],
1192 [AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl
1193 AC_CACHE_CHECK([if sys/socket.h is needed for select], ac_cv_header_need_sys_socket_h,
1194 [AC_TRY_COMPILE([#include <sys/types.h>
1195@@ -1337,7 +1340,7 @@
1196
1197 dnl Checks if file locking via fcntl() is available
1198 dnl Defines HAVE_FCNTL_LOCKF on success.
1199-AC_DEFUN(AC_FUNC_FCNTL_LOCKF,
1200+AC_DEFUN([AC_FUNC_FCNTL_LOCKF],
1201 [AC_CACHE_CHECK([for file locking via fcntl], ac_cv_func_fcntl_lock,
1202 [AC_TRY_LINK([
1203 #include <sys/types.h>
1204@@ -1366,107 +1369,9 @@
1205
1206 #serial 18
1207
1208-dnl By default, many hosts won't let programs access large files;
1209-dnl one must use special compiler options to get large-file access to work.
1210-dnl For more details about this brain damage please see:
1211-dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
1212-
1213-dnl Written by Paul Eggert <eggert@twinsun.com>.
1214-
1215-dnl Internal subroutine of AC_SYS_LARGEFILE.
1216-dnl AC_SYS_LARGEFILE_TEST_INCLUDES
1217-AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES,
1218- [[#include <sys/types.h>
1219- /* Check that off_t can represent 2**63 - 1 correctly.
1220- We can't simply "#define LARGE_OFF_T 9223372036854775807",
1221- since some C++ compilers masquerading as C compilers
1222- incorrectly reject 9223372036854775807. */
1223-# define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
1224- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1225- && LARGE_OFF_T % 2147483647 == 1)
1226- ? 1 : -1];
1227- ]])
1228-
1229-dnl Internal subroutine of AC_SYS_LARGEFILE.
1230-dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY)
1231-AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE,
1232- [AC_CACHE_CHECK([for $1 value needed for large files], $3,
1233- [$3=no
1234- AC_TRY_COMPILE([$5],
1235- [$6],
1236- ,
1237- [AC_TRY_COMPILE([#define $1 $2]
1238-[$5]
1239- ,
1240- [$6],
1241- [$3=$2])])])
1242- if test "[$]$3" != no; then
1243- AC_DEFINE_UNQUOTED([$1], [$]$3, [$4])
1244- fi])
1245-
1246-AC_DEFUN(AC_SYS_LARGEFILE,
1247- [AC_ARG_ENABLE(largefile,
1248- [ --disable-largefile omit support for large files])
1249- if test "$enable_largefile" != no; then
1250-
1251- AC_CACHE_CHECK([for special C compiler options needed for large files],
1252- ac_cv_sys_largefile_CC,
1253- [ac_cv_sys_largefile_CC=no
1254- largefile_cc_opt=""
1255- if test "$GCC" != yes; then
1256- # IRIX 6.2 and later do not support large files by default,
1257- # so use the C compiler's -n32 option if that helps.
1258- AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
1259- [ac_save_CC="${CC-cc}"
1260- CC="$CC -n32"
1261- AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, ,
1262- ac_cv_sys_largefile_CC=' -n32')
1263- CC="$ac_save_CC"])
1264- fi])
1265- if test "$ac_cv_sys_largefile_CC" != no; then
1266- CC="$CC$ac_cv_sys_largefile_CC"
1267- largefile_cc_opt="$ac_cv_sys_largefile_CC"
1268- fi
1269-
1270- AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
1271- ac_cv_sys_file_offset_bits,
1272- [Number of bits in a file offset, on hosts where this is settable.],
1273- AC_SYS_LARGEFILE_TEST_INCLUDES)
1274- AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
1275- ac_cv_sys_large_files,
1276- [Define for large files, on AIX-style hosts.],
1277- AC_SYS_LARGEFILE_TEST_INCLUDES)
1278- AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
1279- ac_cv_sys_largefile_source,
1280- [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
1281- [#include <stdio.h>], [return !fseeko;])
1282- fi
1283- ])
1284-
1285-
1286-AC_DEFUN(AC_FUNC_FSEEKO,
1287- [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
1288- ac_cv_sys_largefile_source,
1289- [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
1290- [#include <stdio.h>], [return !fseeko;])
1291- # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
1292- # in glibc 2.1.3, but that breaks too many other things.
1293- # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
1294-
1295- AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko,
1296- [ac_cv_func_fseeko=no
1297- AC_TRY_LINK([#include <stdio.h>],
1298- [return fseeko && fseeko (stdin, 0, 0);],
1299- [ac_cv_func_fseeko=yes])])
1300- if test $ac_cv_func_fseeko != no; then
1301- AC_DEFINE(HAVE_FSEEKO, 1,
1302- [Define if fseeko (and presumably ftello) exists and is declared.])
1303- fi])
1304-
1305-
1306 dnl XXXXXXXXXXXXXXXXXX End Stolen (but modified) from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1307
1308-AC_DEFUN(AC_HAVE_LARGEFILES,
1309+AC_DEFUN([AC_HAVE_LARGEFILES],
1310 [AC_CACHE_CHECK([if system supports Large Files at all], ac_cv_largefiles,
1311 [AC_TRY_COMPILE([#include <stdio.h>
1312 #include <sys/types.h>],
1313@@ -1492,7 +1397,7 @@
1314 dnl Checks for whether fseeko() is available in non large file mode
1315 dnl and whether there is a prototype for fseeko()
1316 dnl Defines HAVE_FSEEKO on success.
1317-AC_DEFUN(AC_SMALL_FSEEKO,
1318+AC_DEFUN([AC_SMALL_FSEEKO],
1319 [AC_CACHE_CHECK([for fseeko()], ac_cv_func_fseeko,
1320 [AC_TRY_LINK([#include <stdio.h>],
1321 [return !fseeko;],
1322@@ -1505,7 +1410,7 @@
1323 dnl Checks for whether ftello() is available in non large file mode
1324 dnl and whether there is a prototype for ftello()
1325 dnl Defines HAVE_FTELLO on success.
1326-AC_DEFUN(AC_SMALL_FTELLO,
1327+AC_DEFUN([AC_SMALL_FTELLO],
1328 [AC_CACHE_CHECK([for ftello()], ac_cv_func_ftello,
1329 [AC_TRY_LINK([#include <stdio.h>],
1330 [return !ftello;],
This page took 0.46969 seconds and 4 git commands to generate.