[njs] Removed NXT_READLINE_CFLAGS.

Valentin Bartenev vbart at nginx.com
Fri Apr 26 16:31:41 UTC 2019


details:   https://hg.nginx.org/njs/rev/60e98e247a53
branches:  
changeset: 932:60e98e247a53
user:      Valentin Bartenev <vbart at nginx.com>
date:      Fri Apr 26 19:30:43 2019 +0300
description:
Removed NXT_READLINE_CFLAGS.

It's not needed after 61f2616e21c7.

diffstat:

 auto/make     |  3 +--
 auto/readline |  4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 760d38110fd9 -r 60e98e247a53 auto/make
--- a/auto/make	Fri Apr 26 17:59:42 2019 +0300
+++ b/auto/make	Fri Apr 26 19:30:43 2019 +0300
@@ -177,8 +177,7 @@ cat << END >> $NXT_MAKEFILE
 	$NXT_BUILD_DIR/libnjs.a \\
 	njs/njs_shell.c
 	\$(NXT_CC) -o $NXT_BUILD_DIR/njs \$(NXT_CFLAGS) \\
-		$NXT_LIB_AUX_CFLAGS \$(NXT_LIB_INCS) \\
-		$NXT_READLINE_CFLAGS -Injs \\
+		$NXT_LIB_AUX_CFLAGS \$(NXT_LIB_INCS) -Injs \\
 		njs/njs_shell.c \\
 		$NXT_BUILD_DIR/libnjs.a \\
 		-lm $NXT_LIBS $NXT_LIB_AUX_LIBS $NXT_READLINE_LIB
diff -r 760d38110fd9 -r 60e98e247a53 auto/readline
--- a/auto/readline	Fri Apr 26 17:59:42 2019 +0300
+++ b/auto/readline	Fri Apr 26 19:30:43 2019 +0300
@@ -2,7 +2,6 @@
 # Copyright (C) NGINX, Inc.
 
 
-NXT_READLINE_CFLAGS=
 NXT_READLINE_LIB=
 
 nxt_found=no
@@ -69,13 +68,10 @@ if [ $nxt_found = no ]; then
     . auto/feature
 fi
 
-
-
 NXT_DEFAULT_TARGET=libnjs
 
 if [ $nxt_found = yes ]; then
     NXT_HAVE_READLINE=YES
-    NXT_READLINE_CFLAGS=$nxt_feature_incs
     NXT_READLINE_LIB=$nxt_feature_libs
     NXT_DEFAULT_TARGET="$NXT_DEFAULT_TARGET njs"
 


More information about the nginx-devel mailing list