build-sys: Fix use of libglnx configure bits

This fixes the build with `-Werror=undef` like we did in libostree.
And man is this obscure black magic.

Closes: #1156
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-12-15 09:44:33 -05:00 committed by Atomic Bot
parent 9843c93439
commit b4d0254581
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,8 @@ fi
# Workaround automake bug with subdir-objects and computed paths
sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am >libglnx/Makefile-libglnx.am.inc
# FIXME - figure out how to get aclocal to find this by default
ln -sf ../libglnx/libglnx.m4 buildutil/libglnx.m4
autoreconf --force --install --verbose

View File

@ -106,6 +106,7 @@ AC_DEFINE([BUILDOPT_HAVE_RPMFILES], 1, [Set to 1 if we have rpmfiles API]),
AC_PATH_PROG([XSLTPROC], [xsltproc])
GLIB_TESTS
LIBGLNX_CONFIGURE
AC_CHECK_TOOL(GPERF, gperf)
AS_IF([test -z "$GPERF"],