summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-02-13 00:37:24 +0000
committerespie <espie@openbsd.org>2007-02-13 00:37:24 +0000
commitc7377b50f66f6136b615ac9390efcfc8eee644f2 (patch)
treec0946b9ca8fe077ab5d7621031155199dc1a5bd0 /usr.sbin/httpd/src
parentCheck for xTPR result of CPUID. (diff)
downloadwireguard-openbsd-c7377b50f66f6136b615ac9390efcfc8eee644f2.tar.xz
wireguard-openbsd-c7377b50f66f6136b615ac9390efcfc8eee644f2.zip
remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script still rebuilds a copy of that file, and we check it for diffs. okay millert@
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r--usr.sbin/httpd/src/Configure4
-rw-r--r--usr.sbin/httpd/src/include/ap_config_auto.h84
2 files changed, 86 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/Configure b/usr.sbin/httpd/src/Configure
index 4200bba765d..b4d02bef2b6 100644
--- a/usr.sbin/httpd/src/Configure
+++ b/usr.sbin/httpd/src/Configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: Configure,v 1.24 2007/02/03 18:01:52 espie Exp $
+# $OpenBSD: Configure,v 1.25 2007/02/13 00:37:24 espie Exp $
## ====================================================================
## The Apache Software License, Version 1.1
##
@@ -998,7 +998,7 @@ echo " + setting C pre-processor to $CPP"
## Now check for existance of non-standard system header files
## and start generation of the ap_config_auto.h header
##
-AP_CONFIG_AUTO_H="include/ap_config_auto.h"
+AP_CONFIG_AUTO_H="include/ap_config_auto.h.new"
echo "/*" >$AP_CONFIG_AUTO_H
echo " * ap_config_auto.h -- Automatically determined configuration stuff" >>$AP_CONFIG_AUTO_H
echo " * THIS FILE WAS AUTOMATICALLY GENERATED - DO NOT EDIT!" >>$AP_CONFIG_AUTO_H
diff --git a/usr.sbin/httpd/src/include/ap_config_auto.h b/usr.sbin/httpd/src/include/ap_config_auto.h
new file mode 100644
index 00000000000..2311bb802c8
--- /dev/null
+++ b/usr.sbin/httpd/src/include/ap_config_auto.h
@@ -0,0 +1,84 @@
+/*
+ * ap_config_auto.h -- Automatically determined configuration stuff
+ * THIS FILE WAS AUTOMATICALLY GENERATED - DO NOT EDIT!
+ */
+
+#ifndef AP_CONFIG_AUTO_H
+#define AP_CONFIG_AUTO_H
+
+/* check: #include <dlfcn.h> */
+#ifndef HAVE_DLFCN_H
+#define HAVE_DLFCN_H 1
+#endif
+
+/* check: #include <dl.h> */
+#ifdef HAVE_DL_H
+#undef HAVE_DL_H
+#endif
+
+/* check: #include <bstring.h> */
+#ifdef HAVE_BSTRING_H
+#undef HAVE_BSTRING_H
+#endif
+
+/* check: #include <crypt.h> */
+#ifdef HAVE_CRYPT_H
+#undef HAVE_CRYPT_H
+#endif
+
+/* check: #include <unistd.h> */
+#ifndef HAVE_UNISTD_H
+#define HAVE_UNISTD_H 1
+#endif
+
+/* check: #include <sys/resource.h> */
+#ifndef HAVE_SYS_RESOURCE_H
+#define HAVE_SYS_RESOURCE_H 1
+#endif
+
+/* check: #include <sys/select.h> */
+#ifndef HAVE_SYS_SELECT_H
+#define HAVE_SYS_SELECT_H 1
+#endif
+
+/* check: #include <sys/processor.h> */
+#ifdef HAVE_SYS_PROCESSOR_H
+#undef HAVE_SYS_PROCESSOR_H
+#endif
+
+/* check: #include <sys/param.h> */
+#ifndef HAVE_SYS_PARAM_H
+#define HAVE_SYS_PARAM_H 1
+#endif
+
+/* determine: isinf() found in libc */
+#ifndef HAVE_ISINF
+#define HAVE_ISINF 1
+#endif
+
+/* determine: isnan() found in libc */
+#ifndef HAVE_ISNAN
+#define HAVE_ISNAN 1
+#endif
+
+/* determine: is off_t a quad */
+#ifndef AP_OFF_T_IS_QUAD
+#define AP_OFF_T_IS_QUAD 1
+#endif
+
+/* build flag: -DDEV_RANDOM=/dev/arandom */
+#ifndef DEV_RANDOM
+#define DEV_RANDOM /dev/arandom
+#endif
+
+/* build flag: -DMOD_SSL=208116 */
+#ifndef MOD_SSL
+#define MOD_SSL 208116
+#endif
+
+/* build flag: -DEAPI */
+#ifndef EAPI
+#define EAPI 1
+#endif
+
+#endif /* AP_CONFIG_AUTO_H */