about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-06-08 03:17:15 +0000
committerUlrich Drepper <drepper@redhat.com>2007-06-08 03:17:15 +0000
commit26f56c1c0ead8e1c5306f42078a79078834a03a3 (patch)
tree01e308f5747725cbd048d887a53f0115fa17b179 /configure.in
parent7e3706ea254afe6f4a5f5bf4047d0d9967ce1207 (diff)
downloadglibc-26f56c1c0ead8e1c5306f42078a79078834a03a3.tar.gz
glibc-26f56c1c0ead8e1c5306f42078a79078834a03a3.tar.xz
glibc-26f56c1c0ead8e1c5306f42078a79078834a03a3.zip
* configure.in: Avoid variable named BASH.
	Patch in part by Mike Frysinger.
2007-06-06  Jakub Jelinek  <jakub@redhat.com>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index a9274a8dd6..2f8f7793df 100644
--- a/configure.in
+++ b/configure.in
@@ -980,9 +980,9 @@ else
 fi])
 AC_SUBST(libc_cv_gcc_static_libgcc)
 
-AC_PATH_PROG(BASH, bash, no)
-if test "$BASH" != no &&
-   $BASH -c 'test "$BASH_VERSINFO" \
+AC_PATH_PROG(BASH_SHELL, bash, no)
+if test "$BASH_SHELL" != no &&
+   $BASH_SHELL -c 'test "$BASH_VERSINFO" \
 	     && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
   libc_cv_have_bash2=yes
 else
@@ -991,7 +991,7 @@ fi
 AC_SUBST(libc_cv_have_bash2)
 
 dnl We need a ksh compatible shell for tzselect.
-if test "$BASH" = no; then
+if test "$BASH_SHELL" = no; then
   AC_PATH_PROG(KSH, ksh, no)
   if test "$KSH" = no; then
     libc_cv_have_ksh=no
@@ -999,7 +999,7 @@ if test "$BASH" = no; then
     libc_cv_have_ksh=yes
   fi
 else
-  KSH="$BASH"
+  KSH="$BASH_SHELL"
   AC_SUBST(KSH)
   libc_cv_have_ksh=yes
 fi