[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.15] autoconf: check endian.h include path
On 04.02.2021 10:38, Roger Pau Monne wrote: > --- a/tools/configure.ac > +++ b/tools/configure.ac > @@ -74,6 +74,7 @@ m4_include([../m4/ax_compare_version.m4]) > m4_include([../m4/paths.m4]) > m4_include([../m4/systemd.m4]) > m4_include([../m4/golang.m4]) > +m4_include([../m4/header.m4]) > > AX_XEN_EXPAND_CONFIG() > > @@ -517,4 +518,6 @@ AC_ARG_ENABLE([pvshim], > ]) > AC_SUBST(pvshim) > > +AX_FIND_HEADER([INCLUDE_ENDIAN_H], [endian.h sys/endian.h]) Instead of a new macro, can't you use AC_CHECK_HEADERS()? I'm also not certain about the order of checks - what if both exist? Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |