[svn-r26165] 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: in jam using "./configure" and "./configure --enable-debug=all".
This commit is contained in:
Albert Cheng 2015-02-13 10:15:49 -05:00
parent 0829df23e5
commit 6b01332709

View File

@ -574,15 +574,10 @@ 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,