Cleanups
This commit is contained in:
parent
7fcfba1f47
commit
e10e983f51
|
@ -195,8 +195,6 @@ ENDIF(NOT HAVE_SIZEOF_SSIZE_T)
|
||||||
|
|
||||||
FIND_FILE(RANDOM_FILE urandom /dev)
|
FIND_FILE(RANDOM_FILE urandom /dev)
|
||||||
|
|
||||||
CHECK_FUNCTION_EXISTS(_doprnt HAVE_DOPRNT)
|
|
||||||
CHECK_FUNCTION_EXISTS(vprintf HAVE_VPRINTF)
|
|
||||||
CHECK_FUNCTION_EXISTS(socket HAVE_SOCKET)
|
CHECK_FUNCTION_EXISTS(socket HAVE_SOCKET)
|
||||||
CHECK_FUNCTION_EXISTS(poll HAVE_POLL)
|
CHECK_FUNCTION_EXISTS(poll HAVE_POLL)
|
||||||
CHECK_FUNCTION_EXISTS(select HAVE_SELECT)
|
CHECK_FUNCTION_EXISTS(select HAVE_SELECT)
|
||||||
|
|
|
@ -4,7 +4,6 @@ IF(WIN32)
|
||||||
SET(HAVE_LIBWS2_32 1)
|
SET(HAVE_LIBWS2_32 1)
|
||||||
SET(HAVE_GETHOSTNAME 1)
|
SET(HAVE_GETHOSTNAME 1)
|
||||||
SET(HAVE_GETHOSTBYADDR 1)
|
SET(HAVE_GETHOSTBYADDR 1)
|
||||||
SET(HAVE_GETSERVBYNAME 1)
|
|
||||||
SET(HAVE_INET_ADDR 1)
|
SET(HAVE_INET_ADDR 1)
|
||||||
SET(HAVE_INET_NTOA 1)
|
SET(HAVE_INET_NTOA 1)
|
||||||
SET(HAVE_SELECT 1)
|
SET(HAVE_SELECT 1)
|
||||||
|
@ -48,8 +47,6 @@ IF(WIN32)
|
||||||
SET(HAVE_SOCK_H 0)
|
SET(HAVE_SOCK_H 0)
|
||||||
SET(HAVE_X509_H 0)
|
SET(HAVE_X509_H 0)
|
||||||
SET(SIZEOF_SSIZE_T 0)
|
SET(SIZEOF_SSIZE_T 0)
|
||||||
SET(HAVE_DOPRNT 0)
|
|
||||||
SET(HAVE_VPRINTF 1)
|
|
||||||
SET(HAVE_STRDUP 1)
|
SET(HAVE_STRDUP 1)
|
||||||
SET(HAVE_STRSTR 1)
|
SET(HAVE_STRSTR 1)
|
||||||
SET(HAVE_STRTOK_R 0)
|
SET(HAVE_STRTOK_R 0)
|
||||||
|
@ -108,4 +105,5 @@ IF(WIN32)
|
||||||
ELSE(WIN32)
|
ELSE(WIN32)
|
||||||
MESSAGE("This file should be included on Windows platform only")
|
MESSAGE("This file should be included on Windows platform only")
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ENDIF(NOT UNIX)
|
ENDIF(NOT UNIX)
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,6 @@
|
||||||
/* Define if you have the inet_ntoa_r function declared. */
|
/* Define if you have the inet_ntoa_r function declared. */
|
||||||
#cmakedefine HAVE_INET_NTOA_R_DECL ${HAVE_INET_NTOA_R_DECL}
|
#cmakedefine HAVE_INET_NTOA_R_DECL ${HAVE_INET_NTOA_R_DECL}
|
||||||
|
|
||||||
/* Define if you have the getservbyname function. */
|
|
||||||
#cmakedefine HAVE_GETSERVBYNAME ${HAVE_GETSERVBYNAME}
|
|
||||||
|
|
||||||
/* Define if you need the _REENTRANT define for some functions */
|
/* Define if you need the _REENTRANT define for some functions */
|
||||||
#cmakedefine NEED_REENTRANT ${NEED_REENTRANT}
|
#cmakedefine NEED_REENTRANT ${NEED_REENTRANT}
|
||||||
|
|
||||||
|
@ -493,11 +490,5 @@
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
#cmakedefine ssize_t ${ssize_t}
|
#cmakedefine ssize_t ${ssize_t}
|
||||||
|
|
||||||
/* Define if you don't have vprintf but do have _doprnt. */
|
|
||||||
#cmakedefine HAVE_DOPRNT ${HAVE_DOPRNT}
|
|
||||||
|
|
||||||
/* Define to 1 if you have the vprintf function. */
|
|
||||||
#cmakedefine HAVE_VPRINTF ${HAVE_VPRINTF}
|
|
||||||
|
|
||||||
/* The number of bytes in a long double. */
|
/* The number of bytes in a long double. */
|
||||||
#cmakedefine SIZEOF_LONG_DOUBLE ${SIZEOF_LONG_DOUBLE}
|
#cmakedefine SIZEOF_LONG_DOUBLE ${SIZEOF_LONG_DOUBLE}
|
||||||
|
|
Loading…
Reference in New Issue