[svn-r26173] HDF5-9117: if testing for proper working 'tr' command is needed.

Long time ago, the tr command in some platform does not work properly and this test was added
to detect broken tr and abort the configure process.
We are not aware of such broken tr command in current systems and decided to retire this test.

The setup of ${TR} is still needed as it is used to process DEBUG_PKG.

Tested: h5committested plus using "./configure --enable-debug=all" in jam.
This commit is contained in:
Albert Cheng 2015-02-13 19:24:50 -05:00
parent 7fcba33763
commit d0c224ae18
2 changed files with 2 additions and 14 deletions

8
configure vendored
View File

@ -7864,8 +7864,7 @@ fi
## ----------------------------------------------------------------------
## Check that the tr utility is working properly.
## Set up ${TR} which is used to process DEBUG_PKG.
# Extract the first word of "tr", so it can be a program name with args.
set dummy tr; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@ -7907,11 +7906,6 @@ fi
TR_TEST=`echo Test | ${TR} ${as_cr_letters}"," ${as_cr_LETTERS}" "`
if test "X${TR_TEST}" != "XTEST"; then
as_fn_error $? "tr program doesn't work" "$LINENO" 5
fi
## ----------------------------------------------------------------------
## Check that time can be used with srcdir. This is okay on most systems,

View File

@ -749,15 +749,9 @@ AC_PROG_INSTALL
## ----------------------------------------------------------------------
## Check that the tr utility is working properly.
## Set up ${TR} which is used to process DEBUG_PKG.
AC_PATH_PROG([TR], [tr])
TR_TEST=`echo Test | ${TR} ${as_cr_letters}"," ${as_cr_LETTERS}" "`
if test "X${TR_TEST}" != "XTEST"; then
AC_MSG_ERROR([tr program doesn't work])
fi
## ----------------------------------------------------------------------
## Check that time can be used with srcdir. This is okay on most systems,