--- configure.in.orig 2021-08-07 10:16:18 UTC +++ configure.in @@ -5,8 +5,8 @@ AC_INIT(otf2bdf.c) AC_PROG_CC OLDLIBS=$LIBS -LIBS="$LIBS `freetype-config --libs`" -CPPFLAGS="$CPPFLAGS `freetype-config --cflags`" +LIBS="$LIBS `pkg-config freetype2 --libs`" +CPPFLAGS="$CPPFLAGS `pkg-config freetype2 --cflags`" AC_CHECK_LIB(freetype, FT_Init_FreeType, LIBS="$LIBS -lfreetype",[ AC_MSG_ERROR([Can't find Freetype library! Compile FreeType first.])]) AC_SUBST(LIBS)