1/* Copyright (c) 1999 Stephen F. White (GPL)*/ 2 3#ifndef CONFIG_H 4#define CONFIG_H 5 6/* Define to test "this" against NULL. Almost! impossible, but needed... */ 7#define HAVE_NULL_COMPARE 1 8 9/* Define to empty if the keyword does not work. */ 10#undef const 11 12/* Define to 0 if X3DOM support PROTOS (not yet) */ 13#define HAVE_NO_PROTOS_X3DOM 1 14 15/* Define to 0 if X3DOM support StaticGroup (not really yet) */ 16#define HAVE_NO_STATIC_GROUP_X3DOM 1 17 18// define if you want optimization and do not have animation in a PROTO 19// use with care ! 20#undef HAVE_PROTO_INITIALIZATION_OPTIMIZATION 21 22/* Define to test "this" against NULL. Almost! impossible */ 23#undef HAVE_NULL_COMPARE 24 25/* Define if you have the ANSI C header files. */ 26#undef STDC_HEADERS 27 28/* Define if you have the expat library */ 29#undef HAVE_LIBEXPAT 30 31/* Define if you have the vcg library (include files only)*/ 32#undef HAVE_LIBVCG 33 34/* Define if you have the CGAL library */ 35#undef HAVE_LIBCGAL 36 37/* Define if you have the curl library */ 38#undef HAVE_LIBCURL 39 40/* Define if you have the IL library */ 41#undef HAVE_LIBIL 42 43/* Define if you have the ILU library */ 44#undef HAVE_LIBILU 45 46/* IL + ILU = DevIL */ 47 48#ifdef HAVE_LIBIL 49# ifdef HAVE_LIBILU 50# define HAVE_LIBDEVIL 1 51# endif 52#endif 53 54/* Define if you have the jpeg library */ 55#undef HAVE_LIBJPEG 56 57/* Define if you have the png library */ 58#undef HAVE_LIBPNG 59 60/* Define if the link of the png Library fails cause of png_handle_unknown */ 61#undef HAVE_NO_PNG_HANDLE_UNKNOWN 62 63/* Define if you want to use the gif loading routines */ 64#undef HAVE_GIF 65 66/* Define if you have the z library */ 67#undef HAVE_LIBZ 68 69/* Define if you have the ffmpeg libraries (see configure/configure.in */ 70#undef HAVE_FFMPEG 71 72/* Define if you have OpenMP */ 73#undef HAVE_OMP 74 75/* define if you use the spaceball library */ 76#undef HAVE_LIBSBALL 77 78/* define if you have the libusb library */ 79#ifndef __CYGWIN__ 80# undef HAVE_LIBUSB 81#endif 82 83/* define if you want to convert to The Nebula Device 3D engine ("sanddune") */ 84#undef HAVE_SAND 85 86/* Define if you have snprintf. */ 87#undef HAVE_SNPRINTF 88 89/* Define if you have XML_StopParser. */ 90#undef HAVE_XML_STOPPARSER 91 92#ifndef HAVE_SNPRINTF 93# define snprintf mysnprintf 94#endif 95 96/* Define if you have glFogCoordf. */ 97#undef HAVE_GLFOGCOORDF 98 99/* Define if you have glDeleteTextures. */ 100#undef HAVE_GLDELETETEXTURES 101 102/* Define if you have glGenTextures. */ 103#undef HAVE_GLGENTEXTURES 104 105/* Define if you have glBindTexture. */ 106#undef HAVE_GLBINDTEXTURE 107 108/* Define if you have glActiveTexture */ 109#undef HAVE_GLACTIVETEXTURE 110 111#ifdef HAVE_GLACTIVETEXTURE 112# define HAVE_MULTI_TEXTURE 1 113#endif 114 115/* Define if you have OSMesaCreateContext */ 116#undef HAVE_OSMESACREATECONTEXT 117 118#ifdef HAVE_OSMESACREATECONTEXT 119# define HAVE_MESA_OFF_SCREEN_RENDERING 1 120#endif 121 122/* Define if you have OSMesaCreateContextExt */ 123#undef HAVE_OSMESACREATECONTEXTEXT 124 125#ifdef HAVE_OSMESACREATECONTEXTEXT 126# define HAVE_MESA_OFF_SCREEN_RENDERING 1 127#endif 128 129/* Define if you have GLU_NURBS_TESSELLATOR. */ 130#undef HAVE_GLU_NURBS_TESSELLATOR 131 132/* Define if you have gluNewTess. */ 133#undef HAVE_GLUNEWTESS 134 135/* Define if you have _GLUfuncptr. */ 136#undef HAVE_GLU_FUNC_PTR 137 138#ifdef HAVE_GLU_FUNC_PTR 139# define MY_GLU_CALLBACK_PTR _GLUfuncptr 140#else 141# define MY_GLU_CALLBACK_PTR GLvoid (*)() 142#endif 143 144/* Define if you have gettimeofday. */ 145#undef HAVE_GETTIMEOFDAY 146 147/* Define if you have powf. */ 148#undef HAVE_POWF 149 150/* Define if you have powl. */ 151#undef HAVE_POWL 152 153/* Define if you have rint. */ 154#undef HAVE_RINT 155 156#ifndef HAVE_RINT 157# define rint(x) (x - (((x + 0.5) - floor(x)))) 158#endif 159 160/* Define if you have atexit. */ 161#undef HAVE_ATEXIT 162 163/* Define if you have _exit. */ 164#undef HAVE__EXIT 165 166#ifdef HAVE_ATEXIT 167# ifdef HAVE__EXIT 168# define EXIT_HANDLER 169# endif 170#endif 171 172/* define if you have the freetype2 headers/library */ 173#undef HAVE_LIBFREETYPE 174 175/* define if you have the OpenSubdiv headers/library */ 176#undef HAVE_LIBOSDCPU 177 178/* Define if you have stdarg.h */ 179#undef HAVE_STDARG_H 180 181/* Define if you have varargs.h */ 182#undef HAVE_VARARGS_H 183 184/* Define if you have signal_handler(int) */ 185#undef HAVE_SIGNAL_INT 186 187#ifdef __CYGWIN__ 188# define HAVE_SIGNAL_INT 1 189#endif 190 191/* Define if your computer is a OLPC ("one laptop per child") */ 192#undef HAVE_OLPC 193 194/* Define if your computer has 64 bit (void *) pointers */ 195#undef HAVE_VOID_PTR_SIZE_8 196 197/* Define if you want double size icons (automatically set on OLPC) */ 198#undef HAVE_ICON_SCALE_2 199 200/* Define if your C++ compiler support "typename" */ 201#undef HAVE_TYPENAME 202 203#ifdef HAVE_TYPENAME 204# define TYPENAME typename 205#else 206# define TYPENAME 207#endif 208 209/* Define if you suspect a problem with a older motif/lesstif version */ 210#undef HAVE_OLD_MOTIF 211 212/* 213 Define to disable the function, if file -> textedit do not return. 214 This has been occured in glXDestroyContext on a radeon graphics card 215 on FreeBSD 5.0-RELEASE. 216 This is possibly a bug in the file -> textedit implementation itself 8-( 217*/ 218#undef HAVE_NO_TEXTEDIT 219 220/* Define if you want euler angles instead of VRML like rotations */ 221#undef HAVE_EULER_ROT 222 223/* define if ROUTE statements should be at the end of the VRML file */ 224#undef HAVE_ROUTE_AT_END 225 226/* 227 command to switch into quadbuffer stereomode 228 e.g. "/usr/gfx/setmon -n 1024x768_96s" 229 on some SGI IRIX systems 230*/ 231#undef HAVE_STEREOCOMMAND 232 233/* define if you do not have shutterglases */ 234#undef HAVE_NO_STEREO 235 236/* define if you have a Joystick under Linux */ 237#undef LINUX_JOYSTICK 238 239/* define if you have a Joystick under M$Windows */ 240#undef WINDOWS_JOYSTICK 241 242/* define if you have a P5 data glove under M$Windows */ 243#undef HAVE_WINDOWS_P5 244 245/* define if you have a space navigator device under M$Windows XP */ 246#undef WINDOWS_SPACEBALL 247 248/* defined if a Joystick supported by the SDLjoystick directory was detected */ 249#undef HAVE_SDL_JOYSTICK 250 251/* if libusb is available, nxtdials would work */ 252#ifdef HAVE_LIBUSB 253# define HAVE_NXT_DIALS 1 254#endif 255 256/* define if you have a xinput device like magellan or spaceball */ 257#undef HAVE_XINPUT 258 259/* define if you have XkbKeycodeToKeysym in libX11 */ 260#undef HAVE_XKBKEYCODETOKEYSYM 261 262/* undefine if you dont want support for a Ascention Flock of birds tracker */ 263#ifndef __CYGWIN__ 264# define HAVE_AFLOCK 1 /* now aways true */ 265#endif 266 267/* define if you have c_ospeed in the termios struct */ 268#undef HAVE_C_OSPEED 269 270/* define if you want to see debug messsages for update requests for the 271 different views/windows */ 272#undef HAVE_UPDATE_DEBUG 273 274/* define if you want to see debug messsages for Ascention Flock of birds 275 tracker */ 276#undef HAVE_AFLOCK_DEBUG 277 278/* define if you want the menu in german language */ 279#undef HAVE_MENU_GERMAN 280 281/* where the java engine exist */ 282#undef JAVA_PATH 283 284/* 285 switch off emergencysave signalhandling 286 Useful for testing, or if the signalhandling code do not match your system 287 */ 288#undef HAVE_WANT_CORE 289 290/* Define if you have _FPU_SETCW to enable fpu interrupts (i386 Linux) */ 291#undef HAVE_FPU_SETCW 292 293#ifdef HAVE_FPU_SETCW 294# define HAVE_FPU_ENABLE_INTERRUPTS 1 295#endif 296 297/* Define if you have handle_sigfpes to enable fpu interrupts (IRIX) */ 298#undef HAVE_HANDLE_SIGFPES 299 300#ifdef HAVE_HANDLE_SIGFPES 301# define HAVE_FPU_ENABLE_INTERRUPTS 1 302#endif 303 304/* Define if you need to define _XOPEN_SOURCE 600 to use fpclassify */ 305#undef HAVE_XOPEN_SOURCE_4_FPCLASSIFY 306 307/* Define if you have fpclassify to test for floating point NAN and INFINITE */ 308#undef HAVE_FPCLASSIFY 309 310/* Define if you have isless to test for floating point INFINITE or -INFINITE */ 311#undef HAVE_ISLESS 312 313/* Define if you have a working C++ new handler */ 314#undef HAVE_NEW_HANDLER 315 316/* Define if you have a working new style C++ new handler */ 317#undef HAVE_NEW_NEW_HANDLER 318 319/* 320 add a extra submenu useful for teaching things 321 */ 322#undef HAVE_TEACHER_MENU 323 324/* 325 insert a extra menupoint for testing new things, look for 326 MainWindow::testInMenu() in MainWindow.cpp to see how to use this menupoint 327 */ 328#undef HAVE_TEST_IN_MENU 329 330/* www browser to view html/vrml files*/ 331#undef HAVE_WWW_BROWSER 332 333/* vrml browser to view vrml files*/ 334#undef HAVE_VRML_BROWSER 335 336/* vrml browser to view vrml files with a remote command*/ 337#undef HAVE_VRML_REMOTE_BROWSER 338 339/* text editor for txt files */ 340#undef HAVE_X11_EDITOR 341 342/* object editor for bitmap (.png/.jpg/.gif) files */ 343#undef HAVE_IMAGE_EDITOR 344 345/* (path to) ant (apache ant: "Another Neat Tool") */ 346#undef HAVE_ANT 347 348/* (path to) graphical commandline terminal (e.g. xterm) */ 349#undef HAVE_TERM 350 351/* easy object editor for bitmap (.png/.jpg/.gif) files for beginners */ 352#undef HAVE_IMAGE_EDITOR4KIDS 353 354/* object editor for sound (.wav/.midi) files */ 355#undef HAVE_SOUND_EDITOR 356 357/* object editor for movie (.mpeg) files */ 358#undef HAVE_MOVIE_EDITOR 359 360/* renderman image texturer (eg. teqser) */ 361#undef HAVE_RIB_TEXTURER 362 363/* 364 default non interactive of graphical checkin command of a revision control 365 system such as rcs, csv, svn etc. 366*/ 367#undef HAVE_CHECK_IN_COMMAND 368 369/* converter to convert from bitmap (.png/.jpg/.gif) files to bmp files for ac3d export*/ 370#undef HAVE_IMAGE_CONVERTER 371 372/* Define if you want to set the URL of the helppages */ 373#undef HAVE_HELP_URL 374 375/* Define if you want to set the URL of the vrml node list */ 376#undef HAVE_VRML_NODES_URL 377 378/* Define if you want to set the URL of the x3d standard (base url) */ 379#undef HAVE_X3D_URL 380 381/* Define if your system support /usr/include/X11/Xmu */ 382#undef HAVE_INCLUDE_X11_XMU 383 384/* Define if you want to try to get "edit -> cut" working */ 385#undef HAVE_CUT 386 387/* Define if you want to use the nonstandard "mode" field in TextureImage */ 388#undef HAVE_TEXTUREIMAGE_MODE 389 390/* Define if you want to use the deprecated "Wave" node of the cover browser */ 391#undef HAVE_COVER_WAVE 392 393/* Define if you want to use the incomplete "TUIMap" node of the cover browser */ 394#undef HAVE_COVER_TUI_MAP 395 396/* Define if opening a new file require a new window */ 397#undef HAVE_OPEN_IN_NEW_WINDOW 398 399/* 400 Define if you do not want to automatically replace "vrmlscript:" 401 (e.g. made by cosmoworlds 1.02) with "javascript:" in URLs 402 ("vrmlscript" not recommended for VRML97 compatibility) 403*/ 404#undef HAVE_DONT_REPLACE_VRMLSCRIPT 405 406/* 407 Define if you want to set the location where to find the PROTOs of the 408 VRML97 Amendment1 nodes 409*/ 410#undef HAVE_VRML97_AMENDMENT1_PROTO_URL 411 412/* 413 Define if you want to set the location where to find the PROTOs of the 414 X3D nodes 415*/ 416#undef HAVE_X3D_PROTO_URL 417 418/* 419 Define if you want to set the location where to find the PROTOs of the 420 nodes, which are implemented only via scripts 421*/ 422#undef HAVE_SCRIPTED_NODES_PROTO_URL 423 424/* 425 Define if you want to set the location where to find the PROTOs of the 426 nodes, which are placeholders for unportable Cover/Covise nodes 427*/ 428#undef HAVE_COVER_NODES_PROTO_URL 429 430/* 431 Define if you want to set the location where to find the PROTOs of the 432 nodes, which are placeholders for nodes used as container for data of 433 exportable fileformat 434*/ 435#undef HAVE_EXPORT_CONTAINER_PROTO_URL 436 437/* 438 Define if you want to set the location of the X_ITE support files 439 (e.g. x_ite.css or x_ite.js) 440 If not set, a default value is used 441*/ 442#undef HAVE_XITE_PATH 443 444/* 445 Define if you want to set the location of the X3DOM support files 446 (e.g. x3dom.css, x3dom.js or x3dom.swf) 447 If not set, a default value is used 448*/ 449#undef HAVE_X3DOM_PATH 450 451/* define if you have a tty file for UNIX/Linux fontrendering */ 452#undef HAVE_DEFAULT_TTF_FILE 453 454/* 455 Define if you want to document the method to uninstall white_dune 456*/ 457#undef HAVE_UNINSTALL_COMMENT 458 459/* 460 Define command to start X11 (only important on the MacOS X desktop) 461*/ 462#undef HAVE_X11STARTCOMMAND 463 464#if ((__GNUC__!=2) || (__GNUC_MINOR__!=8)) 465# define HAVE_GNUC_ECGS_2_8 1 466#endif 467 468/* define if OpenGL support Texture3D */ 469#define HAVE_TEXTURE_3D 470 471/* 472 Define if the executable should only run with Windows XP and newer 473 */ 474#undef HAVE_WINDOWS_XP 475 476/* 477 Define if the Compiler/M$Windows version supports 478 Data Execution Prevention (DEP) / No eXecute (NX) 479*/ 480#undef HAVE_WINDOWS_NX 481 482/* 483 Define the serial device (for devices like flock of birds) 484*/ 485#undef SERIAL_DEVICE 486 487#ifndef SERIAL_DEVICE 488# ifdef __linux__ 489# define SERIAL_DEVICE "/dev/ttyS" 490# else 491# ifdef IRIX 492# define SERIAL_DEVICE "/dev/ttyd" 493# else 494# ifdef AIX 495# define SERIAL_DEVICE "/dev/tty" 496# else 497# ifdef MACOSX 498# define SERIAL_DEVICE "/dev/tty.modem" 499# else 500# if defined __FreeBSD__ || defined __DragonFly__ 501# define SERIAL_DEVICE "/dev/ttyd" 502# else 503# ifdef __sun 504# define SERIAL_DEVICE "/dev/term/a" 505# else 506# ifdef __sgi 507# define SERIAL_DEVICE "/dev/ttyd" 508# else 509# ifdef __OpenBSD__ 510# define SERIAL_DEVICE "/dev/ttyd" 511# else 512# define SERIAL_DEVICE "/dev/tty" 513# endif 514# endif 515# endif 516# endif 517# endif 518# endif 519# endif 520# endif 521#endif 522 523/* 524 Define the offset of first available serial device 525 */ 526 527#undef OFFSET_SERIAL_DEVICE 528#undef HAVE_NO_OFFSET_SERIAL_DEVICE 529 530#ifndef OFFSET_SERIAL_DEVICE 531# ifdef __linux__ 532# define OFFSET_SERIAL_DEVICE 0 533# else 534# ifdef IRIX 535# define OFFSET_SERIAL_DEVICE 1 536# else 537# ifdef AIX 538# define OFFSET_SERIAL_DEVICE 0 539# else 540# ifdef MACOSX 541# define HAVE_NO_OFFSET_SERIAL_DEVICE 1 542# else 543# if defined __FreeBSD__ || defined __DragonFly__ 544# define OFFSET_SERIAL_DEVICE 0 545# else 546# ifdef __sun 547# define HAVE_NO_OFFSET_SERIAL_DEVICE 1 548# else 549# ifdef __sgi 550# define OFFSET_SERIAL_DEVICE 1 551# else 552# ifdef __OpenBSD__ 553# define OFFSET_SERIAL_DEVICE 0 554# else 555# define HAVE_NO_OFFSET_SERIAL_DEVICE 1 556# endif 557# endif 558# endif 559# endif 560# endif 561# endif 562# endif 563# endif 564#endif 565 566#ifndef __CYGWIN__ 567# define HAS_MLOCK 1 568#endif 569 570#undef HAVE_DUNE_VERSION 571 572/* 573 Define if you need compatibility to the deprecated NurbsCurveAnimation (now CurveAnimation) node (not implemented yet) 574*/ 575 576#define NURBS_CURVE_ANIMATION_COMPATIBILTY 1 577 578#endif /* !CONFIG_H */ 579