summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-09-08 00:12:20 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-10-17 12:03:12 +0300
commita20812af94669cb07d6ee92cbab37e751615b3eb (patch)
tree47a3bbedbb9fa9e083282f3b5fa9b6fc1e158e2a
parent78460232426da9cd8fe72088f7e12f06f21793df (diff)
build: detect wordexp
This was missing from the autotools setup.
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 3b5c5a0..9caccc3 100644
--- a/meson.build
+++ b/meson.build
@@ -95,6 +95,10 @@ endforeach
################################################################################
+if cc.has_function('wordexp')
+ config_h_data.set('HAVE_WORDEXP_H',1)
+endif
+
################################################################################
# hard dependencies