summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-14 13:35:56 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-14 13:35:56 (GMT)
commit19d11e2a1f483736f9f35990dd0db339a44ad146 (patch)
treeb166227a82ba41bdb135f3007740fda5082fe375 /Source/kwsys/Configure.hxx.in
parent63a1e45076c83fadc16c24d1dd8d53987be12ce8 (diff)
downloadCMake-19d11e2a1f483736f9f35990dd0db339a44ad146.zip
CMake-19d11e2a1f483736f9f35990dd0db339a44ad146.tar.gz
CMake-19d11e2a1f483736f9f35990dd0db339a44ad146.tar.bz2
ENH: Skip KWSys name maros in case of identity
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at configuration time. For ease of editing we write canonical names with the prefix 'kwsys' and use macros to map them to the configured prefix at preprocessing time. In the case of standalone KWSys, the prefix is 'kwsys', so the macros were previously defined to their own names. We now skip defining the macros in the identity case so that the final symbol names are never themselves macros. This will allow the symbols to be further transformed behind the scenes to help linkers in special cases on some platforms.
Diffstat (limited to 'Source/kwsys/Configure.hxx.in')
-rw-r--r--Source/kwsys/Configure.hxx.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in
index 7cf9abd..9e0653d 100644
--- a/Source/kwsys/Configure.hxx.in
+++ b/Source/kwsys/Configure.hxx.in
@@ -17,9 +17,6 @@
/* Include C configuration. */
#include <@KWSYS_NAMESPACE@/Configure.h>
-/* Whether kwsys namespace is "kwsys". */
-#define @KWSYS_NAMESPACE@_NAME_IS_KWSYS @KWSYS_NAME_IS_KWSYS@
-
/* Whether ANSI C++ stream headers are to be used. */
#define @KWSYS_NAMESPACE@_IOS_USE_ANSI @KWSYS_IOS_USE_ANSI@