This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 3/4] delete ksh checks
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 25 Jan 2014 05:09:39 -0500
- Subject: [PATCH 3/4] delete ksh checks
- Authentication-results: sourceware.org; auth=none
- References: <1390644580-25234-1-git-send-email-vapier at gentoo dot org>
Nothing in the tree uses ksh anymore, so punt these checks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-23 Mike Frysinger <vapier@gentoo.org>
* config.make.in (have-ksh): Delete.
* configure.ac (libc_cv_have_ksh): Delete.
* configure: Regenerate.
---
config.make.in | 1 -
configure | 56 --------------------------------------------------------
configure.ac | 15 ---------------
3 files changed, 72 deletions(-)
diff --git a/config.make.in b/config.make.in
index b5308d8..ecd56ca 100644
--- a/config.make.in
+++ b/config.make.in
@@ -74,7 +74,6 @@ multi-arch = @multi_arch@
mach-interface-list = @mach_interface_list@
have-bash2 = @libc_cv_have_bash2@
-have-ksh = @libc_cv_have_ksh@
sizeof-long-double = @sizeof_long_double@
diff --git a/configure b/configure
index fc023d0..82591ed 100755
--- a/configure
+++ b/configure
@@ -616,8 +616,6 @@ libc_cv_cc_with_libunwind
BISON
INSTALL_INFO
PERL
-libc_cv_have_ksh
-KSH
libc_cv_have_bash2
BASH_SHELL
libc_cv_gcc_static_libgcc
@@ -5329,60 +5327,6 @@ else
fi
-if test "$BASH_SHELL" = no; then
- # Extract the first word of "ksh", so it can be a program name with args.
-set dummy ksh; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_KSH+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $KSH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
- ;;
-esac
-fi
-KSH=$ac_cv_path_KSH
-if test -n "$KSH"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KSH" >&5
-$as_echo "$KSH" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "$KSH" = no; then
- libc_cv_have_ksh=no
- else
- libc_cv_have_ksh=yes
- fi
-else
- KSH="$BASH_SHELL"
-
- libc_cv_have_ksh=yes
-fi
-
-
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
diff --git a/configure.ac b/configure.ac
index f3dd87d..414aaea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1108,21 +1108,6 @@ else
fi
AC_SUBST(libc_cv_have_bash2)
-dnl We need a ksh compatible shell for tzselect.
-if test "$BASH_SHELL" = no; then
- AC_PATH_PROG(KSH, ksh, no)
- if test "$KSH" = no; then
- libc_cv_have_ksh=no
- else
- libc_cv_have_ksh=yes
- fi
-else
- KSH="$BASH_SHELL"
- AC_SUBST(KSH)
- libc_cv_have_ksh=yes
-fi
-AC_SUBST(libc_cv_have_ksh)
-
AC_PATH_PROG(PERL, perl, no)
if test "$PERL" != no &&
(eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
--
1.8.5.3