summaryrefslogtreecommitdiffstats
path: root/server/main.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-11-02 19:51:08 +0100
committerRyan Bloom <rbb@apache.org>2000-11-02 19:51:08 +0100
commitd95eb05d772b3ac4baf6a0a595016a5c6dd1d7cb (patch)
tree3772eb972be11b5028ab8c9ab1490106900aae20 /server/main.c
parentap_http_header_filter() can't remove itself until after we the (diff)
downloadapache2-d95eb05d772b3ac4baf6a0a595016a5c6dd1d7cb.tar.xz
apache2-d95eb05d772b3ac4baf6a0a595016a5c6dd1d7cb.zip
Create a feature macro that determines if Autoconf was used to configure
the server. The ap_ugly_hack variable is only valid if Autoconf was used for the configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86802 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/main.c')
-rw-r--r--server/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.c b/server/main.c
index 24324efcb5..1bd55076a1 100644
--- a/server/main.c
+++ b/server/main.c
@@ -294,7 +294,7 @@ int main(int argc, char *argv[])
apr_initialize();
-#ifndef WIN32 /* A -feature- (?) macro is needed here */
+#ifdef AP_USING_AUTOCONF
/* This ugly little hack pulls any function referenced in exports.c into
* the web server. exports.c is generated by buildconf, and it
* has all of the apr functions specified by httpd.exp.