Copy over the commit 38437 to cmake.

svn path=/trunk/; revision=38438
This commit is contained in:
Jörg Mayer 2011-08-09 21:26:33 +00:00
parent bf95c7b5e4
commit 6332e88552
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -49,7 +49,7 @@
#cmakedefine HAVE_FCNTL_H 1
/* Define to 1 if you have the <getopt.h> header file. */
#cmakedefine HAVE_GETOPT_H 1
#cmakedefine HAVE_GETOPT 1
/* Define to 1 if you have the `chown' function. */
#cmakedefine HAVE_CHOWN 1