From 86c892af90ca595c857e14ff6d846dde2d76b606 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 24 Oct 2016 17:29:27 +0300 Subject: [PATCH] Style unification of configure feature tests. --- nxt/auto/clang | 10 +++++----- nxt/auto/getrandom | 2 +- nxt/auto/time | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nxt/auto/clang b/nxt/auto/clang index d14e9ecf..50da1b02 100644 --- a/nxt/auto/clang +++ b/nxt/auto/clang @@ -205,20 +205,20 @@ nxt_feature_test="int main(void) { nxt_feature="GCC __attribute__ visibility" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY -nxt_feature_run= +nxt_feature_run=no nxt_feature_path= nxt_feature_libs= nxt_feature_test="int n __attribute__ ((visibility(\"default\"))); int main(void) { - return 1; + return 0; }" . ${NXT_AUTO}feature nxt_feature="GCC __attribute__ malloc" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_MALLOC -nxt_feature_run= +nxt_feature_run=no nxt_feature_path= nxt_feature_libs= nxt_feature_test="#include @@ -251,13 +251,13 @@ else nxt_feature="GCC __attribute__ aligned" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_ALIGNED - nxt_feature_run= + nxt_feature_run=no nxt_feature_path= nxt_feature_libs= nxt_feature_test="int n __attribute__ ((aligned(64))); int main(void) { - return 1; + return 0; }" . ${NXT_AUTO}feature diff --git a/nxt/auto/getrandom b/nxt/auto/getrandom index d54110b1..00e85daf 100644 --- a/nxt/auto/getrandom +++ b/nxt/auto/getrandom @@ -7,7 +7,7 @@ nxt_feature="getrandom()" nxt_feature_name=NXT_HAVE_GETRANDOM -nxt_feature_run= +nxt_feature_run=no nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include diff --git a/nxt/auto/time b/nxt/auto/time index 2ba4e005..4894b637 100644 --- a/nxt/auto/time +++ b/nxt/auto/time @@ -7,7 +7,7 @@ nxt_feature="struct tm.tm_gmtoff" nxt_feature_name=NXT_HAVE_TM_GMTOFF -nxt_feature_run= +nxt_feature_run=no nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include @@ -27,7 +27,7 @@ nxt_feature_test="#include nxt_feature="altzone" nxt_feature_name=NXT_HAVE_ALTZONE -nxt_feature_run= +nxt_feature_run=no nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include -- 2.47.3