Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
48135c1e
Commit
48135c1e
authored
15 years ago
by
Marcel Loose
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1310: Added checks for (system) header files and preprocessor definitions.
parent
65876651
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/LofarGeneral.cmake
+18
-0
18 additions, 0 deletions
CMake/LofarGeneral.cmake
lofar_config.h.cmake
+9
-3
9 additions, 3 deletions
lofar_config.h.cmake
with
27 additions
and
3 deletions
CMake/LofarGeneral.cmake
+
18
−
0
View file @
48135c1e
...
@@ -48,6 +48,24 @@ if(NOT DEFINED LOFAR_GENERAL_INCLUDED)
...
@@ -48,6 +48,24 @@ if(NOT DEFINED LOFAR_GENERAL_INCLUDED)
check_type_size
(
"ulong"
HAVE_ULONG
)
check_type_size
(
"ulong"
HAVE_ULONG
)
check_type_size
(
"long long"
HAVE_LONG_LONG
)
check_type_size
(
"long long"
HAVE_LONG_LONG
)
## --------------------------------------------------------------------------
## Check for several system header files
## --------------------------------------------------------------------------
include
(
CheckIncludeFile
)
check_include_file
(
dlfcn.h HAVE_DLFCN_H
)
check_include_file
(
inttypes.h HAVE_INTTYPES_H
)
check_include_file
(
memory.h HAVE_MEMORY_H
)
check_include_file
(
signal.h HAVE_SIGNAL_H
)
check_include_file
(
stdint.h HAVE_STDINT_H
)
check_include_file
(
stdlib.h HAVE_STDLIB_H
)
check_include_file
(
string.h HAVE_STRING_H
)
check_include_file
(
strings.h HAVE_STRINGS_H
)
check_include_file
(
sys/resource.h HAVE_SYS_RESOURCE_H
)
check_include_file
(
sys/stat.h HAVE_SYS_STAT_H
)
check_include_file
(
sys/time.h HAVE_SYS_TIME_H
)
check_include_file
(
sys/types.h HAVE_SYS_TYPES_H
)
check_include_file
(
unistd.h HAVE_UNISTD_H
)
## --------------------------------------------------------------------------
## --------------------------------------------------------------------------
## Check endianess
## Check endianess
## --------------------------------------------------------------------------
## --------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
lofar_config.h.cmake
+
9
−
3
View file @
48135c1e
...
@@ -69,6 +69,9 @@
...
@@ -69,6 +69,9 @@
/* Defined if shared memory is used */
/* Defined if shared memory is used */
#cmakedefine HAVE_SHMEM 1
#cmakedefine HAVE_SHMEM 1
/* Define to 1 if you have the <signal.h> header file. */
#cmakedefine HAVE_SIGNAL_H 1
/* Define to 1 if you have the <stdint.h> header file. */
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_STDINT_H 1
...
@@ -81,15 +84,18 @@
...
@@ -81,15 +84,18 @@
/* Define to 1 if you have the <string.h> header file. */
/* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_STRING_H 1
/* Define to 1 if you have the <sys/resource.h> header file. */
#cmakedefine HAVE_SYS_RESOURCE_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H 1
#cmakedefine HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#cmakedefine HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H 1
#cmakedefine HAVE_SYS_TYPES_H 1
/* Define if TOOLS is installed */
#cmakedefine HAVE_TOOLS 1
/* Define if `ushort' is supported */
/* Define if `ushort' is supported */
#cmakedefine HAVE_USHORT 1
#cmakedefine HAVE_USHORT 1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment