~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to cMake/ConfigureChecks.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
include(CheckIncludeFile)
 
3
include(CheckIncludeFiles)
 
4
include(CheckSymbolExists)
 
5
include(CheckFunctionExists)
 
6
include(CheckLibraryExists)
 
7
include(CheckTypeSize)
 
8
include(CheckCSourceCompiles)
 
9
include(CheckIncludeFileCXX)
 
10
include(CheckCXXSourceCompiles)
 
11
 
 
12
#check_include_file(dlfcn.h HAVE_DLFCN_H)
 
13
check_include_file(GL/gl.h HAVE_GL_GL_H)
 
14
 
 
15
#check_include_file(iomanip.h HAVE_IOMANIP_H)
 
16
#check_include_file(limits.h HAVE_LIMITS_H)
 
17
#check_include_file(values.h HAVE_VALUES_H)
 
18
#check_include_file(float.h HAVE_FLOAT_H)
 
19
#check_include_file(inttypes.h HAVE_INTTYPES_H)
 
20
 
 
21
#check_include_file(libc.h HAVE_LIBC_H)
 
22
#check_include_file(memory.h HAVE_MEMORY_H)
 
23
#check_include_file(stdint.h HAVE_STDINT_H)
 
24
#check_include_file(stdlib.h HAVE_STDLIB_H)
 
25
#check_include_file(unistd.h HAVE_UNISTD_H)
 
26
#check_include_file(strings.h HAVE_STRINGS_H)
 
27
#check_include_file(string.h HAVE_STRING_H)
 
28
 
 
29
#check_include_file(bstring.h HAVE_BSTRING_H)
 
30
#check_include_file(siginfo.h HAVE_SIGINFO_H)
 
31
#check_include_file(bits/sigset.h HAVE_BITS_SIGSET_H)
 
32
#check_include_file(sys/dir.h HAVE_SYS_DIR_H)
 
33
#check_include_file(sys/filio.h HAVE_SYS_FILIO_H)
 
34
#check_include_file(sys/mman.h HAVE_SYS_MMAN_H)
 
35
#check_include_file(sys/select.h HAVE_SYS_SELECT_H)
 
36
#check_include_file(sys/stat.h HAVE_SYS_STAT_H)
 
37
#check_include_file(sys/types.h HAVE_SYS_TYPES_H)
 
38
 
 
39
# i/o streams
 
40
check_include_file_cxx(istream HAVE_ISTREAM)
 
41
check_include_file_cxx(ostream HAVE_OSTREAM)
 
42
check_include_file_cxx(fstream HAVE_FSTREAM)
 
43
check_include_file_cxx(sstream HAVE_SSTREAM)
 
44
check_include_file_cxx(ios HAVE_IOS)
 
45
check_include_file_cxx(iostream HAVE_IOSTREAM)
 
46
check_include_file_cxx(iomanip HAVE_IOMANIP)
 
47
 
 
48
include(TestForANSIStreamHeaders)
 
49
IF(NOT CMAKE_NO_ANSI_STREAM_HEADERS)
 
50
        SET(HAVE_STD_IOSTREAM 1)
 
51
        SET(USE_STD_IOSTREAM 1)
 
52
ENDIF(NOT CMAKE_NO_ANSI_STREAM_HEADERS)
 
53
 
 
54
include(TestForSTDNamespace)
 
55
IF(NOT CMAKE_NO_ANSI_STRING_STREAM)
 
56
        SET(HAVE_NAMESPACES 1)
 
57
ENDIF(NOT CMAKE_NO_ANSI_STRING_STREAM)
 
58
 
 
59
SET(HAVE_QGLFORMAT_EQ_OP 1)
 
60
SET(HAVE_QGLFORMAT_SETOVERLAY 1)
 
61
SET(HAVE_QGLWIDGET_SETAUTOBUFFERSWAP 1)
 
62
SET(HAVE_QT_KEYPAD_DEFINE 1)
 
63
SET(HAVE_QWIDGET_SHOWFULLSCREEN 1)
 
64
 
 
65