freetype: redo the way we detect and use

We (configure) relies on freetype-config existing and telling us what
the proper includes and libs are.
This commit is contained in:
Jon Trulson
2020-01-05 17:49:02 -07:00
parent 4d12673147
commit 7f4889f348
4 changed files with 54 additions and 35 deletions

View File

@@ -14,11 +14,12 @@ dist_bin_SCRIPTS = dtfile_error
dtfile_CPPFLAGS = -I./dtcopy -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DKORNSHELL=\"$(KSH)\" -I/usr/include/freetype2
-DKORNSHELL=\"$(KSH)\" $(FREETYPE_CFLAGS)
dtfile_LDADD = @DTCLIENTLIBS@ $(TIRPCLIB) -lXm -lXext \
$(XTOOLLIB) ${X_LIBS} dtcopy/sharedFuncs.o \
dtcopy/fsrtns.o
dtfile_LDADD = dtcopy/sharedFuncs.o \
dtcopy/fsrtns.o \
$(DTCLIENTLIBS) $(TIRPCLIB) -lXm -lXext $(FREETYPE_LIBS) \
$(XTOOLLIB)
if OPENBSD
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE