diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-06 16:01:18 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-06 16:01:18 +0000 |
commit | 98024a007f590ed79ce43b89bcf7287ea240b989 (patch) | |
tree | 0dc184c467bbca781c4d7a049ab14a67b4e5cfea /ConfigureChecks.cmake | |
parent | c88f493d4d1d07933339ffe17d33a0ccfcc8cc32 (diff) |
Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.
svn path=/trunk/; revision=30370
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 6e728cef58..d1056affa6 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -1,5 +1,4 @@ -# todo: result for NEED_... is wrong (inverted), at least
-# in the case of getopt
+# todo: result for NEED_... is wrong (inverted)
#check system for includes
include(CheckIncludeFile)
@@ -9,7 +8,7 @@ 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" NEED_GETOPT_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)
|