From 262ec2a2a352d170a8899ddd50d20bca4ca7c551 Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Thu, 2 Jul 2009 10:01:03 +0000
Subject: [PATCH] Bug 1310: Reorganized lofar_config.h.cmake to make it more
 readable and maintainable.

---
 lofar_config.h.cmake | 171 ++++++++++++++++++-------------------------
 1 file changed, 70 insertions(+), 101 deletions(-)

diff --git a/lofar_config.h.cmake b/lofar_config.h.cmake
index 533f3c3e2e5..3f1ab4cf1d0 100644
--- a/lofar_config.h.cmake
+++ b/lofar_config.h.cmake
@@ -1,74 +1,18 @@
 /* DO NOT EDIT -- Generated by CMake from config.h.cmake -- DO NOT EDIT */
 
-/* Define if building universal (internal helper macro) */
-#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1
-
-/* Define as __PRETTY_FUNCTION__, __FUNCTION__, or "<unknown>" */
-#cmakedefine AUTO_FUNCTION_NAME @AUTO_FUNCTION_NAME@
-
-/* Define if backtrace() is available */
-#cmakedefine HAVE_BACKTRACE 1
-
-/* Define if libbfd is available */
-#cmakedefine HAVE_BFD 1
-
-/* Define if MPICH is installed */
-#cmakedefine HAVE_BGLMPICH 1
-
-/* Define if BOOST is installed */
-#cmakedefine HAVE_BOOST 1
-
-/* Define if BOOST component regex is installed */
-#cmakedefine HAVE_BOOST_REGEX 1
-
-/* Define if BOOST component date_time is installed */
-#cmakedefine HAVE_BOOST_DATE_TIME 1
-
-/* Define to 1 if you have the `cplus_demangle' function. */
-#cmakedefine HAVE_CPLUS_DEMANGLE 1
+/*-------------------------------------------------------------------------*\
+|     Defines for the presence or absence of (system) header files          |
+\*-------------------------------------------------------------------------*/
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #cmakedefine HAVE_DLFCN_H 1
 
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#cmakedefine HAVE_DOPRNT 1
-
 /* Define to 1 if you have the <inttypes.h> header file. */
 #cmakedefine HAVE_INTTYPES_H 1
 
-/* Define if LAM is installed */
-#cmakedefine HAVE_LAM 1
-
-/* Define if LOG4CPLUS is installed */
-#cmakedefine HAVE_LOG4CPLUS 1
-
-/* Define if LOG4CXX is installed */
-#cmakedefine HAVE_LOG4CXX 1
-
 /* Define to 1 if you have the <memory.h> header file. */
 #cmakedefine HAVE_MEMORY_H 1
 
-/* Define if we have an MPI implementation installed */
-#cmakedefine HAVE_MPI 1
-
-/* Define if MPICH is installed */
-#cmakedefine HAVE_MPICH 1
-
-/* Define if MPI profiler should be enabled */
-#cmakedefine HAVE_MPI_PROFILER 1
-
-/* Define if PVSS is installed */
-#cmakedefine HAVE_PVSS 1
-
-/* Define if using Rational Purify */
-#cmakedefine HAVE_PURIFY 1
-
-/* Define if ScaMPI is installed */
-#cmakedefine HAVE_SCAMPI 1
-
-/* Defined if shared memory is used */
-#cmakedefine HAVE_SHMEM 1
-
 /* Define to 1 if you have the <signal.h> header file. */
 #cmakedefine HAVE_SIGNAL_H 1
 
@@ -78,12 +22,12 @@
 /* Define to 1 if you have the <stdlib.h> header file. */
 #cmakedefine HAVE_STDLIB_H 1
 
-/* Define to 1 if you have the <strings.h> header file. */
-#cmakedefine HAVE_STRINGS_H 1
-
 /* Define to 1 if you have the <string.h> header file. */
 #cmakedefine HAVE_STRING_H 1
 
+/* Define to 1 if you have the <strings.h> header file. */
+#cmakedefine HAVE_STRINGS_H 1
+
 /* Define to 1 if you have the <sys/resource.h> header file. */
 #cmakedefine HAVE_SYS_RESOURCE_H 1
 
@@ -96,8 +40,16 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #cmakedefine HAVE_SYS_TYPES_H 1
 
-/* Define if `ushort' is supported */
-#cmakedefine HAVE_USHORT 1
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H 1
+
+
+/*-------------------------------------------------------------------------*\
+|     Defines for the presence or absence of (system) types                 |
+\*-------------------------------------------------------------------------*/
+
+/* Define if `long long' is supported */
+#cmakedefine HAVE_LONG_LONG 1
 
 /* Define if `uint' is supported */
 #cmakedefine HAVE_UINT 1
@@ -105,65 +57,82 @@
 /* Define if `ulong' is supported */
 #cmakedefine HAVE_ULONG 1
 
-/* Define if `long long' is supported */
-#cmakedefine HAVE_LONG_LONG 1
+/* Define if `ushort' is supported */
+#cmakedefine HAVE_USHORT 1
 
-/* Define to 1 if you have the <unistd.h> header file. */
-#cmakedefine HAVE_UNISTD_H 1
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN 1
 
-/* Define to 1 if you have the `vprintf' function. */
-#cmakedefine HAVE_VPRINTF 1
 
-/* Define if we are compiling with debugging information */
-#cmakedefine LOFAR_DEBUG 1
+/*-------------------------------------------------------------------------*\
+|     Defines for the presence or absence of (system) libraries             |
+\*-------------------------------------------------------------------------*/
 
 /* Define if AIPS++ is installed */
 #cmakedefine HAVE_AIPSPP
 
+/* Define if libbfd is available */
+#cmakedefine HAVE_BFD 1
+
+/* Define if BG/L MPICH is installed */
+#cmakedefine HAVE_BGLMPICH 1
+
+/* Define if BOOST is installed */
+#cmakedefine HAVE_BOOST 1
+
+/* Define if BOOST component regex is installed */
+#cmakedefine HAVE_BOOST_REGEX 1
+
+/* Define if BOOST component date_time is installed */
+#cmakedefine HAVE_BOOST_DATE_TIME 1
+
 /* Define if FFTW2 is installed */
 #cmakedefine HAVE_FFTW2
 
 /* Define if FFTW3 is installed */
 #cmakedefine HAVE_FFTW3
 
-/* Define if libpqxx is installed */
-#cmakedefine HAVE_PQXX
+/* Define if LAM is installed */
+#cmakedefine HAVE_LAM 1
 
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
-#cmakedefine LT_OBJDIR 1
+/* Define if LOG4CPLUS is installed */
+#cmakedefine HAVE_LOG4CPLUS 1
 
-/* Define to the address where bug reports for this package should be sent. */
-#cmakedefine PACKAGE_BUGREPORT 1
+/* Define if LOG4CXX is installed */
+#cmakedefine HAVE_LOG4CXX 1
 
-/* Define to the full name of this package. */
-#cmakedefine PACKAGE_NAME 1
+/* Define if we have an MPI implementation installed */
+#cmakedefine HAVE_MPI 1
+
+/* Define if MPICH is installed */
+#cmakedefine HAVE_MPICH 1
+
+/* Define if libpqxx is installed */
+#cmakedefine HAVE_PQXX
 
-/* Define to the full name and version of this package. */
-#cmakedefine PACKAGE_STRING 1
+/* Define if PVSS is installed */
+#cmakedefine HAVE_PVSS 1
 
-/* Define to the one symbol short name of this package. */
-#cmakedefine PACKAGE_TARNAME 1
+/* Define if using Rational Purify */
+#cmakedefine HAVE_PURIFY 1
 
-/* Define to the version of this package. */
-#cmakedefine PACKAGE_VERSION 1
+/* Define if ScaMPI is installed */
+#cmakedefine HAVE_SCAMPI 1
 
-/* Define RPM release nr */
-#cmakedefine RPM_RELEASE 1
+/* Defined if shared memory is used */
+#cmakedefine HAVE_SHMEM 1
 
-/* Define to 1 if you have the ANSI C header files. */
-#cmakedefine STDC_HEADERS 1
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#cmakedefine WORDS_BIGENDIAN 1
+/*-------------------------------------------------------------------------*\
+|  Defines for the presence or absence of (system) functions                |
+\*-------------------------------------------------------------------------*/
 
-/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
-   `char[]'. */
-#cmakedefine YYTEXT_POINTER 1
+/* Define to __PRETTY_FUNCTION__, __FUNCTION__, or "<unknown>" */
+#cmakedefine AUTO_FUNCTION_NAME @AUTO_FUNCTION_NAME@
 
-/* Define to empty if `const' does not conform to ANSI C. */
-#cmakedefine const 1
+/* Define to 1 if you have the `backtrace' function. */
+#cmakedefine HAVE_BACKTRACE 1
 
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-#cmakedefine size_t 1
+/* Define to 1 if you have the `cplus_demangle' function. */
+#cmakedefine HAVE_CPLUS_DEMANGLE 1
-- 
GitLab