build: Compress the CLUTTER_PC_FILES list

A bit of black magic, courtesy of gtk+'s configure.ac, to strip the
leading space from BACKEND_PC_FILES.
This commit is contained in:
Emmanuele Bassi 2011-02-16 15:38:05 +00:00
parent 0e32da6650
commit 8231c345dc

View File

@ -1122,6 +1122,9 @@ AS_CASE([$enable_maintainer_flags],
AC_SUBST(MAINTAINER_CFLAGS)
dnl === Dependencies, compiler flags and linker libraries =====================
# strip leading space
BACKEND_PC_FILES=${BACKEND_PC_FILES/# }
CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $IMAGE_PC_FILES $BACKEND_PC_FILES"
PKG_CHECK_MODULES(CLUTTER_DEPS, [$CLUTTER_REQUIRES])
AC_SUBST(CLUTTER_REQUIRES)