From d0c224ae188829b96d6ea08bddcf49bb7d3fbe11 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 13 Feb 2015 19:24:50 -0500 Subject: [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. --- configure | 8 +------- configure.ac | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 02682cc..51eb040 100755 --- a/configure +++ b/configure @@ -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, diff --git a/configure.ac b/configure.ac index ef84667..47d528b 100644 --- a/configure.ac +++ b/configure.ac @@ -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, -- cgit v0.12