summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e7da13..52146b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,4 +53,14 @@ AS_IF([test "MPG123_LIBDIR" = "x"], [
])
AC_SUBST([MPG123_LIBDIR])
+PKG_CHECK_MODULES([freetype], [freetype2])
+PKG_CHECK_VAR([FREETYPE_LIBDIR], [freetype2], [libdir])
+AC_MSG_CHECKING([freetype library path])
+AS_IF([test "FREETYPE_LIBDIR" = "x"], [
+ AC_MSG_FAILURE([Unable to identify freetype lib path.])
+], [
+ AC_MSG_RESULT([$FREETYPE_LIBDIR])
+])
+AC_SUBST([FREETYPE_LIBDIR])
+
AC_OUTPUT