From 8c8b4375bb666561261ca2837e538cc3d7d2ce5f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 16 Sep 2002 06:31:49 +0000 Subject: [PATCH] Update for version 3.39. --- usr.bin/file/Makefile | 3 +++ usr.bin/file/config.h | 45 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile index c55055e5fb22..0b9658a76aa8 100644 --- a/usr.bin/file/Makefile +++ b/usr.bin/file/Makefile @@ -33,6 +33,9 @@ MAGICPATH= /usr/share/misc CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DBUILTIN_ELF -DELFCORE -DHAVE_CONFIG_H CFLAGS+= -I${.CURDIR} -I${SRCDIR} +LDADD+= -lz +DPADD+= ${LIBZ} + CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.PITA FILES= magic magic.mgc ${SRCDIR}/magic.mime magic.mime.mgc diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h index 693e0ab9fcf0..6c5307ada4fa 100644 --- a/usr.bin/file/config.h +++ b/usr.bin/file/config.h @@ -27,6 +27,9 @@ /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 +/* Define if your declares struct tm. */ +/* #undef TM_IN_SYS_TIME */ + /* Define if builtin ELF support is enabled. */ #define BUILTIN_ELF 1 @@ -36,6 +39,12 @@ /* Define if the `long long' type works. */ #define HAVE_LONG_LONG 1 +/* Define if we have "tm_isdst" in "struct tm". */ +#define HAVE_TM_ISDST 1 + +/* Define if we have a global "int" variable "daylight". */ +/* #undef HAVE_DAYLIGHT */ + /* Define to `unsigned char' if standard headers don't define. */ /* #undef uint8_t */ @@ -61,6 +70,9 @@ /* The number of bytes in a uint64_t. */ #define SIZEOF_UINT64_T 8 +/* Define if you have the mkstemp function. */ +#define HAVE_MKSTEMP 1 + /* Define if you have the mmap function. */ #define HAVE_MMAP 1 @@ -70,19 +82,48 @@ /* Define if you have the strtoul function. */ #define HAVE_STRTOUL 1 +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_GETOPT_H */ + /* Define if you have the header file. */ #define HAVE_LOCALE_H 1 +/* Define if you have the header file. */ +#define HAVE_STDINT_H 1 + /* Define if you have the header file. */ #define HAVE_SYS_MMAN_H 1 +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + /* Define if you have the header file. */ #define HAVE_UNISTD_H 1 +/* Define if you have the z library (-lz). */ +#define HAVE_LIBZ 1 + /* Name of package */ #define PACKAGE "file" /* Version number of package */ -#define VERSION "3.36" +#define VERSION "3.39" + +/* HAVE_TM_ZONE */ +#define HAVE_TM_ZONE 1 + +/* HAVE_TZNAME */ +#define HAVE_TZNAME 1 + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ -#include