From 98024a007f590ed79ce43b89bcf7287ea240b989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 6 Oct 2009 16:01:18 +0000 Subject: Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision. svn path=/trunk/; revision=30370 --- ConfigureChecks.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ConfigureChecks.cmake') 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) -- cgit v1.2.1