Files
xen/m4/path_or_fail.m4
T
Patrick Welche be4d793faa configure: test(1) uses = not == for string comparison
Avoids a bash-ism.

Signed-off-by: Patrick Welche <prlw1@cam.ac.uk>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2013-04-17 14:29:17 +01:00

7 lines
157 B
Plaintext

AC_DEFUN([AX_PATH_PROG_OR_FAIL],
[AC_PATH_PROG([$1], [$2], [no])
if test x"${$1}" = x"no"
then
AC_MSG_ERROR([Unable to find $2, please install $2])
fi])