[hb-view] Build with autotools if cairo-ft is not available

Like with meson.
This commit is contained in:
Behdad Esfahbod 2022-12-26 15:12:27 -07:00
parent ae208963df
commit 5f168db884
1 changed files with 2 additions and 4 deletions

View File

@ -36,8 +36,7 @@ LDADD = \
if HAVE_GLIB if HAVE_GLIB
if HAVE_FREETYPE if HAVE_CAIRO
if HAVE_CAIRO_FT
hb_view_SOURCES = $(HB_VIEW_sources) hb_view_SOURCES = $(HB_VIEW_sources)
hb_view_LDADD = \ hb_view_LDADD = \
$(LDADD) \ $(LDADD) \
@ -46,8 +45,7 @@ hb_view_LDADD = \
$(CHAFA_LIBS) \ $(CHAFA_LIBS) \
$(NULL) $(NULL)
bin_PROGRAMS += hb-view bin_PROGRAMS += hb-view
endif # HAVE_CAIRO_FT endif # HAVE_CAIRO
endif # HAVE_FREETYPE
hb_shape_SOURCES = $(HB_SHAPE_sources) hb_shape_SOURCES = $(HB_SHAPE_sources)
bin_PROGRAMS += hb-shape bin_PROGRAMS += hb-shape