diff options
author | Marcus Müller <marcus@hostalia.de> | 2018-08-25 23:46:09 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-08-27 18:58:03 +0200 |
commit | 4b40c1841501df0c0ddc508a973eb2e2fea092b0 (patch) | |
tree | 3189692739c9c256de6ffd4965e00673a64d9ef1 /gnuradio-runtime | |
parent | 837340aa23db98d36cf2a4e470aec9d1bbdae4f4 (diff) |
Remove unused CMake-time tests
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r-- | gnuradio-runtime/ConfigChecks.cmake | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gnuradio-runtime/ConfigChecks.cmake b/gnuradio-runtime/ConfigChecks.cmake index 9487d6ad6..e1ba20c1f 100644 --- a/gnuradio-runtime/ConfigChecks.cmake +++ b/gnuradio-runtime/ConfigChecks.cmake @@ -25,10 +25,8 @@ 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(netdb.h HAVE_NETDB_H) 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/select.h HAVE_SYS_SELECT_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) @@ -37,9 +35,6 @@ 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(byteswap.h HAVE_BYTESWAP_H) -GR_CHECK_HDR_N_DEF(linux/ppdev.h HAVE_LINUX_PPDEV_H) -GR_CHECK_HDR_N_DEF(dev/ppbus/ppi.h HAVE_DEV_PPBUS_PPI_H) GR_CHECK_HDR_N_DEF(unistd.h HAVE_UNISTD_H) GR_CHECK_HDR_N_DEF(malloc.h HAVE_MALLOC_H) @@ -62,15 +57,6 @@ GR_ADD_COND_DEF(HAVE_SIGACTION) ######################################################################## CHECK_CXX_SOURCE_COMPILES(" - #include <sys/select.h> - int main(){select(0, 0, 0, 0, 0); return 0;} - " HAVE_SELECT -) -GR_ADD_COND_DEF(HAVE_SELECT) - - -######################################################################## -CHECK_CXX_SOURCE_COMPILES(" #include <unistd.h> int main(){sysconf(0); return 0;} " HAVE_SYSCONF @@ -93,20 +79,6 @@ CHECK_CXX_SOURCE_COMPILES(" ) GR_ADD_COND_DEF(HAVE_SSLEEP) -CHECK_CXX_SOURCE_COMPILES(" - #include <time.h> - int main(){nanosleep(0, 0); return 0;} - " HAVE_NANOSLEEP -) -GR_ADD_COND_DEF(HAVE_NANOSLEEP) - -CHECK_CXX_SOURCE_COMPILES(" - #include <sys/time.h> - int main(){gettimeofday(0, 0); return 0;} - " HAVE_GETTIMEOFDAY -) -GR_ADD_COND_DEF(HAVE_GETTIMEOFDAY) - ######################################################################## CHECK_CXX_SOURCE_COMPILES(" #include <stdlib.h> |