diff options
author | Patrick Welche <prlw1@cam.ac.uk> | 2013-04-10 11:34:11 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-17 14:29:17 +0100 |
commit | be4d793faa218b6991ff7fd86eacf2c833284919 (patch) | |
tree | 5c43ac04ab6b58582cb640fe7c619985106cc88c /m4/path_or_fail.m4 | |
parent | 717d9e5f764a8ef4e405a37d5e20d0ca50791b0f (diff) | |
download | xen-be4d793faa218b6991ff7fd86eacf2c833284919.tar.gz xen-be4d793faa218b6991ff7fd86eacf2c833284919.tar.bz2 xen-be4d793faa218b6991ff7fd86eacf2c833284919.zip |
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>
Diffstat (limited to 'm4/path_or_fail.m4')
-rw-r--r-- | m4/path_or_fail.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/path_or_fail.m4 b/m4/path_or_fail.m4 index ece8cd4b3d..e2569188ab 100644 --- a/m4/path_or_fail.m4 +++ b/m4/path_or_fail.m4 @@ -1,6 +1,6 @@ AC_DEFUN([AX_PATH_PROG_OR_FAIL], [AC_PATH_PROG([$1], [$2], [no]) -if test x"${$1}" == x"no" +if test x"${$1}" = x"no" then AC_MSG_ERROR([Unable to find $2, please install $2]) fi]) |