From: Zbigniew Jędrzejewski-Szmek Date: Tue, 18 Apr 2017 23:11:54 +0000 (-0400) Subject: meson: add ln --relative check X-Git-Tag: v234~286^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1276a9f63a2acddcb8a21d57230f318ae34928bb;p=thirdparty%2Fsystemd.git meson: add ln --relative check --- diff --git a/meson.build b/meson.build index 4690619e54c..65cb3889fda 100644 --- a/meson.build +++ b/meson.build @@ -441,8 +441,9 @@ foreach prog : progs substs.set(name, path) endforeach -# TODO: add ln --relative check -# AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])]) +if run_command('ln', '--relative', '--help').returncode() != 0 + error('ln does not support --relative') +endif ############################################################