From: Igor Sysoev Date: Mon, 24 Oct 2016 14:29:27 +0000 (+0300) Subject: Style unification of configure feature tests. X-Git-Tag: 0.1.5~37 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=86c892af90ca595c857e14ff6d846dde2d76b606;p=njs.git Style unification of configure feature tests. --- 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