Imakefile (Ygl-4.2f) | : | Imakefile (Ygl-4.2g) | ||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
XCOMM Set UseX11 to 1 if you want X11 bindings (faster, but only 2d) | XCOMM Set UseX11 to 1 if you want X11 bindings (faster, but only 2d) | |||
#define UseX11 1 | #define UseX11 1 | |||
XCOMM Set UseOpenGL to 1 if you want OpenGL bindings | XCOMM Set UseOpenGL to 1 if you want OpenGL bindings | |||
XCOMM (might be slower than X11, but also 3d) | XCOMM (might be slower than X11, but also 3d) | |||
#define UseOpenGL 1 | #define UseOpenGL 1 | |||
XCOMM Set Has_GLX_SGI_video_sync to 0 if you get link errors like | XCOMM Set Has_GLX_SGI_video_sync to 0 if you get link errors like | |||
XCOMM "ld: 0711-317 ERROR: Undefined symbol: .glXGetVideoSyncSGI" | XCOMM "ld: 0711-317 ERROR: Undefined symbol: .glXGetVideoSyncSGI" | |||
XCOMM (e.g. under AIX 4.3) | XCOMM (e.g. under AIX 4.3) | |||
#define Has_GLX_SGI_video_sync 1 | #define Has_GLX_SGI_video_sync 0 | |||
XCOMM Set DoubleBuffer to 1 if your system has the include file | XCOMM Set DoubleBuffer to 1 if your system has the include file | |||
XCOMM <X11/extensions/Xdbe.h> and the library libXext.a | XCOMM <X11/extensions/Xdbe.h> and the library libXext.a | |||
XCOMM This should be true for X11R6.1. Only nessesary with UseX11 == 1 | XCOMM This should be true for X11R6.1. Only nessesary with UseX11 == 1 | |||
#define DoubleBuffer 1 | #define DoubleBuffer 1 | |||
XCOMM Set MultiBuffer to 1 if your system has the include file | XCOMM Set MultiBuffer to 1 if your system has the include file | |||
XCOMM <X11/extensions/multibuf.h> and the library libXext.a | XCOMM <X11/extensions/multibuf.h> and the library libXext.a | |||
XCOMM This should be true for X11R5. Only nessesary with UseX11 == 1 | XCOMM This should be true for X11R5. Only nessesary with UseX11 == 1 | |||
#define MultiBuffer 1 | #define MultiBuffer 1 | |||
skipping to change at line 83 | skipping to change at line 83 | |||
XCOMM A/UX must have prefix due to naming conflict | XCOMM A/UX must have prefix due to naming conflict | |||
#define YglForcePrefix 1 | #define YglForcePrefix 1 | |||
CCOPTIONS = -D_AUX_SOURCE | CCOPTIONS = -D_AUX_SOURCE | |||
#endif | #endif | |||
#if UseOpenGL && UseMesa | #if UseOpenGL && UseMesa | |||
#error UseOpenGL and UseMesa are exclusive!!! | #error UseOpenGL and UseMesa are exclusive!!! | |||
#endif | #endif | |||
#if UseOpenGL | #if UseOpenGL | |||
# ifdef DarwinArchitecture | ||||
OGL = -I/usr/X11/include -DOGL | ||||
OGLIB = -L/usr/X11/lib -lGL -lGLU | ||||
# else | ||||
OGL = -DOGL | OGL = -DOGL | |||
OGLIB = -lGL -lGLU | OGLIB = -lGL -lGLU | |||
# endif | ||||
#endif | #endif | |||
#if UseX11 | #if UseX11 | |||
X11 = -DX11 | X11 = -DX11 | |||
#if Has_GLX_SGI_video_sync | #if Has_GLX_SGI_video_sync | |||
GSvs = -DGSvs | GSvs = -DGSvs | |||
#endif | #endif | |||
#if DoubleBuffer | #if DoubleBuffer | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added |