| 1 |
/* xconfig.h Generated automatically by cmake */
|
| 2 |
|
| 3 |
/* Modified by Eduard Bloch, 2006 */
|
| 4 |
|
| 5 |
/*
|
| 6 |
* Dynamic autoconf C-include code.
|
| 7 |
*
|
| 8 |
* Copyright (c) 1998-2003 J. Schilling
|
| 9 |
*/
|
| 10 |
|
| 11 |
/*
|
| 12 |
* Header Files
|
| 13 |
*/
|
| 14 |
#define PROTOTYPES 1 /* if Compiler supports ANSI C prototypes */
|
| 15 |
#define HAVE_STDARG_H 1 /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */
|
| 16 |
/* #undef HAVE_VARARGS_H */ /* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */
|
| 17 |
#define HAVE_STDLIB_H 1 /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */
|
| 18 |
#define HAVE_STDDEF_H 1 /* to use offsetof(), ptrdiff_t, wchar>t, size_t */
|
| 19 |
#define HAVE_STRING_H 1 /* to get NULL and ANSI C string function prototypes */
|
| 20 |
#define HAVE_STRINGS_H 1 /* to get BSD string function prototypes */
|
| 21 |
#define STDC_HEADERS 1 /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */
|
| 22 |
#define HAVE_UNISTD_H 1 /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/
|
| 23 |
#define HAVE_GETOPT_H 1 /* to get getopt() prototype from getopt.h instead of unistd.h */
|
| 24 |
#define HAVE_LIMITS_H 1 /* to get POSIX numeric limits constants */
|
| 25 |
#define HAVE_A_OUT_H 1 /* if a.out.h is present (may be a system using a.out format) */
|
| 26 |
/* #undef HAVE_AOUTHDR_H */ /* if aouthdr.h is present. This is a COFF system */
|
| 27 |
#define HAVE_ELF_H 1 /* if elf.h is present. This is an ELF system */
|
| 28 |
#define HAVE_FCNTL_H 1 /* to access, O_XXX constants for open(), otherwise use sys/file.h */
|
| 29 |
#define HAVE_SYS_FILE_H 1 /* to use O_XXX constants for open() and flock() defs */
|
| 30 |
#define HAVE_INTTYPES_H 1 /* to use UNIX-98 inttypes.h */
|
| 31 |
#define HAVE_DIRENT_H 1 /* to use POSIX dirent.h */
|
| 32 |
/* #undef HAVE_SYS_DIR_H */ /* to use BSD sys/dir.h */
|
| 33 |
/* #undef HAVE_NDIR_H */ /* to use ndir.h */
|
| 34 |
/* #undef HAVE_SYS_NDIR_H */ /* to use sys/ndir.h */
|
| 35 |
#define HAVE_ALLOCA_H 1 /* if alloca.h exists */
|
| 36 |
#define HAVE_MALLOC_H 1 /* if malloc.h exists */
|
| 37 |
#define HAVE_TERMIOS_H 1 /* to use POSIX termios.h */
|
| 38 |
#define HAVE_TERMIO_H 1 /* to use SVR4 termio.h */
|
| 39 |
#define HAVE_PWD_H 1 /* if pwd.h exists */
|
| 40 |
#define HAVE_GRP_H 1 /* if grp.h exists */
|
| 41 |
/* #undef HAVE_SYS_ACL_H */ /* to use <sys/acl.h> for ACL definitions */
|
| 42 |
/* #undef HAVE_ACLLIB_H */ /* if HP-UX <acllib.h> is present */
|
| 43 |
/* #undef HAVE_ACL_LIBACL_H */ /* if Linux <acl/libacl.h> is present */
|
| 44 |
#define HAVE_SHADOW_H 1 /* if shadow.h exists */
|
| 45 |
#define HAVE_SYSLOG_H 1 /* if syslog.h exists */
|
| 46 |
#define HAVE_SYS_TIME_H 1 /* may include sys/time.h for struct timeval */
|
| 47 |
#define TIME_WITH_SYS_TIME 1 /* may include both time.h and sys/time.h */
|
| 48 |
#define HAVE_TIMES 1 /* to use times() and sys/times.h */
|
| 49 |
#define HAVE_SYS_TIMES_H 1 /* may include sys/times.h for struct tms */
|
| 50 |
#define HAVE_UTIME 1 /* to use AT&T utime() and utimbuf */
|
| 51 |
#define HAVE_UTIMES 1 /* to use BSD utimes() and sys/time.h */
|
| 52 |
#define HAVE_FUTIMES 1 /* to use BSD futimes() and sys/time.h */
|
| 53 |
/* #undef HAVE_LUTIMES */ /* to use BSD lutimes() and sys/time.h */
|
| 54 |
#define HAVE_UTIME_H 1 /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */
|
| 55 |
/* #undef HAVE_SYS_UTIME_H */ /* to use sys/utime.h if utime.h does not exist */
|
| 56 |
#define HAVE_SYS_IOCTL_H 1 /* if sys/ioctl.h is present */
|
| 57 |
/* #undef HAVE_SYS_FILIO_H */ /* if sys/ioctl.h is present */
|
| 58 |
#define HAVE_SYS_PARAM_H 1 /* if sys/param.h is present */
|
| 59 |
#define HAVE_MNTENT_H 1 /* if mntent.h is present */
|
| 60 |
/* #undef HAVE_SYS_MNTENT_H */ /* if sys/mntent.h is present */
|
| 61 |
/* #undef HAVE_SYS_MNTTAB_H */ /* if sys/mnttab.h is present */
|
| 62 |
#define HAVE_SYS_MOUNT_H 1 /* if sys/mount.h is present */
|
| 63 |
/* to use wait.h for prototypes and union wait */
|
| 64 |
#cmakedefine HAVE_WAIT_H
|
| 65 |
/* else use sys/wait.h */
|
| 66 |
#cmakedefine define HAVE_SYS_WAIT_H
|
| 67 |
#define HAVE_SYS_RESOURCE_H 1 /* to use sys/resource.h for rlimit() and wait3() */
|
| 68 |
/* #undef HAVE_PROCFS_H */ /* to use procfs.h instead of sys/procfs.h (Solaris forces profcs-2) */
|
| 69 |
#define HAVE_SYS_PROCFS_H 1 /* to use sys/procfs.h for wait3() emulation */
|
| 70 |
/* #undef HAVE_SYS_SYSTEMINFO_H */ /* to use SVr4 sysinfo() */
|
| 71 |
#define HAVE_SYS_UTSNAME_H 1 /* to use uname() */
|
| 72 |
/* #undef HAVE_SYS_PRIOCNTL_H */ /* to use SVr4 priocntl() instead of nice()/setpriority() */
|
| 73 |
/* #undef HAVE_SYS_RTPRIOCNTL_H */ /* if the system supports SVr4 real time classes */
|
| 74 |
#define HAVE_SYS_SYSCALL_H 1 /* to use syscall() */
|
| 75 |
#define HAVE_SYS_MTIO_H 1 /* to use mtio definitions from sys/mtio.h */
|
| 76 |
/* #undef HAVE_SYS_TAPE_H */ /* to use mtio definitions from AIX sys/tape.h */
|
| 77 |
#define HAVE_SYS_MMAN_H 1 /* to use definitions for mmap()/madvise()... from sys/mman.h */
|
| 78 |
#define HAVE_SYS_SHM_H 1 /* to use definitions for shmget() ... from sys/shm.h */
|
| 79 |
#define HAVE_SYS_IPC_H 1 /* to use definitions for shmget() ... from sys/ipc.h */
|
| 80 |
/* #undef MAJOR_IN_MKDEV */ /* if we should include sys/mkdev.h to get major()/minor()/makedev() */
|
| 81 |
#define MAJOR_IN_SYSMACROS 1 /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */
|
| 82 |
/* #undef HAVE_SYS_DKIO_H */ /* if we may include sys/dkio.h for disk ioctls */
|
| 83 |
/* #undef HAVE_SYS_DKLABEL_H */ /* if we may include sys/dklabel.h for disk label */
|
| 84 |
/* #undef HAVE_SUN_DKIO_H */ /* if we may include sun/dkio.h for disk ioctls */
|
| 85 |
/* #undef HAVE_SUN_DKLABEL_H */ /* if we may include sun/dklabel.h for disk label */
|
| 86 |
#define HAVE_SYS_TYPES_H 1 /* if we may include sys/types.h (the standard) */
|
| 87 |
#define HAVE_SYS_STAT_H 1 /* if we may include sys/stat.h (the standard) */
|
| 88 |
/* #undef HAVE_TYPES_H */ /* if we may include types.h (rare cases e.g. ATARI TOS) */
|
| 89 |
/* #undef HAVE_STAT_H */ /* if we may include stat.h (rare cases e.g. ATARI TOS) */
|
| 90 |
#define HAVE_POLL_H 1 /* if we may include poll.h to use poll() */
|
| 91 |
#define HAVE_SYS_POLL_H 1 /* if we may include sys/poll.h to use poll() */
|
| 92 |
#define HAVE_SYS_SELECT_H 1 /* if we may have sys/select.h nonstandard use for select() on some systems*/
|
| 93 |
/* #undef NEED_SYS_SELECT_H */ /* if we need sys/select.h to use select() (this is nonstandard) */
|
| 94 |
#define HAVE_NETDB_H 1 /* if we have netdb.h for get*by*() and rcmd() */
|
| 95 |
#define HAVE_SYS_SOCKET_H 1 /* if we have sys/socket.h for socket() */
|
| 96 |
/* #undef NEED_SYS_SOCKET_H */ /* if we need sys/socket.h to use select() (this is nonstandard) */
|
| 97 |
#define HAVE_LINUX_PG_H 1 /* if we may include linux/pg.h for PP ATAPI sypport */
|
| 98 |
/* #undef HAVE_CAMLIB_H */ /* if we may include camlib.h for CAM SCSI transport definitions */
|
| 99 |
/* #undef HAVE_IEEEFP_H */ /* if we may include ieeefp.h for finite()/isnand() */
|
| 100 |
/* #undef HAVE_FP_H */ /* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */
|
| 101 |
#define HAVE_VALUES_H 1 /* if we may include values.h for MAXFLOAT */
|
| 102 |
#define HAVE_FLOAT_H 1 /* if we may include float.h for FLT_MAX */
|
| 103 |
/* #undef HAVE__FILBUF */ /* if we have _filbuf() for USG derived STDIO */
|
| 104 |
/* #undef HAVE___FILBUF */ /* if we have __filbuf() for USG derived STDIO */
|
| 105 |
/* #undef HAVE_USG_STDIO */ /* if we have USG derived STDIO */
|
| 106 |
#define HAVE_ERRNO_DEF 1 /* if we have errno definition in <errno.h> */
|
| 107 |
/* #undef HAVE_VFORK_H */ /* if we should include vfork.h for vfork() definitions */
|
| 108 |
#define HAVE_ARPA_INET_H 1 /* if we have arpa/inet.h (missing on BeOS) */
|
| 109 |
/* BeOS has inet_ntoa() in <netdb.h> */
|
| 110 |
/* #undef HAVE_BSD_DEV_SCSIREG_H */ /* if we have a NeXT Step compatible sg driver */
|
| 111 |
/* #undef HAVE_SYS_BSDTTY_H */ /* if we have sys/bsdtty.h on HP-UX for TIOCGPGRP */
|
| 112 |
/* #undef HAVE_OS_H */ /* if we have the BeOS kernel definitions in OS.h */
|
| 113 |
/* #undef HAVE_EXT2FS_EXT2_FS_H */ /* if we have the Linux moving target ext2fs/ext2_fs.h */
|
| 114 |
/* #undef HAVE_ATTR_XATTR_H */ /* if we have the Linux Extended File Attr definitions in attr/xattr.h */
|
| 115 |
#define HAVE_FNMATCH_H 1 /* if we may include fnmatch.h */
|
| 116 |
|
| 117 |
#define HAVE_LIBINTL_H 1 /* if we may include libintl.h */
|
| 118 |
#define HAVE_LOCALE_H 1 /* if we may include locale.h */
|
| 119 |
#define HAVE_LANGINFO_H 1 /* if we may include langinfo.h */
|
| 120 |
|
| 121 |
/*
|
| 122 |
* Convert to SCHILY name
|
| 123 |
*/
|
| 124 |
#ifdef STDC_HEADERS
|
| 125 |
# ifndef HAVE_STDC_HEADERS
|
| 126 |
# define HAVE_STDC_HEADERS
|
| 127 |
# endif
|
| 128 |
#endif
|
| 129 |
|
| 130 |
#ifdef HAVE_ELF_H
|
| 131 |
#define HAVE_ELF /* This system uses ELF */
|
| 132 |
#else
|
| 133 |
# ifdef HAVE_AOUTHDR_H
|
| 134 |
# define HAVE_COFF /* This system uses COFF */
|
| 135 |
# else
|
| 136 |
# ifdef HAVE_A_OUT_H
|
| 137 |
# define HAVE_AOUT /* This system uses AOUT */
|
| 138 |
# endif
|
| 139 |
# endif
|
| 140 |
#endif
|
| 141 |
|
| 142 |
/*
|
| 143 |
* Library Functions
|
| 144 |
*/
|
| 145 |
#define HAVE_ACCESS 1 /* access() is present in libc */
|
| 146 |
/* #undef HAVE_EACCESS */ /* eaccess() is present in libc */
|
| 147 |
#define HAVE_EUIDACCESS 1 /* euidaccess() is present in libc */
|
| 148 |
/* #undef HAVE_ACCESS_E_OK */ /* access() implements E_OK (010) for effective UIDs */
|
| 149 |
#define HAVE_CRYPT 1 /* crypt() is present in libc or libcrypt */
|
| 150 |
#define HAVE_STRERROR 1 /* strerror() is present in libc */
|
| 151 |
#define HAVE_MEMMOVE 1 /* memmove() is present in libc */
|
| 152 |
#define HAVE_MADVISE 1 /* madvise() is present in libc */
|
| 153 |
#define HAVE_MLOCK 1 /* mlock() is present in libc */
|
| 154 |
#cmakedefine HAVE_MLOCKALL
|
| 155 |
/* working mlockall() is present in libc */
|
| 156 |
#define HAVE_MMAP 1 /* working mmap() is present in libc */
|
| 157 |
/* #undef _MMAP_WITH_SIZEP */ /* mmap() needs address of size parameter */
|
| 158 |
#define HAVE_FLOCK 1 /* *BSD flock() is present in libc */
|
| 159 |
#define HAVE_LOCKF 1 /* lockf() is present in libc (XOPEN) */
|
| 160 |
#define HAVE_FCNTL_LOCKF 1 /* file locking via fcntl() is present in libc */
|
| 161 |
#define HAVE_FCHDIR 1 /* fchdir() is present in libc */
|
| 162 |
/* #undef HAVE_FDOPENDIR */ /* fdopendir() is present in libc */
|
| 163 |
#define HAVE_STATVFS 1 /* statvfs() is present in libc */
|
| 164 |
#define HAVE_QUOTACTL 1 /* quotactl() is present in libc */
|
| 165 |
/* #undef HAVE_QUOTAIOCTL */ /* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */
|
| 166 |
#define HAVE_SETREUID 1 /* setreuid() is present in libc */
|
| 167 |
#define HAVE_SETRESUID 1 /* setresuid() is present in libc */
|
| 168 |
#define HAVE_SETEUID 1 /* seteuid() is present in libc */
|
| 169 |
#define HAVE_SETUID 1 /* setuid() is present in libc */
|
| 170 |
#define HAVE_SETREGID 1 /* setregid() is present in libc */
|
| 171 |
#define HAVE_SETRESGID 1 /* setresgid() is present in libc */
|
| 172 |
#define HAVE_SETEGID 1 /* setegid() is present in libc */
|
| 173 |
#define HAVE_SETGID 1 /* setgid() is present in libc */
|
| 174 |
#define HAVE_GETPGID 1 /* getpgid() is present in libc (POSIX) */
|
| 175 |
#define HAVE_SETPGID 1 /* setpgid() is present in libc (POSIX) */
|
| 176 |
#define HAVE_GETPGRP 1 /* getpgrp() is present in libc (ANY) */
|
| 177 |
#define HAVE_SETPGRP 1 /* setpgrp() is present in libc (ANY) */
|
| 178 |
/* #undef HAVE_BSD_GETPGRP */ /* getpgrp() in libc is BSD-4.2 compliant */
|
| 179 |
/* #undef HAVE_BSD_SETPGRP */ /* setpgrp() in libc is BSD-4.2 compliant */
|
| 180 |
#define HAVE_GETSPNAM 1 /* getspnam() in libc (SVR4 compliant) */
|
| 181 |
/* #undef HAVE_GETSPWNAM */ /* getspwnam() in libsec.a (HP-UX) */
|
| 182 |
#define HAVE_SYNC 1 /* sync() is present in libc */
|
| 183 |
#define HAVE_FSYNC 1 /* fsync() is present in libc */
|
| 184 |
#define HAVE_TCGETATTR 1 /* tcgetattr() is present in libc */
|
| 185 |
#define HAVE_TCSETATTR 1 /* tcsetattr() is present in libc */
|
| 186 |
#define HAVE_WAIT3 1 /* working wait3() is present in libc */
|
| 187 |
#define HAVE_WAIT4 1 /* wait4() is present in libc */
|
| 188 |
#define HAVE_WAITID 1 /* waitid() is present in libc */
|
| 189 |
#define HAVE_WAITPID 1 /* waitpid() is present in libc */
|
| 190 |
#define HAVE_GETHOSTID 1 /* gethostid() is present in libc */
|
| 191 |
#define HAVE_GETHOSTNAME 1 /* gethostname() is present in libc */
|
| 192 |
#define HAVE_GETDOMAINNAME 1 /* getdomainname() is present in libc */
|
| 193 |
#define HAVE_GETPAGESIZE 1 /* getpagesize() is present in libc */
|
| 194 |
#define HAVE_GETDTABLESIZE 1 /* getdtablesize() is present in libc */
|
| 195 |
#define HAVE_GETRUSAGE 1 /* getrusage() is present in libc */
|
| 196 |
#define HAVE_GETRLIMIT 1 /* getrlimit() is present in libc */
|
| 197 |
#define HAVE_SETRLIMIT 1 /* setrlimit() is present in libc */
|
| 198 |
#define HAVE_ULIMIT 1 /* ulimit() is present in libc */
|
| 199 |
#define HAVE_GETTIMEOFDAY 1 /* gettimeofday() is present in libc */
|
| 200 |
#define HAVE_SETTIMEOFDAY 1 /* settimeofday() is present in libc */
|
| 201 |
#define HAVE_TIME 1 /* time() is present in libc */
|
| 202 |
#define HAVE_STIME 1 /* stime() is present in libc */
|
| 203 |
#define HAVE_POLL 1 /* poll() is present in libc */
|
| 204 |
#define HAVE_SELECT 1 /* select() is present in libc */
|
| 205 |
#define HAVE_CHMOD 1 /* chmod() is present in libc */
|
| 206 |
#define HAVE_FCHMOD 1 /* fchmod() is present in libc */
|
| 207 |
/* #undef HAVE_LCHMOD */ /* lchmod() is present in libc */
|
| 208 |
#define HAVE_CHOWN 1 /* chown() is present in libc */
|
| 209 |
#define HAVE_FCHOWN 1 /* fchown() is present in libc */
|
| 210 |
#define HAVE_LCHOWN 1 /* lchown() is present in libc */
|
| 211 |
#define HAVE_BRK 1 /* brk() is present in libc */
|
| 212 |
#define HAVE_SBRK 1 /* sbrk() is present in libc */
|
| 213 |
#define HAVE_VA_COPY 1 /* va_copy() is present in varargs.h/stdarg.h */
|
| 214 |
#define HAVE__VA_COPY 1 /* __va_copy() is present in varargs.h/stdarg.h */
|
| 215 |
/* #undef HAVE_DTOA */ /* BSD-4.4 __dtoa() is present in libc */
|
| 216 |
/* #undef HAVE_DTOA_R */ /* BSD-4.4 __dtoa() with result ptr (reentrant) */
|
| 217 |
#define HAVE_DUP2 1 /* dup2() is present in libc */
|
| 218 |
#define HAVE_GETCWD 1 /* POSIX getcwd() is present in libc */
|
| 219 |
#define HAVE_SMMAP 1 /* may map anonymous memory to get shared mem */
|
| 220 |
#define HAVE_SHMAT 1 /* shmat() is present in libc */
|
| 221 |
#define HAVE_SEMGET 1 /* semget() is present in libc */
|
| 222 |
#define HAVE_LSTAT 1 /* lstat() is present in libc */
|
| 223 |
#define HAVE_READLINK 1 /* readlink() is present in libc */
|
| 224 |
#define HAVE_SYMLINK 1 /* symlink() is present in libc */
|
| 225 |
#define HAVE_LINK 1 /* link() is present in libc */
|
| 226 |
#define HAVE_HARD_SYMLINKS 1 /* link() allows hard links on symlinks */
|
| 227 |
#define HAVE_LINK_NOFOLLOW 1 /* link() does not follow symlinks when hard linking symlinks */
|
| 228 |
#define HAVE_RENAME 1 /* rename() is present in libc */
|
| 229 |
#define HAVE_MKFIFO 1 /* mkfifo() is present in libc */
|
| 230 |
#define HAVE_MKNOD 1 /* mknod() is present in libc */
|
| 231 |
#define HAVE_ECVT 1 /* ecvt() is present in libc */
|
| 232 |
#define HAVE_FCVT 1 /* fcvt() is present in libc */
|
| 233 |
#define HAVE_GCVT 1 /* gcvt() is present in libc */
|
| 234 |
#define HAVE_ECVT_R 1 /* ecvt_r() is present in libc */
|
| 235 |
#define HAVE_FCVT_R 1 /* fcvt_r() is present in libc */
|
| 236 |
/* #undef HAVE_GCVT_R */ /* gcvt_r() is present in libc */
|
| 237 |
/* #undef HAVE_ECONVERT */ /* econvert() is present in libc */
|
| 238 |
/* #undef HAVE_FCONVERT */ /* fconvert() is present in libc */
|
| 239 |
/* #undef HAVE_GCONVERT */ /* gconvert() is present in libc */
|
| 240 |
#define HAVE_ISINF 1 /* isinf() is present in libc */
|
| 241 |
#define HAVE_ISNAN 1 /* isnan() is present in libc or libm */
|
| 242 |
#define HAVE_RAND 1 /* rand() is present in libc */
|
| 243 |
#define HAVE_DRAND48 1 /* drand48() is present in libc */
|
| 244 |
#define HAVE_SETPRIORITY 1 /* setpriority() is present in libc */
|
| 245 |
#define HAVE_NICE 1 /* nice() is present in libc */
|
| 246 |
/* #undef HAVE_DOSSETPRIORITY */ /* DosSetPriority() is present in libc */
|
| 247 |
/* #undef HAVE_DOSALLOCSHAREDMEM */ /* DosAllocSharedMem() is present in libc */
|
| 248 |
#define HAVE_SEEKDIR 1 /* seekdir() is present in libc */
|
| 249 |
#define HAVE_PUTENV 1 /* putenv() is present in libc (preferred function) */
|
| 250 |
#define HAVE_SETENV 1 /* setenv() is present in libc (use instead of putenv()) */
|
| 251 |
#define HAVE_UNAME 1 /* uname() is present in libc */
|
| 252 |
#define HAVE_SNPRINTF 1 /* snprintf() is present in libc */
|
| 253 |
#define HAVE_STRCASECMP 1 /* strcasecmp() is present in libc */
|
| 254 |
#define HAVE_STRDUP 1 /* strdup() is present in libc */
|
| 255 |
#define HAVE_STRSIGNAL 1 /* strsignal() is present in libc */
|
| 256 |
/* #undef HAVE_STR2SIG */ /* str2sig() is present in libc */
|
| 257 |
/* #undef HAVE_SIG2STR */ /* sig2str() is present in libc */
|
| 258 |
#define HAVE_KILLPG 1 /* killpg() is present in libc */
|
| 259 |
#define HAVE_SIGRELSE 1 /* sigrelse() is present in libc */
|
| 260 |
#define HAVE_SIGPROCMASK 1 /* sigprocmask() is present in libc (POSIX) */
|
| 261 |
#define HAVE_SIGSETMASK 1 /* sigsetmask() is present in libc (BSD) */
|
| 262 |
#define HAVE_SIGSET 1 /* sigset() is present in libc (POSIX) */
|
| 263 |
#define HAVE_SYS_SIGLIST 1 /* char *sys_siglist[] is present in libc */
|
| 264 |
#define HAVE_NANOSLEEP 1 /* nanosleep() is present in libc */
|
| 265 |
#define HAVE_USLEEP 1 /* usleep() is present in libc */
|
| 266 |
#define HAVE_FORK 1 /* fork() is present in libc */
|
| 267 |
#define HAVE_EXECL 1 /* execl() is present in libc */
|
| 268 |
#define HAVE_EXECLE 1 /* execle() is present in libc */
|
| 269 |
#define HAVE_EXECLP 1 /* execlp() is present in libc */
|
| 270 |
#define HAVE_EXECV 1 /* execv() is present in libc */
|
| 271 |
#define HAVE_EXECVE 1 /* execve() is present in libc */
|
| 272 |
#define HAVE_EXECVP 1 /* execvp() is present in libc */
|
| 273 |
#define HAVE_ALLOCA 1 /* alloca() is present (else use malloc())*/
|
| 274 |
#define HAVE_VALLOC 1 /* valloc() is present in libc (else use malloc())*/
|
| 275 |
/* #undef vfork */
|
| 276 |
|
| 277 |
/* #undef HAVE_CHFLAGS */ /* chflags() is present in libc */
|
| 278 |
/* #undef HAVE_FCHFLAGS */ /* fchflags() is present in libc */
|
| 279 |
/* #undef HAVE_FFLAGSTOSTR */ /* fflagstostr() is present in libc */
|
| 280 |
/* #undef HAVE_STRTOFFLAGS */ /* strtofflags() is present in libc */
|
| 281 |
|
| 282 |
#define HAVE_FNMATCH 1 /* fnmatch() is present in libc */
|
| 283 |
|
| 284 |
/*
|
| 285 |
* OS madness
|
| 286 |
*/
|
| 287 |
#define HAVE_BROKEN_LINUX_EXT2_FS_H 1 /* whether <linux/ext2_fs.h> is broken */
|
| 288 |
#define HAVE_BROKEN_SRC_LINUX_EXT2_FS_H 1 /* whether /usr/src/linux/include/linux/ext2_fs.h is broken */
|
| 289 |
/* #undef HAVE_BROKEN_SCSI_SCSI_H */ /* whether <scsi/scsi.h> is broken */
|
| 290 |
/* #undef HAVE_BROKEN_SRC_SCSI_SCSI_H */ /* whether /usr/src/linux/include/scsi/scsi.h is broken */
|
| 291 |
/* #undef HAVE_BROKEN_SCSI_SG_H */ /* whether <scsi/sg.h> is broken */
|
| 292 |
/* #undef HAVE_BROKEN_SRC_SCSI_SG_H */ /* whether /usr/src/linux/include/scsi/sg.h is broken */
|
| 293 |
|
| 294 |
/*
|
| 295 |
* Linux Extended File Attributes
|
| 296 |
*/
|
| 297 |
/* #undef HAVE_GETXATTR */ /* getxattr() */
|
| 298 |
/* #undef HAVE_SETXATTR */ /* setxattr() */
|
| 299 |
/* #undef HAVE_LISTXATTR */ /* listxattr() */
|
| 300 |
|
| 301 |
/*
|
| 302 |
* Important: This must be a result from a check _before_ the Large File test
|
| 303 |
* has been run. It then tells us whether these functions are
|
| 304 |
* available even when not in Large File mode.
|
| 305 |
*
|
| 306 |
* Do not run the AC_FUNC_FSEEKO test from the GNU tar Large File test
|
| 307 |
* siute. It will use the same cache names and interfere with our test.
|
| 308 |
* Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure
|
| 309 |
* they are placed before the large file tests.
|
| 310 |
*/
|
| 311 |
/* #undef HAVE_FSEEKO */ /* fseeko() is present in default compile mode */
|
| 312 |
/* #undef HAVE_FTELLO */ /* ftello() is present in default compile mode */
|
| 313 |
|
| 314 |
#define HAVE_RCMD 1 /* rcmd() is present in libc/libsocket */
|
| 315 |
#define HAVE_SOCKET 1 /* socket() is present in libc/libsocket */
|
| 316 |
#define HAVE_SOCKETPAIR 1 /* socketpair() is present in libc/libsocket */
|
| 317 |
#define HAVE_GETSERVBYNAME 1 /* getservbyname() is present in libc/libsocket */
|
| 318 |
/* inet_ntoa() is present in libc/libsocket */
|
| 319 |
#cmakedefine HAVE_INET_NTOA
|
| 320 |
#define HAVE_GETADDRINFO 1 /* getaddrinfo() is present in libc/libsocket */
|
| 321 |
/* getnameinfo() is present in libc/libsocket */
|
| 322 |
#cmakedefine define HAVE_GETNAMEINFO
|
| 323 |
|
| 324 |
#if defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL)
|
| 325 |
# define HAVE_QUOTA /* The system inludes quota */
|
| 326 |
#endif
|
| 327 |
|
| 328 |
/*
|
| 329 |
* We need to test for the include files too because Apollo Domain/OS has a
|
| 330 |
* libc that includes the functions but the includes files are not visible
|
| 331 |
* from the BSD compile environment.
|
| 332 |
*/
|
| 333 |
#if defined(HAVE_SHMAT) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
|
| 334 |
# define HAVE_USGSHM /* USG shared memory is present */
|
| 335 |
#endif
|
| 336 |
#if defined(HAVE_SEMGET) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
|
| 337 |
# define HAVE_USGSEM /* USG semaphores are present */
|
| 338 |
#endif
|
| 339 |
|
| 340 |
#if defined(HAVE_GETPGRP) && !defined(HAVE_BSD_GETPGRP)
|
| 341 |
#define HAVE_POSIX_GETPGRP 1 /* getpgrp() in libc is POSIX compliant */
|
| 342 |
#endif
|
| 343 |
#if defined(HAVE_SETPGRP) && !defined(HAVE_BSD_SETPGRP)
|
| 344 |
#define HAVE_POSIX_SETPGRP 1 /* setpgrp() in libc is POSIX compliant */
|
| 345 |
#endif
|
| 346 |
|
| 347 |
/*
|
| 348 |
* Structures
|
| 349 |
*/
|
| 350 |
#define HAVE_MTGET_TYPE 1 /* if struct mtget contains mt_type (drive type) */
|
| 351 |
/* #undef HAVE_MTGET_MODEL */ /* if struct mtget contains mt_model (drive type) */
|
| 352 |
#define HAVE_MTGET_DSREG 1 /* if struct mtget contains mt_dsreg (drive status) */
|
| 353 |
/* #undef HAVE_MTGET_DSREG1 */ /* if struct mtget contains mt_dsreg1 (drive status msb) */
|
| 354 |
/* #undef HAVE_MTGET_DSREG2 */ /* if struct mtget contains mt_dsreg2 (drive status lsb) */
|
| 355 |
#define HAVE_MTGET_GSTAT 1 /* if struct mtget contains mt_gstat (generic status) */
|
| 356 |
#define HAVE_MTGET_ERREG 1 /* if struct mtget contains mt_erreg (error register) */
|
| 357 |
#define HAVE_MTGET_RESID 1 /* if struct mtget contains mt_resid (residual count) */
|
| 358 |
#define HAVE_MTGET_FILENO 1 /* if struct mtget contains mt_fileno (file #) */
|
| 359 |
#define HAVE_MTGET_BLKNO 1 /* if struct mtget contains mt_blkno (block #) */
|
| 360 |
/* #undef HAVE_MTGET_FLAGS */ /* if struct mtget contains mt_flags (flags) */
|
| 361 |
/* #undef HAVE_MTGET_BF */ /* if struct mtget contains mt_bf (optimum blocking factor) */
|
| 362 |
#define HAVE_STRUCT_RUSAGE 1 /* have struct rusage in sys/resource.h */
|
| 363 |
/* #undef HAVE_SI_UTIME */ /* if struct siginfo contains si_utime */
|
| 364 |
/* #undef HAVE_UNION_SEMUN */ /* have an illegal definition for union semun in sys/sem.h */
|
| 365 |
/* have union wait in wait.h */
|
| 366 |
#cmakedefine HAVE_UNION_WAIT
|
| 367 |
/*
|
| 368 |
* SCO UnixWare has st_atim.st__tim.tv_nsec but the st_atim.tv_nsec tests also
|
| 369 |
* succeeds. If you use st_atim.tv_nsec on UnixWare, you get a warning about
|
| 370 |
* illegal structure usage. For this reason, your code needs to have
|
| 371 |
* #ifdef HAVE_ST__TIM before #ifdef HAVE_ST_NSEC.
|
| 372 |
*/
|
| 373 |
/* #undef HAVE_ST_SPARE1 */ /* if struct stat contains st_spare1 (usecs) */
|
| 374 |
/* #undef HAVE_ST_ATIMENSEC */ /* if struct stat contains st_atimensec (nanosecs) */
|
| 375 |
#define HAVE_ST_NSEC 1 /* if struct stat contains st_atim.tv_nsec (nanosecs) */
|
| 376 |
/* #undef HAVE_ST__TIM */ /* if struct stat contains st_atim.st__tim.tv_nsec (nanosecs) */
|
| 377 |
/* #undef HAVE_ST_ATIMESPEC */ /* if struct stat contains st_atimespec.tv_nsec (nanosecs) */
|
| 378 |
#define HAVE_ST_BLKSIZE 1 /* if struct stat contains st_blksize */
|
| 379 |
#define HAVE_ST_BLOCKS 1 /* if struct stat contains st_blocks */
|
| 380 |
/* #undef HAVE_ST_FSTYPE */ /* if struct stat contains st_fstype */
|
| 381 |
/* #undef HAVE_ST_ACLCNT */ /* if struct stat contains st_aclcnt */
|
| 382 |
#define HAVE_ST_RDEV 1 /* if struct stat contains st_rdev */
|
| 383 |
/* #undef HAVE_ST_FLAGS */ /* if struct stat contains st_flags */
|
| 384 |
/* #undef STAT_MACROS_BROKEN */ /* if the macros S_ISDIR, S_ISREG .. don't work */
|
| 385 |
|
| 386 |
#define DEV_MINOR_BITS 32 /* # if bits needed to hold minor device number */
|
| 387 |
#define DEV_MINOR_NONCONTIG 1 /* if bits in minor device number are noncontiguous */
|
| 388 |
|
| 389 |
#define HAVE_SOCKADDR_STORAGE 1 /* if socket.h defines struct sockaddr_storage */
|
| 390 |
|
| 391 |
|
| 392 |
/*
|
| 393 |
* Byteorder/Bitorder
|
| 394 |
*/
|
| 395 |
#define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */
|
| 396 |
/* If using network byte order */
|
| 397 |
#cmakedefine WORDS_BIGENDIAN
|
| 398 |
#define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */
|
| 399 |
/* If high bits come first in structures */
|
| 400 |
#cmakedefine BITFIELDS_HTOL
|
| 401 |
|
| 402 |
/*
|
| 403 |
* Types/Keywords
|
| 404 |
*/
|
| 405 |
#define SIZEOF_CHAR 1
|
| 406 |
#define SIZEOF_SHORT_INT @SIZE_SHORT@
|
| 407 |
#define SIZEOF_INT @SIZE_INT@
|
| 408 |
#define SIZEOF_LONG_INT @SIZE_LONG@
|
| 409 |
#define SIZEOF_LONG_LONG @SIZE_LLONG@
|
| 410 |
#define SIZEOF_CHAR_P @SIZE_PTR@
|
| 411 |
#define SIZEOF_UNSIGNED_CHAR 1
|
| 412 |
#define SIZEOF_UNSIGNED_SHORT_INT @SIZE_SHORT@
|
| 413 |
#define SIZEOF_UNSIGNED_INT @SIZE_INT@
|
| 414 |
#define SIZEOF_UNSIGNED_LONG_INT @SIZE_LONG@
|
| 415 |
#define SIZEOF_UNSIGNED_LONG_LONG @SIZE_LLONG@
|
| 416 |
#define SIZEOF_UNSIGNED_CHAR_P @SIZE_PTR@
|
| 417 |
|
| 418 |
#define HAVE_LONGLONG 1 /* Compiler defines long long type */
|
| 419 |
|
| 420 |
/* #undef const */ /* Define to empty if const doesn't work */
|
| 421 |
/* #undef uid_t */ /* To be used if uid_t is not present */
|
| 422 |
/* #undef gid_t */ /* To be used if gid_t is not present */
|
| 423 |
/* #undef size_t */ /* To be used if size_t is not present */
|
| 424 |
/* #undef ssize_t */ /* To be used if ssize_t is not present */
|
| 425 |
/* #undef pid_t */ /* To be used if pid_t is not present */
|
| 426 |
/* #undef off_t */ /* To be used if off_t is not present */
|
| 427 |
/* #undef mode_t */ /* To be used if mode_t is not present */
|
| 428 |
/* #undef time_t */ /* To be used if time_t is not present */
|
| 429 |
/* #undef caddr_t */ /* To be used if caddr_t is not present */
|
| 430 |
/* #undef daddr_t */ /* To be used if daddr_t is not present */
|
| 431 |
/* #undef dev_t */ /* To be used if dev_t is not present */
|
| 432 |
/* #undef ino_t */ /* To be used if ino_t is not present */
|
| 433 |
/* #undef nlink_t */ /* To be used if nlink_t is not present */
|
| 434 |
/* @HAVE_NATIVE_BLKSIZE_T@ */
|
| 435 |
/* #undef blkcnt_t */ /* To be used if blkcnt_t is not present */
|
| 436 |
/*
|
| 437 |
* Important: Next Step needs time.h for clock_t (because of a bug)
|
| 438 |
*/
|
| 439 |
/* #undef clock_t */ /* To be used if clock_t is not present */
|
| 440 |
/* #undef socklen_t */ /* To be used if socklen_t is not present */
|
| 441 |
|
| 442 |
/*
|
| 443 |
* These types are present on all UNIX systems but should be avoided
|
| 444 |
* for portability.
|
| 445 |
* On Apollo/Domain OS we don't have them....
|
| 446 |
*
|
| 447 |
* Better include <utypes.h> and use Uchar, Uint & Ulong
|
| 448 |
*/
|
| 449 |
/* #undef u_char */ /* To be used if u_char is not present */
|
| 450 |
/* #undef u_short */ /* To be used if u_short is not present */
|
| 451 |
/* #undef u_int */ /* To be used if u_int is not present */
|
| 452 |
/* #undef u_long */ /* To be used if u_long is not present */
|
| 453 |
|
| 454 |
/*#undef HAVE_SIZE_T*/
|
| 455 |
/*#undef NO_SIZE_T*/
|
| 456 |
/*
|
| 457 |
* Critical on some of Debian architectures (EB) */
|
| 458 |
/* #define VA_LIST_IS_ARRAY 1 */
|
| 459 |
|
| 460 |
#cmakedefine VA_LIST_IS_ARRAY
|
| 461 |
|
| 462 |
#define GETGROUPS_T gid_t
|
| 463 |
#define GID_T GETGROUPS_T
|
| 464 |
|
| 465 |
/*
|
| 466 |
* Define as the return type of signal handlers (int or void).
|
| 467 |
*/
|
| 468 |
#define RETSIGTYPE void
|
| 469 |
|
| 470 |
/*
|
| 471 |
* Defines needed to get large file support.
|
| 472 |
#ifdef USE_LARGEFILES
|
| 473 |
|
| 474 |
We always use LFS, basta (EB)
|
| 475 |
|
| 476 |
*/
|
| 477 |
|
| 478 |
#define HAVE_LARGEFILES 1
|
| 479 |
#define _FILE_OFFSET_BITS 64
|
| 480 |
#define _LARGEFILE_SOURCE 1 /* To make ftello() visible (HP-UX 10.20). */
|
| 481 |
#define _LARGE_FILES 1 /* Large file defined on AIX-style hosts. */
|
| 482 |
/* #undef _XOPEN_SOURCE */ /* To make ftello() visible (glibc 2.1.3). */
|
| 483 |
/* XXX We don't use this because glibc2.1.3*/
|
| 484 |
/* XXX is bad anyway. If we define */
|
| 485 |
/* XXX _XOPEN_SOURCE we will loose caddr_t */
|
| 486 |
|
| 487 |
/*#endif * USE_LARGEFILES */
|
| 488 |
|
| 489 |
#ifdef USE_ACL /* Enable/disable ACL support */
|
| 490 |
/*
|
| 491 |
* POSIX ACL support
|
| 492 |
*/
|
| 493 |
/* #undef HAVE_ACL_GET_FILE */ /* acl_get_file() function */
|
| 494 |
/* #undef HAVE_ACL_SET_FILE */ /* acl_set_file() function */
|
| 495 |
/* #undef HAVE_ACL_FROM_TEXT */ /* acl_from_text() function */
|
| 496 |
/* #undef HAVE_ACL_TO_TEXT */ /* acl_to_text() function */
|
| 497 |
/* #undef HAVE_ACL_FREE */ /* acl_free() function */
|
| 498 |
/* #undef HAVE_ACL_DELETE_DEF_FILE */ /* acl_delete_def_file() function */
|
| 499 |
/* #undef HAVE_ACL_EXTENDED_FILE */ /* acl_extended_file() function (Linux only)*/
|
| 500 |
|
| 501 |
#if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \
|
| 502 |
defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \
|
| 503 |
defined(HAVE_ACL_FREE)
|
| 504 |
# define HAVE_POSIX_ACL 1 /* POSIX ACL's present */
|
| 505 |
#endif
|
| 506 |
|
| 507 |
/*
|
| 508 |
* Sun ACL support.
|
| 509 |
* Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
|
| 510 |
*/
|
| 511 |
/* #undef HAVE_ACL */ /* acl() function */
|
| 512 |
/* #undef HAVE_FACL */ /* facl() function */
|
| 513 |
/* #undef HAVE_ACLFROMTEXT */ /* aclfromtext() function */
|
| 514 |
/* #undef HAVE_ACLTOTEXT */ /* acltotext() function */
|
| 515 |
|
| 516 |
#if defined(HAVE_ACL) && defined(HAVE_FACL) && \
|
| 517 |
defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT)
|
| 518 |
# define HAVE_SUN_ACL 1 /* Sun ACL's present */
|
| 519 |
#endif
|
| 520 |
|
| 521 |
/*
|
| 522 |
* HP-UX ACL support.
|
| 523 |
* Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
|
| 524 |
*/
|
| 525 |
/* #undef HAVE_GETACL */ /* getacl() function */
|
| 526 |
/* #undef HAVE_FGETACL */ /* fgetacl() function */
|
| 527 |
/* #undef HAVE_SETACL */ /* setacl() function */
|
| 528 |
/* #undef HAVE_FSETACL */ /* fsetacl() function */
|
| 529 |
/* #undef HAVE_STRTOACL */ /* strtoacl() function */
|
| 530 |
/* #undef HAVE_ACLTOSTR */ /* acltostr() function */
|
| 531 |
/* #undef HAVE_CPACL */ /* cpacl() function */
|
| 532 |
/* #undef HAVE_FCPACL */ /* fcpacl() function */
|
| 533 |
/* #undef HAVE_CHOWNACL */ /* chownacl() function */
|
| 534 |
/* #undef HAVE_SETACLENTRY */ /* setaclentry() function */
|
| 535 |
/* #undef HAVE_FSETACLENTRY */ /* fsetaclentry() function */
|
| 536 |
|
| 537 |
#if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \
|
| 538 |
defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \
|
| 539 |
defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT)
|
| 540 |
# define HAVE_HP_ACL 1 /* HP-UX ACL's present */
|
| 541 |
#endif
|
| 542 |
|
| 543 |
/*
|
| 544 |
* Global definition whether ACL support is present.
|
| 545 |
* As HP-UX differs too much from other implementations, HAVE_HP_ACL is not
|
| 546 |
* included in HAVE_ANY_ACL.
|
| 547 |
*/
|
| 548 |
#if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL)
|
| 549 |
# define HAVE_ANY_ACL 1 /* Any ACL implementation present */
|
| 550 |
#endif
|
| 551 |
|
| 552 |
#endif /* USE_ACL */
|
| 553 |
|
| 554 |
/*
|
| 555 |
* Misc CC / LD related stuff
|
| 556 |
*/
|
| 557 |
/* #undef NO_USER_MALLOC */ /* If we cannot define our own malloc() */
|
| 558 |
#define HAVE_DYN_ARRAYS 1 /* If the compiler allows dynamic sized arrays */
|
| 559 |
|
| 560 |
#define HOST_SYSTEM "@CMAKE_SYSTEM_NAME@"
|