summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite/ac/graphite.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite/ac/graphite.ac')
-rw-r--r--Build/source/libs/graphite/ac/graphite.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/libs/graphite/ac/graphite.ac b/Build/source/libs/graphite/ac/graphite.ac
index da6b30aedda..dee329cbb7d 100644
--- a/Build/source/libs/graphite/ac/graphite.ac
+++ b/Build/source/libs/graphite/ac/graphite.ac
@@ -3,5 +3,8 @@ dnl
dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
dnl You may freely use, modify and/or distribute this file.
dnl
-## define required functions and headers from system graphite
-KPSE_CHECK_LIBXX([graphite], [free], [graphite/GrClient.h])
+## basic check of system graphite
+KPSE_TRY_LIBXX([graphite],
+ [#include <graphite/GrClient.h>
+#include <graphite/Font.h>],
+ [gr::Font *font; font->getDPIx();])