config.h revision 234449
1/* $FreeBSD: head/lib/libmagic/config.h 234449 2012-04-19 03:20:13Z obrien $ */ 2 3/* config.h. Generated from config.h.in by configure. */ 4/* config.h.in. Generated from configure.ac by autoheader. */ 5 6/* Define in built-in ELF support is used */ 7#define BUILTIN_ELF 1 8 9/* Define for ELF core file support */ 10#define ELFCORE 1 11 12/* Define to 1 if you have the `asprintf' function. */ 13#define HAVE_ASPRINTF 1 14 15/* HAVE_DAYLIGHT */ 16/* #undef HAVE_DAYLIGHT */ 17 18/* Define to 1 if you have the declaration of `daylight', and to 0 if you 19 don't. */ 20#define HAVE_DECL_DAYLIGHT 0 21 22/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. 23 */ 24#define HAVE_DECL_TZNAME 1 25 26/* Define to 1 if you have the <dlfcn.h> header file. */ 27#define HAVE_DLFCN_H 1 28 29/* Define to 1 if you have the <err.h> header file. */ 30#define HAVE_ERR_H 1 31 32/* Define to 1 if you have the <fcntl.h> header file. */ 33#define HAVE_FCNTL_H 1 34 35/* Define to 1 if you have the `fork' function. */ 36#define HAVE_FORK 1 37 38/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 39#define HAVE_FSEEKO 1 40 41/* Define to 1 if you have the `getline' function. */ 42#define HAVE_GETLINE 1 43 44/* Define to 1 if you have the <getopt.h> header file. */ 45#define HAVE_GETOPT_H 1 46 47/* Define to 1 if you have the `getopt_long' function. */ 48#define HAVE_GETOPT_LONG 1 49 50/* Define to 1 if the system has the type `int32_t'. */ 51#define HAVE_INT32_T 1 52 53/* Define to 1 if the system has the type `int64_t'. */ 54#define HAVE_INT64_T 1 55 56/* Define to 1 if you have the <inttypes.h> header file. */ 57#define HAVE_INTTYPES_H 1 58 59/* Define to 1 if you have the `gnurx' library (-lgnurx). */ 60/* #undef HAVE_LIBGNURX */ 61 62/* Define to 1 if you have the `z' library (-lz). */ 63#define HAVE_LIBZ 1 64 65/* Define to 1 if you have the <limits.h> header file. */ 66#define HAVE_LIMITS_H 1 67 68/* Define to 1 if you have the <locale.h> header file. */ 69#define HAVE_LOCALE_H 1 70 71/* Define to 1 if you have the `mbrtowc' function. */ 72#define HAVE_MBRTOWC 1 73 74/* Define to 1 if <wchar.h> declares mbstate_t. */ 75#define HAVE_MBSTATE_T 1 76 77/* Define to 1 if you have the <memory.h> header file. */ 78#define HAVE_MEMORY_H 1 79 80/* Define to 1 if you have the `mkstemp' function. */ 81#define HAVE_MKSTEMP 1 82 83/* Define to 1 if you have the `mmap' function. */ 84#define HAVE_MMAP 1 85 86/* Define to 1 if the system has the type `pid_t'. */ 87#define HAVE_PID_T 1 88 89/* Define to 1 if you have the <stdint.h> header file. */ 90#define HAVE_STDINT_H 1 91 92/* Define to 1 if you have the <stdlib.h> header file. */ 93#define HAVE_STDLIB_H 1 94 95/* Define to 1 if you have the `strerror' function. */ 96#define HAVE_STRERROR 1 97 98/* Define to 1 if you have the <strings.h> header file. */ 99#define HAVE_STRINGS_H 1 100 101/* Define to 1 if you have the <string.h> header file. */ 102#define HAVE_STRING_H 1 103 104/* Define to 1 if you have the `strlcat' function. */ 105#define HAVE_STRLCAT 1 106 107/* Define to 1 if you have the `strlcpy' function. */ 108#define HAVE_STRLCPY 1 109 110/* Define to 1 if you have the `strndup' function. */ 111#define HAVE_STRNDUP 1 112 113/* Define to 1 if you have the `strtof' function. */ 114#define HAVE_STRTOF 1 115 116/* Define to 1 if you have the `strtoul' function. */ 117#define HAVE_STRTOUL 1 118 119/* HAVE_STRUCT_OPTION */ 120#define HAVE_STRUCT_OPTION 1 121 122/* Define to 1 if `st_rdev' is a member of `struct stat'. */ 123#define HAVE_STRUCT_STAT_ST_RDEV 1 124 125/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ 126#define HAVE_STRUCT_TM_TM_GMTOFF 1 127 128/* Define to 1 if `tm_zone' is a member of `struct tm'. */ 129#define HAVE_STRUCT_TM_TM_ZONE 1 130 131/* Define to 1 if you have the <sys/mman.h> header file. */ 132#define HAVE_SYS_MMAN_H 1 133 134/* Define to 1 if you have the <sys/stat.h> header file. */ 135#define HAVE_SYS_STAT_H 1 136 137/* Define to 1 if you have the <sys/time.h> header file. */ 138#define HAVE_SYS_TIME_H 1 139 140/* Define to 1 if you have the <sys/types.h> header file. */ 141#define HAVE_SYS_TYPES_H 1 142 143/* Define to 1 if you have the <sys/utime.h> header file. */ 144/* #undef HAVE_SYS_UTIME_H */ 145 146/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 147#define HAVE_SYS_WAIT_H 1 148 149/* HAVE_TM_ISDST */ 150#define HAVE_TM_ISDST 1 151 152/* HAVE_TM_ZONE */ 153#define HAVE_TM_ZONE 1 154 155/* HAVE_TZNAME */ 156#define HAVE_TZNAME 1 157 158/* Define to 1 if the system has the type `uint16_t'. */ 159#define HAVE_UINT16_T 1 160 161/* Define to 1 if the system has the type `uint32_t'. */ 162#define HAVE_UINT32_T 1 163 164/* Define to 1 if the system has the type `uint64_t'. */ 165#define HAVE_UINT64_T 1 166 167/* Define to 1 if the system has the type `uint8_t'. */ 168#define HAVE_UINT8_T 1 169 170/* Define to 1 if you have the <unistd.h> header file. */ 171#define HAVE_UNISTD_H 1 172 173/* Define to 1 if you have the `utime' function. */ 174#define HAVE_UTIME 1 175 176/* Define to 1 if you have the `utimes' function. */ 177#define HAVE_UTIMES 1 178 179/* Define to 1 if you have the <utime.h> header file. */ 180#define HAVE_UTIME_H 1 181 182/* Define to 1 if you have the `vasprintf' function. */ 183#define HAVE_VASPRINTF 1 184 185/* Define to 1 if you have the <wchar.h> header file. */ 186#define HAVE_WCHAR_H 1 187 188/* Define to 1 if you have the <wctype.h> header file. */ 189#define HAVE_WCTYPE_H 1 190 191/* Define to 1 if you have the `wcwidth' function. */ 192#define HAVE_WCWIDTH 1 193 194/* Define to 1 if you have the <zlib.h> header file. */ 195#define HAVE_ZLIB_H 1 196 197/* Define to the sub-directory in which libtool stores uninstalled libraries. 198 */ 199#define LT_OBJDIR ".libs/" 200 201/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. 202 */ 203/* #undef MAJOR_IN_MKDEV */ 204 205/* Define to 1 if `major', `minor', and `makedev' are declared in 206 <sysmacros.h>. */ 207/* #undef MAJOR_IN_SYSMACROS */ 208 209/* Define to 1 if your C compiler doesn't accept -c and -o together. */ 210/* #undef NO_MINUS_C_MINUS_O */ 211 212/* Name of package */ 213#define PACKAGE "file" 214 215/* Define to the address where bug reports for this package should be sent. */ 216#define PACKAGE_BUGREPORT "christos@astron.com" 217 218/* Define to the full name of this package. */ 219#define PACKAGE_NAME "file" 220 221/* Define to the full name and version of this package. */ 222#define PACKAGE_STRING "file 5.11" 223 224/* Define to the one symbol short name of this package. */ 225#define PACKAGE_TARNAME "file" 226 227/* Define to the home page for this package. */ 228#define PACKAGE_URL "" 229 230/* Define to the version of this package. */ 231#define PACKAGE_VERSION "5.11" 232 233/* The size of `long long', as computed by sizeof. */ 234#define SIZEOF_LONG_LONG 8 235 236/* Define to 1 if you have the ANSI C header files. */ 237#define STDC_HEADERS 1 238 239/* Define to 1 if your <sys/time.h> declares `struct tm'. */ 240/* #undef TM_IN_SYS_TIME */ 241 242/* Enable extensions on AIX 3, Interix. */ 243#ifndef _ALL_SOURCE 244# define _ALL_SOURCE 1 245#endif 246/* Enable GNU extensions on systems that have them. */ 247#ifndef _GNU_SOURCE 248# define _GNU_SOURCE 1 249#endif 250/* Enable threading extensions on Solaris. */ 251#ifndef _POSIX_PTHREAD_SEMANTICS 252# define _POSIX_PTHREAD_SEMANTICS 1 253#endif 254/* Enable extensions on HP NonStop. */ 255#ifndef _TANDEM_SOURCE 256# define _TANDEM_SOURCE 1 257#endif 258/* Enable general extensions on Solaris. */ 259#ifndef __EXTENSIONS__ 260# define __EXTENSIONS__ 1 261#endif 262 263 264/* Version number of package */ 265#define VERSION "5.11" 266 267/* Number of bits in a file offset, on hosts where this is settable. */ 268/* #undef _FILE_OFFSET_BITS */ 269 270/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 271/* #undef _LARGEFILE_SOURCE */ 272 273/* Define for large files, on AIX-style hosts. */ 274/* #undef _LARGE_FILES */ 275 276/* Define to 1 if on MINIX. */ 277/* #undef _MINIX */ 278 279/* Define to 2 if the system does not provide POSIX.1 features except with 280 this defined. */ 281/* #undef _POSIX_1_SOURCE */ 282 283/* Define to 1 if you need to in order for `stat' and other things to work. */ 284/* #undef _POSIX_SOURCE */ 285 286/* Define to empty if `const' does not conform to ANSI C. */ 287/* #undef const */ 288 289/* Define to a type if <wchar.h> does not define. */ 290/* #undef mbstate_t */ 291 292/* Define to `long int' if <sys/types.h> does not define. */ 293/* #undef off_t */ 294 295/* Define to `unsigned int' if <sys/types.h> does not define. */ 296/* #undef size_t */ 297 298 299#ifdef _FREEBSD_UNUSED_ 300#ifndef HAVE_UINT8_T 301typedef unsigned char uint8_t; 302#endif 303#ifndef HAVE_UINT16_T 304typedef unsigned short uint16_t; 305#endif 306#ifndef HAVE_UINT32_T 307typedef unsigned int uint32_t; 308#endif 309#ifndef HAVE_INT32_T 310typedef int int32_t; 311#endif 312#ifndef HAVE_UINT64_T 313#if SIZEOF_LONG_LONG == 8 314typedef unsigned long long uint64_t; 315#else 316typedef unsigned long uint64_t; 317#endif 318#endif 319#ifndef HAVE_INT64_T 320#if SIZEOF_LONG_LONG == 8 321typedef long long int64_t; 322#else 323typedef long int64_t; 324#endif 325#endif 326#endif /* _FREEBSD_UNUSED_ */ 327 328