[PATCH v2] configure.ac: remove unused checks

Dmitry V. Levin ldv at altlinux.org
Sun May 31 17:47:48 UTC 2020


On Thu, May 21, 2020 at 04:55:16PM +0300, Dmitry V. Levin wrote:
> On Wed, May 20, 2020 at 01:41:08AM +0100, Pierre Marsais wrote:
> > Those unused configure.ac checks were found with the following commands:
> > 
> > $ ./bootstrap
> > $ ./configure
> > $ grep '^#undef HAVE' config.h.in | cut -d' ' -f2 | sort >in_configure
> > $ find -iname '*.[ch]' -exec ifnames \{\} + | grep ^HAVE | \
> >   cut -d' ' -f1 | sort >in_source
> > $ comm -23 in_configure in_source | grep -vE '^HAVE_(UNION|STRUCT)'
> > 
> > * configure.ac (AC_CHECK_FUNCS): Remove utimensat, the last user was
> > removed by commit 589cff6.  Remove strsignal, the last user was
> > removed by commit 2c4fb90.
> > (AC_CHECK_HEADERS): Remove sys/conf.h, the last user was removed by
> > commit 811bda6.  Remove inttypes.h, the last user was removed by commit
> > a6d91de.  Remove stropts.h, the last user was removed by commit a56a81c.
> > (AC_CHECK_DECLS): remove P_PPID, P_PGID, P_SID, P_CID, P_UID, P_GID,
> > P_ALL, and P_LWPID, the last user was removed by commit 7da9d19.  Add
> > missing P_PIDFD.
> 
> Thanks.  Could you split "Add missing P_PIDFD" out of
> "remove unused checks" change, please?

I've applied the removal part,
the "Add missing P_PIDFD" part is no longer needed.


-- 
ldv


More information about the Strace-devel mailing list