summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-15 18:23:17 (GMT)
committerGitHub <noreply@github.com>2022-07-15 18:23:17 (GMT)
commitdf6d108a35dac9817934a5d9f35a85ba6cc5afbb (patch)
tree0e523d2a14080f5632cc8996ce882597f2ee4fb3 /autogen.sh
parent363c144fc522a7fdbfb6ecb9931508a7b939f8e7 (diff)
downloadhdf5-df6d108a35dac9817934a5d9f35a85ba6cc5afbb.zip
hdf5-df6d108a35dac9817934a5d9f35a85ba6cc5afbb.tar.gz
hdf5-df6d108a35dac9817934a5d9f35a85ba6cc5afbb.tar.bz2
Cherry-pick of Autotools updates from develop (#1885) (#1893)
* Suppress Autoconf "obsolete" warnings in Java checks (#1853) * Use AC_CHECK_LIB instead of AC_HAVE_LIBRARY for Winsock (#1837)
Diffstat (limited to 'autogen.sh')
-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