Commit 529db4a9 authored by Hib Eris's avatar Hib Eris Committed by Albert Astals Cid

Fix build with --disable-utils

Since 21b5fd65, building Poppler fails when configured
with '--disable-utils'.

Bug #84448
parent c54f6ace
......@@ -31,11 +31,7 @@ cpp_subdir = cpp
cpp_pc_file = poppler-cpp.pc
endif
if BUILD_UTILS
utils_subdir = utils
endif
SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) test $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
SUBDIRS = goo fofi $(splash_subdir) poppler utils $(glib_subdir) test $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
EXTRA_DIST = \
README-XPDF \
......
......@@ -12,6 +12,8 @@ LDADD = \
$(top_builddir)/poppler/libpoppler.la \
$(UTILS_LIBS)
if BUILD_UTILS
bin_PROGRAMS = \
pdfdetach \
pdffonts \
......@@ -50,6 +52,8 @@ if BUILD_CAIRO_OUTPUT
dist_man1_MANS += pdftocairo.1
endif
endif # if BUILD_UTILS
pdfdetach_SOURCES = \
pdfdetach.cc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment