diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2015-02-14 00:25:22 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2015-02-14 00:25:22 (GMT) |
commit | e0d71da13654b5e89051895b805ba32cf9920ef0 (patch) | |
tree | adbfc0ef7f369b5309801aef1f32bfed8dde1c80 | |
parent | 7db91c7214625d0cf4cea1270fcc8fb8144d3a99 (diff) | |
download | hdf5-e0d71da13654b5e89051895b805ba32cf9920ef0.zip hdf5-e0d71da13654b5e89051895b805ba32cf9920ef0.tar.gz hdf5-e0d71da13654b5e89051895b805ba32cf9920ef0.tar.bz2 |
[svn-r26174] 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.
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 3 insertions, 15 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Id: configure.ac 26094 2015-02-02 00:28:14Z hdftest . +# From configure.ac Id: configure.ac 26147 2015-02-09 00:30:46Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for HDF5 1.8.15-snap10. # @@ -7873,8 +7873,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 @@ -7916,11 +7915,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 150eb83..35f3544 100644 --- a/configure.ac +++ b/configure.ac @@ -754,15 +754,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, |