forked from osmocom/wireshark
Add a check for floorl().
Also, we don't use NEED_STRPTIME_H, we use HAVE_STRPTIME. Change-Id: I330e8ce408c05b74c50f3369691283e35e68505c Reviewed-on: https://code.wireshark.org/review/5910 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
4d3c7b50de
commit
4b8639f049
|
@ -79,6 +79,7 @@ set(CMAKE_REQUIRED_LIBRARIES %{CMAKE_DL_LIBS})
|
|||
check_function_exists("dladdr" HAVE_DLADDR)
|
||||
cmake_pop_check_state()
|
||||
|
||||
check_function_exists("floorl" HAVE_FLOORL)
|
||||
check_function_exists("gethostbyname2" HAVE_GETHOSTBYNAME2)
|
||||
check_function_exists("getopt" HAVE_GETOPT)
|
||||
check_function_exists("getprotobynumber" HAVE_GETPROTOBYNUMBER)
|
||||
|
|
|
@ -66,6 +66,9 @@
|
|||
/* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
|
||||
#cmakedefine HAVE_GEOIP_V6 1
|
||||
|
||||
/* Define if you have the 'floorl' function. */
|
||||
#cmakedefine HAVE_FLOORL 1
|
||||
|
||||
/* Define to 1 if you have the `gethostbyname2' function. */
|
||||
#cmakedefine HAVE_GETHOSTBYNAME2 1
|
||||
|
||||
|
@ -284,6 +287,9 @@
|
|||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define if you have the 'strptime' function. */
|
||||
#cmakedefine HAVE_STRPTIME 1
|
||||
|
||||
/* Define if st_flags field exists in struct stat */
|
||||
#cmakedefine HAVE_ST_FLAGS 1
|
||||
|
||||
|
@ -338,9 +344,6 @@
|
|||
/* Define if inet/v6defs.h needs to be included */
|
||||
#cmakedefine NEED_INET_V6DEFS_H 1
|
||||
|
||||
/* Define if strptime.h needs to be included */
|
||||
#cmakedefine NEED_STRPTIME_H 1
|
||||
|
||||
/* Name of package */
|
||||
#cmakedefine PACKAGE
|
||||
|
||||
|
|
Loading…
Reference in New Issue