[PATCH bdftopcf] Depend on xproto and fsproto that are now used.

Matthieu Herrb matthieu at herrb.eu
Sun Dec 10 12:50:53 UTC 2017


Signed-off-by: Matthieu Herrb <matthieu at herrb.eu>
---
 Makefile.am  | 3 ++-
 configure.ac | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 6012b42..caaf6e8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,8 @@
 SUBDIRS = man
 bin_PROGRAMS = bdftopcf
 
-AM_CFLAGS = $(CWARNFLAGS)
+AM_CFLAGS = $(BDFTOPCF_CFLAGS) $(CWARNFLAGS)
+bdftopcf_LDADD = $(BDFTOPCF_LIBS)
 
 bdftopcf_SOURCES = \
 	atom.c \
diff --git a/configure.ac b/configure.ac
index ae19a4a..48774b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,8 @@ XORG_DEFAULT_OPTIONS
 
 XORG_WITH_LINT
 
+PKG_CHECK_MODULES(BDFTOPCF, [xproto >= 7.0.22 fontsproto >= 2.1.3])
+
 AC_CONFIG_FILES([
 	Makefile
 	man/Makefile])
-- 
2.15.0



More information about the xorg-devel mailing list