summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/ac/kpathsea.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/ac/kpathsea.ac')
-rw-r--r--Build/source/texk/kpathsea/ac/kpathsea.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ac/kpathsea.ac b/Build/source/texk/kpathsea/ac/kpathsea.ac
index 73e38ba2391..fc90d33ca1d 100644
--- a/Build/source/texk/kpathsea/ac/kpathsea.ac
+++ b/Build/source/texk/kpathsea/ac/kpathsea.ac
@@ -3,6 +3,9 @@ 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 kpathsea
-KPSE_CHECK_LIB([kpathsea], [kpse_set_program_name],
- [kpathsea/kpathsea.h kpathsea/tex-file.h])
+## basic check of system kpathsea
+KPSE_TRY_LIB([kpathsea],
+ [#include <kpathsea/kpathsea.h>
+#include <kpathsea/version.h>],
+ [const char *version = kpathsea_version_string;
+kpse_set_program_name("prog", "name");])