1133362Sobrien/* $FreeBSD: releng/11.0/lib/libmagic/config.h 302221 2016-06-27 01:29:17Z delphij $ */ 2133362Sobrien 3277147Sdim/* Get __FreeBSD_version. */ 4277147Sdim#include <osreldate.h> 5277147Sdim 6277147Sdim/* Only specific versions of FreeBSD support xlocale */ 7277147Sdim#if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506) 8277147Sdim#define FREEBSD_XLOCALE_SUPPORT 1 9277147Sdim#endif 10277147Sdim 11175299Sobrien/* config.h. Generated from config.h.in by configure. */ 12208341Smarius/* config.h.in. Generated from configure.ac by autoheader. */ 13133362Sobrien 14267897Sdelphij/* Define if building universal (internal helper macro) */ 15267897Sdelphij/* #undef AC_APPLE_UNIVERSAL_BUILD */ 16267897Sdelphij 17208341Smarius/* Define in built-in ELF support is used */ 18133362Sobrien#define BUILTIN_ELF 1 19133362Sobrien 20208341Smarius/* Define for ELF core file support */ 21133362Sobrien#define ELFCORE 1 22133362Sobrien 23267897Sdelphij/* Define to 1 if you have the `asctime_r' function. */ 24267897Sdelphij#define HAVE_ASCTIME_R 1 25267897Sdelphij 26191771Sobrien/* Define to 1 if you have the `asprintf' function. */ 27191771Sobrien#define HAVE_ASPRINTF 1 28191771Sobrien 29267897Sdelphij/* Define to 1 if you have the `ctime_r' function. */ 30267897Sdelphij#define HAVE_CTIME_R 1 31267897Sdelphij 32208341Smarius/* HAVE_DAYLIGHT */ 33133362Sobrien/* #undef HAVE_DAYLIGHT */ 34133362Sobrien 35234449Sobrien/* Define to 1 if you have the declaration of `daylight', and to 0 if you 36234449Sobrien don't. */ 37234449Sobrien#define HAVE_DECL_DAYLIGHT 0 38234449Sobrien 39234449Sobrien/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. 40234449Sobrien */ 41234449Sobrien#define HAVE_DECL_TZNAME 1 42234449Sobrien 43159769Sobrien/* Define to 1 if you have the <dlfcn.h> header file. */ 44159769Sobrien#define HAVE_DLFCN_H 1 45133362Sobrien 46298192Sdelphij/* Define to 1 if you have the `dprintf' function. */ 47298192Sdelphij#define HAVE_DPRINTF 1 48298192Sdelphij 49191771Sobrien/* Define to 1 if you have the <err.h> header file. */ 50191771Sobrien#define HAVE_ERR_H 1 51191771Sobrien 52133362Sobrien/* Define to 1 if you have the <fcntl.h> header file. */ 53133362Sobrien#define HAVE_FCNTL_H 1 54133362Sobrien 55267897Sdelphij/* Define to 1 if you have the `fmtcheck' function. */ 56267897Sdelphij#define HAVE_FMTCHECK 1 57267897Sdelphij 58234449Sobrien/* Define to 1 if you have the `fork' function. */ 59234449Sobrien#define HAVE_FORK 1 60234449Sobrien 61275698Sdelphij/* Define to 1 if you have the `freelocale' function. */ 62277147Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 63275698Sdelphij#define HAVE_FREELOCALE 1 64277147Sdim#endif 65275698Sdelphij 66191771Sobrien/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 67191771Sobrien#define HAVE_FSEEKO 1 68191771Sobrien 69234449Sobrien/* Define to 1 if you have the `getline' function. */ 70234449Sobrien#define HAVE_GETLINE 1 71234449Sobrien 72133362Sobrien/* Define to 1 if you have the <getopt.h> header file. */ 73133362Sobrien#define HAVE_GETOPT_H 1 74133362Sobrien 75133362Sobrien/* Define to 1 if you have the `getopt_long' function. */ 76133362Sobrien#define HAVE_GETOPT_LONG 1 77133362Sobrien 78267897Sdelphij/* Define to 1 if you have the `getpagesize' function. */ 79267897Sdelphij#define HAVE_GETPAGESIZE 1 80191771Sobrien 81284237Sdelphij/* Define to 1 if you have the `gmtime_r' function. */ 82284237Sdelphij#define HAVE_GMTIME_R 1 83284237Sdelphij 84267897Sdelphij/* Define to 1 if the system has the type `intptr_t'. */ 85267897Sdelphij#define HAVE_INTPTR_T 1 86191771Sobrien 87133362Sobrien/* Define to 1 if you have the <inttypes.h> header file. */ 88133362Sobrien#define HAVE_INTTYPES_H 1 89133362Sobrien 90234449Sobrien/* Define to 1 if you have the `gnurx' library (-lgnurx). */ 91234449Sobrien/* #undef HAVE_LIBGNURX */ 92234449Sobrien 93133362Sobrien/* Define to 1 if you have the `z' library (-lz). */ 94133362Sobrien#define HAVE_LIBZ 1 95133362Sobrien 96169967Sobrien/* Define to 1 if you have the <limits.h> header file. */ 97169967Sobrien#define HAVE_LIMITS_H 1 98169967Sobrien 99133362Sobrien/* Define to 1 if you have the <locale.h> header file. */ 100133362Sobrien#define HAVE_LOCALE_H 1 101133362Sobrien 102284237Sdelphij/* Define to 1 if you have the `localtime_r' function. */ 103284237Sdelphij#define HAVE_LOCALTIME_R 1 104284237Sdelphij 105267897Sdelphij/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ 106133362Sobrien#define HAVE_MBRTOWC 1 107133362Sobrien 108159769Sobrien/* Define to 1 if <wchar.h> declares mbstate_t. */ 109159769Sobrien#define HAVE_MBSTATE_T 1 110159769Sobrien 111133362Sobrien/* Define to 1 if you have the <memory.h> header file. */ 112133362Sobrien#define HAVE_MEMORY_H 1 113133362Sobrien 114267897Sdelphij/* Define to 1 if you have the `mkostemp' function. */ 115267897Sdelphij#define HAVE_MKOSTEMP 1 116267897Sdelphij 117133362Sobrien/* Define to 1 if you have the `mkstemp' function. */ 118133362Sobrien#define HAVE_MKSTEMP 1 119133362Sobrien 120267897Sdelphij/* Define to 1 if you have a working `mmap' system call. */ 121133362Sobrien#define HAVE_MMAP 1 122133362Sobrien 123275698Sdelphij/* Define to 1 if you have the `newlocale' function. */ 124277147Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 125275698Sdelphij#define HAVE_NEWLOCALE 1 126277147Sdim#endif 127275698Sdelphij 128267897Sdelphij/* Define to 1 if you have the `pread' function. */ 129267897Sdelphij#define HAVE_PREAD 1 130234449Sobrien 131275698Sdelphij/* Define to 1 if you have the `setlocale' function. */ 132275698Sdelphij#define HAVE_SETLOCALE 1 133275698Sdelphij 134284237Sdelphij/* Define to 1 if you have the <signal.h> header file. */ 135284237Sdelphij#define HAVE_SIGNAL_H 1 136284237Sdelphij 137284237Sdelphij/* Have sig_t type */ 138284237Sdelphij#define HAVE_SIG_T 1 139284237Sdelphij 140267897Sdelphij/* Define to 1 if you have the <stddef.h> header file. */ 141267897Sdelphij#define HAVE_STDDEF_H 1 142267897Sdelphij 143133362Sobrien/* Define to 1 if you have the <stdint.h> header file. */ 144133362Sobrien#define HAVE_STDINT_H 1 145133362Sobrien 146133362Sobrien/* Define to 1 if you have the <stdlib.h> header file. */ 147133362Sobrien#define HAVE_STDLIB_H 1 148133362Sobrien 149267897Sdelphij/* Define to 1 if you have the `strcasestr' function. */ 150267897Sdelphij#define HAVE_STRCASESTR 1 151267897Sdelphij 152133362Sobrien/* Define to 1 if you have the `strerror' function. */ 153133362Sobrien#define HAVE_STRERROR 1 154133362Sobrien 155133362Sobrien/* Define to 1 if you have the <strings.h> header file. */ 156133362Sobrien#define HAVE_STRINGS_H 1 157133362Sobrien 158133362Sobrien/* Define to 1 if you have the <string.h> header file. */ 159133362Sobrien#define HAVE_STRING_H 1 160133362Sobrien 161191771Sobrien/* Define to 1 if you have the `strlcat' function. */ 162191771Sobrien#define HAVE_STRLCAT 1 163191771Sobrien 164191771Sobrien/* Define to 1 if you have the `strlcpy' function. */ 165191771Sobrien#define HAVE_STRLCPY 1 166191771Sobrien 167169946Sobrien/* Define to 1 if you have the `strndup' function. */ 168185777Skib#define HAVE_STRNDUP 1 169169946Sobrien 170175299Sobrien/* Define to 1 if you have the `strtof' function. */ 171175299Sobrien#define HAVE_STRTOF 1 172175299Sobrien 173133362Sobrien/* Define to 1 if you have the `strtoul' function. */ 174133362Sobrien#define HAVE_STRTOUL 1 175133362Sobrien 176208341Smarius/* HAVE_STRUCT_OPTION */ 177208341Smarius#define HAVE_STRUCT_OPTION 1 178208341Smarius 179234449Sobrien/* Define to 1 if `st_rdev' is a member of `struct stat'. */ 180133362Sobrien#define HAVE_STRUCT_STAT_ST_RDEV 1 181133362Sobrien 182234449Sobrien/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ 183191771Sobrien#define HAVE_STRUCT_TM_TM_GMTOFF 1 184191771Sobrien 185234449Sobrien/* Define to 1 if `tm_zone' is a member of `struct tm'. */ 186191771Sobrien#define HAVE_STRUCT_TM_TM_ZONE 1 187191771Sobrien 188133362Sobrien/* Define to 1 if you have the <sys/mman.h> header file. */ 189133362Sobrien#define HAVE_SYS_MMAN_H 1 190133362Sobrien 191267897Sdelphij/* Define to 1 if you have the <sys/param.h> header file. */ 192267897Sdelphij#define HAVE_SYS_PARAM_H 1 193267897Sdelphij 194133362Sobrien/* Define to 1 if you have the <sys/stat.h> header file. */ 195133362Sobrien#define HAVE_SYS_STAT_H 1 196133362Sobrien 197169946Sobrien/* Define to 1 if you have the <sys/time.h> header file. */ 198169946Sobrien#define HAVE_SYS_TIME_H 1 199169946Sobrien 200133362Sobrien/* Define to 1 if you have the <sys/types.h> header file. */ 201133362Sobrien#define HAVE_SYS_TYPES_H 1 202133362Sobrien 203133362Sobrien/* Define to 1 if you have the <sys/utime.h> header file. */ 204133362Sobrien/* #undef HAVE_SYS_UTIME_H */ 205133362Sobrien 206133362Sobrien/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 207133362Sobrien#define HAVE_SYS_WAIT_H 1 208133362Sobrien 209208341Smarius/* HAVE_TM_ISDST */ 210159769Sobrien#define HAVE_TM_ISDST 1 211159769Sobrien 212133362Sobrien/* HAVE_TM_ZONE */ 213133362Sobrien#define HAVE_TM_ZONE 1 214133362Sobrien 215133362Sobrien/* HAVE_TZNAME */ 216133362Sobrien#define HAVE_TZNAME 1 217133362Sobrien 218267897Sdelphij/* Define to 1 if the system has the type `uintptr_t'. */ 219267897Sdelphij#define HAVE_UINTPTR_T 1 220191771Sobrien 221133362Sobrien/* Define to 1 if you have the <unistd.h> header file. */ 222133362Sobrien#define HAVE_UNISTD_H 1 223133362Sobrien 224275698Sdelphij/* Define to 1 if you have the `uselocale' function. */ 225277147Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 226275698Sdelphij#define HAVE_USELOCALE 1 227277147Sdim#endif 228275698Sdelphij 229133362Sobrien/* Define to 1 if you have the `utime' function. */ 230133362Sobrien#define HAVE_UTIME 1 231133362Sobrien 232133362Sobrien/* Define to 1 if you have the `utimes' function. */ 233133362Sobrien#define HAVE_UTIMES 1 234133362Sobrien 235133362Sobrien/* Define to 1 if you have the <utime.h> header file. */ 236133362Sobrien#define HAVE_UTIME_H 1 237133362Sobrien 238191771Sobrien/* Define to 1 if you have the `vasprintf' function. */ 239191771Sobrien#define HAVE_VASPRINTF 1 240191771Sobrien 241267897Sdelphij/* Define to 1 if you have the `vfork' function. */ 242267897Sdelphij#define HAVE_VFORK 1 243267897Sdelphij 244267897Sdelphij/* Define to 1 if you have the <vfork.h> header file. */ 245267897Sdelphij/* #undef HAVE_VFORK_H */ 246267897Sdelphij 247267897Sdelphij/* Define to 1 or 0, depending whether the compiler supports simple visibility 248267897Sdelphij declarations. */ 249267897Sdelphij#define HAVE_VISIBILITY 1 250267897Sdelphij 251133362Sobrien/* Define to 1 if you have the <wchar.h> header file. */ 252133362Sobrien#define HAVE_WCHAR_H 1 253133362Sobrien 254169946Sobrien/* Define to 1 if you have the <wctype.h> header file. */ 255169946Sobrien#define HAVE_WCTYPE_H 1 256169946Sobrien 257133362Sobrien/* Define to 1 if you have the `wcwidth' function. */ 258133362Sobrien#define HAVE_WCWIDTH 1 259133362Sobrien 260267897Sdelphij/* Define to 1 if `fork' works. */ 261267897Sdelphij#define HAVE_WORKING_FORK 1 262267897Sdelphij 263267897Sdelphij/* Define to 1 if `vfork' works. */ 264267897Sdelphij#define HAVE_WORKING_VFORK 1 265267897Sdelphij 266275698Sdelphij/* Define to 1 if you have the <xlocale.h> header file. */ 267277147Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 268275698Sdelphij#define HAVE_XLOCALE_H 1 269277147Sdim#endif 270275698Sdelphij 271175299Sobrien/* Define to 1 if you have the <zlib.h> header file. */ 272175299Sobrien#define HAVE_ZLIB_H 1 273175299Sobrien 274234449Sobrien/* Define to the sub-directory in which libtool stores uninstalled libraries. 275234449Sobrien */ 276234449Sobrien#define LT_OBJDIR ".libs/" 277234449Sobrien 278133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. 279133362Sobrien */ 280133362Sobrien/* #undef MAJOR_IN_MKDEV */ 281133362Sobrien 282133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in 283133362Sobrien <sysmacros.h>. */ 284133362Sobrien/* #undef MAJOR_IN_SYSMACROS */ 285133362Sobrien 286133362Sobrien/* Name of package */ 287133362Sobrien#define PACKAGE "file" 288133362Sobrien 289133362Sobrien/* Define to the address where bug reports for this package should be sent. */ 290208341Smarius#define PACKAGE_BUGREPORT "christos@astron.com" 291133362Sobrien 292133362Sobrien/* Define to the full name of this package. */ 293208341Smarius#define PACKAGE_NAME "file" 294133362Sobrien 295133362Sobrien/* Define to the full name and version of this package. */ 296302221Sdelphij#define PACKAGE_STRING "file 5.28" 297133362Sobrien 298133362Sobrien/* Define to the one symbol short name of this package. */ 299208341Smarius#define PACKAGE_TARNAME "file" 300133362Sobrien 301234449Sobrien/* Define to the home page for this package. */ 302234449Sobrien#define PACKAGE_URL "" 303234449Sobrien 304133362Sobrien/* Define to the version of this package. */ 305302221Sdelphij#define PACKAGE_VERSION "5.28" 306133362Sobrien 307133362Sobrien/* Define to 1 if you have the ANSI C header files. */ 308133362Sobrien#define STDC_HEADERS 1 309133362Sobrien 310133362Sobrien/* Define to 1 if your <sys/time.h> declares `struct tm'. */ 311133362Sobrien/* #undef TM_IN_SYS_TIME */ 312133362Sobrien 313234449Sobrien/* Enable extensions on AIX 3, Interix. */ 314234449Sobrien#ifndef _ALL_SOURCE 315234449Sobrien# define _ALL_SOURCE 1 316234449Sobrien#endif 317175299Sobrien/* Enable GNU extensions on systems that have them. */ 318175299Sobrien#ifndef _GNU_SOURCE 319175299Sobrien# define _GNU_SOURCE 1 320175299Sobrien#endif 321234449Sobrien/* Enable threading extensions on Solaris. */ 322234449Sobrien#ifndef _POSIX_PTHREAD_SEMANTICS 323234449Sobrien# define _POSIX_PTHREAD_SEMANTICS 1 324175299Sobrien#endif 325234449Sobrien/* Enable extensions on HP NonStop. */ 326234449Sobrien#ifndef _TANDEM_SOURCE 327234449Sobrien# define _TANDEM_SOURCE 1 328234449Sobrien#endif 329234449Sobrien/* Enable general extensions on Solaris. */ 330234449Sobrien#ifndef __EXTENSIONS__ 331234449Sobrien# define __EXTENSIONS__ 1 332234449Sobrien#endif 333175299Sobrien 334234449Sobrien 335234449Sobrien/* Version number of package */ 336302221Sdelphij#define VERSION "5.28" 337234449Sobrien 338267897Sdelphij/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 339267897Sdelphij significant byte first (like Motorola and SPARC, unlike Intel). */ 340267897Sdelphij#if defined AC_APPLE_UNIVERSAL_BUILD 341267897Sdelphij# if defined __BIG_ENDIAN__ 342267897Sdelphij# define WORDS_BIGENDIAN 1 343267897Sdelphij# endif 344267897Sdelphij#else 345267897Sdelphij# ifndef WORDS_BIGENDIAN 346267897Sdelphij/* # undef WORDS_BIGENDIAN */ 347267897Sdelphij# endif 348267897Sdelphij#endif 349267897Sdelphij 350302221Sdelphij/* Enable zlib compression support */ 351302221Sdelphij#define ZLIBSUPPORT 1 352302221Sdelphij 353267897Sdelphij/* Enable large inode numbers on Mac OS X 10.5. */ 354267897Sdelphij#ifndef _DARWIN_USE_64_BIT_INODE 355267897Sdelphij# define _DARWIN_USE_64_BIT_INODE 1 356267897Sdelphij#endif 357267897Sdelphij 358234449Sobrien/* Number of bits in a file offset, on hosts where this is settable. */ 359234449Sobrien/* #undef _FILE_OFFSET_BITS */ 360234449Sobrien 361208341Smarius/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 362208341Smarius/* #undef _LARGEFILE_SOURCE */ 363208341Smarius 364133362Sobrien/* Define for large files, on AIX-style hosts. */ 365133362Sobrien/* #undef _LARGE_FILES */ 366133362Sobrien 367234449Sobrien/* Define to 1 if on MINIX. */ 368234449Sobrien/* #undef _MINIX */ 369234449Sobrien 370234449Sobrien/* Define to 2 if the system does not provide POSIX.1 features except with 371234449Sobrien this defined. */ 372234449Sobrien/* #undef _POSIX_1_SOURCE */ 373234449Sobrien 374234449Sobrien/* Define to 1 if you need to in order for `stat' and other things to work. */ 375234449Sobrien/* #undef _POSIX_SOURCE */ 376234449Sobrien 377267897Sdelphij/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 378267897Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 379267897Sdelphij #define below would cause a syntax error. */ 380267897Sdelphij/* #undef _UINT32_T */ 381267897Sdelphij 382267897Sdelphij/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 383267897Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 384267897Sdelphij #define below would cause a syntax error. */ 385267897Sdelphij/* #undef _UINT64_T */ 386267897Sdelphij 387267897Sdelphij/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 388267897Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 389267897Sdelphij #define below would cause a syntax error. */ 390267897Sdelphij/* #undef _UINT8_T */ 391267897Sdelphij 392133362Sobrien/* Define to empty if `const' does not conform to ANSI C. */ 393133362Sobrien/* #undef const */ 394208341Smarius 395267897Sdelphij/* Define to the type of a signed integer type of width exactly 32 bits if 396267897Sdelphij such a type exists and the standard includes do not define it. */ 397267897Sdelphij/* #undef int32_t */ 398267897Sdelphij 399267897Sdelphij/* Define to the type of a signed integer type of width exactly 64 bits if 400267897Sdelphij such a type exists and the standard includes do not define it. */ 401267897Sdelphij/* #undef int64_t */ 402267897Sdelphij 403267897Sdelphij/* Define to the type of a signed integer type wide enough to hold a pointer, 404267897Sdelphij if such a type exists, and if the system does not define it. */ 405267897Sdelphij/* #undef intptr_t */ 406267897Sdelphij 407208341Smarius/* Define to a type if <wchar.h> does not define. */ 408208341Smarius/* #undef mbstate_t */ 409208341Smarius 410208341Smarius/* Define to `long int' if <sys/types.h> does not define. */ 411208341Smarius/* #undef off_t */ 412208341Smarius 413267897Sdelphij/* Define to `int' if <sys/types.h> does not define. */ 414267897Sdelphij/* #undef pid_t */ 415267897Sdelphij 416208341Smarius/* Define to `unsigned int' if <sys/types.h> does not define. */ 417208341Smarius/* #undef size_t */ 418208341Smarius 419267897Sdelphij/* Define to the type of an unsigned integer type of width exactly 16 bits if 420267897Sdelphij such a type exists and the standard includes do not define it. */ 421267897Sdelphij/* #undef uint16_t */ 422208341Smarius 423267897Sdelphij/* Define to the type of an unsigned integer type of width exactly 32 bits if 424267897Sdelphij such a type exists and the standard includes do not define it. */ 425267897Sdelphij/* #undef uint32_t */ 426208341Smarius 427267897Sdelphij/* Define to the type of an unsigned integer type of width exactly 64 bits if 428267897Sdelphij such a type exists and the standard includes do not define it. */ 429267897Sdelphij/* #undef uint64_t */ 430267897Sdelphij 431267897Sdelphij/* Define to the type of an unsigned integer type of width exactly 8 bits if 432267897Sdelphij such a type exists and the standard includes do not define it. */ 433267897Sdelphij/* #undef uint8_t */ 434267897Sdelphij 435267897Sdelphij/* Define to the type of an unsigned integer type wide enough to hold a 436267897Sdelphij pointer, if such a type exists, and if the system does not define it. */ 437267897Sdelphij/* #undef uintptr_t */ 438267897Sdelphij 439267897Sdelphij/* Define as `fork' if `vfork' does not work. */ 440267897Sdelphij/* #undef vfork */ 441