Welcome! Log In Create A New Profile

Advanced

[njs] Style unification of configure feature tests.

October 24, 2016 11:54AM
details: http://hg.nginx.org/njs/rev/0fe25989e0a6
branches:
changeset: 218:0fe25989e0a6
user: Igor Sysoev <igor@sysoev.ru>
date: Mon Oct 24 17:29:27 2016 +0300
description:
Style unification of configure feature tests.

diffstat:

nxt/auto/clang | 10 +++++-----
nxt/auto/getrandom | 2 +-
nxt/auto/time | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)

diffs (76 lines):

diff -r eef409d1d4be -r 0fe25989e0a6 nxt/auto/clang
--- a/nxt/auto/clang Mon Oct 24 17:23:00 2016 +0300
+++ b/nxt/auto/clang Mon Oct 24 17:29:27 2016 +0300
@@ -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 <stdlib.h>
@@ -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 -r eef409d1d4be -r 0fe25989e0a6 nxt/auto/getrandom
--- a/nxt/auto/getrandom Mon Oct 24 17:23:00 2016 +0300
+++ b/nxt/auto/getrandom Mon Oct 24 17:29:27 2016 +0300
@@ -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 <unistd.h>
diff -r eef409d1d4be -r 0fe25989e0a6 nxt/auto/time
--- a/nxt/auto/time Mon Oct 24 17:23:00 2016 +0300
+++ b/nxt/auto/time Mon Oct 24 17:29:27 2016 +0300
@@ -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 <time.h>
@@ -27,7 +27,7 @@ nxt_feature_test="#include <time.h>

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 <time.h>

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style unification of configure feature tests.

Igor Sysoev 954 October 24, 2016 11:54AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready