cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
fi; \
if [ "$$pd" != "$$bd" ]; then \
- cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
$(INSTALL) -d $(DESTDIR)$(prefix)/inc/arch-6.5.0; \
cp -f$(CP_$(platform)) $$bd/inc/arch-6.5.0/Standard_Macro64.hxx $(DESTDIR)$(prefix)/inc/arch-6.5.0; \
fi
- if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
- unlink $(DESTDIR)$(prefix)/inc/config.h; \
- fi
- cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h
bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
$(INSTALL) -d $(DESTDIR)$(prefix)/src; \
void RenderText( const Standard_Integer id, const char* text);
void RenderText( char*, GLuint, int, GLfloat, GLfloat, GLfloat );
void ExportText( char* str, char* fontname, GLfloat height, GLfloat angle, GLint alingment, GLfloat x, GLfloat y, GLfloat z, GLboolean is2d );
-#ifdef HAVE_GL2PS
static void getGL2PSFontName(char *src_font, char *ps_font);
-#endif
private:
static int curSize ;
static int curScale ;
static int curTexFont ;
-#ifdef HAVE_GL2PS
int alignmentforgl2ps(int Hmode, int Vmode);
-#endif
struct FontMapNode
{
#ifndef _Standard_Macro_HeaderFile
# define _Standard_Macro_HeaderFile
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif /* HAVE_CONFIG_H */
-
// Standard OCC macros: Handle(), STANDARD_TYPE()
# define Handle(ClassName) Handle_##ClassName
# define STANDARD_TYPE(aType) aType##_Type_()
// Unix variant
#ifndef WNT
-#ifdef HAVE_IOSTREAM
#include <iostream>
#define USE_STL_STREAM
-#elif defined (HAVE_IOSTREAM_H)
- #include <iostream.h>
-#else
- #error "check config.h file or compilation options: either HAVE_IOSTREAM or HAVE_IOSTREAM_H should be defined"
-#endif
-#ifdef HAVE_IOMANIP
#include <iomanip>
-#elif defined (HAVE_IOMANIP_H)
- #include <iomanip.h>
-#endif
-#ifdef HAVE_FSTREAM
#include <fstream>
-#elif defined (HAVE_FSTREAM_H)
- #include <fstream.h>
-#endif
// Windows variant
#else /* WNT */
#endif
#ifndef WNT
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef HAVE_LIMITS
-# include <limits>
-#elif defined (HAVE_LIMITS_H)
# include <limits.h>
-#else
-#error "check config.h file or compilation options: either HAVE_LIMITS or HAVE_LIMITS_H should be defined"
-#endif
#endif
#define min(a,b) (a>b ? b : a)
#endif
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#ifdef HAVE_X11_EXTENSIONS_TRANSOLV_H
#include <X11/extensions/transovl.h>
#endif
#include <vector>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// NOTE: replaced by more correct check
// #if defined(WNT) || defined(LIN)
// #define HAVE_TBB 1
#include <vector>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// NOTE: to be replaced by more correct check
// #if defined(WNT) || defined(LIN)
// #define HAVE_TBB 1
#include <TDocStd_Document.hxx>
#include <TDocStd_Owner.hxx>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#define SHAPESECTION_POS "SHAPE_SECTION_POS:"
#define SIZEOFSHAPELABEL 18
// Author KGV
// Copyright OpenCASCADE 2010
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef HAVE_FREEIMAGE
#include <FreeImagePlus.h>
#include <Image_PixMap.ixx>
#include <OSD.ixx>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <math.h>
#if HAVE_IEEEFP_H
#include <OpenGl_GraphicDriver.jxx>
#include <OSD_Localizer.hxx>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef HAVE_GL2PS
#include <gl2ps.h>
#endif
#include <Quantity_NameOfColor.hxx>
#include <AlienImage.hxx>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef HAVE_GL2PS
#include <gl2ps.h>
#endif
void RenderText( const Standard_Integer id, const char* text);
void RenderText( char*, GLuint, int, GLfloat, GLfloat, GLfloat );
void ExportText( char* str, char* fontname, GLfloat height, GLfloat angle, GLint alingment, GLfloat x, GLfloat y, GLfloat z, GLboolean is2d );
-#ifdef HAVE_GL2PS
static void getGL2PSFontName(char *src_font, char *ps_font);
-#endif
private:
static int curSize ;
static int curScale ;
static int curTexFont ;
-#ifdef HAVE_GL2PS
int alignmentforgl2ps(int Hmode, int Vmode);
-#endif
struct FontMapNode
{
#define NO_TRACE_MATRIX
#define NO_TRACE_TEXT
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*----------------------------------------------------------------------*/
/*
* Includes
#include <Standard_MMgrTBBalloc.hxx>
#include <Standard_OutOfMemory.hxx>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// NOTE: replaced by more correct check
//#if defined(WNT) || defined(LIN)
//#define HAVE_TBB 1