[PATCH] configure.ac: remove unused checks

Pierre Marsais pierre.marsais at lse.epita.fr
Mon May 11 23:21:14 UTC 2020


* configure.ac (AC_CHECK_FUNCS): Remove utimensat, removed in 589cff6.
Remove strsignal, removed in 2c4fb90.
(AC_CHECK_HEADERS): Remove sys/conf.h, removed in 811bda6. Remove
stropts.h, removed in a56a81c.

Signed-off-by: Pierre Marsais <pierre.marsais at lse.epita.fr>
---
Hi Strace developers,

Looking at configure.ac I found some checks that seems unused. This
patch removes them. If this kind of patch is welcome, it seems that
inttypes.h is also checked by AC_CHECK_HEADERS, but its
HAVE_INTTYPES_H macro is not used.

Best regards,

 configure.ac | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index da486c24..02d057f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -293,9 +293,7 @@ AC_CHECK_FUNCS(m4_normalize([
 	stpcpy
 	strerror
 	strndup
-	strsignal
 	sync_file_range
-	utimensat
 ]))
 
 AC_CHECK_TYPES([sig_atomic_t, struct sigcontext],,, [#include <signal.h>])
@@ -437,8 +435,6 @@ AC_CHECK_HEADERS(m4_normalize([
 	netipx/ipx.h
 	paths.h
 	scsi/sg.h
-	stropts.h
-	sys/conf.h
 	sys/eventfd.h
 	sys/fanotify.h
 	sys/ipc.h
-- 
2.26.1



More information about the Strace-devel mailing list