summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-08-02 21:17:45 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-08-03 22:47:27 +0300
commitade62fc67c5d182bfbc7dd431c6700d5309c58d1 (patch)
treee9cc365af3358b156b198b199e3b74ca51a85a5f /meson.build
parent111e48efa35a8112311ec3745f4bb5ddbb7731e0 (diff)
options: implement ExpandPath transformer
For expanding shell options (with expand_path / wordexp) Note that e.g. in zsh: --maildir=~/Maildir is handled (program receives --maildir=/home/user/Maildir) but e.g. bash does not do that, and the program receives the literal '~/Maildir' We expanded this in mu earlier, so let's do that again.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index fd6d51c..3b555cc 100644
--- a/meson.build
+++ b/meson.build
@@ -116,6 +116,8 @@ endforeach
if cc.has_function('wordexp')
config_h_data.set('HAVE_WORDEXP_H',1)
+else
+ message('no wordexp, no command-line option expansion')
endif
testmaildir=join_paths(meson.current_source_dir(), 'lib', 'tests')