Skip to content
Snippets Groups Projects
Commit c306703c authored by Simon McVittie's avatar Simon McVittie
Browse files

Include libglnx-config.h instead of config.h


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>
parent 1f02e431
No related branches found
No related tags found
1 merge request!419Update libglnx
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment