Signed-off-by: Matthieu Herrb <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to