diff options
Diffstat (limited to 'c++/src')
-rw-r--r-- | c++/src/Makefile.in | 6 |
1 files changed, 2 insertions, 4 deletions
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 \ |