]>
Commit | Line | Data |
---|---|---|
9a068959 JB |
1 | --- cdrtools-1.10/conf/aclocal.m4.orig Thu Aug 2 23:54:08 2001 |
2 | +++ cdrtools-1.10/conf/aclocal.m4 Fri Aug 3 00:00:43 2001 | |
3 | @@ -1331,96 +1331,6 @@ | |
4 | ||
5 | #serial 18 | |
6 | ||
7 | -dnl By default, many hosts won't let programs access large files; | |
8 | -dnl one must use special compiler options to get large-file access to work. | |
9 | -dnl For more details about this brain damage please see: | |
10 | -dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html | |
11 | - | |
12 | -dnl Written by Paul Eggert <eggert@twinsun.com>. | |
13 | - | |
14 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
15 | -dnl AC_SYS_LARGEFILE_TEST_INCLUDES | |
16 | -AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES, | |
17 | - [[#include <sys/types.h> | |
18 | - /* Check that off_t can represent 2**63 - 1 correctly. | |
19 | - We can't simply "#define LARGE_OFF_T 9223372036854775807", | |
20 | - since some C++ compilers masquerading as C compilers | |
21 | - incorrectly reject 9223372036854775807. */ | |
22 | -# define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
23 | - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
24 | - && LARGE_OFF_T % 2147483647 == 1) | |
25 | - ? 1 : -1]; | |
26 | - ]]) | |
27 | - | |
28 | -dnl Internal subroutine of AC_SYS_LARGEFILE. | |
29 | -dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY) | |
30 | -AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, | |
31 | - [AC_CACHE_CHECK([for $1 value needed for large files], $3, | |
32 | - [$3=no | |
33 | - AC_TRY_COMPILE([$5], | |
34 | - [$6], | |
35 | - , | |
36 | - [AC_TRY_COMPILE([#define $1 $2] | |
37 | -[$5] | |
38 | - , | |
39 | - [$6], | |
40 | - [$3=$2])])]) | |
41 | - if test "[$]$3" != no; then | |
42 | - AC_DEFINE_UNQUOTED([$1], [$]$3, [$4]) | |
43 | - fi]) | |
44 | - | |
45 | -AC_DEFUN(AC_SYS_LARGEFILE, | |
46 | - [AC_ARG_ENABLE(largefile, | |
47 | - [ --disable-largefile omit support for large files]) | |
48 | - if test "$enable_largefile" != no; then | |
49 | - | |
50 | - AC_CACHE_CHECK([for special C compiler options needed for large files], | |
51 | - ac_cv_sys_largefile_CC, | |
52 | - [ac_cv_sys_largefile_CC=no | |
53 | - if test "$GCC" != yes; then | |
54 | - # IRIX 6.2 and later do not support large files by default, | |
55 | - # so use the C compiler's -n32 option if that helps. | |
56 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , , | |
57 | - [ac_save_CC="${CC-cc}" | |
58 | - CC="$CC -n32" | |
59 | - AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , | |
60 | - ac_cv_sys_largefile_CC=' -n32') | |
61 | - CC="$ac_save_CC"]) | |
62 | - fi]) | |
63 | - if test "$ac_cv_sys_largefile_CC" != no; then | |
64 | - CC="$CC$ac_cv_sys_largefile_CC" | |
65 | - fi | |
66 | - | |
67 | - AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, | |
68 | - ac_cv_sys_file_offset_bits, | |
69 | - [Number of bits in a file offset, on hosts where this is settable.], | |
70 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
71 | - AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, | |
72 | - ac_cv_sys_large_files, | |
73 | - [Define for large files, on AIX-style hosts.], | |
74 | - AC_SYS_LARGEFILE_TEST_INCLUDES) | |
75 | - fi | |
76 | - ]) | |
77 | - | |
78 | - | |
79 | -AC_DEFUN(AC_FUNC_FSEEKO, | |
80 | - [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, | |
81 | - ac_cv_sys_largefile_source, | |
82 | - [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], | |
83 | - [#include <stdio.h>], [return !fseeko;]) | |
84 | - # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | |
85 | - # in glibc 2.1.3, but that breaks too many other things. | |
86 | - # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | |
87 | - | |
88 | - AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko, | |
89 | - [ac_cv_func_fseeko=no | |
90 | - AC_TRY_LINK([#include <stdio.h>], | |
91 | - [return fseeko && fseeko (stdin, 0, 0);], | |
92 | - [ac_cv_func_fseeko=yes])]) | |
93 | - if test $ac_cv_func_fseeko != no; then | |
94 | - AC_DEFINE(HAVE_FSEEKO, 1, | |
95 | - [Define if fseeko (and presumably ftello) exists and is declared.]) | |
96 | - fi]) | |
97 | ||
98 | ||
99 | dnl XXXXXXXXXXXXXXXXXX End Stolen from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
100 | --- cdrtools-1.10/conf/xconfig.h.in.orig Thu Apr 12 18:10:41 2001 | |
101 | +++ cdrtools-1.10/conf/xconfig.h.in Fri Aug 3 11:31:38 2001 | |
102 | @@ -8,79 +8,79 @@ | |
103 | /* | |
104 | * Header Files | |
105 | */ | |
106 | -#undef PROTOTYPES /* if Compiler supports ANSI C prototypes */ | |
107 | -#undef HAVE_STDARG_H /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */ | |
108 | -#undef HAVE_VARARGS_H /* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */ | |
109 | -#undef HAVE_STDLIB_H /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */ | |
110 | -#undef HAVE_STRING_H /* to get NULL and ANSI C string function prototypes */ | |
111 | -#undef HAVE_STRINGS_H /* to get BSD string function prototypes */ | |
112 | -#undef STDC_HEADERS /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */ | |
113 | -#undef HAVE_UNISTD_H /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/ | |
114 | -#undef HAVE_GETOPT_H /* to get getopt() prototype from getopt.h instead of unistd.h */ | |
115 | -#undef HAVE_LIMITS_H /* to get POSIX numeric limits constants */ | |
116 | -#undef HAVE_A_OUT_H /* if a.out.h is present (may be a system using a.out format) */ | |
117 | -#undef HAVE_AOUTHDR_H /* if aouthdr.h is present. This is a COFF system */ | |
118 | -#undef HAVE_ELF_H /* if elf.h is present. This is an ELF system */ | |
119 | -#undef HAVE_FCNTL_H /* to access, O_XXX constants for open(), otherwise use sys/file.h */ | |
120 | -#undef HAVE_SYS_FILE_H /* to use O_XXX constants for open() and flock() defs */ | |
121 | -#undef HAVE_INTTYPES_H /* to use UNIX-98 inttypes.h */ | |
122 | -#undef HAVE_DIRENT_H /* to use POSIX dirent.h */ | |
123 | -#undef HAVE_SYS_DIR_H /* to use BSD sys/dir.h */ | |
124 | -#undef HAVE_NDIR_H /* to use ndir.h */ | |
125 | -#undef HAVE_SYS_NDIR_H /* to use sys/ndir.h */ | |
126 | -#undef HAVE_MALLOC_H /* if malloc.h exists */ | |
127 | -#undef HAVE_TERMIOS_H /* to use POSIX termios.h */ | |
128 | -#undef HAVE_TERMIO_H /* to use SVR4 termio.h */ | |
129 | -#undef HAVE_SHADOW_H /* if shadow.h exists */ | |
130 | -#undef HAVE_SYSLOG_H /* if syslog.h exists */ | |
131 | -#undef HAVE_SYS_TIME_H /* may include sys/time.h for struct timeval */ | |
132 | -#undef TIME_WITH_SYS_TIME /* may include both time.h and sys/time.h */ | |
133 | -#undef HAVE_TIMES /* to use times() and sys/times.h */ | |
134 | -#undef HAVE_SYS_TIMES_H /* may include sys/times.h for struct tms */ | |
135 | -#undef HAVE_UTIMES /* to use BSD utimes() and sys/time.h */ | |
136 | -#undef HAVE_UTIME_H /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */ | |
137 | -#undef HAVE_SYS_UTIME_H /* to use sys/utime.h if utime.h does not exist */ | |
138 | -#undef HAVE_SYS_IOCTL_H /* if sys/ioctl.h is present */ | |
139 | -#undef HAVE_SYS_FILIO_H /* if sys/ioctl.h is present */ | |
140 | -#undef HAVE_SYS_PARAM_H /* if sys/param.h is present */ | |
141 | -#undef HAVE_MNTENT_H /* if mntent.h is present */ | |
142 | -#undef HAVE_SYS_MNTENT_H /* if sys/mntent.h is present */ | |
143 | -#undef HAVE_SYS_MNTTAB_H /* if sys/mnttab.h is present */ | |
144 | -#undef HAVE_SYS_MOUNT_H /* if sys/mount.h is present */ | |
145 | -#undef HAVE_WAIT_H /* to use wait.h for prototypes and union wait */ | |
146 | -#undef HAVE_SYS_WAIT_H /* else use sys/wait.h */ | |
147 | -#undef HAVE_SYS_RESOURCE_H /* to use sys/resource.h for rlimit() and wait3() */ | |
148 | -#undef HAVE_SYS_PROCFS_H /* to use sys/procfs.h for wait3() emulation */ | |
149 | -#undef HAVE_SYS_SYSTEMINFO_H /* to use SVr4 sysinfo() */ | |
150 | -#undef HAVE_SYS_UTSNAME_H /* to use uname() */ | |
151 | -#undef HAVE_SYS_PRIOCNTL_H /* to use SVr4 priocntl() instead of nice()/setpriority() */ | |
152 | -#undef HAVE_SYS_RTPRIOCNTL_H /* if the system supports SVr4 real time classes */ | |
153 | -#undef HAVE_SYS_MTIO_H /* to use mtio definitions from sys/mtio.h */ | |
154 | -#undef HAVE_SYS_MMAN_H /* to use definitions for mmap()/madvise()... from sys/mman.h */ | |
155 | -#undef HAVE_SYS_SHM_H /* to use definitions for shmget() ... from sys/shm.h */ | |
156 | -#undef HAVE_SYS_IPC_H /* to use definitions for shmget() ... from sys/ipc.h */ | |
157 | -#undef MAJOR_IN_MKDEV /* if we should include sys/mkdev.h to get major()/minor()/makedev() */ | |
158 | -#undef MAJOR_IN_SYSMACROS /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */ | |
159 | -#undef HAVE_SYS_DKIO_H /* if we may include sys/dkio.h for disk ioctls */ | |
160 | -#undef HAVE_SYS_DKLABEL_H /* if we may include sys/dklabel.h for disk label */ | |
161 | -#undef HAVE_SUN_DKIO_H /* if we may include sun/dkio.h for disk ioctls */ | |
162 | -#undef HAVE_SUN_DKLABEL_H /* if we may include sun/dklabel.h for disk label */ | |
163 | -#undef HAVE_POLL_H /* if we may include poll.h to use poll() */ | |
164 | -#undef HAVE_SYS_POLL_H /* if we may include sys/poll.h to use poll() */ | |
165 | -#undef HAVE_SYS_SELECT_H /* if we may have sys/select.h nonstandard use for select() on some systems*/ | |
166 | -#undef NEED_SYS_SELECT_H /* if we need sys/select.h to use select() (this is nonstandard) */ | |
167 | -#undef HAVE_LINUX_PG_H /* if we may include linux/pg.h for PP ATAPI sypport */ | |
168 | -#undef HAVE_CAMLIB_H /* if we may include camlib.h for CAM SCSI transport definitions */ | |
169 | -#undef HAVE_IEEEFP_H /* if we may include ieeefp.h for finite()/isnand() */ | |
170 | -#undef HAVE_FP_H /* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */ | |
171 | -#undef HAVE_VALUES_H /* if we may include values.h for MAXFLOAT */ | |
172 | -#undef HAVE_FLOAT_H /* if we may include float.h for FLT_MAX */ | |
173 | -#undef HAVE__FILBUF /* if we have _filbuf() for USG derived STDIO */ | |
174 | -#undef HAVE___FILBUF /* if we have __filbuf() for USG derived STDIO */ | |
175 | -#undef HAVE_USG_STDIO /* if we have USG derived STDIO */ | |
176 | -#undef HAVE_ERRNO_DEF /* if we have errno definition in <errno.h> */ | |
177 | -#undef HAVE_VFORK_H /* if we should include vfork.h for vfork() definitions */ | |
178 | -#undef HAVE_BSD_DEV_SCSIREG_H /* if we have a NeXT Step compatible sg driver */ | |
179 | +#undef PROTOTYPES | |
180 | +#undef HAVE_STDARG_H | |
181 | +#undef HAVE_VARARGS_H | |
182 | +#undef HAVE_STDLIB_H | |
183 | +#undef HAVE_STRING_H | |
184 | +#undef HAVE_STRINGS_H | |
185 | +#undef STDC_HEADERS | |
186 | +#undef HAVE_UNISTD_H | |
187 | +#undef HAVE_GETOPT_H | |
188 | +#undef HAVE_LIMITS_H | |
189 | +#undef HAVE_A_OUT_H | |
190 | +#undef HAVE_AOUTHDR_H | |
191 | +#undef HAVE_ELF_H | |
192 | +#undef HAVE_FCNTL_H | |
193 | +#undef HAVE_SYS_FILE_H | |
194 | +#undef HAVE_INTTYPES_H | |
195 | +#undef HAVE_DIRENT_H | |
196 | +#undef HAVE_SYS_DIR_H | |
197 | +#undef HAVE_NDIR_H | |
198 | +#undef HAVE_SYS_NDIR_H | |
199 | +#undef HAVE_MALLOC_H | |
200 | +#undef HAVE_TERMIOS_H | |
201 | +#undef HAVE_TERMIO_H | |
202 | +#undef HAVE_SHADOW_H | |
203 | +#undef HAVE_SYSLOG_H | |
204 | +#undef HAVE_SYS_TIME_H | |
205 | +#undef TIME_WITH_SYS_TIME | |
206 | +#undef HAVE_TIMES | |
207 | +#undef HAVE_SYS_TIMES_H | |
208 | +#undef HAVE_UTIMES | |
209 | +#undef HAVE_UTIME_H | |
210 | +#undef HAVE_SYS_UTIME_H | |
211 | +#undef HAVE_SYS_IOCTL_H | |
212 | +#undef HAVE_SYS_FILIO_H | |
213 | +#undef HAVE_SYS_PARAM_H | |
214 | +#undef HAVE_MNTENT_H | |
215 | +#undef HAVE_SYS_MNTENT_H | |
216 | +#undef HAVE_SYS_MNTTAB_H | |
217 | +#undef HAVE_SYS_MOUNT_H | |
218 | +#undef HAVE_WAIT_H | |
219 | +#undef HAVE_SYS_WAIT_H | |
220 | +#undef HAVE_SYS_RESOURCE_H | |
221 | +#undef HAVE_SYS_PROCFS_H | |
222 | +#undef HAVE_SYS_SYSTEMINFO_H | |
223 | +#undef HAVE_SYS_UTSNAME_H | |
224 | +#undef HAVE_SYS_PRIOCNTL_H | |
225 | +#undef HAVE_SYS_RTPRIOCNTL_H | |
226 | +#undef HAVE_SYS_MTIO_H | |
227 | +#undef HAVE_SYS_MMAN_H | |
228 | +#undef HAVE_SYS_SHM_H | |
229 | +#undef HAVE_SYS_IPC_H | |
230 | +#undef MAJOR_IN_MKDEV | |
231 | +#undef MAJOR_IN_SYSMACROS | |
232 | +#undef HAVE_SYS_DKIO_H | |
233 | +#undef HAVE_SYS_DKLABEL_H | |
234 | +#undef HAVE_SUN_DKIO_H | |
235 | +#undef HAVE_SUN_DKLABEL_H | |
236 | +#undef HAVE_POLL_H | |
237 | +#undef HAVE_SYS_POLL_H | |
238 | +#undef HAVE_SYS_SELECT_H | |
239 | +#undef NEED_SYS_SELECT_H | |
240 | +#undef HAVE_LINUX_PG_H | |
241 | +#undef HAVE_CAMLIB_H | |
242 | +#undef HAVE_IEEEFP_H | |
243 | +#undef HAVE_FP_H | |
244 | +#undef HAVE_VALUES_H | |
245 | +#undef HAVE_FLOAT_H | |
246 | +#undef HAVE__FILBUF | |
247 | +#undef HAVE___FILBUF | |
248 | +#undef HAVE_USG_STDIO | |
249 | +#undef HAVE_ERRNO_DEF | |
250 | +#undef HAVE_VFORK_H | |
251 | +#undef HAVE_BSD_DEV_SCSIREG_H | |
252 | ||
253 | /* | |
254 | * Convert to SCHILY name | |
255 | @@ -106,99 +106,99 @@ | |
256 | /* | |
257 | * Library Functions | |
258 | */ | |
259 | -#undef HAVE_STRERROR /* strerror() is present in libc */ | |
260 | -#undef HAVE_MEMMOVE /* memmove() is present in libc */ | |
261 | -#undef HAVE_MLOCKALL /* working mlockall() is present in libc */ | |
262 | -#undef HAVE_MMAP /* working mmap() is present in libc */ | |
263 | -#undef _MMAP_WITH_SIZEP /* mmap() needs address of size parameter */ | |
264 | -#undef HAVE_FLOCK /* *BSD flock() is present in libc */ | |
265 | -#undef HAVE_LOCKF /* lockf() is present in libc (XOPEN) */ | |
266 | -#undef HAVE_FCNTL_LOCKF /* file locking via fcntl() is present in libc */ | |
267 | -#undef HAVE_FCHDIR /* fchdir() is present in libc */ | |
268 | -#undef HAVE_STATVFS /* statvfs() is present in libc */ | |
269 | -#undef HAVE_QUOTACTL /* quotactl() is present in libc */ | |
270 | -#undef HAVE_QUOTAIOCTL /* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */ | |
271 | -#undef HAVE_SETREUID /* setreuid() is present in libc */ | |
272 | -#undef HAVE_SETRESUID /* setresuid() is present in libc */ | |
273 | -#undef HAVE_SETEUID /* seteuid() is present in libc */ | |
274 | -#undef HAVE_SETUID /* setuid() is present in libc */ | |
275 | -#undef HAVE_SETREGID /* setregid() is present in libc */ | |
276 | -#undef HAVE_SETRESGID /* setresgid() is present in libc */ | |
277 | -#undef HAVE_SETEGID /* setegid() is present in libc */ | |
278 | -#undef HAVE_SETGID /* setgid() is present in libc */ | |
279 | -#undef HAVE_GETPGID /* getpgid() is present in libc (POSIX) */ | |
280 | -#undef HAVE_SETPGID /* setpgid() is present in libc (POSIX) */ | |
281 | -#undef HAVE_GETPGRP /* getpgrp() is present in libc (ANY) */ | |
282 | -#undef HAVE_SETPGRP /* setpgrp() is present in libc (ANY) */ | |
283 | -#undef HAVE_BSD_GETPGRP /* getpgrp() in libc is BSD-4.2 compliant */ | |
284 | -#undef HAVE_BSD_SETPGRP /* setpgrp() in libc is BSD-4.2 compliant */ | |
285 | -#undef HAVE_GETSPNAM /* getspnam() in libc (SVR4 compliant) */ | |
286 | -#undef HAVE_GETSPWNAM /* getspwnam() in libsec.a (HP-UX) */ | |
287 | -#undef HAVE_SYNC /* sync() is present in libc */ | |
288 | -#undef HAVE_FSYNC /* fsync() is present in libc */ | |
289 | -#undef HAVE_WAIT3 /* working wait3() is present in libc */ | |
290 | -#undef HAVE_WAIT4 /* wait4() is present in libc */ | |
291 | -#undef HAVE_WAITID /* waitid() is present in libc */ | |
292 | -#undef HAVE_WAITPID /* waitpid() is present in libc */ | |
293 | -#undef HAVE_GETHOSTID /* gethostid() is present in libc */ | |
294 | -#undef HAVE_GETHOSTNAME /* gethostname() is present in libc */ | |
295 | -#undef HAVE_GETDOMAINNAME /* getdomainname() is present in libc */ | |
296 | -#undef HAVE_GETPAGESIZE /* getpagesize() is present in libc */ | |
297 | -#undef HAVE_GETRUSAGE /* getrusage() is present in libc */ | |
298 | -#undef HAVE_POLL /* poll() is present in libc */ | |
299 | -#undef HAVE_SELECT /* select() is present in libc */ | |
300 | -#undef HAVE_LCHOWN /* lchown() is present in libc */ | |
301 | -#undef HAVE_BRK /* brk() is present in libc */ | |
302 | -#undef HAVE_SBRK /* sbrk() is present in libc */ | |
303 | -#undef HAVE_VA_COPY /* va_copy() is present in varargs.h/stdarg.h */ | |
304 | -#undef HAVE__VA_COPY /* __va_copy() is present in varargs.h/stdarg.h */ | |
305 | -#undef HAVE_DTOA /* BSD-4.4 __dtoa() is present in libc */ | |
306 | -#undef HAVE_DTOA_R /* BSD-4.4 __dtoa() with result ptr (reentrant) */ | |
307 | -#undef HAVE_GETCWD /* POSIX getcwd() is present in libc */ | |
308 | -#undef HAVE_SMMAP /* may map anonymous memory to get shared mem */ | |
309 | -#undef HAVE_SHMAT /* shmat() is present in libc */ | |
310 | -#undef HAVE_SEMGET /* semget() is present in libc */ | |
311 | -#undef HAVE_LSTAT /* lstat() is present in libc */ | |
312 | -#undef HAVE_READLINK /* readlink() is present in libc */ | |
313 | -#undef HAVE_LINK /* link() is present in libc */ | |
314 | -#undef HAVE_RENAME /* rename() is present in libc */ | |
315 | -#undef HAVE_MKFIFO /* mkfifo() is present in libc */ | |
316 | -#undef HAVE_MKNOD /* mknod() is present in libc */ | |
317 | -#undef HAVE_ECVT /* ecvt() is present in libc */ | |
318 | -#undef HAVE_FCVT /* fcvt() is present in libc */ | |
319 | -#undef HAVE_GCVT /* gcvt() is present in libc */ | |
320 | -#undef HAVE_ECVT_R /* ecvt_r() is present in libc */ | |
321 | -#undef HAVE_FCVT_R /* fcvt_r() is present in libc */ | |
322 | -#undef HAVE_GCVT_R /* gcvt_r() is present in libc */ | |
323 | -#undef HAVE_ECONVERT /* econvert() is present in libc */ | |
324 | -#undef HAVE_FCONVERT /* fconvert() is present in libc */ | |
325 | -#undef HAVE_GCONVERT /* gconvert() is present in libc */ | |
326 | -#undef HAVE_ISINF /* isinf() is present in libc */ | |
327 | -#undef HAVE_ISNAN /* isnan() is present in libc */ | |
328 | -#undef HAVE_RAND /* rand() is present in libc */ | |
329 | -#undef HAVE_DRAND48 /* drand48() is present in libc */ | |
330 | -#undef HAVE_SETPRIORITY /* setpriority() is present in libc */ | |
331 | -#undef HAVE_NICE /* nice() is present in libc */ | |
332 | -#undef HAVE_DOSSETPRIORITY /* DosSetPriority() is present in libc */ | |
333 | -#undef HAVE_DOSALLOCSHAREDMEM /* DosAllocSharedMem() is present in libc */ | |
334 | -#undef HAVE_SEEKDIR /* seekdir() is present in libc */ | |
335 | -#undef HAVE_PUTENV /* putenv() is present in libc (preferred function) */ | |
336 | -#undef HAVE_SETENV /* setenv() is present in libc (use instead of putenv()) */ | |
337 | -#undef HAVE_UNAME /* uname() is present in libc */ | |
338 | -#undef HAVE_SNPRINTF /* snprintf() is present in libc */ | |
339 | -#undef HAVE_STRCASECMP /* strcasecmp() is present in libc */ | |
340 | -#undef HAVE_STRSIGNAL /* strsignal() is present in libc */ | |
341 | -#undef HAVE_STR2SIG /* str2sig() is present in libc */ | |
342 | -#undef HAVE_SIG2STR /* sig2str() is present in libc */ | |
343 | -#undef HAVE_KILLPG /* killpg() is present in libc */ | |
344 | -#undef HAVE_SIGRELSE /* sigrelse() is present in libc */ | |
345 | -#undef HAVE_SIGPROCMASK /* sigprocmask() is present in libc (POSIX) */ | |
346 | -#undef HAVE_SIGSETMASK /* sigsetmask() is present in libc (BSD) */ | |
347 | -#undef HAVE_SYS_SIGLIST /* char *sys_siglist[] is present in libc */ | |
348 | -#undef HAVE_NANOSLEEP /* nanosleep() is present in libc */ | |
349 | -#undef HAVE_USLEEP /* usleep() is present in libc */ | |
350 | -#undef HAVE_FORK /* fork() is present in libc */ | |
351 | -#undef HAVE_VALLOC /* valloc() is present in libc (else use malloc())*/ | |
352 | +#undef HAVE_STRERROR | |
353 | +#undef HAVE_MEMMOVE | |
354 | +#undef HAVE_MLOCKALL | |
355 | +#undef HAVE_MMAP | |
356 | +#undef _MMAP_WITH_SIZEP | |
357 | +#undef HAVE_FLOCK | |
358 | +#undef HAVE_LOCKF | |
359 | +#undef HAVE_FCNTL_LOCKF | |
360 | +#undef HAVE_FCHDIR | |
361 | +#undef HAVE_STATVFS | |
362 | +#undef HAVE_QUOTACTL | |
363 | +#undef HAVE_QUOTAIOCTL | |
364 | +#undef HAVE_SETREUID | |
365 | +#undef HAVE_SETRESUID | |
366 | +#undef HAVE_SETEUID | |
367 | +#undef HAVE_SETUID | |
368 | +#undef HAVE_SETREGID | |
369 | +#undef HAVE_SETRESGID | |
370 | +#undef HAVE_SETEGID | |
371 | +#undef HAVE_SETGID | |
372 | +#undef HAVE_GETPGID | |
373 | +#undef HAVE_SETPGID | |
374 | +#undef HAVE_GETPGRP | |
375 | +#undef HAVE_SETPGRP | |
376 | +#undef HAVE_BSD_GETPGRP | |
377 | +#undef HAVE_BSD_SETPGRP | |
378 | +#undef HAVE_GETSPNAM | |
379 | +#undef HAVE_GETSPWNAM | |
380 | +#undef HAVE_SYNC | |
381 | +#undef HAVE_FSYNC | |
382 | +#undef HAVE_WAIT3 | |
383 | +#undef HAVE_WAIT4 | |
384 | +#undef HAVE_WAITID | |
385 | +#undef HAVE_WAITPID | |
386 | +#undef HAVE_GETHOSTID | |
387 | +#undef HAVE_GETHOSTNAME | |
388 | +#undef HAVE_GETDOMAINNAME | |
389 | +#undef HAVE_GETPAGESIZE | |
390 | +#undef HAVE_GETRUSAGE | |
391 | +#undef HAVE_POLL | |
392 | +#undef HAVE_SELECT | |
393 | +#undef HAVE_LCHOWN | |
394 | +#undef HAVE_BRK | |
395 | +#undef HAVE_SBRK | |
396 | +#undef HAVE_VA_COPY | |
397 | +#undef HAVE__VA_COPY | |
398 | +#undef HAVE_DTOA | |
399 | +#undef HAVE_DTOA_R | |
400 | +#undef HAVE_GETCWD | |
401 | +#undef HAVE_SMMAP | |
402 | +#undef HAVE_SHMAT | |
403 | +#undef HAVE_SEMGET | |
404 | +#undef HAVE_LSTAT | |
405 | +#undef HAVE_READLINK | |
406 | +#undef HAVE_LINK | |
407 | +#undef HAVE_RENAME | |
408 | +#undef HAVE_MKFIFO | |
409 | +#undef HAVE_MKNOD | |
410 | +#undef HAVE_ECVT | |
411 | +#undef HAVE_FCVT | |
412 | +#undef HAVE_GCVT | |
413 | +#undef HAVE_ECVT_R | |
414 | +#undef HAVE_FCVT_R | |
415 | +#undef HAVE_GCVT_R | |
416 | +#undef HAVE_ECONVERT | |
417 | +#undef HAVE_FCONVERT | |
418 | +#undef HAVE_GCONVERT | |
419 | +#undef HAVE_ISINF | |
420 | +#undef HAVE_ISNAN | |
421 | +#undef HAVE_RAND | |
422 | +#undef HAVE_DRAND48 | |
423 | +#undef HAVE_SETPRIORITY | |
424 | +#undef HAVE_NICE | |
425 | +#undef HAVE_DOSSETPRIORITY | |
426 | +#undef HAVE_DOSALLOCSHAREDMEM | |
427 | +#undef HAVE_SEEKDIR | |
428 | +#undef HAVE_PUTENV | |
429 | +#undef HAVE_SETENV | |
430 | +#undef HAVE_UNAME | |
431 | +#undef HAVE_SNPRINTF | |
432 | +#undef HAVE_STRCASECMP | |
433 | +#undef HAVE_STRSIGNAL | |
434 | +#undef HAVE_STR2SIG | |
435 | +#undef HAVE_SIG2STR | |
436 | +#undef HAVE_KILLPG | |
437 | +#undef HAVE_SIGRELSE | |
438 | +#undef HAVE_SIGPROCMASK | |
439 | +#undef HAVE_SIGSETMASK | |
440 | +#undef HAVE_SYS_SIGLIST | |
441 | +#undef HAVE_NANOSLEEP | |
442 | +#undef HAVE_USLEEP | |
443 | +#undef HAVE_FORK | |
444 | +#undef HAVE_VALLOC | |
445 | #undef vfork | |
446 | ||
447 | #if defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL) | |
448 | @@ -227,35 +227,35 @@ | |
449 | /* | |
450 | * Structures | |
451 | */ | |
452 | -#undef HAVE_MTGET_TYPE /* if struct mtget contains mt_type (drive type) */ | |
453 | -#undef HAVE_MTGET_DSREG /* if struct mtget contains mt_dsreg (drive status) */ | |
454 | -#undef HAVE_MTGET_ERREG /* if struct mtget contains mt_erreg (error register) */ | |
455 | -#undef HAVE_MTGET_RESID /* if struct mtget contains mt_resid (residual count) */ | |
456 | -#undef HAVE_MTGET_FILENO /* if struct mtget contains mt_fileno (file #) */ | |
457 | -#undef HAVE_MTGET_BLKNO /* if struct mtget contains mt_blkno (block #) */ | |
458 | -#undef HAVE_MTGET_FLAGS /* if struct mtget contains mt_flags (flags) */ | |
459 | -#undef HAVE_MTGET_BF /* if struct mtget contains mt_bf (optimum blocking factor) */ | |
460 | -#undef HAVE_STRUCT_RUSAGE /* have struct rusage in sys/resource.h */ | |
461 | -#undef HAVE_UNION_SEMUN /* have an illegal definition for union semun in sys/sem.h */ | |
462 | -#undef HAVE_UNION_WAIT /* have union wait in wait.h */ | |
463 | -#undef HAVE_ST_SPARE1 /* if struct stat contains st_spare1 (usecs) */ | |
464 | -#undef HAVE_ST_NSEC /* if struct stat contains st_atim.st_nsec (nanosecs */ | |
465 | -#undef HAVE_ST_BLKSIZE /* if struct stat contains st_blksize */ | |
466 | -#undef HAVE_ST_BLOCKS /* if struct stat contains st_blocks */ | |
467 | -#undef HAVE_ST_RDEV /* if struct stat contains st_rdev */ | |
468 | -#undef STAT_MACROS_BROKEN /* if the macros S_ISDIR, S_ISREG .. don't work */ | |
469 | +#undef HAVE_MTGET_TYPE | |
470 | +#undef HAVE_MTGET_DSREG | |
471 | +#undef HAVE_MTGET_ERREG | |
472 | +#undef HAVE_MTGET_RESID | |
473 | +#undef HAVE_MTGET_FILENO | |
474 | +#undef HAVE_MTGET_BLKNO | |
475 | +#undef HAVE_MTGET_FLAGS | |
476 | +#undef HAVE_MTGET_BF | |
477 | +#undef HAVE_STRUCT_RUSAGE | |
478 | +#undef HAVE_UNION_SEMUN | |
479 | +#undef HAVE_UNION_WAIT | |
480 | +#undef HAVE_ST_SPARE1 | |
481 | +#undef HAVE_ST_NSEC | |
482 | +#undef HAVE_ST_BLKSIZE | |
483 | +#undef HAVE_ST_BLOCKS | |
484 | +#undef HAVE_ST_RDEV | |
485 | +#undef STAT_MACROS_BROKEN | |
486 | ||
487 | -#undef DEV_MINOR_BITS /* # if bits needed to hold minor device number */ | |
488 | -#undef DEV_MINOR_NONCONTIG /* if bits in minor device number are noncontiguous */ | |
489 | +#undef DEV_MINOR_BITS | |
490 | +#undef DEV_MINOR_NONCONTIG | |
491 | ||
492 | ||
493 | /* | |
494 | * Byteorder/Bitorder | |
495 | */ | |
496 | -#define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ | |
497 | -#undef WORDS_BIGENDIAN /* If using network byte order */ | |
498 | -#define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ | |
499 | -#undef BITFIELDS_HTOL /* If high bits come first in structures */ | |
500 | +#define HAVE_C_BIGENDIAN | |
501 | +#undef WORDS_BIGENDIAN | |
502 | +#define HAVE_C_BITFIELDS | |
503 | +#undef BITFIELDS_HTOL | |
504 | ||
505 | /* | |
506 | * Types/Keywords | |
507 | @@ -273,20 +273,20 @@ | |
508 | #undef SIZEOF_UNSIGNED_LONG_LONG | |
509 | #undef SIZEOF_UNSIGNED_CHAR_P | |
510 | ||
511 | -#undef HAVE_LONGLONG /* Compiler defines long long type */ | |
512 | -#undef CHAR_IS_UNSIGNED /* Compiler defines char to be unsigned */ | |
513 | +#undef HAVE_LONGLONG | |
514 | +#undef CHAR_IS_UNSIGNED | |
515 | ||
516 | -#undef const /* Define to empty if const doesn't work */ | |
517 | -#undef uid_t /* To be used if uid_t is not present */ | |
518 | -#undef size_t /* To be used if size_t is not present */ | |
519 | -#undef pid_t /* To be used if pid_t is not present */ | |
520 | -#undef off_t /* To be used if off_t is not present */ | |
521 | -#undef mode_t /* To be used if mode_t is not present */ | |
522 | -#undef time_t /* To be used if time_t is not present */ | |
523 | -#undef caddr_t /* To be used if caddr_t is not present */ | |
524 | -#undef daddr_t /* To be used if daddr_t is not present */ | |
525 | -#undef dev_t /* To be used if dev_t is not present */ | |
526 | -#undef socklen_t /* To be used if socklen_t is not present */ | |
527 | +#undef const | |
528 | +#undef uid_t | |
529 | +#undef size_t | |
530 | +#undef pid_t | |
531 | +#undef off_t | |
532 | +#undef mode_t | |
533 | +#undef time_t | |
534 | +#undef caddr_t | |
535 | +#undef daddr_t | |
536 | +#undef dev_t | |
537 | +#undef socklen_t | |
538 | ||
539 | /* | |
540 | * These types are present on all UNIX systems but should be avoided | |
541 | @@ -295,14 +295,14 @@ | |
542 | * | |
543 | * Better include <utypes.h> and use Uchar, Uint & Ulong | |
544 | */ | |
545 | -#undef u_char /* To be used if u_char is not present */ | |
546 | -#undef u_short /* To be used if u_short is not present */ | |
547 | -#undef u_int /* To be used if u_int is not present */ | |
548 | -#undef u_long /* To be used if u_long is not present */ | |
549 | +#undef u_char | |
550 | +#undef u_short | |
551 | +#undef u_int | |
552 | +#undef u_long | |
553 | ||
554 | /*#undef HAVE_SIZE_T*/ | |
555 | /*#undef NO_SIZE_T*/ | |
556 | -#undef VA_LIST_IS_ARRAY /* va_list is an array */ | |
557 | +#undef VA_LIST_IS_ARRAY | |
558 | #undef GETGROUPS_T | |
559 | #define GID_T GETGROUPS_T | |
560 | ||
561 | @@ -318,18 +318,18 @@ | |
562 | ||
563 | #undef HAVE_LARGEFILES | |
564 | ||
565 | -#ifdef HAVE_LARGEFILES /* If we have working largefiles at all */ | |
566 | +#ifdef HAVE_LARGEFILES | |
567 | /* This is not defined with glibc-2.1.3 */ | |
568 | ||
569 | -#undef _FILE_OFFSET_BITS /* # of bits in off_t if settable */ | |
570 | -#undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */ | |
571 | -#undef _LARGE_FILES /* Large file defined on AIX-style hosts. */ | |
572 | -#undef _XOPEN_SOURCE /* To make ftello() visible (glibc 2.1.3). */ | |
573 | +#undef _FILE_OFFSET_BITS | |
574 | +#undef _LARGEFILE_SOURCE | |
575 | +#undef _LARGE_FILES | |
576 | +#undef _XOPEN_SOURCE | |
577 | /* XXX We don't use this because glibc2.1.3*/ | |
578 | /* XXX is bad anyway. If we define */ | |
579 | /* XXX _XOPEN_SOURCE we will loose caddr_t */ | |
580 | ||
581 | -#undef HAVE_FSEEKO /* Do we need this? If HAVE_LARGEFILES is */ | |
582 | +#undef HAVE_FSEEKO | |
583 | /* defined, we have fseeko() */ | |
584 | ||
585 | #endif /* HAVE_LARGEFILES */ | |
586 | @@ -338,13 +338,13 @@ | |
587 | /* | |
588 | * Misc CC / LD related stuff | |
589 | */ | |
590 | -#undef NO_USER_MALLOC /* If we cannot define our own malloc() */ | |
591 | +#undef NO_USER_MALLOC | |
592 | ||
593 | /* | |
594 | * Strings that help to maintain OS/platform id's in C-programs | |
595 | */ | |
596 | -#undef HOST_ALIAS /* Output from config.guess (orig) */ | |
597 | -#undef HOST_SUB /* Output from config.sub (modified) */ | |
598 | -#undef HOST_CPU /* CPU part from HOST_SUB */ | |
599 | -#undef HOST_VENDOR /* VENDOR part from HOST_SUB */ | |
600 | -#undef HOST_OS /* CPU part from HOST_SUB */ | |
601 | +#undef HOST_ALIAS | |
602 | +#undef HOST_SUB | |
603 | +#undef HOST_CPU | |
604 | +#undef HOST_VENDOR | |
605 | +#undef HOST_OS |