delete ksh checks

Nothing in the tree uses ksh anymore, so punt these checks.
This commit is contained in:
Mike Frysinger 2014-01-25 00:39:31 -05:00
parent b93834ef81
commit c66e48b4a7
4 changed files with 7 additions and 73 deletions

View File

@ -1,3 +1,10 @@
2014-03-13 Mike Frysinger <vapier@gentoo.org>
* config.make.in (have-ksh): Delete.
(KSH): Delete.
* configure.ac (libc_cv_have_ksh): Delete.
* configure: Regenerate.
2014-03-13 Mike Frysinger <vapier@gentoo.org>
* elf/Makefile: Delete $(have-ksh) check.

View File

@ -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@
@ -125,7 +124,6 @@ MSGFMT = @MSGFMT@
# Script execution tools.
BASH = @BASH_SHELL@
KSH = @KSH@
AWK = @AWK@
PERL = @PERL@

56
configure vendored
View File

@ -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

View File

@ -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