summaryrefslogtreecommitdiff
path: root/Build/source/libs/potrace/ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/potrace/ac')
-rw-r--r--Build/source/libs/potrace/ac/potrace.ac11
-rw-r--r--Build/source/libs/potrace/ac/withenable.ac7
2 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/libs/potrace/ac/potrace.ac b/Build/source/libs/potrace/ac/potrace.ac
new file mode 100644
index 00000000000..690b8df73ce
--- /dev/null
+++ b/Build/source/libs/potrace/ac/potrace.ac
@@ -0,0 +1,11 @@
+## libs/potrace/ac/potrace.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/
+dnl
+dnl Copyright (C) 2022 Luigi Scarso <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## basic check of system potrace
+KPSE_TRY_LIB([potrace],
+ [#include <potracelib.h>],
+ [potrace_state_t st;
+const char *version = potrace_version();
+potrace_state_free(&st);])
diff --git a/Build/source/libs/potrace/ac/withenable.ac b/Build/source/libs/potrace/ac/withenable.ac
new file mode 100644
index 00000000000..bbc3204e0a7
--- /dev/null
+++ b/Build/source/libs/potrace/ac/withenable.ac
@@ -0,0 +1,7 @@
+## libs/potrace/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/
+dnl
+dnl Copyright (C) 2022 Luigi Scarso <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options and TL libraries required for potrace
+KPSE_WITH_LIB([potrace])