initial import
[patches.git] / glibc-bash-prog-search.patch
1 2007-06-01 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.in (AC_PATH_PROG(BASH)): Change BASH to BASH_SHELL
4 and set BASH to BASH_SHELL.
5 * configure: Rebuilt.
6
7 --- libc/configure.in
8 +++ libc/configure.in
9 @@ -980,7 +980,9 @@
10 fi])
11 AC_SUBST(libc_cv_gcc_static_libgcc)
12
13 -AC_PATH_PROG(BASH, bash, no)
14 +dnl bash will set $BASH automatically to $0, so use $BASH_SHELL
15 +AC_PATH_PROG(BASH_SHELL, bash, no)
16 +BASH=$BASH_SHELL
17 if test "$BASH" != no &&
18 $BASH -c 'test "$BASH_VERSINFO" \
19 && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then