summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-22 13:25:17 (GMT)
committerGitHub <noreply@github.com>2022-08-22 13:25:17 (GMT)
commit3015e3d7ab1c7b48aa1514fe02683f032229a655 (patch)
treed31535035eff523b5d1d6318b27a14f6cdd73b5b
parent10eb43d0c2edcbac551e6efc18ba30798ac3365a (diff)
downloadhdf5-3015e3d7ab1c7b48aa1514fe02683f032229a655.zip
hdf5-3015e3d7ab1c7b48aa1514fe02683f032229a655.tar.gz
hdf5-3015e3d7ab1c7b48aa1514fe02683f032229a655.tar.bz2
Quiets Automake rules in src directory (#2051)
* Quiets Automake rules in src directory * Fix whitespace
-rw-r--r--src/H5detect.c2
-rw-r--r--src/Makefile.am20
2 files changed, 12 insertions, 10 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 6dff2bb..663022e 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -457,7 +457,7 @@ iprint(detected_t *d)
for (i = MIN(pass * 4 + 3, d->size - 1); i >= pass * 4; --i) {
fprintf(rawoutstream, "%4d", d->perm[i]);
if (i > pass * 4)
- HDfputs(" ", stdout);
+ HDfputs(" ", rawoutstream);
if (!i)
break;
}
diff --git a/src/Makefile.am b/src/Makefile.am
index a84fb02..e033f07 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -196,10 +196,11 @@ settings_DATA=libhdf5.settings
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore
# is set to ignore the error.
H5Tinit.c: H5detect$(EXEEXT)
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
- sed -e 's/-L/:/g' -e 's/ //g'`" \
- $(RUNSERIAL) ./H5detect$(EXEEXT) $@ || \
- (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
+ @if $(AM_V_P); then set -x; else echo " GEN H5Tinit.c"; fi; \
+ LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
+ sed -e 's/-L/:/g' -e 's/ //g'`" \
+ $(RUNSERIAL) ./H5detect$(EXEEXT) $@ || \
+ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)
# Build configuration header file generation
@@ -208,10 +209,11 @@ H5Tinit.c: H5detect$(EXEEXT)
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore
# is set to ignore the error.
H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
- sed -e 's/-L/:/g' -e 's/ //g'`" \
- $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) $@ || \
- (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
+ @if $(AM_V_P); then set -x; else echo " GEN H5lib_settings.c"; fi; \
+ LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
+ sed -e 's/-L/:/g' -e 's/ //g'`" \
+ $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) $@ || \
+ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)
# Error header generation
@@ -238,7 +240,7 @@ $(top_srcdir)/src/H5overflow.h: $(top_srcdir)/src/H5overflow.txt
trace: $(libhdf5_la_SOURCES)
@for dep in $? dummy; do \
- if test $$dep != "dummy" -a -n "$(PERL)"; then \
+ if test $$dep != "dummy" -a -n "$(PERL)"; then \
case "$$dep" in \
*.c) \
$(TRACE) $$dep; \