qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support
Date: Thu, 31 May 2018 13:54:44 +0100
User-agent: Mutt/1.9.5 (2018-04-13)

On Thu, May 10, 2018 at 10:08:52AM +0800, address@hidden wrote:
>  ##########################################
> +# check for libpmem
> +
> +if test "$libpmem" != "no"; then
> +  cat > $TMPC <<EOF
> +#include <libpmem.h>
> +int main(void)
> +{
> +  pmem_is_pmem(0, 0);
> +  return 0;
> +}
> +EOF
> +  libpmem_libs="-lpmem"

PMDK uses pkg-config, please take advantage of it instead of hardcoding
flags.  See $pkg_config in ./configure for examples.

This will allow QEMU to detect PMDK on a wider range of systems.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]