summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-09-16 06:31:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-09-16 06:31:49 +0000
commit8c8b4375bb666561261ca2837e538cc3d7d2ce5f (patch)
treee9f8283bd539b53249b57236ac798d03a19a372d /usr.bin/file
parentfc89e1e61a92f0cb9233fffbbb4d922ef27528e7 (diff)
downloadsrc-test-8c8b4375bb666561261ca2837e538cc3d7d2ce5f.tar.gz
src-test-8c8b4375bb666561261ca2837e538cc3d7d2ce5f.zip
Update for version 3.39.
Notes
Notes: svn path=/head/; revision=103378
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/Makefile3
-rw-r--r--usr.bin/file/config.h45
2 files changed, 46 insertions, 2 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index c55055e5fb229..0b9658a76aa8a 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 693e0ab9fcf06..6c5307ada4fa1 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 <sys/time.h> 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 <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <getopt.h> header file. */
+/* #undef HAVE_GETOPT_H */
+
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
+/* Define if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
/* Define if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1
+/* Define if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
/* Define if you have the <unistd.h> 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 <fcntl.h>