summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.hxx.in
diff options
context:
space:
mode:
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@