summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2017-12-10 13:48:00 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2017-12-10 20:38:21 +0100
commitabf4bc86b696a41eb9183432bc1bbe84ae037194 (patch)
tree7177c3037d52b1af6f895e484004c9157b530c8f
parentc0b7d0b4a8436145f3fddc78d2452d7c720cce8b (diff)
Depend on xproto and fsproto that are now used.
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
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])