[LTP] [RFC PATCH 1/1] autotools: Move simple definitions out of m4/* to configure.ac

Petr Vorel pvorel@suse.cz
Tue Feb 4 15:19:22 CET 2020


Hi Cyril,

> > +AC_CHECK_HEADERS(fts.h, [have_fts=1])
> > +AC_SUBST(HAVE_FTS_H, $have_fts)

> How is that different from simple AC_CHECK_HEADERS() ?

> Can't we just put the hader into the call above?

AC_SUBST(HAVE_FTS_H, $have_fts) is needed as HAVE_FTS_H
is used in testcases/kernel/controllers/Makefile to filter out cpuset.

> Other than this the changes looks fine.
OK, I'll push it with your ack, unless you have idea, how to avoid using
AC_SUBST(HAVE_FTS_H, $have_fts).

Kind regards,
Petr


More information about the ltp mailing list