mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
7 lines
157 B
Plaintext
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])
|