tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Fix compilation of librumpuser on Linux and Hurd



On Thu, Sep 22, 2022 at 20:16:36 +0200, Etienne Brateau wrote:

> On linux and Hurd, the header sys/evcnt does not exists. So this patch
> add conditional compilation to don?t include that header and the related
> code if it?s unsupported.
> ---
>  lib/librumpuser/configure            | 3525 ++++++++++++++------------
>  lib/librumpuser/configure.ac         |    2 +-
>  lib/librumpuser/rumpuser_config.h.in |   18 +-
>  lib/librumpuser/rumpuser_dl.c        |    4 +
>  lib/librumpuser/rumpuser_port.h      |    2 +-
>  5 files changed, 1878 insertions(+), 1673 deletions(-)

About 99% of this diff is from using a different version of autoconf.
This kind of changes must not be mixed in one commit.


> diff --git a/lib/librumpuser/rumpuser_config.h.in b/lib/librumpuser/rumpuser_config.h.in
> index b008c0621b42..7e5f1336ab6f 100644
> --- a/lib/librumpuser/rumpuser_config.h.in
> +++ b/lib/librumpuser/rumpuser_config.h.in
> @@ -48,9 +48,6 @@
>  /* Define to 1 if you have the `memalign' function. */
>  #undef HAVE_MEMALIGN
>  
> -/* Define to 1 if you have the <memory.h> header file. */
> -#undef HAVE_MEMORY_H
> -
[...]
> +/* Define to 1 if you have the <stdio.h> header file. */
> +#undef HAVE_STDIO_H
> +

Is this also from the new autoconf?


-uwe


Home | Main Index | Thread Index | Old Index