summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 13:31:50 (GMT)
committerGitHub <noreply@github.com>2023-06-29 13:31:50 (GMT)
commit651b20ccb7b83d5e9ef215594542cdb8119071a5 (patch)
tree717380483fec75970869f644bd3c6cde5c59e750
parente03f1951c96168339109e9759834ddc52ff7e65d (diff)
downloadhdf5-651b20ccb7b83d5e9ef215594542cdb8119071a5.zip
hdf5-651b20ccb7b83d5e9ef215594542cdb8119071a5.tar.gz
hdf5-651b20ccb7b83d5e9ef215594542cdb8119071a5.tar.bz2
Remove checks for setsysinfo, which is unused (#3205)
* Autotools * CMake
-rw-r--r--config/cmake/ConfigureChecks.cmake1
-rw-r--r--config/cmake/H5pubconf.h.in3
-rw-r--r--configure.ac2
3 files changed, 1 insertions, 5 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 1fe5be4..4b68b2e 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -442,7 +442,6 @@ CHECK_FUNCTION_EXISTS (pread ${HDF_PREFIX}_HAVE_PREAD)
CHECK_FUNCTION_EXISTS (pwrite ${HDF_PREFIX}_HAVE_PWRITE)
CHECK_FUNCTION_EXISTS (rand_r ${HDF_PREFIX}_HAVE_RAND_R)
CHECK_FUNCTION_EXISTS (random ${HDF_PREFIX}_HAVE_RANDOM)
-CHECK_FUNCTION_EXISTS (setsysinfo ${HDF_PREFIX}_HAVE_SETSYSINFO)
CHECK_FUNCTION_EXISTS (strcasestr ${HDF_PREFIX}_HAVE_STRCASESTR)
CHECK_FUNCTION_EXISTS (strdup ${HDF_PREFIX}_HAVE_STRDUP)
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index d4b0d36..6731d67 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -265,9 +265,6 @@
compiled */
#cmakedefine H5_HAVE_ROS3_VFD @H5_HAVE_ROS3_VFD@
-/* Define to 1 if you have the `setsysinfo' function. */
-#cmakedefine H5_HAVE_SETSYSINFO @H5_HAVE_SETSYSINFO@
-
/* Define to 1 if you have the `stat64' function. */
#cmakedefine H5_HAVE_STAT64 @H5_HAVE_STAT64@
diff --git a/configure.ac b/configure.ac
index 1a87357..8fe9072 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2079,7 +2079,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
AC_SEARCH_LIBS([clock_gettime], [rt posix4])
AC_CHECK_FUNCS([alarm asprintf clock_gettime fcntl flock fork])
AC_CHECK_FUNCS([gethostname getrusage gettimeofday])
-AC_CHECK_FUNCS([rand_r random setsysinfo])
+AC_CHECK_FUNCS([rand_r random])
AC_CHECK_FUNCS([strcasestr strdup symlink])
AC_CHECK_FUNCS([tmpfile vasprintf waitpid])