Yes I did it again ;)
authorKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 09:53:07 +0000 (09:53 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 09:53:07 +0000 (09:53 +0000)
added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu

237 files changed:
intern/action/intern/ACT_Action.cpp
intern/action/intern/ACT_ActionC-Api.cpp
intern/action/intern/ACT_ActionStack.cpp
intern/action/test/action_c_test/ActionTest.c
intern/action/test/action_c_test/TestAction.c
intern/action/test/action_cpp_test/ActionTest.cpp
intern/bmfont/BMF_Api.h
intern/bmfont/BMF_Fonts.h
intern/bmfont/BMF_Settings.h
intern/bmfont/intern/BMF_Api.cpp
intern/bmfont/intern/BMF_BitmapFont.cpp
intern/bmfont/intern/BMF_BitmapFont.h
intern/bmfont/intern/BMF_FontData.h
intern/bmfont/intern/BMF_font_helv10.cpp
intern/bmfont/intern/BMF_font_helv12.cpp
intern/bmfont/intern/BMF_font_helvb10.cpp
intern/bmfont/intern/BMF_font_helvb12.cpp
intern/bmfont/intern/BMF_font_helvb14.cpp
intern/bmfont/intern/BMF_font_helvb8.cpp
intern/bmfont/intern/BMF_font_scr12.cpp
intern/bmfont/intern/BMF_font_scr14.cpp
intern/bmfont/intern/BMF_font_scr15.cpp
intern/bmfont/test/BMF_Test.cpp
intern/bsp/extern/CSG_BooleanOps.h
intern/bsp/intern/BSP_CSGException.h
intern/bsp/intern/BSP_CSGHelper.cpp
intern/bsp/intern/BSP_CSGHelper.h
intern/bsp/intern/BSP_CSGISplitter.h
intern/bsp/intern/BSP_CSGMesh.cpp
intern/bsp/intern/BSP_CSGMesh.h
intern/bsp/intern/BSP_CSGMeshBuilder.cpp
intern/bsp/intern/BSP_CSGMeshBuilder.h
intern/bsp/intern/BSP_CSGMeshSplitter.cpp
intern/bsp/intern/BSP_CSGMeshSplitter.h
intern/bsp/intern/BSP_CSGMesh_CFIterator.h
intern/bsp/intern/BSP_CSGNCMeshSplitter.cpp
intern/bsp/intern/BSP_CSGNCMeshSplitter.h
intern/bsp/intern/BSP_CSGUserData.cpp
intern/bsp/intern/BSP_CSGUserData.h
intern/bsp/intern/BSP_FragNode.cpp
intern/bsp/intern/BSP_FragNode.h
intern/bsp/intern/BSP_FragTree.cpp
intern/bsp/intern/BSP_FragTree.h
intern/bsp/intern/BSP_MeshFragment.cpp
intern/bsp/intern/BSP_MeshFragment.h
intern/bsp/intern/BSP_MeshPrimitives.cpp
intern/bsp/intern/BSP_MeshPrimitives.h
intern/bsp/intern/BSP_Triangulate.cpp
intern/bsp/intern/BSP_Triangulate.h
intern/bsp/intern/CSG_BooleanOps.cpp
intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp
intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.h
intern/bsp/test/BSP_GhostTest/BSP_MeshDrawer.cpp
intern/bsp/test/BSP_GhostTest/BSP_MeshDrawer.h
intern/bsp/test/BSP_GhostTest/BSP_PlyLoader.cpp
intern/bsp/test/BSP_GhostTest/BSP_PlyLoader.h
intern/bsp/test/BSP_GhostTest/BSP_TMesh.h
intern/bsp/test/BSP_GhostTest/main.cpp
intern/bsp/test/BSP_GhostTest/ply.h
intern/bsp/test/BSP_GhostTest/plyfile.c
intern/container/CTR_List.h
intern/container/CTR_Map.h
intern/container/CTR_TaggedIndex.h
intern/container/CTR_TaggedSetOps.h
intern/container/CTR_UHeap.h
intern/container/intern/CTR_List.cpp
intern/decimation/extern/LOD_decimation.h
intern/decimation/intern/LOD_DecimationClass.h
intern/decimation/intern/LOD_EdgeCollapser.cpp
intern/decimation/intern/LOD_EdgeCollapser.h
intern/decimation/intern/LOD_ExternBufferEditor.h
intern/decimation/intern/LOD_ExternNormalEditor.cpp
intern/decimation/intern/LOD_ExternNormalEditor.h
intern/decimation/intern/LOD_FaceNormalEditor.cpp
intern/decimation/intern/LOD_FaceNormalEditor.h
intern/decimation/intern/LOD_ManMesh2.cpp
intern/decimation/intern/LOD_ManMesh2.h
intern/decimation/intern/LOD_MeshBounds.h
intern/decimation/intern/LOD_MeshException.h
intern/decimation/intern/LOD_MeshPrimitives.cpp
intern/decimation/intern/LOD_MeshPrimitives.h
intern/decimation/intern/LOD_QSDecimator.cpp
intern/decimation/intern/LOD_QSDecimator.h
intern/decimation/intern/LOD_Quadric.h
intern/decimation/intern/LOD_QuadricEditor.cpp
intern/decimation/intern/LOD_QuadricEditor.h
intern/decimation/intern/LOD_decimation.cpp
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_IEvent.h
intern/ghost/GHOST_IEventConsumer.h
intern/ghost/GHOST_ISystem.h
intern/ghost/GHOST_ITimerTask.h
intern/ghost/GHOST_IWindow.h
intern/ghost/GHOST_Rect.h
intern/ghost/GHOST_Types.h
intern/ghost/intern/GHOST_Buttons.cpp
intern/ghost/intern/GHOST_Buttons.h
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_CallbackEventConsumer.cpp
intern/ghost/intern/GHOST_CallbackEventConsumer.h
intern/ghost/intern/GHOST_Debug.h
intern/ghost/intern/GHOST_DisplayManager.cpp
intern/ghost/intern/GHOST_DisplayManager.h
intern/ghost/intern/GHOST_DisplayManagerCarbon.cpp
intern/ghost/intern/GHOST_DisplayManagerCarbon.h
intern/ghost/intern/GHOST_DisplayManagerWin32.cpp
intern/ghost/intern/GHOST_DisplayManagerWin32.h
intern/ghost/intern/GHOST_DisplayManagerX11.cpp
intern/ghost/intern/GHOST_DisplayManagerX11.h
intern/ghost/intern/GHOST_Event.h
intern/ghost/intern/GHOST_EventButton.h
intern/ghost/intern/GHOST_EventCursor.h
intern/ghost/intern/GHOST_EventKey.h
intern/ghost/intern/GHOST_EventManager.cpp
intern/ghost/intern/GHOST_EventManager.h
intern/ghost/intern/GHOST_EventPrinter.cpp
intern/ghost/intern/GHOST_EventPrinter.h
intern/ghost/intern/GHOST_ISystem.cpp
intern/ghost/intern/GHOST_ModifierKeys.cpp
intern/ghost/intern/GHOST_ModifierKeys.h
intern/ghost/intern/GHOST_Rect.cpp
intern/ghost/intern/GHOST_System.cpp
intern/ghost/intern/GHOST_System.h
intern/ghost/intern/GHOST_SystemCarbon.cpp
intern/ghost/intern/GHOST_SystemCarbon.h
intern/ghost/intern/GHOST_SystemCocoa.h
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_SystemWin32.h
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
intern/ghost/intern/GHOST_TimerManager.cpp
intern/ghost/intern/GHOST_TimerManager.h
intern/ghost/intern/GHOST_TimerTask.h
intern/ghost/intern/GHOST_Window.cpp
intern/ghost/intern/GHOST_Window.h
intern/ghost/intern/GHOST_WindowCarbon.cpp
intern/ghost/intern/GHOST_WindowCarbon.h
intern/ghost/intern/GHOST_WindowManager.cpp
intern/ghost/intern/GHOST_WindowManager.h
intern/ghost/intern/GHOST_WindowWin32.cpp
intern/ghost/intern/GHOST_WindowWin32.h
intern/ghost/intern/GHOST_WindowX11.cpp
intern/ghost/intern/GHOST_WindowX11.h
intern/ghost/test/gears/GHOST_C-Test.c
intern/ghost/test/gears/GHOST_Test.cpp
intern/ghost/test/multitest/Basic.c
intern/ghost/test/multitest/Basic.h
intern/ghost/test/multitest/EventToBuf.c
intern/ghost/test/multitest/EventToBuf.h
intern/ghost/test/multitest/GL.h
intern/ghost/test/multitest/MultiTest.c
intern/ghost/test/multitest/ScrollBar.c
intern/ghost/test/multitest/ScrollBar.h
intern/ghost/test/multitest/Util.c
intern/ghost/test/multitest/Util.h
intern/ghost/test/multitest/WindowData.c
intern/ghost/test/multitest/WindowData.h
intern/guardedalloc/MEM_guardedalloc.h
intern/guardedalloc/intern/mallocn.c
intern/guardedalloc/test/simpletest/memtest.c
intern/iksolver/extern/IK_solver.h
intern/iksolver/intern/IK_CGChainSolver.cpp
intern/iksolver/intern/IK_Chain.cpp
intern/iksolver/intern/IK_ConjugateGradientSolver.cpp
intern/iksolver/intern/IK_JacobianSolver.cpp
intern/iksolver/intern/IK_QChain.cpp
intern/iksolver/intern/IK_QJacobianSolver.cpp
intern/iksolver/intern/IK_QSegment.cpp
intern/iksolver/intern/IK_Segment.cpp
intern/iksolver/intern/IK_Solver.cpp
intern/iksolver/intern/MT_ExpMap.cpp
intern/iksolver/test/ik_glut_test/common/GlutDrawer.cpp
intern/iksolver/test/ik_glut_test/common/GlutDrawer.h
intern/iksolver/test/ik_glut_test/common/GlutKeyboardManager.cpp
intern/iksolver/test/ik_glut_test/common/GlutKeyboardManager.h
intern/iksolver/test/ik_glut_test/common/GlutMouseManager.cpp
intern/iksolver/test/ik_glut_test/common/GlutMouseManager.h
intern/iksolver/test/ik_glut_test/intern/ChainDrawer.h
intern/iksolver/test/ik_glut_test/intern/MyGlutKeyHandler.h
intern/iksolver/test/ik_glut_test/intern/MyGlutMouseHandler.h
intern/iksolver/test/ik_glut_test/intern/main.cpp
intern/img/extern/IMG_Pixmap.h
intern/img/extern/IMG_PixmapRGBA32.h
intern/img/intern/IMG_Color.h
intern/img/intern/IMG_MemPtr.h
intern/img/intern/IMG_Pixmap.cpp
intern/img/intern/IMG_PixmapRGBA32.cpp
intern/keymaker/key.c
intern/keymaker/key_internal.h
intern/keymaker/keyloader.c
intern/keymaker/mt19937int.c
intern/memutil/MEM_NonCopyable.h
intern/memutil/MEM_RefCountPtr.h
intern/memutil/MEM_RefCounted.h
intern/memutil/MEM_RefCountedC-Api.h
intern/memutil/MEM_SmartPtr.h
intern/memutil/intern/MEM_RefCountedC-Api.cpp
intern/moto/include/GEN_List.h
intern/moto/include/GEN_Map.h
intern/moto/include/MT_CmMatrix4x4.h
intern/moto/include/MT_Matrix3x3.h
intern/moto/include/MT_Matrix4x4.h
intern/moto/include/MT_MinMax.h
intern/moto/include/MT_Optimize.h
intern/moto/include/MT_Plane3.h
intern/moto/include/MT_Point2.h
intern/moto/include/MT_Point3.h
intern/moto/include/MT_Quaternion.h
intern/moto/include/MT_Scalar.h
intern/moto/include/MT_Stream.h
intern/moto/include/MT_Transform.h
intern/moto/include/MT_Tuple2.h
intern/moto/include/MT_Tuple3.h
intern/moto/include/MT_Tuple4.h
intern/moto/include/MT_Vector2.h
intern/moto/include/MT_Vector3.h
intern/moto/include/MT_Vector4.h
intern/moto/include/MT_assert.h
intern/moto/include/MT_random.h
intern/moto/include/NM_Scalar.h
intern/moto/intern/MT_CmMatrix4x4.cpp
intern/moto/intern/MT_Matrix3x3.cpp
intern/moto/intern/MT_Matrix4x4.cpp
intern/moto/intern/MT_Plane3.cpp
intern/moto/intern/MT_Point3.cpp
intern/moto/intern/MT_Quaternion.cpp
intern/moto/intern/MT_Transform.cpp
intern/moto/intern/MT_Vector2.cpp
intern/moto/intern/MT_Vector3.cpp
intern/moto/intern/MT_Vector4.cpp
intern/moto/intern/MT_random.cpp
intern/python/freeze/dummy.cpp
intern/python/py_main.c
intern/python/testmodule/testmodule.c
intern/string/STR_HashedString.h
intern/string/STR_String.h
intern/string/intern/STR_String.cpp

index ff3c01d146df8dd807501444b3c01b7c311ef3b8..a94c3c9f33615982a7daf5f2d5c25f453c2646b4 100644 (file)
 
 #include "ACT_Action.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 ACT_Action::ACT_Action(const STR_String& name, bool applied)
 : m_name(name), m_applied(applied)
index 1c2defa333a89d15728f2e67cce3df6c8757d79e..7fcd1d7b60a534739f1572135fa24b630d032091 100644 (file)
  * @date       April, 25, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "ACT_ActionC-Api.h"
 
 #include "ACT_ActionStack.h"
index 569babd95f28a1f8ef0327a2d36ef20226c04096..2025f744958a2b76fe5e1e44395d0736c3fd4180 100644 (file)
  * @date       March 31, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "ACT_ActionStack.h"
 
 
index a30163e0c3b5721544f82b9ff2afde1e56d89680..8f169528204d586457d73fcafc7c881b7d5ae3c2 100644 (file)
  * @date       March 31, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "ACT_ActionC-Api.h"
 #include "TestAction.h"
 
@@ -80,4 +84,4 @@ int main(int argc, char *argv[])
        ACT_ActionStackRedo(stack);
 
        return 0;
-}
\ No newline at end of file
+}
index 7b9739495d08dc47e2762be0e61ac4f96f83dd2c..0b4896dadd77ad4aef47820e0ea93471b4f3edfd 100644 (file)
 
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "TestAction.h"
 
 
index 379cc41a5deb4ef957411b752072c7129b9b1c77..55173bafb7b7576148b931ae03c76122de413be4 100644 (file)
  * @date       March 31, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "ACT_ActionStack.h"
 #include "TestAction.h"
 
@@ -80,4 +84,4 @@ int main()
     testStack.redo();
 
        return 0;
-}
\ No newline at end of file
+}
index 001a9788920d44a58c5765b641e2ba7026480140..608af5e536c965109d22684e5e0fde84d1681ddd 100644 (file)
 #ifndef __BMF_API_H
 #define __BMF_API_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" { 
 #endif
index bf7c370e47eaedad8c4964728feef306aabeb6cb..3a962bb9058924609987b10058557c292917d4c7 100644 (file)
 #ifndef __BMF_FONTS_H
 #define __BMF_FONTS_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BMF_Settings.h"
 
 typedef enum
index 247f9e474fcab8ac4a1ff2488aee355c7b18b767..b4629511512794f6cc50d9a724c57b9f6b6277c2 100644 (file)
 #ifndef __BMF_SETTINGS_H
 #define __BMF_SETTINGS_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* This font is included always */
 #define BMF_INCLUDE_HELV10 1
 
index 08e54f13174aa0c6cd246fcf1b47c5585dcfffce..46776b08ba0b33562964e3bc91773e20dc71a1fc 100644 (file)
  * Implementation of the API of the OpenGL bitmap font library.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BMF_Api.h"
 
 #include "BMF_BitmapFont.h"
index bd3fe0cb899d776c0ec8ed164e5e39d81ab3f0dc..fbb5d5805af17e75b88d2b018b100fbed3c65bf0 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32) || defined(__APPLE__)
        #ifdef WIN32
         #if !defined(__CYGWIN32__)
index 30cfd650353a6044a3697e10b592b24ab75876ec..2a363166179dd6881a6dac2c49800e323838809b 100644 (file)
 #ifndef __BMF_BITMAP_FONT_H
 #define __BMF_BITMAP_FONT_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BMF_FontData.h"
 
 /**
index 512bdf1a53d248bc7ce904c3c68221f74862c639..0f4f92318dd48de70545d4bac60785d9e12fb81e 100644 (file)
 #ifndef __BMF_FONTDATA_H__
 #define __BMF_FONTDATA_H__
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef struct {
        signed char width, height;
        signed char xorig, yorig;
index b69796948c3af8667ff3625d18690fad9fac67a8..636ac78c5d6c65f27ed0b993d53f711be50d69a8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BMF_FontData.h"
 
 #include "BMF_Settings.h"
index 45ab6531cdb7082c8068f93c15d1751595691659..813d22475ebcf7cfa92236277b49b8abf4a2d40f 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_HELV12
index 4707abfeda2eb8412402231e4129dbe4439b5126..66583767ffb47436d8f89a88997296a9e80faca2 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_HELVB10
index 7ae4f3b4dd5a922684ec98bde661f17ee5cce20a..69230d48ae81afbfd1443410246781407b20fd26 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_HELVB12
index d77697e74a8a73398fb2aa4133257a15d0a6470f..e793295f295b941f6ad6af37e123b442d65947b8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_HELVB14
index 0dfefbeda95faa1fc6743d4d730b74cc78e87770..79651b06519b50264977f4f5aee5856e23df8016 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_HELVB8
index a870ea91763016794a51b7ca8fdb0d0d79d596da..bcdb87fcc0b85dcd4eddbe754796af69f03fa72b 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_SCR12
index c060556c7e02f36bb756322e70394f61968c6e9e..6a3ee9dd710f03634147408bb4092090d2e1aa42 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_SCR14
index 708420410c6e782e92837dd11c30410e54aecd9a..919db333e65158d82a043a4f3e49e6bae1a90e1e 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "BMF_FontData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "BMF_FontData.h"
 #include "BMF_Settings.h"
 
 #if BMF_INCLUDE_SCR15
index 37d2f45d16440e01394b21d190a02c425d41997f..8dbd4b3ce754ca6b5e97f6d4e978bfa94986ac9c 100644 (file)
 
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32) || defined(__APPLE__)
 #ifdef WIN32
 #include <windows.h>
index 58e8534f3518bfb80433b741fc4b6ada7be7bf46..c7f854ff5d719172196bc2a0c38682acc4ecb601 100755 (executable)
 
 #define CSG_BOOLEANOPS_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 /**
  * @section Interface structures for CSG module.
  * This interface falls into 2 categories.
index 15835bc05162e46b65e53a50bfbe30f8c0f6b25e..bfac6fd346e474e7b10da5420133cb4e4a931586 100755 (executable)
 
 #define NAN_INCLUDED_CSGException_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // stick in more error types as you think of them
 
 enum BSP_ExceptionType{
index b47cdfa76e8688e539fe9b8dbbdf24585c67c150..0932d9bcdb93b961d12c659125c5087d5ae4f194 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGHelper.h"
 
 #include "BSP_CSGMesh.h"
index 6bf51383268ddf7b978d8cbaa734d814db418061..e27de3687a48214206b51236ad48fe6220274971 100644 (file)
 
 #define BSP_CSGHELPER_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class BSP_CSGMesh;
 class BSP_MeshFragment;
 
index c88a04a79322db4d21439a4f9a0625984a23a253..826b2c0d47753b8c82acaca81b408e3658a46fe3 100755 (executable)
 
 #define BSP_CSGISplitter_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class BSP_MeshFragment;
 class BSP_CSGMesh;
 
index d1721cb692b024690593370521ff84399e848bb6..efc7ba0f706a8d714c18e87d1971cb324e53e810 100755 (executable)
@@ -30,6 +30,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "BSP_CSGMesh.h"
 #include "MT_assert.h"
index 2ff610d41f28bd7f11b78ba087b38ee6a1718bed..4b634f3aa50a27d6bb6ddfc5c5ef7f5acacf2a0f 100755 (executable)
 
 #define NAN_INCLUDED_BSP_CSGMesh_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "BSP_MeshPrimitives.h"
 #include "MEM_SmartPtr.h"
 #include "MEM_RefCountPtr.h"
index cbe4bfc920d857748adc85771c6ba991dfef8f55..c7242e09ca53d5544d1df5226c70610b8238d33f 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGMeshBuilder.h"
 
 
index 05ed5bee1f3ee44d32373ded24e315831aff4f3a..c6763f11755dc8b1eb256b8ab65a88cea8167f6e 100755 (executable)
 
 #define BSP_CSGMeshBuilder_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "../extern/CSG_BooleanOps.h"
 #include "BSP_CSGMesh.h"
 #include "MEM_NonCopyable.h"
index eac926085ef1a457c5752fbd4f88715ca8321c9c..ba3a3150dbabd2f4c77691322fddf47ab5d571f8 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGMeshSplitter.h"
 
 #include "BSP_CSGMesh.h"
index 108b18266c67bf161388543c2044570cbfcf9946..141c498b909724f6b53bf31a212bf93c3f5f351e 100755 (executable)
 
 #define BSP_CSGMeshSplitter_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class BSP_MeshFragment;
 class MT_Plane3;
 class BSP_CSGMesh;
index a29ea4a547a8ab7c12057a1b70e06f585a90ae2e..4c31dda5d8f10210b7686ce8c906416ba79f1ee4 100755 (executable)
 
 #define BSP_CSGMesh_CFIterator_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "BSP_CSGMesh.h"
 #include "../extern/CSG_BooleanOps.h"
 /**
index 4ffe5c73e4755fa82e9d253d1f026a3b37243351..11e8bff6810bee206b40cbdce34bef1ef60a2d21 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGNCMeshSplitter.h"
 
 #include "BSP_CSGMesh.h"
index 56c1258f5c4721ddf63e74b8530c3666814600a7..1fcfbcac981680967f7cde57ab7ecacbea913086 100755 (executable)
 
 #define BSP_CSGNCMeshSplitter_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class BSP_MeshFragment;
 class MT_Plane3;
 class BSP_CSGMesh;
index 7ba5664bd2ae5d729faf93ebcad2526ea9127374..fa007aa0e00478a91741b7102c6d49f7ddee7d44 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGUserData.h"
 
  
index 6eb00d99cd305f505a3c9977c177aba0c9b390d3..1b3676992d551c3e544a090edfa1a92887035f4f 100755 (executable)
 
 #define BSP_CSGUserData_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include <vector>
 
 /**
index e23fdd835c7ee7403a60b2f5a7f7cb58ddac2741..c23b210a700257e185f8a5c46b2bbd2a5602d45a 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_CSGMesh.h"
 
 #include "BSP_FragNode.h"
index 699e080790e59f95b2bb8317c600b74e340459a5..7a674269b276363533400f0d8cd579bbaf6fc856 100755 (executable)
 
 #define BSP_FragNode_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "BSP_FragTree.h"
 #include "BSP_MeshFragment.h"
 #include "MT_Plane3.h"
index 3668db6cf7cb4c48ffd305681944ed87bd5b12d9..21a3e286447cf72154c435e590d9f75aab6c8e4c 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_FragTree.h"
 
 #include "BSP_FragNode.h"
index ea56190244e87b1fda4b2d3243e459e40b3ce566..02fb7a8e66ed6a1aa00f3dc333e4a474a4b0f043 100755 (executable)
 
 #define BSP_FragTree_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class BSP_FragNode;
 
 #include "MEM_SmartPtr.h"
index 408a13d6cd96fc6f38f60b2958757dbc7d1e5f42..b7583f04d8b02958f5825d65c1ad43c29691bc3e 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_MeshFragment.h"
 
 #include "BSP_CSGMesh.h"
index a53960299c281b33b351456e9819d1bf125ce63b..ac1c21a338d92e38f0fc6ff6f30206ed1c30953c 100755 (executable)
 
 #define NAN_INCLUDED_BSP_MeshFragment_h
 
+
 #define BSP_SPLIT_EPSILON MT_Scalar(1e-5)
 
 #include <vector>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_MeshPrimitives.h"
 
 
index 7425510b6a45dd85f03fb70f521914689f4c26a6..c9c4873540b04958e5a97e45fe811e65ebbf9707 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_MeshPrimitives.h"
 
 #include "MT_assert.h"
index 7b659700299b16c96a9ce3c8f813dbd046764a37..f3adfcffdc2b974ea6a707ec63607ca7145eb35e 100644 (file)
 
 #define NAN_INCLUDED_BSP_MeshPrimitives
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "CTR_TaggedIndex.h"
 #include "MT_Vector3.h"
 #include "MT_Plane3.h"
index 3d015b9f6d0c0684d202d11b03a54f3e087f61dd..fbfba62b907841bcb2240931e33b135d2933da5f 100755 (executable)
 #include <stdio.h>
 
 #include <stdlib.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Plane3.h"
 #include "BSP_Triangulate.h"
 #include "MT_assert.h"
index 20b9e61ca7b4da83b3aaf85f7a2312724a5f9a35..44a2b8c960a54d5598098006b856184a8ec7657e 100755 (executable)
 
 
 #include <vector>  // Include STL vector class.
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Point3.h"
 #include "BSP_MeshPrimitives.h"
 
index 01b8bfc0b686b8306a0ad175295ec75ec61409eb..cb9aaf9dec47e6d1955a570b3498be82624964b9 100755 (executable)
  * Implementation of external api for CSG part of BSP lib interface.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "../extern/CSG_BooleanOps.h"
 #include "BSP_CSGMesh_CFIterator.h"
 #include "BSP_CSGMeshBuilder.h"
index 92e5198f1394443319c128c83a8f1d3d66e0668a..5d8410462be2ff446c2c1ca39225f981f15d3d12 100755 (executable)
@@ -34,6 +34,9 @@
 * $Id$
 * Copyright (C) 2001 NaN Technologies B.V.
 */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #if defined(WIN32) || defined(__APPLE__)
 #      ifdef WIN32
index 49ab615403d364e3c3b7abebe4fa06b623128cfe..05da968c69c41e865d348a3c3489c54f9079b590 100755 (executable)
 
 #define BSP_GhostTest_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 
 #include "GHOST_IEventConsumer.h"
index 9df6d166263f9b870b2dd67eed7d323daaeace99..4f5f5d46535b34587553455dcbce9d23e19f9a98 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_MeshDrawer.h"
 
 #include "BSP_TMesh.h"
index fb1c5b1ccf00752d91c324d5b88ff3f151d8a299..f89462395bb37844242111e64e3aa658ae071424 100755 (executable)
 
 #define BSP_MeshDrawer_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 
 
 class BSP_TMesh;
index aa7dfbc38186eb74f02cea19779ae86bc4c70f99..f148250f1aa96e6686c6965c1e72230d38515175 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_PlyLoader.h"
 
 #include "MT_Vector3.h"
@@ -193,4 +197,4 @@ NewMeshFromFile(
   ply_close (ply);
 
  return mesh;
-}
\ No newline at end of file
+}
index 011b5a8dbcb88b6b092fc1bab8bc9bd9e54917e7..4a4b12fb8be60c9855adf605fa789dee79f743e7 100755 (executable)
 
 #define BSP_PlyLoader_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_SmartPtr.h"
 #include "BSP_TMesh.h"
 
index 5bfdb703a523646037644cc91b5cb4286c127fce..8b8a365ff78ef1958335920f29149898becfa83c 100755 (executable)
 
 #define BSP_TMesh_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MT_Point3.h"
 #include "MT_Vector3.h"
 #include "MT_Transform.h"
index e7875047651a733390c48da9c403405f4da695f9..6b0e0d66234cba0dd9d598b9fa345ff1d4fe0f08 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "BSP_GhostTest3D.h"
 
 #include "BSP_TMesh.h"
index 7947d224c5fe9baf7c0875207d906d716a945854..04844069971478fab1438f19a8e7d82e72e76893 100755 (executable)
@@ -71,6 +71,10 @@ extern "C" {
 #include <stdio.h>
 #include <stddef.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define PLY_ASCII      1        /* ascii PLY file */
 #define PLY_BINARY_BE  2        /* binary PLY file, big endian */
 #define PLY_BINARY_LE  3        /* binary PLY file, little endian */
index 1fda4c7745496281860afae027a58135c8500f24..fd808aa08893d7b5c1c9e775339b5010ca8560ec 100755 (executable)
@@ -70,6 +70,10 @@ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 #include <string.h>
 #include "ply.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 char *type_names[] = {
 "invalid",
 "char", "short", "int",
index 2ca2d60d0e73023f2b94270e733baf2aab9a1b7d..23d82d40819b1986d17297c7a54bddc7e1b1598f 100644 (file)
 #ifndef CTR_LIST_H
 #define CTR_LIST_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 class CTR_Link {
 public:
     CTR_Link(
index 8d4c94b4c019033371361b733c00621a7364bbce..cffbe20832c823bcc9fc68021237250df22f4ddb 100644 (file)
 
 #define CTR_MAP_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 template <class Key, class Value>
 class CTR_Map {
 private:
index 87bc8a4315e10367a5ad97f1e9792ab6f033356b..aa94f94403f62a394e9e13fb110ed1aa7db17c50 100644 (file)
 
 #include <functional>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 enum {
 
        empty_tag = 0x0,
index 6c550e6ff223f236dd1aca76d03b77b830c9275c..2696e644275c0ea056b91c1bd437f7205c365694 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_LOD_TaggedSetOps_h
-
 #define NAN_INCLUDED_LOD_TaggedSetOps_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_NonCopyable.h"
 #include <vector>
 
index c6321ea1abe3eb33dcce13e39bef387390677991..1f7c80fac2a70791f62983371e6a19ed16a5ded3 100644 (file)
 #define NAN_INCLUDED_CTR_UHeap_h
 
 #include <vector>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_NonCopyable.h"
 
 class CTR_UHeapable {
index 2e8c1bb13d252f7e7c7e61a69a927e63f5b78bcb..9cbb384c835809288e21f715bac0bb3c786c5c9f 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "CTR_List.h"
 
 
index 4b1936b72fbd028eeeac0fd0cae5d74a9d465faa..12e29a4a409fd917ed49f016fc41729115077b17 100644 (file)
@@ -40,6 +40,9 @@
 #ifndef NAN_INCLUDED_LOD_decimation_h
 #define NAN_INCLUDED_LOD_decimation_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {
index 302c023392f190348b30b40d34f89a09dd794b06..e29b3eb0119bd91df1d46b13bfaad08cf5911bf7 100644 (file)
 
 #define NAN_INCLUDED_LOD_DecimationClass_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_SmartPtr.h"
 #include "MEM_NonCopyable.h"
 
index 4168a2ae37149ddb1c679d1df3b11ad53586f072..07bcbf2b9d20aa0e14f9e89cb6f65089f472ce05 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "LOD_EdgeCollapser.h"
 
 #include "LOD_ManMesh2.h"
index c19786c8b851aae921ef63baca72bca5417ec5bb..d889ae25921735ca72b0714a9b10deefecbfb34d 100644 (file)
 
 #define NAN_INCLDUED_EgdeCollapser_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 // This is a helper class that collapses edges of a 2 - manifold mesh.
 
 #include "LOD_MeshPrimitives.h"
index 9f628c4455b4c81a4f80d5efc2085b722942d07c..9496151dda52463b26843b102a41155f2467af25 100644 (file)
 #ifndef NAN_INCLUDED_LOD_ExternBufferEditor_h
 #define NAN_INCLUDED_LOD_ExternBufferEditor_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "LOD_MeshPrimitives.h"
 #include <vector>
 #include "LOD_ManMesh2.h"
index 357aaf560063f9098f41924be51afad84061a27b..11818fc9f7c9b6745bb2831ce8c08e31625237ac 100644 (file)
  */
 
 #include "LOD_ExternNormalEditor.h"
-
 #include <vector>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 using namespace std;
 
 
index ba205f797901d86772fe7d1da4bac5d9064b5677..bff3c9f388b2c3ffe34e122f5c33910358d46ae1 100644 (file)
 
 #define NAN_INCLUDED_ExternNormalEditor_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_NonCopyable.h"
 #include "LOD_ManMesh2.h"
 #include "MT_Vector3.h"
index ef6bc0d252e19e93149d7a6475459df55ea11880..bb384dca04cd4019c1d7bda25a8514bcb19788ac 100644 (file)
@@ -32,6 +32,9 @@
 // implementation of LOD_FaceNormalEditor.h
 
 ///////////////////////////////////////
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "LOD_FaceNormalEditor.h"
 
index c3a1f9890c098ff498d7a6a7173701edd88a3306..3fab4888865cd71075ec80580e636ca15495e96f 100644 (file)
 
 #define NAN_INCLUDED_FaceNormalEditor_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_NonCopyable.h"
 #include "LOD_ManMesh2.h"
 #include "MT_Vector3.h"
index f0bf40f577c4936ea65a70cda4e3c7654b94aefd..322a48e337b82464154f57320955cfcfaea7e37c 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "LOD_ManMesh2.h"
 
 #include "MT_assert.h"
index 6b52e574f4d8d5f269fe1a7899e7e22a7296b022..bcd137f261f85bf3e6b171a135e2257308fd8463 100644 (file)
 
 #define NAN_INCLUDED_ManMesh2_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "LOD_MeshPrimitives.h"
 #include "MEM_SmartPtr.h"
 #include <vector>
index f9e1e08d9d3ea3350ab109b6f78f301e04323429..74fcbc41480d77226271c1fd27473c74a0c37067 100644 (file)
 
 #define NAN_INCLUDED_MeshBounds_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 #include "MEM_SmartPtr.h"
 #include "LOD_MeshPrimitives.h"
index 0f8d1de546aa6071f150cfd6e2c018522b809725..252c86c5fb18bcd59abfe4ddd35d93073fad7306 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MeshExceptions_h
-
 #define NAN_INCLUDED_MeshExceptions_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 class LOD_MeshException {
 
index 147e107cb4b0b14b398ab2845623e6c852c9cdca..16b80cdeea82f79fbfd356f7c81aeeaff5b96b78 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "LOD_MeshPrimitives.h"
 
 #include "MT_assert.h"
index 12214c7528d8fb6e36e77939b8bbeaed92ede603..0ffb34e1cc3c9b8a2e8fe51414ca810d4cebf41c 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MeshPrimitives_h
-
 #define NAN_INCLUDED_MeshPrimitives_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector3.h"
 #include "CTR_TaggedIndex.h"
 #include "CTR_UHeap.h"
index bf08de8e9de42cf814d1f00d875962b7a2cacba6..231f076a78ca276c5baae9d83e1fc5e704f8dbd8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "LOD_QSDecimator.h"
 
 #include "LOD_ExternBufferEditor.h"
index 12846c04aae9e512dbac8d6d8ca7d38001bc81bb..f1364668e4160c681feca9bdf14dda50fe55fcd8 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_LOD_QSDecimator_H
-
 #define NAN_INCLUDED_LOD_QSDecimator_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_NonCopyable.h"
 #include "LOD_ManMesh2.h"
 #include "LOD_ExternNormalEditor.h"
index d5b85c9ab71d57b623fe0f922ef3873287faaadf..16d3911538bc1a1c33202721575728dc4062cdbd 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_LOD_Quadric_h
-
 #define NAN_INCLUDED_LOD_Quadric_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector3.h"
 #include "MT_Matrix3x3.h"
 
index 751f5d1e7e06957bb264cc9d5b5dd44fd316b934..c1e5614b01dee8f1ae45ee6be496f49ce2f3a313 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "LOD_QuadricEditor.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "LOD_QuadricEditor.h"
 #include "LOD_ExternNormalEditor.h"
 
 // Creation
index d7f230ec2dacb9d2121934e1e1adb2d8dfd39362..0e3a9d1813c815a84427df67e9a37d490b66ef3b 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_LOD_QuadricEditor_h
-
 #define NAN_INCLUDED_LOD_QuadricEditor_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_NonCopyable.h"
 #include "LOD_ManMesh2.h"
 #include "MT_Vector3.h"
index 7bbc0945424378d84d611ccfc77c3f4c19a77869..0f6500b829dbc5499fc29192a38a49f920e03011 100644 (file)
@@ -30,7 +30,9 @@
  */
 
 // implementation of external c api
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "../extern/LOD_decimation.h"
 #include "LOD_DecimationClass.h"
index 10b986a55b02aeb5acfc528fcb4fdc23dc034f1e..528e3ac6e70bffdd2da926fa22d346e75234b3e9 100644 (file)
  */
 
 #ifndef        GHOST_C_API_H
-
 #define GHOST_C_API_H
 
 #include "GHOST_Types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" { 
index eb60b5d2e53dfb00df0ed8b314cc9afb2f5faba7..d47e5448dba733afff38a025ecc20da8aa2d9b35 100644 (file)
 #ifndef _GHOST_IEVENT_H_
 #define _GHOST_IEVENT_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 
 class GHOST_IWindow;
index ddb3de99953cd8ebad36ee3539c5772e60066788..f4fe85c06a90119c46b292c239163e1a615260bd 100644 (file)
 #ifndef _GHOST_IEVENT_CONSUMER_H_
 #define _GHOST_IEVENT_CONSUMER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_IEvent.h"
 
 /**
index 56c32ee870a845afccf49a0082e3d72c01a48abb..ef01eb5d8bd9af72f69b9df5ad4823b912c3b697 100644 (file)
 #ifndef _GHOST_ISYSTEM_H_
 #define _GHOST_ISYSTEM_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 #include "GHOST_ITimerTask.h"
 #include "GHOST_IWindow.h"
index dd952728ed1654b334a1fb78c1e6e1d623ce7218..ea8d73e8cc1f58a55daaf5fa3eaf0814b250a36c 100644 (file)
@@ -40,6 +40,9 @@
 #ifndef _GHOST_ITIMER_TASK_H_
 #define _GHOST_ITIMER_TASK_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "GHOST_Types.h"
 
index ee576230890fbd674a50deab251f2418005b793e..a3e5bd0e7880f5b0b79a81e9d592061086a2dcbd 100644 (file)
 #ifndef _GHOST_IWINDOW_H_
 #define _GHOST_IWINDOW_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "STR_String.h"
 #include "GHOST_Rect.h"
 #include "GHOST_Types.h"
index fdf88697d94281ab09871dc2492b95de2fa5f0c9..2261151600032867fea732752617ee43babb5e1e 100644 (file)
 #ifndef _H_GHOST_Rect
 #define _H_GHOST_Rect
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 
 
index b48e8f2054c37328134ae7b149c1bc7b42a13194..7362a26d52cb24cc7f1e29afaf1f1a9938d7f6f9 100644 (file)
 #ifndef _GHOST_TYPES_H_
 #define _GHOST_TYPES_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef        char                            GHOST_TInt8;
 typedef        unsigned char           GHOST_TUns8;
 typedef short                          GHOST_TInt16;
index 6e0c46e17a0ed52bab942fa843822609778a25fe..fb878ee6244141d47e19eb8c4feef6fb4a212b1b 100644 (file)
 
 #include "GHOST_Buttons.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 
 GHOST_Buttons::GHOST_Buttons()
 {
index d803ace435285a805741a616df6ec37efb494930..c1c41566c26e3857168afadf5307d17bdd5c6a7d 100644 (file)
 #ifndef _GHOST_BUTTONS_H_
 #define _GHOST_BUTTONS_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 
 
index 3ab3ce67fe8b0d432eb35d736ad4a48210924abf..5f7866b3c85cfe9dc7caa64418f72021e347cab1 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "intern/GHOST_Debug.h"
 #include "GHOST_C-api.h"
 #include "GHOST_ISystem.h"
index 8099bdbd1d5032d6fcee3add2b3a5c04fddf52b3..2a5e7fb9b714ce59ad599e24c954d4119786d6c7 100644 (file)
  * @date       October 25, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Debug.h"
 #include "GHOST_C-api.h"
 #include "GHOST_CallbackEventConsumer.h"
index bdbbb7d7feafe77773a3ddd10c5c945725398787..41dfd187fee40d265dbbebbc61a886c5a203323e 100644 (file)
 #ifndef _GHOST_CALLBACK_EVENT_CONSUMER_H_
 #define _GHOST_CALLBACK_EVENT_CONSUMER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_IEventConsumer.h"
 #include "GHOST_C-api.h"
 
index b63aaedfdecaa02170fc65500d09390b0de379e4..cf351a24b7815e629a284a138fda0d269f8b4c5e 100644 (file)
 #ifndef _GHOST_DEBUG_H_
 #define _GHOST_DEBUG_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
        #ifdef _DEBUG
                #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
index dc6626344343583320954add50377a918ad13fc6..b36143ee1a9d821b0f5e88a1daf25475eafe19a1 100644 (file)
  * @date       September 21, 2001
  */
 
-#include "GHOST_DisplayManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_DisplayManager.h"
 #include "GHOST_Debug.h"
 
 
index a206243df79a89be7c91d54a28a4fc2abcc7fb43..645274d4bcd40a56068e2ad90bd01f00b2e0e05a 100644 (file)
 #ifndef _GHOST_DISPLAY_MANAGER_H_
 #define _GHOST_DISPLAY_MANAGER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 
 #ifdef WIN32
index 3220fa1a3306985444f7a1c2bad3ee666d0515a4..8984008f93d18a2655e0a8167d2ca12621ffcb92 100644 (file)
  * @date       September 21, 2001
  */
 
-#include "GHOST_DisplayManagerCarbon.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_DisplayManagerCarbon.h"
 #include "GHOST_Debug.h"
 
 // We do not support multiple monitors at the moment
index 644761f5c2a7b0cc922a8a329a20f52dbb5af929..b5b6dc05e94d82991212a52bc72cddc5bbc128c6 100644 (file)
 #ifndef _GHOST_DISPLAY_MANAGER_CARBON_H_
 #define _GHOST_DISPLAY_MANAGER_CARBON_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef __APPLE__
 #error Apple only!
 #endif // __APPLE__
index 60892ce094e6206a73c1ff595de441ee193bb58f..0e5e82f1f11e54eef190a19b5c592f1ea77b7298 100644 (file)
  * @date       September 21, 2001
  */
 
-#include "GHOST_DisplayManagerWin32.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_DisplayManagerWin32.h"
 #include "GHOST_Debug.h"
 
 // We do not support multiple monitors at the moment
index 93be57c72cda310e0c79c5c9bc6d9aa55796fad1..7eca752cea1ee9c4366091b17d6bbd44bee6f3ea 100644 (file)
 #ifndef _GHOST_DISPLAY_MANAGER_WIN32_H_
 #define _GHOST_DISPLAY_MANAGER_WIN32_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #error WIN32 only!
 #endif // WIN32
index 1eb0e0a10caab64e13ff5b2a8017691201c31dc0..9695e24e737f53fa03367d2b1c5d05d7c1a1d29c 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "GHOST_DisplayManagerX11.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_DisplayManagerX11.h"
 #include "GHOST_SystemX11.h"
 
 
index 38819b5423196577171388b054dba91c31cf99f5..d74e54ce7abc1f6161ed135a4b4ab180f0f5e7f9 100755 (executable)
@@ -40,6 +40,9 @@
 #ifndef _GHOST_DISPLAY_MANAGER_X11_H_
 #define _GHOST_DISPLAY_MANAGER_X11_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "GHOST_DisplayManager.h"
 
index 05c133cb332325d08e45bdd0cfd6873b4d356981..481a7dc8ddfef18fa2510836ca16a973ccd753a5 100644 (file)
 #ifndef _GHOST_EVENT_H_
 #define _GHOST_EVENT_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_IEvent.h"
 
 
index 013aa92e2fb766b546d6108e549c94ed2e66a980..0514e958418f411edaf451b3752bebc50fc97958 100644 (file)
 #ifndef _GHOST_EVENT_BUTTON_H_
 #define _GHOST_EVENT_BUTTON_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Event.h"
 
 /**
index 5d14e28971501a1b112ed5e911ed26959b2b2c25..592fba4f5af7ada0217c627b2f7c73e8569f7bf2 100644 (file)
 #ifndef _GHOST_EVENT_CURSOR_H_
 #define _GHOST_EVENT_CURSOR_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Event.h"
 
 /**
index d31ba84542694bdd7747e3605f9bd299b5c0a7d3..5db60da23fa7f0c4e0f93928d0eaa70f7557997f 100644 (file)
 #ifndef _GHOST_EVENT_KEY_H_
 #define _GHOST_EVENT_KEY_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Event.h"
 
 /**
index f4a8b72db259653d4fc9c3e6c211dd62da862268..878a5f812c69538eb1c3051e9e99adc5ad62a0b4 100644 (file)
  */
 
 #include "GHOST_EventManager.h"
-
 #include <algorithm>
-
 #include "GHOST_Debug.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 GHOST_EventManager::GHOST_EventManager()
 {
index 7f955eb42dfa1140f8eb8828af50bb65dd9d4737..5b9f13d314c12dbaf7b11f073e8ce2829d38271f 100644 (file)
 #ifndef _GHOST_EVENT_MANAGER_H_
 #define _GHOST_EVENT_MANAGER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
 #endif // WIN32
index 16576357fbc6b12b1406718f783ec91223bcaf6f..362b40fe5040f3b2e59e12da31cc5ff0ed8f8c9a 100644 (file)
  */
 
 #include "GHOST_EventPrinter.h"
-
 #include <iostream>
-
 #include "GHOST_EventKey.h"
 #include "GHOST_Debug.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 bool GHOST_EventPrinter::processEvent(GHOST_IEvent* event)
 {
        bool handled = true;
index a943742026df1d2d4d71a82fdba1ae68dc986267..70208f0a5dcc3a40471edc3e28e2d1969f40774d 100644 (file)
 #ifndef _GHOST_EVENT_PRINTER_H_
 #define _GHOST_EVENT_PRINTER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_IEventConsumer.h"
 
 #include "STR_String.h"
index 6505194645a22a07c730953544feaf141cf826a4..0c2fce952e58319c4eccb101999db19c3d8fe139 100644 (file)
  * @date       May 7, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_ISystem.h"
 
 #ifdef WIN32
index 930ddf97f9ad34aafbb717dead405bb5b77b01ac..3e1b7fcc4cd7a4829247f61247608c67874c5968 100644 (file)
  * @date       May 31, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_ModifierKeys.h"
 
 
index 6b1e3c2e9704aec73b5ba82a5624b7b86d38ece2..19ffd192f45a814cfc69ba62bda074315ee35b3b 100644 (file)
 #ifndef _GHOST_MODIFIER_KEYS_H_
 #define _GHOST_MODIFIER_KEYS_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Types.h"
 
 struct GHOST_ModifierKeys
index cb600815f69348475973036fdc29753ffc970dae..70773fe149751634ebac758ba8c8c20e669dae8a 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Rect.h"
 
 
index 5585be62f5a7d575432195fe89bbcfbddee6fcc5..50acc19383bc0020c9454d79baab4086b57d9045 100644 (file)
  * @date       May 7, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_System.h"
 
 #include <time.h>
index 533665b6671fa9bb3d987ef6d81d3b3cdd08ba76..3c763b8d230888e958949a11f0be318a5eb6a3c2 100644 (file)
 #ifndef _GHOST_SYSTEM_H_
 #define _GHOST_SYSTEM_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_ISystem.h"
 
 #include "GHOST_Debug.h"
index baba1bb4e6c4ad7454dcc70f0e76acc07038db52..802ff17a147eecd63975c5391868143a5bc61180 100644 (file)
  * @date       May 7, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_SystemCarbon.h"
 
 #include "GHOST_DisplayManagerCarbon.h"
index 3648b41e4b54883de3b974b9a3f27dc43431f62e..f76fd5a98b801dede0a3585d6ef42ded68dc5fe9 100644 (file)
 
 #include <Carbon/Carbon.h>
 
-#include "GHOST_System.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_System.h"
 
 class GHOST_EventCursor;
 class GHOST_EventKey;
index 96199af63460c970a688c8c45dd7b46ce1362d73..563f88d3f7d1b11a06159618c214dfd371194876 100644 (file)
 #ifndef _GHOST_SYSTEM_CARBON_H_
 #define _GHOST_SYSTEM_CARBON_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef __APPLE__
 #error Apple OSX only!
 #endif // __APPLE__
index 6dc00bd1847768db340d2ecfaca7a8d752ec2fb7..3582554ba440a7e84866ac154a924c0d34709fdf 100644 (file)
  * @date       May 7, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_SystemWin32.h"
 
 
index ccdfbf5fda69a802c5f6e6e77bab5ec603d8c04c..2e16cda245450a5f55465645d47fc1aaa7d13a96 100644 (file)
 #ifndef _GHOST_SYSTEM_WIN32_H_
 #define _GHOST_SYSTEM_WIN32_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #error WIN32 only!
 #endif // WIN32
 
-#include "GHOST_System.h"
-
 #include <windows.h>
 
+#include "GHOST_System.h"
+
 #if defined(__CYGWIN32__)
 #      define __int64 long long
 #endif
index 77c13d66de2c86c8021358954396e7e951a068b4..0d4752634a14e2bcc222bf6b24160c2f144bb73d 100755 (executable)
@@ -60,6 +60,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "GHOST_SystemX11.h"
 #include "GHOST_WindowX11.h"
index 6cb9f06ea3f72039dacfeffe563d08b16eee0a8b..54b0f7874d1d111e4971ee61a498188d69967496 100755 (executable)
 #ifndef _GHOST_SYSTEM_X11_H_
 #define _GHOST_SYSTEM_X11_H_
 
-#include "GHOST_System.h"
-#include "../GHOST_Types.h"
-
 #include <X11/Xlib.h>
 #include <GL/glx.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "GHOST_System.h"
+#include "../GHOST_Types.h"
+
 class GHOST_WindowX11;
 
 /**
index e54dfce86f958064b87ed74411fd6e05988aa104..9f50b350baaeaaa39e4a50e2cc6784822f25b679 100644 (file)
  * @date       May 31, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_TimerManager.h"
 
 #include <algorithm>
index fe843442661692265a081c7987b75834f4e1c946..bfd15925b4b6985531dc35962fa7d17c3180656d 100644 (file)
 #ifndef _GHOST_TIMER_MANAGER_H_
 #define _GHOST_TIMER_MANAGER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
 #endif // WIN32
index bbcb75f4dcd73134826a38f751aef8c392042fcd..a973b644bcac04db0938cf33a3deb4d584a39e59 100644 (file)
 #ifndef _GHOST_TIMER_TASK_H_
 #define _GHOST_TIMER_TASK_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_ITimerTask.h"
 
 
index daa83eedcf66073067bc193668974de999c6e121..a21233d4475643c3c67f9fcdd91402151dbb119b 100644 (file)
  * @date       May 10, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Window.h"
 
 
index b9f1797861cf2d68a20d4a7e404dbb555ecda80b..9db191004090f5dcbb978fbe3c9f5898af168116 100644 (file)
@@ -40,6 +40,9 @@
 #ifndef _GHOST_WINDOW_H_
 #define _GHOST_WINDOW_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "GHOST_IWindow.h"
 
index 0e894a2dd438490ef125d7e68f625244c929108c..6b468237dd68093804c8c6f6e9e07dbb5da4b6a4 100644 (file)
  * @date       May 10, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_WindowCarbon.h"
 
 #include "GHOST_Debug.h"
index 8fb4663b3dfe31a144b9d3a4537c3e316021ade1..2083d4796499a8bed6610c868c391c5e4698e029 100644 (file)
 #ifndef _GHOST_WINDOW_CARBON_H_
 #define _GHOST_WINDOW_CARBON_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef __APPLE__
 #error Apple OSX only!
 #endif // __APPLE__
index a281145ac2998b87aaa6557a11a1a3a959263eab..abce72e259cec80d2ae6875dc62e5c50e4706193 100644 (file)
  * @date       May 11, 2001
  */
 
-#include "GHOST_WindowManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_WindowManager.h"
 #include <algorithm>
-
 #include "GHOST_Debug.h"
 #include "GHOST_Window.h"
 
index b759b653196d432a8d8d75383e6ad81661a64a61..3f01b10dd1cbafd08bb4ecc166d298870911b39c 100644 (file)
@@ -40,6 +40,9 @@
 #ifndef _GHOST_WINDOW_MANAGER_H_
 #define _GHOST_WINDOW_MANAGER_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
index 239a020083bebd2cb8cb73dd04c6dbd29146ef95..b8e179650ba5ff18ac1e74914ccc16f2b7dedc5a 100644 (file)
  * @date       May 10, 2001
  */
 
-#include <string.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include <string.h>
 #include "GHOST_WindowWin32.h"
-
 #include <GL/gl.h>
 
 LPCSTR GHOST_WindowWin32::s_windowClassName = "GHOST_WindowClass";
index 2663869ea47c927d9e8c16c695058a8c593506d8..6af8ea0df41d2745e23df627618be8d87be5ff2d 100644 (file)
 #ifndef _GHOST_WINDOW_WIN32_H_
 #define _GHOST_WINDOW_WIN32_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #error WIN32 only!
 #endif // WIN32
index 81592c1984ce7b6c67afa8040fb895da4bf35cad..7d3d7dfe62cf5b6964ad48ad33ec6fa98938176a 100755 (executable)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "GHOST_WindowX11.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GHOST_WindowX11.h"
 #include "GHOST_SystemX11.h"
 #include "STR_String.h"
 #include "GHOST_Debug.h"
index 5a56a9a82e91ba282491fad9e2edd4a9445c1be6..026253faa8da479b30ecd99ef16279f6ef4f59b4 100755 (executable)
 #ifndef _GHOST_WINDOWX11_H_
 #define _GHOST_WINDOWX11_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_Window.h"
 #include <X11/Xlib.h>
 #include <GL/glx.h>
index 16d8b421d5bb5689a7e0103c7b669a8d72f8875c..731e711b1c305a3410e32ca4369b74c39bd902ef 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GHOST_C-api.h"
 
 #if defined(WIN32) || defined(__APPLE__)
index a5459c9da9ba015a71ff689d1b054899789f52f1..40e980531ae216798f21784d7c7de61b66217475 100755 (executable)
 #include <iostream>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32) || defined(__APPLE__)
        #ifdef WIN32
                #include <windows.h>
index c26cf7c92ca7d2cecaa236715b01aa0b42508e51..db2ad9428b283a07aba5113b65d2671343882893 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "Basic.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 int min_i(int a, int b) { 
        return (a<b)?a:b; 
index 94fb0cdfc17b1d58be044e60f875681b9aa17b75..f3cd424a37a380db18c3bf12c3557d4cb247ba82 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 int            min_i                           (int a, int b);
 
 int            max_i                           (int a, int b);
index 950d80a246830eb3860845634bec276ad6af4198..8ca8c9cecc8f2a6f224e1c7c1f6a90f482a21429 100644 (file)
 
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_guardedalloc.h"
 
 #include "GHOST_C-api.h"
index be6f37d869bd97340f34717c7c4f0628caa17710..2e93d946f5694eb02a902ae0cb1e222fa595b91c 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 char *eventtype_to_string(GHOST_TEventType type);
 
 void event_to_buf(GHOST_EventHandle evt, char buf[128]);
index 7a96ae9e9f8abebc2b62d8dbc292bbb756bde42e..7aa21093faeebf8bd5da6c9974a15ba1a3bff5ca 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32) || defined(__APPLE__)
 
        #ifdef WIN32
index c78d904502233b4b89a42bf9a34dd2c962594b93..cc08441949b734826396854e72fb028cac63a51e 100755 (executable)
 
 #include "GL.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_guardedalloc.h"
 
 #include "GHOST_C-api.h"
index cd690f6f14e67d2ad6552a064c370512984f3efe..6ede0619b5f188f6dfef37fd395a7c815f87ef3c 100644 (file)
 
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_guardedalloc.h"
 
 #include "Basic.h"
index b49ad0414150006fe246aa21d7a83e82f45feff4..809afa5dad8c395af35f0b2c688c35726295dd5b 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef struct _ScrollBar ScrollBar;
 
 
index 31e43f6f5da3d40a5701bc93bbdb1d6746070e85..4cf23ff06a940d4b9df3fd148a02dfe82a06fb27 100644 (file)
 #include <stdarg.h>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_guardedalloc.h"
 
 #include "Util.h"
index e3e518245159fdfa88618a2464a5cfc26fb92bb0..18a81939d2c66ea5ab8cef9873423592c5b051f8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void*  memdbl          (void *mem, int *size_pr, int item_size);
 
 char*  string_dup      (char *str);
index ee377c98b584f8e50d36dad55b75537f6578503f..3c5739fd593af0f48a8e9a6098923a2047f9f53c 100644 (file)
@@ -31,6 +31,9 @@
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "MEM_guardedalloc.h"
 
index d913697610a4869c27bfe092923f0a5b9d9312f0..7d2ca67212aa3f0141940dcb6fa1cc1767e2d737 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef void (*WindowDataHandler)(void *priv, GHOST_EventHandle evt);
 
 typedef struct _WindowData WindowData;
index 6280b52059cbfce485bf979061a7ee7dbf82ffcf..2d84be491883fef9d13b492d3e464485ca439195 100644 (file)
 #ifndef MEM_MALLOCN_H
 #define MEM_MALLOCN_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Needed for FILE* */
 #include "stdio.h"
 
index 64bfdea9d9a63742ad4dc0ffceaee26baeb6bd0d..f0cc0787a90cdcea8a0c7db5d97f15927bd95c9d 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_guardedalloc.h"
 
 /* --------------------------------------------------------------------- */
index f2cdc207958bcd6a45895157b4c95683fca51342..7c5a8230ea74b14dd0c3cd1b878ad709f5092511 100644 (file)
 #include <stdlib.h>
 #include "MEM_guardedalloc.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int main (int argc, char *argv[])
 {
        int verbose       = 0;
index 7074c442cdffee472304a0da06d9b207910b1e94..5aa0cdd6992c03638e5b7c17003cabbf5affb25d 100644 (file)
@@ -74,7 +74,9 @@
 #define NAN_INCLUDED_IK_solver_h
 
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {
index 6af4df2a35b60e2ba453f955eb04e4f93ba0e1b2..4c91c6b8ab13ca4a3c40123e3deb7306cf9718d4 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "IK_CGChainSolver.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "IK_CGChainSolver.h"
 #include "IK_Segment.h"
 
 using namespace std;
index 875b8da14051f6ac27961ae8ab40f9c1a372642c..a86a615c859d122a960170a8ef9eebaec9b855ed 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "IK_Chain.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "IK_Chain.h"
 
 using namespace std;
 
index 028b7dfe2b04dab675f4310aa5783a5e47af09da..6760ba432d2efee31c41cc0b3360910dacd6fe8e 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "IK_ConjugateGradientSolver.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "IK_ConjugateGradientSolver.h"
 
 #define EPS 1.0e-10
 
index d0e1b4c07485f9d1e86020e3907e9663d633c1cb..9cca4ec778676420072824b5ff24a59ea69f8189 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "IK_JacobianSolver.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "IK_JacobianSolver.h"
 #include "TNT/svd.h"
 
 using namespace std;
index f39fca16644a3aa41648655330dffe6a063b7f06..de62195b9853cb098bdc6475dfa6df5f25aa7abc 100644 (file)
  * @author Laurence
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "IK_QChain.h"
 
 using namespace std;
index 32a703cb94d46da67f18733ef0a88237a5046038..e5d8e19e92a747af8419dafee21b1232b969d021 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "IK_QJacobianSolver.h"
 
 #include "TNT/svd.h"
index 2956dd815e236e0b1aaae8fa85bc90ad6892ffad..7f71d559ee4453cf83e50cbec339f40bd0dd427c 100644 (file)
  * @author Laurence
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "IK_QSegment.h"
 #include <iostream.h>
 
index f955a657dae5ccb5db804f235866efbd67fe1d95..af7f240e55f58010bc270a795551110d15c3d714 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "IK_Segment.h"
 
 
index 11646597d6da285a3c2a6f185f9c857e188053b2..2ae6395084daa87ed389cddde25f503d37f5efbb 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define IK_USE_EXPMAP
 
 
index c5ff0dc58863e3057da6f34657555fd835bdceb1..c936466c8d58c62b2dc6be69cb16207de9e0e85f 100644 (file)
  * @author Laurence
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_ExpMap.h"
 
 /** 
index 40c6a4a95c9121a3d8c9170e317520525dec6c4b..6161addc1701a16b783512347a87fb54cf1cef15 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GlutDrawer.h"
 
 #include "MT_assert.h"
index 798f50be8ff95d665ea6af0b5d990e7720045701..eac10393bf321f4ddbd20d8128d94d4443785aa5 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_GlutDrawer
-
 #define NAN_INCLUDED_GlutDrawer
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_NonCopyable.h"
 #include "MEM_SmartPtr.h"
 
index 0d1d52b542d3ca45f9f3d0a02e9ed64b9f1903e1..454e76f11bbf00dec6ad7e3b47a65ffa01314fbf 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "GlutKeyboardManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GlutKeyboardManager.h"
 #include "MT_assert.h"
 
 MEM_SmartPtr<GlutKeyboardManager> GlutKeyboardManager::m_s_instance = MEM_SmartPtr<GlutKeyboardManager>();
@@ -86,4 +89,4 @@ GlutKeyboardManager::
 ){
 
        delete(m_handler);
-}
\ No newline at end of file
+}
index 33343b74ebfaa1ee77639479d3b022466638e258..01e2ae039e2aee07d710fe3fe74e243b678b20e1 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_GlutKeyboardManager
-
 #define NAN_INCLUDED_GlutKeyboardManager
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MEM_NonCopyable.h"
 #include "MEM_SmartPtr.h"
 
index 57f4a65327e3604b053dec1335892aa45ddc4c90..8221cb55a006a23ccbfcb96c2f9b212e79172409 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "GlutMouseManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GlutMouseManager.h"
 #include "MT_assert.h"
 
 MEM_SmartPtr<GlutMouseManager> GlutMouseManager::m_s_instance = MEM_SmartPtr<GlutMouseManager>();
index fab68207c60c2b8a14dc5ba851e0d453e75dfd49..2903a337248fb13ab161c20097d5fd9f984f3dea 100644 (file)
 
 #define NAN_INCLUDED_GlutMouseManager_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "MEM_NonCopyable.h"
 #include "MEM_SmartPtr.h"
 
index b7e250a3ad0c65621fa95a26d5a26a9f9276d385..5a4915fca1f8a92c793ca3bc2b71050acebe2575 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_ChainDrawer_h
-
 #define NAN_INCLUDED_ChainDrawer_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "../common/GlutDrawer.h"
 #include "MyGlutMouseHandler.h"
 #include "MyGlutKeyHandler.h"
index b84d600079eb1b29ad9bfbbcf34c3eadc476ac95..8498c962f0cf028c159b017b06ca24eb58e11fa5 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MyGlutKeyHandler_h
-
 #define NAN_INCLUDED_MyGlutKeyHandler_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "../common/GlutKeyboardManager.h"
 
 class MyGlutKeyHandler : public GlutKeyboardHandler
index a4c97538c9e3e2121aeaaf51804353c7dcfb8093..7c16432f0aca4d14030b70c4b9c9749aa7b49d30 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MyGlutMouseHandler_h
-
 #define NAN_INCLUDED_MyGlutMouseHandler_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "../common/GlutMouseManager.h"
 #include <GL/glut.h>
 #include "IK_solver.h"
index 137c9bd4470f911ceb8067cbfafe15dd677c1b29..b8094e6cd4fa556d505d1658dc050643fbe74713 100644 (file)
@@ -60,6 +60,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "MEM_SmartPtr.h"
 
index d9ab96cd7458f2fd64e819050f5a4a6a4e5e931f..8f07e6a46bbb6483f25a2f01c13bbebd3e6c413a 100644 (file)
 #ifndef _H_IMG_Pixmap
 #define _H_IMG_Pixmap
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "GEN_Types.h"
 #include "GEN_Rect.h"
 
index 861b9ab3ebf446ccd8730d5255cc9358ab6ed1c6..7d7a937321d6379610ea6e53ce000bdea576ca3e 100644 (file)
 #ifndef _H_IMG_PixmapRGBA32
 #define _H_IMG_PixmapRGBA32
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 #include "IMG_Pixmap.h"
 #include "IMG_MemPtr.h"
 #include "IMG_Color.h"
index 92a452096c63cac6ca73bd71486603ff5d16650d..71273c22ae9cead513cea4508d46642b9d089e96 100644 (file)
 #ifndef _H_IMG_Color
 #define _H_IMG_Color
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 class IMG_ColorRGBA;
 
 
index a89e1f48d0037b9c82c79cf01f366bad658551ee..21a64a848a8899a0cbb597006b031cbf5981ba06 100644 (file)
 
 #include <stddef.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * A memory pointer for memory of any type.
  * It can be used to avoid memory leaks when allocating memory in constructors.
index 74888647b7571eaa99e68e0532eee7ff31a358e0..51bf3b30038f7e154099c5c0fe3ad9151d0a138b 100644 (file)
@@ -38,6 +38,9 @@
  * @date       March 6, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "../extern/IMG_Pixmap.h"
 
@@ -82,4 +85,4 @@ IMG_Pixmap::IMG_Pixmap(GEN_TUns32 width, GEN_TUns32 height)
 
 IMG_Pixmap::~IMG_Pixmap()
 {
-}
\ No newline at end of file
+}
index 70c62141097cfc27ac581e152a7e64eba4ce9895..a79ffe1b6e4891e16c22291a1eaecbbc2e43f67d 100644 (file)
@@ -38,6 +38,9 @@
  * @date       March 6, 2001
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "IMG_PixmapRGBA32.h"
 
index 011196f3a8cb353b8312c3d23722879f235a7191..413ee8b448c6065f943beb2800211fe8b8a8a0aa 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "blenkey.h"   /* external interface */
 #include "key_internal.h"
 
index af17afbbe6eb3e5866a78108133e5939a06e5188..393dad8ecb2ee67adb934ba29e77a465f65ad03c 100644 (file)
  * Blender Key loader library internal stuff
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "openssl/rand.h"
 #include "openssl/rsa.h"
 #include "openssl/ripemd.h"
index 4da347c32ac246b9f7695814355768ca8b6e4856..878ed319cb5e59d24cd3f43bfa271336e7e889ef 100644 (file)
  * Blender Key Read-tester
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 7845f9ad56e5f2e49815d295e752bc729b0a9abc..9481a48aadec8ea2a0026356b2aa599cb5b3c7d3 100644 (file)
 
 #include<stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "mt19937int.h"
 
 /* Period parameters */  
index da67ce6b3e3a226559f10f484be2d42ca982945b..635c61704cdc472e034e3a41790fd2e0debd7b01 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_NonCopyable_h
-
 #define NAN_INCLUDED_NonCopyable_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 /**
  * Simple class that makes sure sub classes cannot
  * generate standard copy constructors.
index 0888ad77e8b31ff7afb4eeab35ba8fef2d56f580..8f90226688b7c84ccf1f3c296ae4e688f33dacd2 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MEM_RefCountPtr_h
-
 #define NAN_INCLUDED_MEM_RefCountPtr_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * $Id$
  * Copyright (C) 2001 NaN Technologies B.V.
index 9cb1e755247e04e85afd91c763d4880294ec1b34..b72ba6590f933428dadae145edb0202f0928d833 100644 (file)
@@ -40,6 +40,9 @@
 #ifndef _H_MEM_REF_COUNTED
 #define _H_MEM_REF_COUNTED
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /**
  * An object with reference counting.
index 0bba70388c57fabc519f0118cc060f9a99415284..373042ba3501e3cbfcc6e5bcaad5c2b89169e2b4 100644 (file)
 #ifndef _H_MEM_REF_COUNTED_C_API
 #define _H_MEM_REF_COUNTED_C_API
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 /** A pointer to a private object. */
 typedef struct MEM_TOpaqueObject* MEM_TObjectPtr;
 /** A pointer to a shared object. */
index 93b545d9ced74b52667808c96880396f02564c13..144c4fd92c9a77bb6a34746273353995ca7c3580 100644 (file)
  */
 
 #ifndef NAN_INCLUDED_MEM_SmartPtr_h
-
 #define NAN_INCLUDED_MEM_SmartPtr_h
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * $Id$
  * Copyright (C) 2001 NaN Technologies B.V.
index 92f02ac78fa84a305ede15f8cc5d0a7139925d9a..87f7b0a69019bef14e482a9a2241ce2fee68fb57 100644 (file)
  * @date       Jun 17, 2001
  */
 
-#include "MEM_RefCountedC-Api.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "MEM_RefCountedC-Api.h"
 #include "MEM_RefCounted.h"
 
 
index 03d9463b2bb5d8aa73d98a362f25fee3d54423fb..fd20909834226cdd0c8431a7097b2f505fd2fcc7 100644 (file)
 #ifndef GEN_LIST_H
 #define GEN_LIST_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 class GEN_Link {
 public:
     GEN_Link() : m_next(0), m_prev(0) {}
index 38b1500fd98f9d24157f7795537adde24e1279c8..6459d75a0904d71a27a0eb6b79238b9e65aa9b62 100644 (file)
  */
 
 #ifndef GEN_MAP_H
-
 #define GEN_MAP_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 template <class Key, class Value>
 class GEN_Map {
 private:
index d0dcac6d023ea6d3839af8ba323d93f3688a440f..2bebddd444ab19e9320982f87286da14ea497de1 100644 (file)
  */
 
 #ifndef INCLUDED_MT_CmMatrix4x4
-
 #define INCLUDED_MT_CmMatrix4x4
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * A 4x4 matrix. This is an OpenGl style matrix (column major) meaning
  * that the vector {m[0][0],m[0][1],m[0][2],m[0][3]} is the first column of
index c9597630ed1b735de0aff4796d8d0ed4b53f910e..949ecf73dd95b25a9e445e6a52d4f23877879f0f 100755 (executable)
 #ifndef MT_MATRIX3X3_H
 #define MT_MATRIX3X3_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 
 #include "MT_Vector3.h"
index b4f271000dd8313c716570aa1c8bda58bae3c0f2..a5428f50f0cd22b9741e485b430e4d30aa682d0b 100755 (executable)
 #ifndef MT_MATRIX4X4_H
 #define MT_MATRIX4X4_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 
 #include "MT_Vector4.h"
index 06f8a8d18c861b8981146f90161dcdf8f609fb9d..f06c86feae56dde3a202b80e0ed14a4ef7baf8ea 100755 (executable)
 #ifndef MT_MINMAX_H
 #define MT_MINMAX_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 template <class T>
 inline const T& MT_min(const T& a, const T& b) {
   return b < a ? b : a;
index bf54ca8cade262525c299519cb89d2ae5039c2fb..965bf30f7c9f49160cf3cbfc1ba39bee89f0bf14 100644 (file)
  */
 
 #ifndef GEN_OPTIMIZE_H
-
 #define GEN_OPTIMIZE_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef GEN_INLINED
 #define GEN_INLINE inline
 #else
index 85315af8f5f5d490032eb0e5db97ec1f02452419..002ef45933bf138cf4e1f2c02d34b369852a7625 100644 (file)
  */
 
 #ifndef MT_PLANE3
-
 #define MT_PLANE3
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Tuple4.h"
 #include "MT_Point3.h"
 
index c6995f1ab0b7cb26aa5ac6dbbd9c08e58558b5b4..fd98d26102984ac529b94c4798ffbcc21917d7c2 100644 (file)
 #ifndef MT_POINT2_H
 #define MT_POINT2_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector2.h"
 
 class MT_Point2 : public MT_Vector2 {
index 90a1a37ed3707bb39935c17c6a37e5eb08eb9dfe..8e36906b1662b3deaaed756d1ec8e74128516221 100644 (file)
 #ifndef MT_POINT_H
 #define MT_POINT_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector3.h"
 
 class MT_Point3 : public MT_Vector3 {
index 045d346229cc832ca14e167e25b77493cc50ad0d..1bc745ebe2df958f821fdf63a7e8697c63f4518f 100644 (file)
 #ifndef MT_QUATERNION_H
 #define MT_QUATERNION_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 
 #include "MT_Vector3.h"
index 0a72a52c20edb7401192b176c980c8c4e55a5ad9..6a3429f69a640181659def70cf4b3b1c392ed14c 100755 (executable)
 #include <math.h>
 #include <float.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_random.h"
 #include "NM_Scalar.h"
 
index 75d61014df80c869043efd32781989caaf5e40a1..a2729ced817cc9fc5837e41cee3ffa1711b0dd1e 100755 (executable)
  */
 
 #ifndef GEN_STREAM_H
-
 #define GEN_STREAM_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __CUSTOM_STREAM
 
 class MT_OStream
index e774b125d0ee0a65238ef171bbd079a835144369..f56927c525dd22440d3a0f85124051839429259a 100644 (file)
 #ifndef MT_TRANSFORM_H
 #define MT_TRANSFORM_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Point3.h"
 #include "MT_Matrix3x3.h"
 
index 8a8334663ce6beb8ac3bf09e086f6352576e69da..8229511020d5eeddf94494eef0691a5bc61b2831 100755 (executable)
 #ifndef MT_Tuple2_H
 #define MT_Tuple2_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Stream.h"
 #include "MT_Scalar.h"
 
index 13be54adb57b64a3b87cf3cc8ddfb3eadf3ebd23..8029a92b1738fd3b67e40e2b8d3acadadf80084d 100755 (executable)
 #ifndef MT_TUPLE3_H
 #define MT_TUPLE3_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Stream.h"
 #include "MT_Scalar.h"
 
index 72b9e5f90a672540164419ac0df3a0fac96fab72..eccddb3229a5959d851195ac275eaad5612b490b 100755 (executable)
 #ifndef MT_TUPLE4_H
 #define MT_TUPLE4_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Stream.h"
 #include "MT_Scalar.h"
 
index b65feeff8bff52db03705b585d341a07c6b04d89..a0f92f4ca80f6264f33e7b6f497ae61376e834ab 100644 (file)
 #ifndef MT_VECTOR2_H
 #define MT_VECTOR2_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 #include "MT_Tuple2.h"
 
index e940e55d10c08ddd751e16f3e439e1d51a031dce..b07bc8e3161caabf4dcf1c34a0a71fd9347088d0 100644 (file)
 #ifndef MT_VECTOR3_H
 #define MT_VECTOR3_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 #include "MT_Tuple3.h"
 
index 32b71f950b821b988d6521d7912eff8874f71e17..127f716577a0346014ce8846b076856276d60f46 100644 (file)
 #ifndef MT_VECTOR4_H
 #define MT_VECTOR4_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <MT_assert.h>
 
 #include "MT_Tuple4.h"
index 2f9f3c928dbff1c36fff29b44eb510123e481984..7d37f950f3171ff24bb79c536978d087c002e240 100644 (file)
  */
 
 #ifndef MT_ASSERT_H
-
 #define MT_ASSERT_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef MT_NDEBUG
 
 #define MT_assert(predicate) ((void)0)
index adfe31f9c4199713e58a4b6d0868085855fd5254..41a01cf05e2b73c92e5aa5f941e59a07401efc69 100755 (executable)
  */
 
 #ifndef MT_RANDOM_H
-
 #define MT_RANDOM_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <limits.h>
 
 #define MT_RAND_MAX ULONG_MAX
index 3224ef4ee184e12d5278ed293625c495b3c25c3b..33e5d4775650656591db297cb38b59a911d717c9 100644 (file)
 
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 template <class T> 
 class NM_Scalar {
 public:    
index 0cc830980a04f41a219fd1e94bd5cfcabc3279a2..64ff3512c7a036d63ec5aa74659307f437458c19 100755 (executable)
@@ -60,6 +60,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "MT_CmMatrix4x4.h"
 #include "MT_Vector3.h"
index ded09a6b851922a82acc7d9a1dad2cd9bae15b5a..61dcc3b2d029f3c0b2e45065da1dc30e4c07bd8c 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Matrix3x3.h"
 
 
index ce2c3bcf6164180806a152467a68d2ae8f5013db..ff0ad3caba7a1e88295b3851ca7ab6e56ba5272d 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Matrix4x4.h"
 
 
index 01d10dac5b9c58155748fa3fab115b3c9265e049..054b09a48ccddc6d0c5f27821fc20cf51cac0c0b 100644 (file)
@@ -60,6 +60,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifndef GEN_INLINED
 #include "MT_Plane3.h"
index 4d704e4949ae79fd4fb51199a54c1a1f2cc231c5..1c585ad5eb4e3f86a13137ad5e4283d3e56437f2 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Point3.h"
 
 
index eb55ed45f5d8184bd83b05a45d0109305d2ab9af..6dd08ad484f68e747eeb798f50ae92fa19ee2471 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Quaternion.h"
 
 
index 31af8223a4fd5fd2ddcb4fffca28f493e6b32c1e..1af52abca3b40d859529ab51f4340c0c40a942f9 100644 (file)
 
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Transform.h"
 
 void MT_Transform::setValue(const float *m) {
index 932840981952442477b7f8fab45058938bcac2d1..c8ac08210e57b1dec6af1363ddd753f83fbfccfb 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector2.h"
 
 
index fe5861b0a41ace0b5b2282dc87ad9e1798e2e567..9285f2fcb19a86a4d1acead6e67bc58bae6e9a98 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector3.h"
 
 
index db77b20130c809a2dd83204f716be38b6aac385d..efe7d3e7b04f34912b7430d600563c27bffd5171 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_Vector4.h"
 
 
index 72e7c3732017c13d50be86a7b7e6346878322ad7..0c46211c3e87c465b8f62a21cadd3256f3314592 100755 (executable)
 /* When you use this, send an email to: matumoto@math.keio.ac.jp   */
 /* with an appropriate reference to your work.                     */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "MT_random.h"
 
 /* Period parameters */  
index 26d8dc08a187899bd53402dbe7dc4489d16d9e0e..c06d12c19db316fe92b4d3ef97944edf34ef2ec1 100644 (file)
  * @date       November 11, 2002
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void main(void)
 {
-}
\ No newline at end of file
+}
index 308ab0266ff7a6a6beb7b563e9e61e7ce51ee17d..fb50a84b2a2e9289415332dbd6c8f3dfdf9f729e 100644 (file)
 /* $RCSfile$ */
 /* $Revision$ */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 /*  Jan Walter's stuff */
 #include "Python.h"
 #include "blender.h"
index 8ad894d8aad2e2deeb77baccac2003e0580cd180..2bcafdad9ee9033c62b6f0d5e5352d08bc9df19c 100644 (file)
 /* $RCSfile$ */
 /* $Revision$ */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "Python.h"
 
 /************************************/
index bf18a4e4da6540fcd43fe722a1549f33f027ac75..9ba8e98bb7b3d69cecffacc1ce60b8ba29be8e13 100644 (file)
 #ifndef __STR_HASHSTRING
 #define __STR_HASHSTRING
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "STR_String.h"
 
 
index a7f91c3b3772dcd449628aad6a9b8895ce1ecef1..01fe9f688162b448c0169f0ffc75a4bd9954e9c2 100644 (file)
 #ifndef _STR_String_H_
 #define _STR_String_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef STR_NO_ASSERTD
 #undef  assertd
 #define        assertd(exp)                    ((void)NULL)
index 074bdc7acea96bb0069a99b2bc557330df252594..506e241ecae435c4b0b0a729ca5ac751c8aa0bd3 100644 (file)
 #include <stdarg.h>
 #include "STR_String.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*-------------------------------------------------------------------------------------------------
        Construction / destruction
 -------------------------------------------------------------------------------------------------*/