summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-06 21:56:26 (GMT)
committerGitHub <noreply@github.com>2022-07-06 21:56:26 (GMT)
commit0c0d3bf736384e090f5e6910ee5ca02f3e8dc32b (patch)
treecf7318d3c9023c1449f49ab2e36b7664b6056d97
parent424bbd16eb4fb9d79a381ffe04b88f923c300590 (diff)
downloadhdf5-0c0d3bf736384e090f5e6910ee5ca02f3e8dc32b.zip
hdf5-0c0d3bf736384e090f5e6910ee5ca02f3e8dc32b.tar.gz
hdf5-0c0d3bf736384e090f5e6910ee5ca02f3e8dc32b.tar.bz2
Suppress the "obsolete" category of Autoconf warnings (#1853)
Very new versions of Autoconf complain about our Java macros. Since they work well enough and there is no obvious upgrade path, we're suppressing the category for now.
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 4676ee0..7c3cbcf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -236,7 +236,10 @@ ${automake_cmd} || exit 1
echo
# AUTOCONF
-autoconf_cmd="${HDF5_AUTOCONF} --force"
+# The "obsolete" warnings category flags our Java macros as obsolete.
+# Since there is no clear way to upgrade them (Java support in the Autotools
+# is not great) and they work well enough for now, we suppress those warnings.
+autoconf_cmd="${HDF5_AUTOCONF} --force --warnings=no-obsolete"
echo "${autoconf_cmd}"
if [ "$verbose" = true ] ; then
${HDF5_AUTOCONF} --version