Skip to content
  • Paolo Bonzini's avatar
    63a7f853
    meson: fix missing preprocessor symbols · 63a7f853
    Paolo Bonzini authored
    
    
    While most libraries do not need a CONFIG_* symbol because the
    "when:" clauses are enough, some do.  Add them back or stop
    using them if possible.
    
    In the case of libpmem, the statement to add the CONFIG_* symbol
    was still in configure, but could not be triggered because it
    checked for "no" instead of "disabled" (and it would be wrong anyway
    since the test for the library has not been done yet).
    
    Reported-by: default avatarLi Zhijian <lizhijian@cn.fujitsu.com>
    Fixes: 587d59d6 ("configure, meson: convert virgl detection to meson", 2021-07-06)
    Fixes: 83ef1682 ("configure, meson: convert libdaxctl detection to meson", 2021-07-06)
    Fixes: e36e8c70 ("configure, meson: convert libpmem detection to meson", 2021-07-06)
    Fixes: 53c22b68 ("configure, meson: convert liburing detection to meson", 2021-07-06)
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    63a7f853
    meson: fix missing preprocessor symbols
    Paolo Bonzini authored
    
    
    While most libraries do not need a CONFIG_* symbol because the
    "when:" clauses are enough, some do.  Add them back or stop
    using them if possible.
    
    In the case of libpmem, the statement to add the CONFIG_* symbol
    was still in configure, but could not be triggered because it
    checked for "no" instead of "disabled" (and it would be wrong anyway
    since the test for the library has not been done yet).
    
    Reported-by: default avatarLi Zhijian <lizhijian@cn.fujitsu.com>
    Fixes: 587d59d6 ("configure, meson: convert virgl detection to meson", 2021-07-06)
    Fixes: 83ef1682 ("configure, meson: convert libdaxctl detection to meson", 2021-07-06)
    Fixes: e36e8c70 ("configure, meson: convert libpmem detection to meson", 2021-07-06)
    Fixes: 53c22b68 ("configure, meson: convert liburing detection to meson", 2021-07-06)
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading