summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-08-09 21:26:33 +0000
committerJörg Mayer <jmayer@loplof.de>2011-08-09 21:26:33 +0000
commit6332e8855298fd7f159790f2843f87e09ff26211 (patch)
tree99c26ae0ae19ca0758bb48aa8ce80416547e31bd /ConfigureChecks.cmake
parentbf95c7b5e4f2d0a498fd9cee41f77262e1ddda89 (diff)
downloadwireshark-6332e8855298fd7f159790f2843f87e09ff26211.tar.gz
Copy over the commit 38437 to cmake.
svn path=/trunk/; revision=38438
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b352d2a2df..bdee4e2742 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -31,7 +31,6 @@ check_include_file("direct.h" HAVE_DIRECT_H)
check_include_file("dirent.h" HAVE_DIRENT_H)
check_include_file("dlfcn.h" HAVE_DLFCN_H)
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("g_ascii_strtoull.h" NEED_G_ASCII_STRTOULL_H)
check_include_file("inet/aton.h" NEED_INET_ATON_H)
@@ -67,6 +66,7 @@ check_include_file("winsock2.h" HAVE_WINSOCK2_H)
include(CheckFunctionExists)
check_function_exists("chown" HAVE_CHOWN)
check_function_exists("gethostbyname2" HAVE_GETHOSTBYNAME2)
+check_function_exists("getopt" HAVE_GETOPT)
check_function_exists("getprotobynumber" HAVE_GETPROTOBYNUMBER)
check_function_exists("inet_ntop" HAVE_INET_NTOP_PROTO)
check_function_exists("issetugid" HAVE_ISSETUGID)