summaryrefslogtreecommitdiffhomepage
path: root/auto/func
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/func10
1 files changed, 1 insertions, 9 deletions
diff --git a/auto/func b/auto/func
index 37b2bffad..acbab9c95 100644
--- a/auto/func
+++ b/auto/func
@@ -24,15 +24,7 @@ eval "$CC $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs \
if [ -x $NGX_AUTOTEST ]; then
echo " found"
-
- cat << END >> $NGX_AUTO_CONFIG_H
-
-#ifndef HAVE_$func
-#define HAVE_$func 1
-#endif
-
-END
-
+ have=HAVE_$func . auto/have
ngx_found=yes
else