[PATCH 0/4] Still more Makefile/configure cleanups

2020-11-12 Thread Jon Turney
Jon Turney (4): Use grep in text mode to look for version strings Drop duplicate C++ flags used to build utils Fix 'make check' in utils Testsuite Makefile cleanup winsup/testsuite/Makefile.in| 15 ++- winsup/testsuite/config/default.exp | 2 +- winsup/utils/Makefile.

[PATCH 4/4] Testsuite Makefile cleanup

2020-11-12 Thread Jon Turney
Drop unused variables CC_FOR_TARGET, GCC_INCLUDE, ALL_CFLAGS Stop exporting CC, CFLAGS Drop unused, empty targets force, dll_ofiles, all_target --- winsup/testsuite/Makefile.in | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/winsup/testsuite/Makefile.in b/winsu

[PATCH 1/4] Use grep in text mode to look for version strings

2020-11-12 Thread Jon Turney
Invoke grep in text mode when looking for version strings inside cygwin DLL, so it outputs something more informative than: Binary file ../cygwin/cygwin0.dll matches --- winsup/testsuite/config/default.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/testsuite/conf

[PATCH 3/4] Fix 'make check' in utils

2020-11-12 Thread Jon Turney
This has a test of the path translation code used in various utilities (mount, cygpath, strace). MOUNT_BINARY is replaced with the absence of MOUNT_TEXT since 26e0b37e. The isys member of mnt_t struct was removed in b677a99b. > $ make check [...] > total tests: 63 > pass : 63 (100.0%) > fai

[PATCH 2/4] Drop duplicate C++ flags used to build utils

2020-11-12 Thread Jon Turney
'-fno-exceptions -fno-rtti' are already present in the compile command COMPILE.cc set by Makefile.common, so we don't need to add them to CXXFLAGS as well. --- winsup/utils/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makef