Skip to content

Commit

Permalink
Further clean-up of outdated configure tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
eichelberg committed Jan 20, 2025
1 parent 143e745 commit 95c799f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion CMake/GenerateDCMTKConfigure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ endif()

CHECK_SYMBOL_EXISTS(strcasestr "string.h" HAVE_PROTOTYPE_STRCASESTR)

CHECK_FUNCTIONWITHHEADER_EXISTS(feenableexcept "${HEADERS}" HAVE_PROTOTYPE_FEENABLEEXCEPT)
CHECK_FUNCTIONWITHHEADER_EXISTS(flock "${HEADERS}" HAVE_PROTOTYPE_FLOCK)
CHECK_FUNCTIONWITHHEADER_EXISTS(gethostbyname_r "${HEADERS}" HAVE_PROTOTYPE_GETHOSTBYNAME_R)
CHECK_FUNCTIONWITHHEADER_EXISTS(gethostbyaddr_r "${HEADERS}" HAVE_PROTOTYPE_GETHOSTBYADDR_R)
Expand Down
5 changes: 2 additions & 3 deletions CMake/osconfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@
/* Define to 1 if you have readdir_r */
#cmakedefine HAVE_READDIR_R @HAVE_READDIR_R@

/* Define if your system has a prototype for feenableexcept in fenv.h */
#cmakedefine HAVE_PROTOTYPE_FEENABLEEXCEPT @HAVE_PROTOTYPE_FEENABLEEXCEPT@

/* Define to 1 if your has a prototype for `TryAcquireSRWLockShared' in windows.h (Win32 only). */
#cmakedefine HAVE_PROTOTYPE_TRYACQUIRESRWLOCKSHARED @HAVE_PROTOTYPE_TRYACQUIRESRWLOCKSHARED@

Expand Down Expand Up @@ -984,6 +981,7 @@ DCMTK was configured to use C++20 features, but your compiler does not or was no
#pragma GCC poison HAVE_PROTOTYPE_NANOSLEEP
#pragma GCC poison HAVE_PROTOTYPE_STD__FINITE
#pragma GCC poison HAVE_PROTOTYPE_WAIT3
#pragma GCC poison HAVE_PROTOTYPE_FEENABLEEXCEPT
#pragma GCC poison HAVE_PROTOTYPE__FPCLASSF
#pragma GCC poison HAVE_RINDEX
#pragma GCC poison HAVE_SIGJMP_BUF
Expand Down Expand Up @@ -1042,6 +1040,7 @@ DCMTK was configured to use C++20 features, but your compiler does not or was no
/* #undef HAVE_PROTOTYPE_NANOSLEEP */
/* #undef HAVE_PROTOTYPE_STD__FINITE */
/* #undef HAVE_PROTOTYPE_WAIT3 */
/* #undef HAVE_PROTOTYPE_FEENABLEEXCEPT */
/* #undef HAVE_PROTOTYPE__FPCLASSF */
/* #undef HAVE_RINDEX */
/* #undef HAVE_SIGJMP_BUF */
Expand Down

0 comments on commit 95c799f

Please sign in to comment.