tests: build: Add enable man page option.
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
@@ -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
@@ -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
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
@@ -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
Pablo Neira Ayuso
maintainerRe: [PATCH nft] configure: Remove macro AC_CHECK_FUNCS
Quoted 4 lines · Varsha Rao
Functions memmove, strchr, strerror and strdup are defined in
string.hheader file. Also, strtoull is defined instdlib.hheader file. These header files are checked byAC_CHECK_HEADERSmacro.AC_CHECK_FUNCSmacro is not required, so remove it.
Also applied, thanks.
Quoted 1 line · Varsha Rao
Add test for man page compile option.
Applied, thanks Varsha.