From 5938d350cadfd33c56bba56c87f9444cba6c18ca Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Sat, 3 Mar 2007 15:43:31 -0500
Subject: [PATCH] COMP: All kwsys .hxx headers should include Configure.hxx. 
 Re-enabling testAutoPtr.

---
 CMakeLists.txt  | 2 +-
 auto_ptr.hxx.in | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7d88491..9398101a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -871,7 +871,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
 
     # C++ tests
     SET(KWSYS_CXX_TESTS
-      #      testAutoPtr
+      testAutoPtr
       testHashSTL
       testRegistry
       testIOS
diff --git a/auto_ptr.hxx.in b/auto_ptr.hxx.in
index 693b51d3..c3eca75d 100644
--- a/auto_ptr.hxx.in
+++ b/auto_ptr.hxx.in
@@ -14,6 +14,8 @@
 #ifndef @KWSYS_NAMESPACE@_auto_ptr_hxx
 #define @KWSYS_NAMESPACE@_auto_ptr_hxx
 
+#include <@KWSYS_NAMESPACE@/Configure.hxx>
+
 namespace @KWSYS_NAMESPACE@
 {
 
-- 
GitLab