Skip to contentSkip to conversation

tests: build: Add enable man page option.

PATCH Applied Varsha Rao 2 participants 4 messages Jan 25, 2018 netfilter

lore
Share & tools
lore

Varsha Rao

author
#0 lore raw

PATCH 1/1 tests: build: Add enable man page option.

Add test for man page compile option.

---
 tests/build/README       | 1 +
 tests/build/run-tests.sh | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
tests/build/README +1 -0
index 8eca252..dfe344b 100644
@@ -5,6 +5,7 @@ In this testsuite, automated testing is done for following nft compile options:
   cli support
   enable debugging symbols
   use mini-gmp
+  enable man page
   enable pdf documentation
   libxtables support
 
tests/build/run-tests.sh +2 -1
index 36cd8d8..109b2b5 100755
@@ -9,7 +9,8 @@ log_file="`pwd`/tests.log"
 tarball="nftables-0.8.1.tar.bz2"
 dir=../..
 cmd=./configure
-argument=( --without-cli --enable-debug --with-mini-gmp --enable-pdf-doc --with-xtables )
+argument=( --without-cli --enable-debug --with-mini-gmp --enable-man-doc
+	    --enable-pdf-doc --with-xtables)
 ok=0
 failed=0
 
Signature · 1 line
2.14.3
author
#1 lore raw

PATCH 1/1 configure: Remove macro AC_CHECK_FUNCS

Functions memmove, strchr, strerror and strdup are defined in string.h header file. Also, strtoull is defined in stdlib.h header file. These header files are checked by AC_CHECK_HEADERS macro. AC_CHECK_FUNCS macro is not required, so remove it.

---
 configure.ac | 3 ---
 1 file changed, 3 deletions(-)
configure.ac +0 -3
index 71d30d8..48af28c 100644
@@ -128,9 +128,6 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h \
 		  stddef.h stdint.h stdlib.h string.h unistd.h], ,
 		 AC_MSG_ERROR([Header file not found]))
 
-# Checks for library functions.
-AC_CHECK_FUNCS([memmove memset strchr strdup strerror strtoull])
-
 AC_CONFIG_FILES([					\
 		Makefile				\
 		src/Makefile				\
Signature · 1 line
2.14.3
#2 lore raw

Re: [PATCH nft] configure: Remove macro AC_CHECK_FUNCS

Quoted 4 lines · Varsha Rao

Functions memmove, strchr, strerror and strdup are defined in string.h header file. Also, strtoull is defined in stdlib.h header file. These header files are checked by AC_CHECK_HEADERS macro. AC_CHECK_FUNCS macro is not required, so remove it.

Also applied, thanks.