diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2017-02-13 15:47:38 +0000 |
---|---|---|
committer | Wei Liu <wei.liu2@citrix.com> | 2017-02-14 16:34:26 +0000 |
commit | bdbc25b8722cc1e3921858530f8ac484892156d3 (patch) | |
tree | e76554d8cd067e6f108d775a99907410ca5842ae /tools/configure.ac | |
parent | 909c219944e944f086ec0a89938a7397e2aa4cb0 (diff) | |
download | xen-bdbc25b8722cc1e3921858530f8ac484892156d3.tar.gz |
configure: disable bash check for FreeBSD
Bash it's not used on FreeBSD.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ wei: rerun autogen.sh ]
Diffstat (limited to 'tools/configure.ac')
-rw-r--r-- | tools/configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/configure.ac b/tools/configure.ac index 873e18dafb..28a539ce73 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -320,7 +320,11 @@ AS_IF([test "x$xsmpolicy" = "xy"], [ xsmpolicy="n" ]) ]) -AX_PATH_PROG_OR_FAIL([BASH], [bash]) +dnl FreeBSD doesn't require bash (hotplug scripts are in plain sh) +case "$host_os" in + freebsd*) ;; + *) AX_PATH_PROG_OR_FAIL([BASH], [bash]);; +esac AS_IF([echo "$PYTHON" | grep -q "^/"], [ PYTHONPATH=$PYTHON PYTHON=`basename $PYTHONPATH` |