diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-02-17 23:04:19 +0100 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-02-18 01:47:00 -0800 |
commit | 6c93722c546a25bd1e310497a38af410f973c3f1 (patch) | |
tree | a0bdfdd663839edcff61a9eef5c3504f0c45768e /gr-blocks/lib | |
parent | 9cdfe5141a7aad1cf9c4c81167761cc291913fb0 (diff) |
CMake: remove unused compile/header checks
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-blocks/lib')
-rw-r--r-- | gr-blocks/lib/ConfigChecks.cmake | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gr-blocks/lib/ConfigChecks.cmake b/gr-blocks/lib/ConfigChecks.cmake index 2d3e1c8ce0..e29be361c1 100644 --- a/gr-blocks/lib/ConfigChecks.cmake +++ b/gr-blocks/lib/ConfigChecks.cmake @@ -13,18 +13,7 @@ IF(MSVC) #add this directory for our provided headers LIST(APPEND CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/msvc) ENDIF(MSVC) -GR_CHECK_HDR_N_DEF(sys/time.h HAVE_SYS_TIME_H) -GR_CHECK_HDR_N_DEF(sys/types.h HAVE_SYS_TYPES_H) -GR_CHECK_HDR_N_DEF(sys/socket.h HAVE_SYS_SOCKET_H) GR_CHECK_HDR_N_DEF(io.h HAVE_IO_H) -GR_CHECK_HDR_N_DEF(sys/mman.h HAVE_SYS_MMAN_H) -GR_CHECK_HDR_N_DEF(sys/ipc.h HAVE_SYS_IPC_H) -GR_CHECK_HDR_N_DEF(sys/shm.h HAVE_SYS_SHM_H) -GR_CHECK_HDR_N_DEF(signal.h HAVE_SIGNAL_H) -GR_CHECK_HDR_N_DEF(netinet/in.h HAVE_NETINET_IN_H) -GR_CHECK_HDR_N_DEF(arpa/inet.h HAVE_ARPA_INET_H) -GR_CHECK_HDR_N_DEF(unistd.h HAVE_UNISTD_H) -GR_CHECK_HDR_N_DEF(malloc.h HAVE_MALLOC_H) ######################################################################## CHECK_INCLUDE_FILE_CXX(windows.h HAVE_WINDOWS_H) @@ -33,34 +22,3 @@ IF(HAVE_WINDOWS_H) MESSAGE(STATUS "Adding windows libs to gr blocks libs...") LIST(APPEND blocks_libs ws2_32 wsock32) ENDIF(HAVE_WINDOWS_H) - -######################################################################## -CHECK_CXX_SOURCE_COMPILES(" - #define _GNU_SOURCE - #include <math.h> - int main(){double x, sin, cos; sincos(x, &sin, &cos); return 0;} - " HAVE_SINCOS -) -GR_ADD_COND_DEF(HAVE_SINCOS) - -CHECK_CXX_SOURCE_COMPILES(" - #define _GNU_SOURCE - #include <math.h> - int main(){float x, sin, cos; sincosf(x, &sin, &cos); return 0;} - " HAVE_SINCOSF -) -GR_ADD_COND_DEF(HAVE_SINCOSF) - -CHECK_CXX_SOURCE_COMPILES(" - #include <math.h> - int main(){sinf(0); return 0;} - " HAVE_SINF -) -GR_ADD_COND_DEF(HAVE_SINF) - -CHECK_CXX_SOURCE_COMPILES(" - #include <math.h> - int main(){cosf(0); return 0;} - " HAVE_COSF -) -GR_ADD_COND_DEF(HAVE_COSF) |