Add #ifndef __PRIVILEGES_H__ / #define / #endif logic to prevent multiple
[obnox/wireshark/wip.git] / ConfigureChecks.cmake
index 6e728cef580e0c4d0d0902f149f0c6922d62d832..d1056affa6bf3819c5bd90fa6e85113821ef9587 100644 (file)
@@ -1,5 +1,4 @@
-# todo: result for NEED_... is wrong (inverted), at least\r
-#   in the case of getopt\r
+# todo: result for NEED_... is wrong (inverted)\r
 \r
 #check system for includes\r
 include(CheckIncludeFile)\r
@@ -9,7 +8,7 @@ check_include_file("direct.h"            HAVE_DIRECT_H)
 check_include_file("dirent.h"            HAVE_DIRENT_H)\r
 check_include_file("dlfcn.h"             HAVE_DLFCN_H)\r
 check_include_file("fcntl.h"             HAVE_FCNTL_H)\r
-check_include_file("getopt.h"            NEED_GETOPT_H)\r
+check_include_file("getopt.h"            HAVE_GETOPT_H)\r
 check_include_file("grp.h"               HAVE_GRP_H)\r
 check_include_file("g_ascii_strtoull.h"  NEED_G_ASCII_STRTOULL_H)\r
 check_include_file("inet/aton.h"         NEED_INET_ATON_H)\r