summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/xpdf/ac')
-rw-r--r--Build/source/libs/xpdf/ac/xpdf.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/libs/xpdf/ac/xpdf.ac b/Build/source/libs/xpdf/ac/xpdf.ac
index 9ac2b70bc95..f3402389af1 100644
--- a/Build/source/libs/xpdf/ac/xpdf.ac
+++ b/Build/source/libs/xpdf/ac/xpdf.ac
@@ -3,5 +3,7 @@ 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 xpdf
-KPSE_CHECK_LIB([xpdf], [free], [goo/gtypes.h])
+## basic check of system xpdf (poppler)
+KPSE_TRY_LIBXX([xpdf],
+ [#include <GfxFont.h>],
+ [GfxFont *gfxFont; gfxFont->decRefCnt();])