summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a55e35d8..e083b4d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,10 @@ EXTRA_DIST = \
TODO.xml \
README.win32
+if HAVE_X
+X_PC=pangox.pc
+endif
+
if HAVE_XFT
XFT_PC=pangoxft.pc
endif
@@ -20,7 +24,7 @@ FT2_PC=pangoft2.pc
endif
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = pango.pc pangox.pc $(XFT_PC) $(FT2_PC)
+pkgconfig_DATA = pango.pc $(X_PC) $(XFT_PC) $(FT2_PC)
dist-hook: pango.spec
cp pango.spec $(distdir)