From: Roger Pau Monne Subject: [PATCH 2/2] autoconf: bash is not needed on NetBSD Date: Tue, 30 Oct 2012 10:22:38 +0100 Message-ID: <1351588958-75040-2-git-send-email-roger.pau@citrix.com> References: <1351588958-75040-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1351588958-75040-1-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Remove check for bash on NetBSD, since it is not needed for hotplug scripts (NetBSD hotplug scripts use sh) or the build system. Signed-off-by: Roger Pau Monne --- tools/configure.ac | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tools/configure.ac b/tools/configure.ac index e708f01..47607ae 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -93,7 +93,11 @@ AS_IF([test "x$ocamltools" = "xy"], [ ocamltools="n" ]) ]) -AX_PATH_PROG_OR_FAIL([BASH], [bash]) +case "$host_os" in +linux*) + AX_PATH_PROG_OR_FAIL([BASH], [bash]) + ;; +esac AS_IF([echo "$PYTHON" | grep -q "^/"], [ PYTHONPATH=$PYTHON PYTHON=`basename $PYTHONPATH` -- 1.7.7.5 (Apple Git-26)