From 6eedf06fcc224648155bc5253d6fe1975be8da00 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 13 Oct 2010 17:50:54 -0500 Subject: Fix bash shell location check BASH is defined when you are actually using bash during configure, which sucks because it ends up being '/bin/sh', messing up all of our scripts. Change the name of the variable we use in configure, and also ensure we get a full path to the executable by using AC_PATH_PROGS rather than AC_CHECK_PROGS. Finally, change the variable name everywhere we use it. Signed-off-by: Dan McGee --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 115aeb15..6f601f4b 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_LIBTOOL AC_CHECK_PROGS([PYTHON], [python2.7 python2.6 python2.5 python2 python], [false]) -AC_CHECK_PROGS([BASH], [bash bash4 bash3], [false]) +AC_PATH_PROGS([BASH_SHELL], [bash bash4 bash3], [false]) # find installed gettext AM_GNU_GETTEXT([external]) -- cgit v1.2.3-24-g4f1b