summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-22 19:58:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-22 19:58:13 (GMT)
commit472966ed5f1cae85dd93431ebe5ebb8fee4c6d23 (patch)
tree248be7a65160c356892862551b2b28eda28fc64f /Source/kwsys/Configure.hxx.in
parente7601ca600ff6a183e85e0cc9408547adefd7e86 (diff)
downloadCMake-472966ed5f1cae85dd93431ebe5ebb8fee4c6d23.zip
CMake-472966ed5f1cae85dd93431ebe5ebb8fee4c6d23.tar.gz
CMake-472966ed5f1cae85dd93431ebe5ebb8fee4c6d23.tar.bz2
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
Diffstat (limited to 'Source/kwsys/Configure.hxx.in')
-rw-r--r--Source/kwsys/Configure.hxx.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in
index 2f3fe34..f71d4d5 100644
--- a/Source/kwsys/Configure.hxx.in
+++ b/Source/kwsys/Configure.hxx.in
@@ -18,7 +18,12 @@
#include <@KWSYS_NAMESPACE@/Configure.h>
/* Disable cleanup of putenv memory for issues with GCOV */
-#cmakedefine KWSYS_DO_NOT_CLEAN_PUTENV
+#if @KWSYS_DO_NOT_CLEAN_PUTENV@
+#define KWSYS_DO_NOT_CLEAN_PUTENV
+#else
+#undef KWSYS_DO_NOT_CLEAN_PUTENV
+#else
+
/* Whether ANSI C++ stream headers are to be used. */
#define @KWSYS_NAMESPACE@_IOS_USE_ANSI @KWSYS_IOS_USE_ANSI@