forked from osmocom/wireshark
CMake: Remove unused header checks.
Remove the following unused header checks and defines: HAVE_INTTYPES_H HAVE_STDINT_H HAVE_STRINGS_H HAVE_SYSCONF Change-Id: I9f1307ead09c6800697004e7f79f5ac637eea3f7 Reviewed-on: https://code.wireshark.org/review/24067 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
f97befbaa5
commit
b331641f98
|
@ -30,7 +30,6 @@ check_include_file("fcntl.h" HAVE_FCNTL_H)
|
|||
check_include_file("getopt.h" HAVE_GETOPT_H)
|
||||
check_include_file("grp.h" HAVE_GRP_H)
|
||||
check_include_file("ifaddrs.h" HAVE_IFADDRS_H)
|
||||
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||
check_include_file("netinet/in.h" HAVE_NETINET_IN_H)
|
||||
check_include_file("netdb.h" HAVE_NETDB_H)
|
||||
# We need to set the path to Wpdpack in order to find Ntddndis.h
|
||||
|
@ -40,7 +39,6 @@ check_include_file("netdb.h" HAVE_NETDB_H)
|
|||
#cmake_pop_check_state()
|
||||
check_include_file("portaudio.h" HAVE_PORTAUDIO_H)
|
||||
check_include_file("pwd.h" HAVE_PWD_H)
|
||||
check_include_file("stdint.h" HAVE_STDINT_H)
|
||||
check_include_file("sys/ioctl.h" HAVE_SYS_IOCTL_H)
|
||||
check_include_file("sys/param.h" HAVE_SYS_PARAM_H)
|
||||
check_include_file("sys/socket.h" HAVE_SYS_SOCKET_H)
|
||||
|
@ -119,7 +117,6 @@ check_function_exists("popcount" HAVE_POPCOUNT)
|
|||
check_function_exists("setresgid" HAVE_SETRESGID)
|
||||
check_function_exists("setresuid" HAVE_SETRESUID)
|
||||
check_function_exists("strptime" HAVE_STRPTIME)
|
||||
check_function_exists("sysconf" HAVE_SYSCONF)
|
||||
if (APPLE)
|
||||
cmake_push_check_state()
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${APPLE_CORE_FOUNDATION_LIBRARY})
|
||||
|
|
|
@ -107,9 +107,6 @@
|
|||
/* Define to 1 if you have the `inflatePrime' function. */
|
||||
#cmakedefine HAVE_INFLATEPRIME 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `issetugid' function. */
|
||||
#cmakedefine HAVE_ISSETUGID 1
|
||||
|
||||
|
@ -306,12 +303,6 @@
|
|||
/* Define to 1 if you have the WinSparkle library */
|
||||
#cmakedefine HAVE_SOFTWARE_UPDATE 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define if you have the 'strptime' function. */
|
||||
#cmakedefine HAVE_STRPTIME 1
|
||||
|
||||
|
@ -324,9 +315,6 @@
|
|||
/* Define to 1 if `__st_birthtime' is a member of `struct stat'. */
|
||||
#cmakedefine HAVE_STRUCT_STAT___ST_BIRTHTIME 1
|
||||
|
||||
/* Define to 1 if you have the `sysconf' function. */
|
||||
#cmakedefine HAVE_SYSCONF 1
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#cmakedefine HAVE_SYS_IOCTL_H 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue