summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIncludeFile.c.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 18:16:43 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 18:16:43 (GMT)
commit1d0d6850493b725b49f9889f20412dbdbee74554 (patch)
tree535a78fca0ff56a9bc8edeb0cce6009b781d8033 /Modules/CheckIncludeFile.c.in
parent5a08e1b6dcd1a476f7750839204205f54bef8e13 (diff)
downloadCMake-1d0d6850493b725b49f9889f20412dbdbee74554.zip
CMake-1d0d6850493b725b49f9889f20412dbdbee74554.tar.gz
CMake-1d0d6850493b725b49f9889f20412dbdbee74554.tar.bz2
Simplify checking for headers
Diffstat (limited to 'Modules/CheckIncludeFile.c.in')
-rw-r--r--Modules/CheckIncludeFile.c.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/CheckIncludeFile.c.in b/Modules/CheckIncludeFile.c.in
index 5f0f466..40441f1 100644
--- a/Modules/CheckIncludeFile.c.in
+++ b/Modules/CheckIncludeFile.c.in
@@ -1,14 +1,6 @@
-#ifdef CHECK_INCLUDE_FILE
-
#include <${CHECK_INCLUDE_FILE_VAR}>
int main()
{
return 0;
}
-
-#else /* CHECK_INCLUDE_FILE */
-
-# error "CHECK_INCLUDE_FILE has to specify the include file"
-
-#endif /* CHECK_INCLUDE_FILE */