diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
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]) |