Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    c306703c
    Include libglnx-config.h instead of config.h · c306703c
    Simon McVittie authored
    
    This avoids colliding with a config.h generated by a parent Meson
    project.
    
    In the Meson build system, we generate libglnx-config.h by doing our
    own checks, so we want to avoid it colliding.
    
    In the Autotools build system, we assume that the parent project will
    generate its own config.h that contains the results of LIBGLNX_CONFIGURE,
    and create a forwarding header libglnx-config.h in the $(top_builddir)
    (so that it is next to config.h).
    
    Note that after updating libglnx in an Autotools non-recursive-Make
    project (libostree, flatpak, flatpak-builder) it will be necessary to
    re-run autogen.sh.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    c306703c
    History
    Include libglnx-config.h instead of config.h
    Simon McVittie authored
    
    This avoids colliding with a config.h generated by a parent Meson
    project.
    
    In the Meson build system, we generate libglnx-config.h by doing our
    own checks, so we want to avoid it colliding.
    
    In the Autotools build system, we assume that the parent project will
    generate its own config.h that contains the results of LIBGLNX_CONFIGURE,
    and create a forwarding header libglnx-config.h in the $(top_builddir)
    (so that it is next to config.h).
    
    Note that after updating libglnx in an Autotools non-recursive-Make
    project (libostree, flatpak, flatpak-builder) it will be necessary to
    re-run autogen.sh.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>