aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-10-25 16:58:36 -0700
committerAnders Broman <a.broman58@gmail.com>2017-10-26 07:10:26 +0000
commitb331641f98a1e55f7bd325e1a6e55206ecfc8094 (patch)
treeacaff8b4c3145bacc371d1f821846031a9149b4a
parentf97befbaa57ff432958d014b007c909e04cd8ff9 (diff)
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>
-rw-r--r--ConfigureChecks.cmake3
-rw-r--r--cmakeconfig.h.in12
2 files changed, 0 insertions, 15 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4630e6ba39..01d4b745bd 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -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})
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 994411a6a7..b4a4c8fe93 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -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