1133362Sobrien/* $FreeBSD: releng/10.3/lib/libmagic/config.h 330569 2018-03-07 06:04:25Z gordon $ */ 2133362Sobrien 3277296Sdim/* Get __FreeBSD_version. */ 4277296Sdim#include <osreldate.h> 5277296Sdim 6277296Sdim/* Only specific versions of FreeBSD support xlocale */ 7277296Sdim#if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506) 8277296Sdim#define FREEBSD_XLOCALE_SUPPORT 1 9277296Sdim#endif 10277296Sdim 11175299Sobrien/* config.h. Generated from config.h.in by configure. */ 12208341Smarius/* config.h.in. Generated from configure.ac by autoheader. */ 13133362Sobrien 14268515Sdelphij/* Define if building universal (internal helper macro) */ 15268515Sdelphij/* #undef AC_APPLE_UNIVERSAL_BUILD */ 16268515Sdelphij 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 23268515Sdelphij/* Define to 1 if you have the `asctime_r' function. */ 24268515Sdelphij#define HAVE_ASCTIME_R 1 25268515Sdelphij 26191771Sobrien/* Define to 1 if you have the `asprintf' function. */ 27191771Sobrien#define HAVE_ASPRINTF 1 28191771Sobrien 29268515Sdelphij/* Define to 1 if you have the `ctime_r' function. */ 30268515Sdelphij#define HAVE_CTIME_R 1 31268515Sdelphij 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 46330569Sgordon/* Define to 1 if you have the `dprintf' function. */ 47330569Sgordon#define HAVE_DPRINTF 1 48330569Sgordon 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 55268515Sdelphij/* Define to 1 if you have the `fmtcheck' function. */ 56268515Sdelphij#define HAVE_FMTCHECK 1 57268515Sdelphij 58234449Sobrien/* Define to 1 if you have the `fork' function. */ 59234449Sobrien#define HAVE_FORK 1 60234449Sobrien 61276415Sdelphij/* Define to 1 if you have the `freelocale' function. */ 62277296Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 63276415Sdelphij#define HAVE_FREELOCALE 1 64277296Sdim#endif 65276415Sdelphij 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 78268515Sdelphij/* Define to 1 if you have the `getpagesize' function. */ 79268515Sdelphij#define HAVE_GETPAGESIZE 1 80191771Sobrien 81284778Sdelphij/* Define to 1 if you have the `gmtime_r' function. */ 82284778Sdelphij#define HAVE_GMTIME_R 1 83284778Sdelphij 84268515Sdelphij/* Define to 1 if the system has the type `intptr_t'. */ 85268515Sdelphij#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 102284778Sdelphij/* Define to 1 if you have the `localtime_r' function. */ 103284778Sdelphij#define HAVE_LOCALTIME_R 1 104284778Sdelphij 105268515Sdelphij/* 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 114268515Sdelphij/* Define to 1 if you have the `mkostemp' function. */ 115268515Sdelphij#define HAVE_MKOSTEMP 1 116268515Sdelphij 117133362Sobrien/* Define to 1 if you have the `mkstemp' function. */ 118133362Sobrien#define HAVE_MKSTEMP 1 119133362Sobrien 120268515Sdelphij/* Define to 1 if you have a working `mmap' system call. */ 121133362Sobrien#define HAVE_MMAP 1 122133362Sobrien 123276415Sdelphij/* Define to 1 if you have the `newlocale' function. */ 124277296Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 125276415Sdelphij#define HAVE_NEWLOCALE 1 126277296Sdim#endif 127276415Sdelphij 128268515Sdelphij/* Define to 1 if you have the `pread' function. */ 129268515Sdelphij#define HAVE_PREAD 1 130234449Sobrien 131276415Sdelphij/* Define to 1 if you have the `setlocale' function. */ 132276415Sdelphij#define HAVE_SETLOCALE 1 133276415Sdelphij 134284778Sdelphij/* Define to 1 if you have the <signal.h> header file. */ 135284778Sdelphij#define HAVE_SIGNAL_H 1 136284778Sdelphij 137284778Sdelphij/* Have sig_t type */ 138284778Sdelphij#define HAVE_SIG_T 1 139284778Sdelphij 140268515Sdelphij/* Define to 1 if you have the <stddef.h> header file. */ 141268515Sdelphij#define HAVE_STDDEF_H 1 142268515Sdelphij 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 149268515Sdelphij/* Define to 1 if you have the `strcasestr' function. */ 150268515Sdelphij#define HAVE_STRCASESTR 1 151268515Sdelphij 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 191268515Sdelphij/* Define to 1 if you have the <sys/param.h> header file. */ 192268515Sdelphij#define HAVE_SYS_PARAM_H 1 193268515Sdelphij 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 218268515Sdelphij/* Define to 1 if the system has the type `uintptr_t'. */ 219268515Sdelphij#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 224276415Sdelphij/* Define to 1 if you have the `uselocale' function. */ 225277296Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 226276415Sdelphij#define HAVE_USELOCALE 1 227277296Sdim#endif 228276415Sdelphij 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 241268515Sdelphij/* Define to 1 if you have the `vfork' function. */ 242268515Sdelphij#define HAVE_VFORK 1 243268515Sdelphij 244268515Sdelphij/* Define to 1 if you have the <vfork.h> header file. */ 245268515Sdelphij/* #undef HAVE_VFORK_H */ 246268515Sdelphij 247268515Sdelphij/* Define to 1 or 0, depending whether the compiler supports simple visibility 248268515Sdelphij declarations. */ 249268515Sdelphij#define HAVE_VISIBILITY 1 250268515Sdelphij 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 260268515Sdelphij/* Define to 1 if `fork' works. */ 261268515Sdelphij#define HAVE_WORKING_FORK 1 262268515Sdelphij 263268515Sdelphij/* Define to 1 if `vfork' works. */ 264268515Sdelphij#define HAVE_WORKING_VFORK 1 265268515Sdelphij 266276415Sdelphij/* Define to 1 if you have the <xlocale.h> header file. */ 267277296Sdim#ifdef FREEBSD_XLOCALE_SUPPORT 268276415Sdelphij#define HAVE_XLOCALE_H 1 269277296Sdim#endif 270276415Sdelphij 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. */ 296330569Sgordon#define PACKAGE_STRING "file 5.32" 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. */ 305330569Sgordon#define PACKAGE_VERSION "5.32" 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 */ 336330569Sgordon#define VERSION "5.32" 337234449Sobrien 338268515Sdelphij/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 339268515Sdelphij significant byte first (like Motorola and SPARC, unlike Intel). */ 340268515Sdelphij#if defined AC_APPLE_UNIVERSAL_BUILD 341268515Sdelphij# if defined __BIG_ENDIAN__ 342268515Sdelphij# define WORDS_BIGENDIAN 1 343268515Sdelphij# endif 344268515Sdelphij#else 345268515Sdelphij# ifndef WORDS_BIGENDIAN 346268515Sdelphij/* # undef WORDS_BIGENDIAN */ 347268515Sdelphij# endif 348268515Sdelphij#endif 349268515Sdelphij 350330569Sgordon/* Enable zlib compression support */ 351330569Sgordon#define ZLIBSUPPORT 1 352330569Sgordon 353268515Sdelphij/* Enable large inode numbers on Mac OS X 10.5. */ 354268515Sdelphij#ifndef _DARWIN_USE_64_BIT_INODE 355268515Sdelphij# define _DARWIN_USE_64_BIT_INODE 1 356268515Sdelphij#endif 357268515Sdelphij 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 377268515Sdelphij/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 378268515Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 379268515Sdelphij #define below would cause a syntax error. */ 380268515Sdelphij/* #undef _UINT32_T */ 381268515Sdelphij 382268515Sdelphij/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 383268515Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 384268515Sdelphij #define below would cause a syntax error. */ 385268515Sdelphij/* #undef _UINT64_T */ 386268515Sdelphij 387268515Sdelphij/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 388268515Sdelphij <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 389268515Sdelphij #define below would cause a syntax error. */ 390268515Sdelphij/* #undef _UINT8_T */ 391268515Sdelphij 392133362Sobrien/* Define to empty if `const' does not conform to ANSI C. */ 393133362Sobrien/* #undef const */ 394208341Smarius 395268515Sdelphij/* Define to the type of a signed integer type of width exactly 32 bits if 396268515Sdelphij such a type exists and the standard includes do not define it. */ 397268515Sdelphij/* #undef int32_t */ 398268515Sdelphij 399268515Sdelphij/* Define to the type of a signed integer type of width exactly 64 bits if 400268515Sdelphij such a type exists and the standard includes do not define it. */ 401268515Sdelphij/* #undef int64_t */ 402268515Sdelphij 403268515Sdelphij/* Define to the type of a signed integer type wide enough to hold a pointer, 404268515Sdelphij if such a type exists, and if the system does not define it. */ 405268515Sdelphij/* #undef intptr_t */ 406268515Sdelphij 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 413268515Sdelphij/* Define to `int' if <sys/types.h> does not define. */ 414268515Sdelphij/* #undef pid_t */ 415268515Sdelphij 416208341Smarius/* Define to `unsigned int' if <sys/types.h> does not define. */ 417208341Smarius/* #undef size_t */ 418208341Smarius 419268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 16 bits if 420268515Sdelphij such a type exists and the standard includes do not define it. */ 421268515Sdelphij/* #undef uint16_t */ 422208341Smarius 423268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 32 bits if 424268515Sdelphij such a type exists and the standard includes do not define it. */ 425268515Sdelphij/* #undef uint32_t */ 426208341Smarius 427268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 64 bits if 428268515Sdelphij such a type exists and the standard includes do not define it. */ 429268515Sdelphij/* #undef uint64_t */ 430268515Sdelphij 431268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 8 bits if 432268515Sdelphij such a type exists and the standard includes do not define it. */ 433268515Sdelphij/* #undef uint8_t */ 434268515Sdelphij 435268515Sdelphij/* Define to the type of an unsigned integer type wide enough to hold a 436268515Sdelphij pointer, if such a type exists, and if the system does not define it. */ 437268515Sdelphij/* #undef uintptr_t */ 438268515Sdelphij 439268515Sdelphij/* Define as `fork' if `vfork' does not work. */ 440268515Sdelphij/* #undef vfork */ 441