summaryrefslogtreecommitdiffhomepage
path: root/auto/inc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/inc')
-rw-r--r--auto/inc10
1 files changed, 1 insertions, 9 deletions
diff --git a/auto/inc b/auto/inc
index fc71a118b..0419f11a0 100644
--- a/auto/inc
+++ b/auto/inc
@@ -21,15 +21,7 @@ eval "${CC} -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1"
if [ -x $NGX_AUTOTEST ]; then
echo " found"
-
- cat << END >> $NGX_AUTO_CONFIG_H
-
-#ifndef HAVE_$inc
-#define HAVE_$inc 1
-#endif
-
-END
-
+ have=HAVE_$inc . auto/have
eval "NGX_$inc='#include <$ngx_inc>'"
ngx_found=yes