summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>2003-03-03 23:06:47 +0000
committerIan Darwin <ian@cvs.openbsd.org>2003-03-03 23:06:47 +0000
commitb86f6e87b6eaf6feb71bc5447aee1fe97146cf1e (patch)
treefd4164383c84c08b7fabdb21d1cc4015474da406
parentbbdce50ddead0cf5f94e0990d5128d956feac22a (diff)
Add config.h described in previous commit
-rw-r--r--usr.bin/file/config.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h
new file mode 100644
index 00000000000..c1c842b31cb
--- /dev/null
+++ b/usr.bin/file/config.h
@@ -0,0 +1,32 @@
+/*
+ * Hand-made config.h file for OpenBSD, so we don't have to run
+ * the dratted configure script every time we build this puppy,
+ * but can still carefully import stuff from Christos' version.
+ *
+ * This file is in the public domain. Original Author Ian F. Darwin.
+ * $OpenBSD: config.h,v 1.1 2003/03/03 23:06:46 ian Exp $
+ */
+
+/* header file issues. */
+#define HAVE_UNISTD_H 1
+#define HAVE_FCNTL_H 1
+#define HAVE_SYS_WAIT_H 1
+#define HAVE_LOCALE_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_INTTYPES_H 1
+/* #define HAVE_LIBZ 1 DO NOT ENABLE YET -- ian */
+
+/* Compiler issues */
+#define HAVE_LONG_LONG 1
+#define SIZEOF_UINT8_T 1
+#define SIZEOF_UINT16_T 2
+#define SIZEOF_UINT32_T 4
+#define SIZEOF_UINT64_T 8
+
+/* Library issues */
+#define HAVE_GETOPT_LONG 1 /* in-tree as of 3.2 */
+#define HAVE_MKSTEMP 1
+
+/* ELF support */
+#define BUILTIN_ELF 1
+#define ELF_CORE 1