diff options
37 files changed, 98 insertions, 140 deletions
@@ -43,6 +43,7 @@ a------------------------------------------------------------------------------ ./bin/missing ./bin/mkdirs ./bin/mkinstalldirs +./bin/newer ./bin/reconfigure _DO_NOT_DISTRIBUTE_ ./bin/release ./bin/runtest _DO_NOT_DISTRIBUTE_ diff --git a/bin/newer b/bin/newer new file mode 100755 index 0000000..6fd86aa --- /dev/null +++ b/bin/newer @@ -0,0 +1,27 @@ +#!/bin/sh +## +## Copyright by the Board of Trustees of the University of Illinois. +## All rights reserved. +## +## This file is part of HDF5. The full HDF5 copyright notice, including +## terms governing use, modification, and redistribution, is contained in +## the files COPYING and Copyright.html. COPYING can be found at the root +## of the source code distribution tree; Copyright.html can be found at the +## root level of an installed copy of the electronic HDF5 document set and +## is linked from the top-level documents page. It can also be found at +## http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have +## access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. +## +# Compare the modification of two files. If file1 is newer than file2, +# return true (0). Otherwise return false (1). If file1 or file2 does +# not exist or is not a file, return false (1). +# +# Programmer: Albert Cheng +# Created Date: 2005/07/06 + +if test -f $1 -a -f $2; then + if test X != X`find $1 -newer $2 -print`; then + exit 0 + fi +fi +exit 1 diff --git a/c++/Makefile.in b/c++/Makefile.in index 93ae380..027100d 100644 --- a/c++/Makefile.in +++ b/c++/Makefile.in @@ -691,8 +691,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -719,8 +718,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index 2d9b939..5384da8 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -586,8 +586,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -614,8 +613,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/c++/src/Makefile.in b/c++/src/Makefile.in index 8ad24cf..e78e867 100644 --- a/c++/src/Makefile.in +++ b/c++/src/Makefile.in @@ -769,8 +769,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -797,8 +796,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index c90de39..be00204 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -657,8 +657,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -685,8 +684,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/config/conclude.am b/config/conclude.am index 01c8bb8..2e2c0c3 100644 --- a/config/conclude.am +++ b/config/conclude.am @@ -74,8 +74,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -102,8 +101,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/examples/Makefile.in b/examples/Makefile.in index 376b56f..becaea2 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -601,8 +601,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -629,8 +628,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/fortran/Makefile.in b/fortran/Makefile.in index bb87fe1..fc864d1 100644 --- a/fortran/Makefile.in +++ b/fortran/Makefile.in @@ -700,8 +700,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -728,8 +727,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in index 5a4b714..74cc00c 100644 --- a/fortran/examples/Makefile.in +++ b/fortran/examples/Makefile.in @@ -605,8 +605,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -633,8 +632,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/fortran/src/Makefile.in b/fortran/src/Makefile.in index 2aa76cd..f11d3bc 100644 --- a/fortran/src/Makefile.in +++ b/fortran/src/Makefile.in @@ -897,8 +897,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -925,8 +924,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in index 9ee6981..39e3f86 100644 --- a/fortran/test/Makefile.in +++ b/fortran/test/Makefile.in @@ -862,8 +862,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -890,8 +889,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in index f056a47..8aff4bd 100644 --- a/fortran/testpar/Makefile.in +++ b/fortran/testpar/Makefile.in @@ -630,8 +630,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -658,8 +657,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/Makefile.in b/hl/Makefile.in index 7152cca..1babc4a 100755 --- a/hl/Makefile.in +++ b/hl/Makefile.in @@ -665,8 +665,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -693,8 +692,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/c++/Makefile.in b/hl/c++/Makefile.in index a4f6f4d..7cb74b0 100644 --- a/hl/c++/Makefile.in +++ b/hl/c++/Makefile.in @@ -668,8 +668,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -696,8 +695,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/c++/src/Makefile.in b/hl/c++/src/Makefile.in index 9616d86..5571bd8 100644 --- a/hl/c++/src/Makefile.in +++ b/hl/c++/src/Makefile.in @@ -690,8 +690,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -718,8 +717,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/c++/test/Makefile.in b/hl/c++/test/Makefile.in index f5ff54b..691184f 100644 --- a/hl/c++/test/Makefile.in +++ b/hl/c++/test/Makefile.in @@ -639,8 +639,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -667,8 +666,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/fortran/Makefile.in b/hl/fortran/Makefile.in index f7ca3db..4d156ed 100644 --- a/hl/fortran/Makefile.in +++ b/hl/fortran/Makefile.in @@ -663,8 +663,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -691,8 +690,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/fortran/src/Makefile.in b/hl/fortran/src/Makefile.in index 0c8021f..9ad5b74 100644 --- a/hl/fortran/src/Makefile.in +++ b/hl/fortran/src/Makefile.in @@ -714,8 +714,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -742,8 +741,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/fortran/test/Makefile.in b/hl/fortran/test/Makefile.in index be1fb28..9544efc 100644 --- a/hl/fortran/test/Makefile.in +++ b/hl/fortran/test/Makefile.in @@ -630,8 +630,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -658,8 +657,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/src/Makefile.in b/hl/src/Makefile.in index dae01ac..2cd9956 100644 --- a/hl/src/Makefile.in +++ b/hl/src/Makefile.in @@ -678,8 +678,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -706,8 +705,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/test/Makefile.in b/hl/test/Makefile.in index 95fa97e..0a8cbc1 100644 --- a/hl/test/Makefile.in +++ b/hl/test/Makefile.in @@ -664,8 +664,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -692,8 +691,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/hl/tools/gif2h5/Makefile.in b/hl/tools/gif2h5/Makefile.in index ade4183..8380ab6 100644 --- a/hl/tools/gif2h5/Makefile.in +++ b/hl/tools/gif2h5/Makefile.in @@ -673,8 +673,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -701,8 +700,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/perform/Makefile.in b/perform/Makefile.in index 3d22c65..78efc11 100644 --- a/perform/Makefile.in +++ b/perform/Makefile.in @@ -732,8 +732,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -760,8 +759,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/src/Makefile.in b/src/Makefile.in index dbb59a7..ead24ee 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -990,8 +990,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -1018,8 +1017,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/test/Makefile.in b/test/Makefile.in index 3e42d63..874f504 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1095,8 +1095,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -1123,8 +1122,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/testpar/Makefile.in b/testpar/Makefile.in index 66d3885..617960a 100644 --- a/testpar/Makefile.in +++ b/testpar/Makefile.in @@ -669,8 +669,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -697,8 +696,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/Makefile.in b/tools/Makefile.in index bcbe036..afb4d5d 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -670,8 +670,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -698,8 +697,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/gifconv/Makefile.in b/tools/gifconv/Makefile.in index ade4183..8380ab6 100644 --- a/tools/gifconv/Makefile.in +++ b/tools/gifconv/Makefile.in @@ -673,8 +673,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -701,8 +700,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in index bf38e6d..7f8d383 100644 --- a/tools/h5diff/Makefile.in +++ b/tools/h5diff/Makefile.in @@ -711,8 +711,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -739,8 +738,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in index 0ddb4b4..8fae389 100644 --- a/tools/h5dump/Makefile.in +++ b/tools/h5dump/Makefile.in @@ -687,8 +687,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -715,8 +714,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5import/Makefile.in b/tools/h5import/Makefile.in index edcc1f4..c6d4ea0 100755 --- a/tools/h5import/Makefile.in +++ b/tools/h5import/Makefile.in @@ -680,8 +680,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -708,8 +707,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5jam/Makefile.in b/tools/h5jam/Makefile.in index 87e9e3e..79acb52 100644 --- a/tools/h5jam/Makefile.in +++ b/tools/h5jam/Makefile.in @@ -704,8 +704,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -732,8 +731,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5ls/Makefile.in b/tools/h5ls/Makefile.in index 2d464e0..84e46f6 100644 --- a/tools/h5ls/Makefile.in +++ b/tools/h5ls/Makefile.in @@ -660,8 +660,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -688,8 +687,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/h5repack/Makefile.in b/tools/h5repack/Makefile.in index 3d2635a..2a3ad7c 100644 --- a/tools/h5repack/Makefile.in +++ b/tools/h5repack/Makefile.in @@ -737,8 +737,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -765,8 +764,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/lib/Makefile.in b/tools/lib/Makefile.in index 7a7ff20..12fc3dd 100644 --- a/tools/lib/Makefile.in +++ b/tools/lib/Makefile.in @@ -677,8 +677,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -705,8 +704,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in index dd54f02..d801076 100644 --- a/tools/misc/Makefile.in +++ b/tools/misc/Makefile.in @@ -770,8 +770,7 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \ echo "============================"; \ - if test -f $(@:.chkexe_=.chkexe) && \ - test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \ + if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $(@:.chkexe_=)$(EXEEXT); then \ echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ @@ -798,8 +797,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \ echo "============================"; \ - if test -f $(@:.chksh_=.chksh) && \ - test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \ + if $(top_srcdir)/bin/newer $(@:.chksh_=.chksh) $(@:.chksh_=); then \ echo "No need to test $(@:.chksh_=) again."; \ else \ if test "X$(HDF_FORTRAN)" = "Xyes"; then \ |