summaryrefslogtreecommitdiffstats
path: root/hl/fortran
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-07-07 04:52:45 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-07-07 04:52:45 (GMT)
commitf68a2e6db773f31157cdf500a6509fa5249b9cff (patch)
treeff6ccc3b41cc6dc42b770af294d4764b585a459f /hl/fortran
parent3781d2ed5af7a38b738246e94def670e9cd971cb (diff)
downloadhdf5-f68a2e6db773f31157cdf500a6509fa5249b9cff.zip
hdf5-f68a2e6db773f31157cdf500a6509fa5249b9cff.tar.gz
hdf5-f68a2e6db773f31157cdf500a6509fa5249b9cff.tar.bz2
[svn-r11034] Purpose:
bug fix. Description: -nt is not a universal option for the test command in all platforms. The use of it in conclude.am cause some platforms to bark at the Makefile generated. Solution: Created a command script bin/newer which tests if file1 is newer than file2. Replace the "test file1 -nt file2" by "newer file1 file2". Platforms tested: Tested in sol.
Diffstat (limited to 'hl/fortran')
-rw-r--r--hl/fortran/Makefile.in6
-rw-r--r--hl/fortran/src/Makefile.in6
-rw-r--r--hl/fortran/test/Makefile.in6
3 files changed, 6 insertions, 12 deletions
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 \