summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-13 19:13:53 (GMT)
committerGitHub <noreply@github.com>2022-07-13 19:13:53 (GMT)
commitd6ff0ff657860972ce76145a963eb631708dd3be (patch)
treee54359d5fda1670653ef61dae6db90d0af8b8953 /autogen.sh
parent21b8d65c2c53e4c1392ae63d120741914a3467a6 (diff)
downloadhdf5-d6ff0ff657860972ce76145a963eb631708dd3be.zip
hdf5-d6ff0ff657860972ce76145a963eb631708dd3be.tar.gz
hdf5-d6ff0ff657860972ce76145a963eb631708dd3be.tar.bz2
Cherry-pick of Autotools updates from develop (#1885)
* 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