| 1 | /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included |
| 2 | * only once and to indicate that we are building using configure. */ |
| 3 | #ifndef __WX_SETUP_H__ |
| 4 | #define __WX_SETUP_H__ |
| 5 | |
| 6 | #ifdef __GNUG__ |
| 7 | #pragma interface |
| 8 | #endif |
| 9 | |
| 10 | /* never undefine inline or const keywords for C++ compilation */ |
| 11 | #ifndef __cplusplus |
| 12 | |
| 13 | /* Define to empty if the keyword does not work. */ |
| 14 | #undef const |
| 15 | |
| 16 | /* Define as __inline if that's what the C compiler calls it. */ |
| 17 | #undef inline |
| 18 | |
| 19 | #endif /* __cplusplus */ |
| 20 | |
| 21 | /* fill in with the string wxGetOsDescription() will return */ |
| 22 | #undef WXWIN_OS_DESCRIPTION |
| 23 | |
| 24 | /* the installation location prefix from configure */ |
| 25 | #undef wxINSTALL_PREFIX |
| 26 | |
| 27 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 28 | #undef gid_t |
| 29 | |
| 30 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 31 | #undef mode_t |
| 32 | |
| 33 | /* Define to `long' if <sys/types.h> doesn't define. */ |
| 34 | #undef off_t |
| 35 | |
| 36 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 37 | #undef pid_t |
| 38 | |
| 39 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
| 40 | #undef size_t |
| 41 | |
| 42 | /* Define if you have the ANSI C header files. */ |
| 43 | #undef STDC_HEADERS |
| 44 | |
| 45 | /* Define this to get extra features from GNU libc. */ |
| 46 | #undef _GNU_SOURCE |
| 47 | |
| 48 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 49 | #undef uid_t |
| 50 | |
| 51 | /* Define if your processor stores words with the most significant |
| 52 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
| 53 | #undef WORDS_BIGENDIAN |
| 54 | |
| 55 | /* Define this if your version of GTK+ is greater than 1.2 */ |
| 56 | #undef __WXGTK12__ |
| 57 | |
| 58 | /* Define this if your version of GTK+ is greater than 1.2.7 */ |
| 59 | #undef __WXGTK127__ |
| 60 | |
| 61 | /* Define this if your version of GTK+ is greater than 1.3 */ |
| 62 | #undef __WXGTK20__ |
| 63 | |
| 64 | /* Define this if your version of Motif is greater than 2.0 */ |
| 65 | #undef __WXMOTIF20__ |
| 66 | |
| 67 | /* |
| 68 | * Define to 1 for Unix[-like] system |
| 69 | */ |
| 70 | #define wxUSE_UNIX 0 |
| 71 | |
| 72 | #undef __UNIX__ |
| 73 | #undef __LINUX__ |
| 74 | #undef __SGI__ |
| 75 | #undef __HPUX__ |
| 76 | #undef __SYSV__ |
| 77 | #undef __SVR4__ |
| 78 | #undef __AIX__ |
| 79 | #undef __SUN__ |
| 80 | #undef __SOLARIS__ |
| 81 | #undef __SUNOS__ |
| 82 | #undef __ALPHA__ |
| 83 | #undef __IA64__ |
| 84 | #undef __OSF__ |
| 85 | #undef __BSD__ |
| 86 | #undef __FREEBSD__ |
| 87 | #undef __DARWIN__ |
| 88 | #undef __NETBSD__ |
| 89 | #undef __OPENBSD__ |
| 90 | #undef __VMS__ |
| 91 | #undef __ULTRIX__ |
| 92 | #undef __DATA_GENERAL__ |
| 93 | #undef __EMX__ |
| 94 | |
| 95 | /* NanoX (with wxX11) */ |
| 96 | #define wxUSE_NANOX 0 |
| 97 | |
| 98 | /* PowerPC Darwin & Mac OS X */ |
| 99 | #undef __POWERPC__ |
| 100 | #undef TARGET_CARBON |
| 101 | |
| 102 | /* MS-DOS with DJGPP */ |
| 103 | #undef __DOS__ |
| 104 | |
| 105 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ |
| 106 | #ifndef __WINDOWS__ |
| 107 | #undef __WINDOWS__ |
| 108 | #endif |
| 109 | |
| 110 | #ifndef __WIN95__ |
| 111 | #undef __WIN95__ |
| 112 | #endif |
| 113 | #ifndef __WIN32__ |
| 114 | #undef __WIN32__ |
| 115 | #endif |
| 116 | #ifndef __GNUWIN32__ |
| 117 | #undef __GNUWIN32__ |
| 118 | #endif |
| 119 | #ifndef STRICT |
| 120 | #undef STRICT |
| 121 | #endif |
| 122 | #ifndef WINVER |
| 123 | #undef WINVER |
| 124 | #endif |
| 125 | |
| 126 | /* enable native status bar under Win32 */ |
| 127 | #if defined(__WIN95__) && !defined(__WXUNIVERSAL__) |
| 128 | #define wxUSE_NATIVE_STATUSBAR 1 |
| 129 | #define wxUSE_OWNER_DRAWN 1 |
| 130 | #endif |
| 131 | |
| 132 | #if defined(__WXPM__) |
| 133 | #define wxUSE_OWNER_DRAWN 1 |
| 134 | #endif |
| 135 | |
| 136 | /* enable rich edit under Win32 */ |
| 137 | #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) |
| 138 | #define wxUSE_RICHEDIT 1 |
| 139 | #else |
| 140 | #define wxUSE_RICHEDIT 0 |
| 141 | #endif |
| 142 | |
| 143 | /* |
| 144 | * Supports bool type |
| 145 | */ |
| 146 | #undef HAVE_BOOL |
| 147 | |
| 148 | /* |
| 149 | * Define if your compiler supports the explicit keyword |
| 150 | */ |
| 151 | #undef HAVE_EXPLICIT |
| 152 | |
| 153 | /* |
| 154 | * Define if your compiler supports const_cast<>() |
| 155 | */ |
| 156 | #undef HAVE_CONST_CAST |
| 157 | |
| 158 | /* |
| 159 | * Use regex support |
| 160 | */ |
| 161 | #define wxUSE_REGEX 0 |
| 162 | /* |
| 163 | * Use zlib |
| 164 | */ |
| 165 | #define wxUSE_ZLIB 0 |
| 166 | /* |
| 167 | * Use libpng |
| 168 | */ |
| 169 | #define wxUSE_LIBPNG 0 |
| 170 | /* |
| 171 | * Use libjpeg |
| 172 | */ |
| 173 | #define wxUSE_LIBJPEG 0 |
| 174 | /* |
| 175 | * Use libtiff |
| 176 | */ |
| 177 | #define wxUSE_LIBTIFF 0 |
| 178 | /* |
| 179 | * Use iODBC |
| 180 | */ |
| 181 | #define wxUSE_ODBC 0 |
| 182 | #define wxODBC_FWD_ONLY_CURSORS 1 |
| 183 | #define wxODBC_BACKWARD_COMPATABILITY 0 |
| 184 | /* |
| 185 | * Use freetype |
| 186 | */ |
| 187 | #define wxUSE_FREETYPE 0 |
| 188 | /* |
| 189 | * Use Threads |
| 190 | */ |
| 191 | #define wxUSE_THREADS 0 |
| 192 | /* |
| 193 | * Have glibc2 |
| 194 | */ |
| 195 | #define wxHAVE_GLIBC2 0 |
| 196 | /* |
| 197 | * Use libXpm |
| 198 | */ |
| 199 | #define wxHAVE_LIB_XPM 0 |
| 200 | /* |
| 201 | * Use OpenGL |
| 202 | */ |
| 203 | #define wxUSE_OPENGL 0 |
| 204 | #define wxUSE_GLCANVAS 0 |
| 205 | |
| 206 | /* |
| 207 | * Use GUI |
| 208 | */ |
| 209 | #define wxUSE_GUI 0 |
| 210 | /* |
| 211 | * Don't use GUI (defined to 1 when compiling/using base only) |
| 212 | */ |
| 213 | #define wxUSE_NOGUI 0 |
| 214 | |
| 215 | /* |
| 216 | * Catch fatal program exceptions |
| 217 | */ |
| 218 | #define wxUSE_ON_FATAL_EXCEPTION 0 |
| 219 | |
| 220 | /* |
| 221 | * Use wxSingleInstanceChecker class |
| 222 | */ |
| 223 | #define wxUSE_SNGLINST_CHECKER 0 |
| 224 | |
| 225 | /* |
| 226 | * Use constraints mechanism |
| 227 | */ |
| 228 | #define wxUSE_CONSTRAINTS 0 |
| 229 | |
| 230 | /* |
| 231 | * Use validators |
| 232 | */ |
| 233 | #define wxUSE_VALIDATORS 0 |
| 234 | |
| 235 | /* |
| 236 | * Use wxControl |
| 237 | */ |
| 238 | #define wxUSE_CONTROLS 0 |
| 239 | |
| 240 | /* |
| 241 | Use wxPopupWindow (useful in wxUniv only for now) |
| 242 | */ |
| 243 | #define wxUSE_POPUPWIN 0 |
| 244 | |
| 245 | /* |
| 246 | Use wxTipWindow |
| 247 | */ |
| 248 | #define wxUSE_TIPWINDOW 0 |
| 249 | |
| 250 | /* |
| 251 | * Use accelerators |
| 252 | */ |
| 253 | #define wxUSE_ACCEL 0 |
| 254 | |
| 255 | /* |
| 256 | * Use wxCalendarCtrl |
| 257 | */ |
| 258 | #define wxUSE_CALENDARCTRL 0 |
| 259 | |
| 260 | /* |
| 261 | * Use wxFileDialog |
| 262 | */ |
| 263 | #define wxUSE_FILEDLG 0 |
| 264 | |
| 265 | /* |
| 266 | * Use wxFindReplaceDialog |
| 267 | */ |
| 268 | #define wxUSE_FINDREPLDLG 0 |
| 269 | |
| 270 | /* |
| 271 | * Use wxFontDialog |
| 272 | */ |
| 273 | #define wxUSE_FONTDLG 0 |
| 274 | |
| 275 | /* |
| 276 | * Use wxMimeTypesManager and related classes |
| 277 | */ |
| 278 | #define wxUSE_MIMETYPE 0 |
| 279 | |
| 280 | /* |
| 281 | * Use wxSystemOptions |
| 282 | */ |
| 283 | #define wxUSE_SYSTEM_OPTIONS 0 |
| 284 | |
| 285 | /* |
| 286 | * Use wxMessageDialog (and wxMessageBox) |
| 287 | */ |
| 288 | #define wxUSE_MSGDLG 0 |
| 289 | |
| 290 | /* |
| 291 | * Use wxNumberEntryDialog |
| 292 | */ |
| 293 | #define wxUSE_NUMBERDLG 0 |
| 294 | |
| 295 | /* |
| 296 | * Use wxTextEntryDialog |
| 297 | */ |
| 298 | #define wxUSE_TEXTDLG 0 |
| 299 | |
| 300 | /* |
| 301 | * Use startup tips |
| 302 | */ |
| 303 | #define wxUSE_STARTUP_TIPS 0 |
| 304 | |
| 305 | /* |
| 306 | * Use progress dialog |
| 307 | */ |
| 308 | #define wxUSE_PROGRESSDLG 0 |
| 309 | |
| 310 | /* |
| 311 | * Use chooser dialog |
| 312 | */ |
| 313 | #define wxUSE_CHOICEDLG 0 |
| 314 | |
| 315 | /* |
| 316 | * Use colour picker dialog |
| 317 | */ |
| 318 | #define wxUSE_COLOURDLG 0 |
| 319 | |
| 320 | /* |
| 321 | * Use directory chooser dialog |
| 322 | */ |
| 323 | #define wxUSE_DIRDLG 0 |
| 324 | |
| 325 | /* |
| 326 | * Use wxDragImage class |
| 327 | */ |
| 328 | #define wxUSE_DRAGIMAGE 0 |
| 329 | |
| 330 | /* |
| 331 | * Use property sheet classes |
| 332 | */ |
| 333 | #define wxUSE_PROPSHEET 0 |
| 334 | |
| 335 | /* |
| 336 | * Use wxWizard |
| 337 | */ |
| 338 | #define wxUSE_WIZARDDLG 0 |
| 339 | |
| 340 | /* |
| 341 | * Use splash screen |
| 342 | */ |
| 343 | #define wxUSE_SPLASH 0 |
| 344 | |
| 345 | /* |
| 346 | * Joystick support (Linux/GTK only) |
| 347 | */ |
| 348 | #define wxUSE_JOYSTICK 0 |
| 349 | |
| 350 | /* |
| 351 | * Use this control |
| 352 | */ |
| 353 | #define wxUSE_BUTTON 0 |
| 354 | /* |
| 355 | * Use this control |
| 356 | */ |
| 357 | #define wxUSE_CARET 0 |
| 358 | /* |
| 359 | * Use this control |
| 360 | */ |
| 361 | #define wxUSE_BMPBUTTON 0 |
| 362 | /* |
| 363 | * Use this control |
| 364 | */ |
| 365 | #define wxUSE_CHECKBOX 0 |
| 366 | /* |
| 367 | * Use this control |
| 368 | */ |
| 369 | #define wxUSE_CHECKLISTBOX 0 |
| 370 | /* |
| 371 | * Use this control |
| 372 | */ |
| 373 | #define wxUSE_COMBOBOX 0 |
| 374 | /* |
| 375 | * Use this control |
| 376 | */ |
| 377 | #define wxUSE_CHOICE 0 |
| 378 | /* |
| 379 | * Use wxDisplay class |
| 380 | */ |
| 381 | #define wxUSE_DISPLAY 0 |
| 382 | /* |
| 383 | * Use this control |
| 384 | */ |
| 385 | #define wxUSE_GAUGE 0 |
| 386 | /* |
| 387 | * Use this control |
| 388 | */ |
| 389 | #define wxUSE_GRID 0 |
| 390 | /* |
| 391 | * Use the new prototype wxGrid classes |
| 392 | * (wxUSE_GRID must also be defined) |
| 393 | */ |
| 394 | #define wxUSE_NEW_GRID 0 |
| 395 | /* |
| 396 | * Use wxImageList class |
| 397 | */ |
| 398 | #define wxUSE_IMAGLIST 0 |
| 399 | /* |
| 400 | * Use this control |
| 401 | */ |
| 402 | #define wxUSE_LISTBOX 0 |
| 403 | /* |
| 404 | * Use this control |
| 405 | */ |
| 406 | #define wxUSE_LISTCTRL 0 |
| 407 | /* |
| 408 | * Use wxMenuBar, wxMenuItem and wxMenu |
| 409 | */ |
| 410 | #define wxUSE_MENUS 0 |
| 411 | /* |
| 412 | * Use this control |
| 413 | */ |
| 414 | #define wxUSE_NOTEBOOK 0 |
| 415 | /* |
| 416 | * Use this control |
| 417 | */ |
| 418 | #define wxUSE_RADIOBOX 0 |
| 419 | /* |
| 420 | * Use this control |
| 421 | */ |
| 422 | #define wxUSE_RADIOBTN 0 |
| 423 | /* |
| 424 | * Use this control |
| 425 | */ |
| 426 | #define wxUSE_SASH 0 |
| 427 | /* |
| 428 | * Use this control |
| 429 | */ |
| 430 | #define wxUSE_SCROLLBAR 0 |
| 431 | /* |
| 432 | * Use this control |
| 433 | */ |
| 434 | #define wxUSE_SLIDER 0 |
| 435 | /* |
| 436 | * Use this control |
| 437 | */ |
| 438 | #define wxUSE_SPINBTN 0 |
| 439 | /* |
| 440 | * Use this control |
| 441 | */ |
| 442 | #define wxUSE_SPINCTRL 0 |
| 443 | /* |
| 444 | * Use this control |
| 445 | */ |
| 446 | #define wxUSE_SPLITTER 0 |
| 447 | /* |
| 448 | * Use this control |
| 449 | */ |
| 450 | #define wxUSE_STATBMP 0 |
| 451 | /* |
| 452 | * Use this control |
| 453 | */ |
| 454 | #define wxUSE_STATBOX 0 |
| 455 | /* |
| 456 | * Use this control |
| 457 | */ |
| 458 | #define wxUSE_STATLINE 0 |
| 459 | /* |
| 460 | * Use this control |
| 461 | */ |
| 462 | #define wxUSE_STATTEXT 0 |
| 463 | /* |
| 464 | * Use this control |
| 465 | */ |
| 466 | #define wxUSE_STATUSBAR 0 |
| 467 | /* |
| 468 | * Use this control |
| 469 | */ |
| 470 | #define wxUSE_TOGGLEBTN 0 |
| 471 | /* |
| 472 | * Use Tab dialog class - obsolete, use wxNotebook instead |
| 473 | */ |
| 474 | #define wxUSE_TAB_DIALOG 0 |
| 475 | /* compatibility */ |
| 476 | #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG |
| 477 | |
| 478 | /* |
| 479 | * Use wxTextCtrl |
| 480 | */ |
| 481 | #define wxUSE_TEXTCTRL 0 |
| 482 | |
| 483 | /* |
| 484 | * Use wxToollBar |
| 485 | */ |
| 486 | #define wxUSE_TOOLBAR 0 |
| 487 | |
| 488 | /* |
| 489 | * If 1, use the native toolbar, otherwise use the generic version |
| 490 | * (wxToolBarSimple) which may also be use together with the native one. |
| 491 | */ |
| 492 | #define wxUSE_TOOLBAR_NATIVE 0 |
| 493 | |
| 494 | /* |
| 495 | * Use generic wxToolBar instead of/together with the native one? |
| 496 | */ |
| 497 | #define wxUSE_TOOLBAR_SIMPLE 0 |
| 498 | |
| 499 | #if defined(__WXWINE__) || defined(__GNUWIN32__) || defined(__WXPM__) |
| 500 | #if wxUSE_TOOLBAR |
| 501 | #define wxUSE_BUTTONBAR 1 |
| 502 | #endif |
| 503 | #endif |
| 504 | |
| 505 | /* |
| 506 | * Use wxTreeLayout class |
| 507 | */ |
| 508 | #define wxUSE_TREELAYOUT 0 |
| 509 | |
| 510 | /* |
| 511 | * Use this control |
| 512 | */ |
| 513 | #define wxUSE_TREECTRL 0 |
| 514 | |
| 515 | /* |
| 516 | * Use wxLongLong (a.k.a. int64) class |
| 517 | */ |
| 518 | #define wxUSE_LONGLONG 0 |
| 519 | |
| 520 | /* |
| 521 | * Use geometry classes |
| 522 | */ |
| 523 | #define wxUSE_GEOMETRY 0 |
| 524 | |
| 525 | /* |
| 526 | * Use wxCmdLineParser class |
| 527 | */ |
| 528 | #define wxUSE_CMDLINE_PARSER 0 |
| 529 | /* |
| 530 | * Use wxDateTime |
| 531 | */ |
| 532 | #define wxUSE_DATETIME 0 |
| 533 | /* |
| 534 | * Use wxFile class |
| 535 | */ |
| 536 | #define wxUSE_FILE 0 |
| 537 | /* |
| 538 | * Use wxFFile class |
| 539 | */ |
| 540 | #define wxUSE_FFILE 0 |
| 541 | /* |
| 542 | * Use wxFSVolume class |
| 543 | */ |
| 544 | #define wxUSE_FSVOLUME 1 |
| 545 | |
| 546 | /* |
| 547 | * Use wxTextBuffer class |
| 548 | */ |
| 549 | #define wxUSE_TEXTBUFFER 0 |
| 550 | /* |
| 551 | * Use wxTextFile class |
| 552 | */ |
| 553 | #define wxUSE_TEXTFILE 0 |
| 554 | |
| 555 | /* |
| 556 | * Use log classes and logging functions |
| 557 | */ |
| 558 | #define wxUSE_LOG 0 |
| 559 | /* |
| 560 | * Use log window |
| 561 | */ |
| 562 | #define wxUSE_LOGWINDOW 0 |
| 563 | /* |
| 564 | * Use standard GUI logger |
| 565 | */ |
| 566 | #define wxUSE_LOGGUI 0 |
| 567 | /* |
| 568 | * Use old log dialog instead of new wxLogGui |
| 569 | */ |
| 570 | #define wxUSE_LOG_DIALOG 0 |
| 571 | /* |
| 572 | * Use wxStopWatch |
| 573 | */ |
| 574 | #define wxUSE_STOPWATCH 0 |
| 575 | /* |
| 576 | * Use time and date classes |
| 577 | */ |
| 578 | #define wxUSE_TIMEDATE 0 |
| 579 | /* |
| 580 | * Use wave class |
| 581 | */ |
| 582 | #define wxUSE_WAVE 0 |
| 583 | /* |
| 584 | * Use config system |
| 585 | */ |
| 586 | #define wxUSE_CONFIG 0 |
| 587 | /* |
| 588 | * Use font mapping/conversion classes |
| 589 | */ |
| 590 | #define wxUSE_FONTMAP 0 |
| 591 | /* |
| 592 | * Use intl system |
| 593 | */ |
| 594 | #define wxUSE_INTL 0 |
| 595 | /* |
| 596 | * Use wxProtocol and related classes |
| 597 | */ |
| 598 | #define wxUSE_PROTOCOL 0 |
| 599 | #define wxUSE_PROTOCOL_FILE 0 |
| 600 | #define wxUSE_PROTOCOL_FTP 0 |
| 601 | #define wxUSE_PROTOCOL_HTTP 0 |
| 602 | /* |
| 603 | * Use streams |
| 604 | */ |
| 605 | #define wxUSE_STREAMS 0 |
| 606 | /* |
| 607 | * Use sockets |
| 608 | */ |
| 609 | #define wxUSE_SOCKETS 0 |
| 610 | /* |
| 611 | * Use dialup manager |
| 612 | */ |
| 613 | #define wxUSE_DIALUP_MANAGER 0 |
| 614 | /* |
| 615 | * Use standard C++ streams if 1. If 0, use wxWin |
| 616 | * streams implementation. |
| 617 | */ |
| 618 | #define wxUSE_STD_IOSTREAM 0 |
| 619 | /* |
| 620 | * wxLibrary class |
| 621 | */ |
| 622 | #define wxUSE_DYNLIB_CLASS 0 |
| 623 | /* |
| 624 | * Use wxObjectLoader |
| 625 | */ |
| 626 | #define wxUSE_DYNAMIC_LOADER 0 |
| 627 | |
| 628 | /* |
| 629 | * Use wxTimer |
| 630 | */ |
| 631 | #define wxUSE_TIMER 0 |
| 632 | |
| 633 | /* |
| 634 | * Use font metric files in GetTextExtent for wxPostScriptDC |
| 635 | * Use consistent PostScript fonts for AFM and printing (!) |
| 636 | */ |
| 637 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 |
| 638 | #define wxUSE_NORMALIZED_PS_FONTS 0 |
| 639 | |
| 640 | /* compatibility */ |
| 641 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS |
| 642 | |
| 643 | /* |
| 644 | * Use PostScript device context |
| 645 | */ |
| 646 | #define wxUSE_POSTSCRIPT 0 |
| 647 | |
| 648 | /* |
| 649 | * Compile wxString with some Unicode (wide character) support? |
| 650 | */ |
| 651 | #define wxUSE_WCHAR_T 0 |
| 652 | |
| 653 | /* |
| 654 | * Compile wxWindows in Unicode mode (Win32 only for now)? |
| 655 | */ |
| 656 | #define wxUSE_UNICODE 0 |
| 657 | |
| 658 | /* |
| 659 | * Use MS Layer for Unicode on Win9X (Win32 only)? |
| 660 | */ |
| 661 | #define wxUSE_UNICODE_MSLU 0 |
| 662 | |
| 663 | /* |
| 664 | * Use wxURL class |
| 665 | */ |
| 666 | #define wxUSE_URL 0 |
| 667 | |
| 668 | /* |
| 669 | * Work around a bug in GNU libc 5.x wcstombs() implementation. |
| 670 | * |
| 671 | * Note that you must link your programs with libc.a if you enable this and you |
| 672 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is |
| 673 | * thread-safe version of wcstombs()). |
| 674 | */ |
| 675 | #define wxUSE_WCSRTOMBS 0 |
| 676 | |
| 677 | /* |
| 678 | * Use the new experimental implementation of wxString::Printf()? |
| 679 | * |
| 680 | * Warning: enabling this may cause internal compiler errors with gcc! |
| 681 | */ |
| 682 | #define wxUSE_EXPERIMENTAL_PRINTF 0 |
| 683 | |
| 684 | /* |
| 685 | * Use Interprocess communication |
| 686 | */ |
| 687 | #define wxUSE_IPC 0 |
| 688 | /* |
| 689 | * Use wxGetResource & wxWriteResource (change .Xdefaults) |
| 690 | */ |
| 691 | #define wxUSE_X_RESOURCES 0 |
| 692 | /* |
| 693 | * Use clipboard |
| 694 | */ |
| 695 | #define wxUSE_CLIPBOARD 0 |
| 696 | /* |
| 697 | * Use wxDataObject |
| 698 | */ |
| 699 | #define wxUSE_DATAOBJ 0 |
| 700 | /* |
| 701 | * Use tooltips |
| 702 | */ |
| 703 | #define wxUSE_TOOLTIPS 0 |
| 704 | /* |
| 705 | * Use dnd |
| 706 | */ |
| 707 | #define wxUSE_DRAG_AND_DROP 0 |
| 708 | /* |
| 709 | * Use OLE (MSW only) |
| 710 | */ |
| 711 | #define wxUSE_OLE 0 |
| 712 | /* |
| 713 | * Use spline |
| 714 | */ |
| 715 | #define wxUSE_SPLINES 0 |
| 716 | |
| 717 | /* |
| 718 | * Use the mdi architecture |
| 719 | */ |
| 720 | #define wxUSE_MDI_ARCHITECTURE 0 |
| 721 | /* |
| 722 | * Use the document/view architecture |
| 723 | */ |
| 724 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 |
| 725 | /* |
| 726 | * Use the print/preview architecture |
| 727 | */ |
| 728 | #define wxUSE_PRINTING_ARCHITECTURE 0 |
| 729 | |
| 730 | /* |
| 731 | * Use Prolog IO |
| 732 | */ |
| 733 | #define wxUSE_PROLOGIO 0 |
| 734 | /* |
| 735 | * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) |
| 736 | */ |
| 737 | #define wxUSE_RESOURCES 0 |
| 738 | |
| 739 | /* for compatibility */ |
| 740 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES |
| 741 | |
| 742 | /* |
| 743 | * Use wxWindows help facility |
| 744 | */ |
| 745 | #define wxUSE_HELP 0 |
| 746 | /* |
| 747 | * Use built-in HTML-based help controller |
| 748 | */ |
| 749 | #define wxUSE_WXHTML_HELP 0 |
| 750 | /* |
| 751 | * Use MS HTML Help controller (win32) |
| 752 | */ |
| 753 | #define wxUSE_MS_HTML_HELP 0 |
| 754 | |
| 755 | /* |
| 756 | * Use iostream.h rather than iostream |
| 757 | */ |
| 758 | #define wxUSE_IOSTREAMH 0 |
| 759 | /* |
| 760 | * Use Apple Ieee-double converter |
| 761 | */ |
| 762 | #define wxUSE_APPLE_IEEE 0 |
| 763 | /* |
| 764 | * Compatibility with 2.0 API. |
| 765 | */ |
| 766 | #define WXWIN_COMPATIBILITY_2 0 |
| 767 | /* |
| 768 | * Compatibility with 2.2 API |
| 769 | */ |
| 770 | #define WXWIN_COMPATIBILITY_2_2 0 |
| 771 | /* |
| 772 | * Compatibility with 2.4 API |
| 773 | */ |
| 774 | #define WXWIN_COMPATIBILITY_2_4 0 |
| 775 | /* |
| 776 | * Enables debugging: memory tracing, assert, etc., contains debug level |
| 777 | */ |
| 778 | #define WXDEBUG 0 |
| 779 | /* |
| 780 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) |
| 781 | * WARNING: this code may not work with all architectures, especially |
| 782 | * if alignment is an issue. |
| 783 | */ |
| 784 | #define wxUSE_MEMORY_TRACING 0 |
| 785 | /* |
| 786 | * Enable debugging version of global memory operators new and delete |
| 787 | * Disable it, If this causes problems (e.g. link errors) |
| 788 | */ |
| 789 | #define wxUSE_DEBUG_NEW_ALWAYS 0 |
| 790 | /* |
| 791 | * VZ: What does this one do? (FIXME) |
| 792 | */ |
| 793 | #define wxUSE_DEBUG_CONTEXT 0 |
| 794 | /* |
| 795 | * In debug mode, causes new to be defined to |
| 796 | * be WXDEBUG_NEW (see object.h). If this causes |
| 797 | * problems (e.g. link errors), set this to 0. |
| 798 | */ |
| 799 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 |
| 800 | /* |
| 801 | * Matthews garbage collection (used for MrEd?) |
| 802 | */ |
| 803 | #define WXGARBAGE_COLLECTION_ON 0 |
| 804 | /* |
| 805 | * Use splines |
| 806 | */ |
| 807 | #define wxUSE_SPLINES 0 |
| 808 | /* |
| 809 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port |
| 810 | */ |
| 811 | #define wxUSE_DYNAMIC_CLASSES 1 |
| 812 | |
| 813 | /* |
| 814 | * Support for metafiles |
| 815 | */ |
| 816 | #define wxUSE_METAFILE 0 |
| 817 | #define wxUSE_ENH_METAFILE 0 |
| 818 | |
| 819 | /* |
| 820 | * wxMiniFrame |
| 821 | */ |
| 822 | #define wxUSE_MINIFRAME 0 |
| 823 | |
| 824 | /* |
| 825 | * wxHTML |
| 826 | */ |
| 827 | #define wxUSE_HTML 0 |
| 828 | |
| 829 | /* |
| 830 | * (virtual) filesystems code |
| 831 | */ |
| 832 | #define wxUSE_FILESYSTEM 0 |
| 833 | #define wxUSE_FS_INET 0 |
| 834 | #define wxUSE_FS_ZIP 0 |
| 835 | |
| 836 | /* |
| 837 | * A class that shows info window when app is busy |
| 838 | * (works exactly like wxBusyCursor) |
| 839 | */ |
| 840 | #define wxUSE_BUSYINFO 0 |
| 841 | |
| 842 | /* |
| 843 | * Zip stream for accessing files stored inside .zip archives |
| 844 | */ |
| 845 | #define wxUSE_ZIPSTREAM 0 |
| 846 | |
| 847 | /* |
| 848 | * wxPalette class |
| 849 | */ |
| 850 | #define wxUSE_PALETTE 0 |
| 851 | |
| 852 | /* |
| 853 | * wxImage support |
| 854 | */ |
| 855 | #define wxUSE_IMAGE 0 |
| 856 | |
| 857 | /* |
| 858 | * GIF image format support |
| 859 | */ |
| 860 | #define wxUSE_GIF 0 |
| 861 | |
| 862 | /* |
| 863 | * PCX image format support |
| 864 | */ |
| 865 | #define wxUSE_PCX 0 |
| 866 | |
| 867 | /* |
| 868 | * IFF image format support |
| 869 | */ |
| 870 | #define wxUSE_IFF 0 |
| 871 | |
| 872 | /* |
| 873 | * PNM image format support |
| 874 | */ |
| 875 | #define wxUSE_PNM 0 |
| 876 | |
| 877 | /* |
| 878 | * XPM image format support |
| 879 | */ |
| 880 | #define wxUSE_XPM 0 |
| 881 | |
| 882 | /* |
| 883 | * MS ICO (and CUR,ANI derivatives) image format support (on any platform) |
| 884 | */ |
| 885 | #define wxUSE_ICO_CUR 0 |
| 886 | |
| 887 | /* |
| 888 | * Disable this if your compiler can't cope |
| 889 | * with omission of prototype parameters. |
| 890 | */ |
| 891 | #define REMOVE_UNUSED_ARG 1 |
| 892 | /* |
| 893 | * The const keyword is being introduced more in wxWindows. |
| 894 | * You can use this setting to maintain backward compatibility. |
| 895 | * If 0: will use const wherever possible. |
| 896 | * If 1: will use const only where necessary |
| 897 | * for precompiled headers to work. |
| 898 | * If 2: will be totally backward compatible, but precompiled |
| 899 | * headers may not work and program size will be larger. |
| 900 | */ |
| 901 | #define CONST_COMPATIBILITY 0 |
| 902 | |
| 903 | /* define with the name of timezone variable */ |
| 904 | #undef WX_TIMEZONE |
| 905 | |
| 906 | /* The type of 3rd argument to getsockname() - usually size_t or int */ |
| 907 | #undef SOCKLEN_T |
| 908 | |
| 909 | /* The type of statvfs(2) argument */ |
| 910 | #undef WX_STATFS_T |
| 911 | |
| 912 | /* The signal handler prototype */ |
| 913 | #undef wxTYPE_SA_HANDLER |
| 914 | |
| 915 | /* gettimeofday() usually takes 2 arguments, but some really old systems might |
| 916 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ |
| 917 | #undef WX_GETTIMEOFDAY_NO_TZ |
| 918 | |
| 919 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ |
| 920 | #undef WX_GMTOFF_IN_TM |
| 921 | |
| 922 | /* Define if you have poll(2) function */ |
| 923 | #undef HAVE_POLL |
| 924 | |
| 925 | /* Define if you have pw_gecos field in struct passwd */ |
| 926 | #undef HAVE_PW_GECOS |
| 927 | |
| 928 | /* Define if you have dlopen() */ |
| 929 | #undef HAVE_DLOPEN |
| 930 | |
| 931 | /* Define if you have gettimeofday() */ |
| 932 | #undef HAVE_GETTIMEOFDAY |
| 933 | |
| 934 | /* Define if you have ftime() */ |
| 935 | #undef HAVE_FTIME |
| 936 | |
| 937 | /* Define if you have support for large (64 bit size) files */ |
| 938 | #undef HAVE_LARGEFILE_SUPPORT |
| 939 | |
| 940 | /* Define if you have localtime() */ |
| 941 | #undef HAVE_LOCALTIME |
| 942 | |
| 943 | /* Define if you have nanosleep() */ |
| 944 | #undef HAVE_NANOSLEEP |
| 945 | |
| 946 | /* Define if you have sched_yield */ |
| 947 | #undef HAVE_SCHED_YIELD |
| 948 | |
| 949 | /* Define if you have pthread_mutexattr_t and functions to work with it */ |
| 950 | #undef HAVE_PTHREAD_MUTEXATTR_T |
| 951 | |
| 952 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ |
| 953 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER |
| 954 | |
| 955 | /* Define if you have pthread_cancel */ |
| 956 | #undef HAVE_PTHREAD_CANCEL |
| 957 | |
| 958 | /* Define if you have sigaction() */ |
| 959 | #undef HAVE_SIGACTION |
| 960 | |
| 961 | /* Define if you have sigemptyset() */ |
| 962 | #undef HAVE_SIGEMPTYSET |
| 963 | |
| 964 | /* Define if you have shl_load() */ |
| 965 | #undef HAVE_SHL_LOAD |
| 966 | |
| 967 | /* define if you have statfs function */ |
| 968 | #undef HAVE_STATFS |
| 969 | |
| 970 | /* define if you have statvfs function */ |
| 971 | #undef HAVE_STATVFS |
| 972 | |
| 973 | /* Define if you have strptime() */ |
| 974 | #undef HAVE_STRPTIME |
| 975 | |
| 976 | /* Define if you have all functions to set thread priority */ |
| 977 | #undef HAVE_THREAD_PRIORITY_FUNCTIONS |
| 978 | |
| 979 | /* Define if you can specify exit functions to a thread */ |
| 980 | #undef HAVE_THREAD_CLEANUP_FUNCTIONS |
| 981 | |
| 982 | /* Define if you have timegm() function */ |
| 983 | #undef HAVE_TIMEGM |
| 984 | |
| 985 | /* Define if you have vsnprintf() */ |
| 986 | #undef HAVE_VSNPRINTF |
| 987 | |
| 988 | /* Define if you have vsnprintf() declaration in the header */ |
| 989 | #undef HAVE_VSNPRINTF_DECL |
| 990 | |
| 991 | /* Define if you have usleep() */ |
| 992 | #undef HAVE_USLEEP |
| 993 | |
| 994 | /* Define if you have wcslen function */ |
| 995 | #undef HAVE_WCSLEN |
| 996 | |
| 997 | /* define if you have vsscanf function */ |
| 998 | #undef HAVE_VSSCANF |
| 999 | |
| 1000 | /* The number of bytes in a char. */ |
| 1001 | #undef SIZEOF_CHAR |
| 1002 | |
| 1003 | /* The number of bytes in a wchar_t. */ |
| 1004 | #undef SIZEOF_WCHAR_T |
| 1005 | |
| 1006 | /* The number of bytes in a int. */ |
| 1007 | #undef SIZEOF_INT |
| 1008 | |
| 1009 | /* The number of bytes in a int *. */ |
| 1010 | #undef SIZEOF_INT_P |
| 1011 | |
| 1012 | /* The number of bytes in a long. */ |
| 1013 | #undef SIZEOF_LONG |
| 1014 | |
| 1015 | /* The number of bytes in a long long. */ |
| 1016 | #undef SIZEOF_LONG_LONG |
| 1017 | |
| 1018 | /* The number of bytes in a short. */ |
| 1019 | #undef SIZEOF_SHORT |
| 1020 | |
| 1021 | /* Define if size_t on your machine is the same type as unsigned int. */ |
| 1022 | #undef wxSIZE_T_IS_UINT |
| 1023 | |
| 1024 | /* Define if size_t on your machine is the same type as unsigned long. */ |
| 1025 | #undef wxSIZE_T_IS_ULONG |
| 1026 | |
| 1027 | /* Define if you have the dlopen function. */ |
| 1028 | #undef HAVE_DLOPEN |
| 1029 | |
| 1030 | /* Define if you have the dlerror function. */ |
| 1031 | #undef HAVE_DLERROR |
| 1032 | |
| 1033 | /* Define if you have Posix fnctl() function. */ |
| 1034 | #undef HAVE_FCNTL |
| 1035 | |
| 1036 | /* Define if you have BSD flock() function. */ |
| 1037 | #undef HAVE_FLOCK |
| 1038 | |
| 1039 | /* Define if you have the gethostname function. */ |
| 1040 | #undef HAVE_GETHOSTNAME |
| 1041 | |
| 1042 | /* Define if you have the inet_addr function. */ |
| 1043 | #undef HAVE_INET_ADDR |
| 1044 | |
| 1045 | /* Define if you have the inet_aton function. */ |
| 1046 | #undef HAVE_INET_ATON |
| 1047 | |
| 1048 | /* Define if you have the mktemp function. */ |
| 1049 | #undef HAVE_MKTEMP |
| 1050 | |
| 1051 | /* Define if you have the mkstemp function. */ |
| 1052 | #undef HAVE_MKSTEMP |
| 1053 | |
| 1054 | /* Define if you have the nanosleep function. */ |
| 1055 | #undef HAVE_NANOSLEEP |
| 1056 | |
| 1057 | /* Define if you have the putenv function. */ |
| 1058 | #undef HAVE_PUTENV |
| 1059 | |
| 1060 | /* Define if you have the setenv function. */ |
| 1061 | #undef HAVE_SETENV |
| 1062 | |
| 1063 | /* Define if you have the shl_load function. */ |
| 1064 | #undef HAVE_SHL_LOAD |
| 1065 | |
| 1066 | /* Define if you have strtok_r function. */ |
| 1067 | #undef HAVE_STRTOK_R |
| 1068 | |
| 1069 | /* Define if you have thr_setconcurrency function */ |
| 1070 | #undef HAVE_THR_SETCONCURRENCY |
| 1071 | |
| 1072 | /* Define if you have the uname function. */ |
| 1073 | #undef HAVE_UNAME |
| 1074 | |
| 1075 | /* Define if you have the usleep function. */ |
| 1076 | #undef HAVE_USLEEP |
| 1077 | |
| 1078 | /* Define if you have the <X11/XKBlib.h> header file. */ |
| 1079 | #undef HAVE_X11_XKBLIB_H |
| 1080 | |
| 1081 | /* Define if you have the fnmatch() function */ |
| 1082 | #undef HAVE_FNMATCH |
| 1083 | |
| 1084 | /* Define if you have the <fnmatch.h> header file. */ |
| 1085 | #undef HAVE_FNMATCH_H |
| 1086 | |
| 1087 | /* Define if you have the <iostream> header file. */ |
| 1088 | #undef HAVE_IOSTREAM |
| 1089 | |
| 1090 | /* Define if you have the <linux/joystick.h> header file. */ |
| 1091 | #undef HAVE_LINUX_JOYSTICK_H |
| 1092 | |
| 1093 | /* Define if you have the <sched.h> header file. */ |
| 1094 | #undef HAVE_SCHED_H |
| 1095 | |
| 1096 | /* Define if you have the <strings.h> header file. */ |
| 1097 | #undef HAVE_STRINGS_H |
| 1098 | |
| 1099 | /* Define if you have the <unistd.h> header file. */ |
| 1100 | #undef HAVE_UNISTD_H |
| 1101 | |
| 1102 | /* Define if you have the <fcntl.h> header file. */ |
| 1103 | #undef HAVE_FCNTL_H |
| 1104 | |
| 1105 | /* Define if you have the <wchar.h> header file. */ |
| 1106 | #undef HAVE_WCHAR_H |
| 1107 | |
| 1108 | /* Define if you have the <wcstr.h> header file. */ |
| 1109 | #undef HAVE_WCSTR_H |
| 1110 | |
| 1111 | /* Define if you have the <wctype.h> header file. */ |
| 1112 | #undef HAVE_WCTYPE_H |
| 1113 | |
| 1114 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ |
| 1115 | #undef HAVE_ICONV |
| 1116 | |
| 1117 | /* Define as "const" if the declaration of iconv() needs const. */ |
| 1118 | #undef ICONV_CONST |
| 1119 | |
| 1120 | /* Define if you have the <langinfo.h> header file. */ |
| 1121 | #undef HAVE_LANGINFO_H |
| 1122 | |
| 1123 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ |
| 1124 | #undef HAVE_W32API_H |
| 1125 | |
| 1126 | /* Define if you have wcsrtombs() function */ |
| 1127 | #undef HAVE_WCSRTOMBS |
| 1128 | |
| 1129 | /* Define this if you have fputws() and putwc() */ |
| 1130 | #undef HAVE_FPUTWC |
| 1131 | |
| 1132 | /* Define this if you have wprintf() and related functions */ |
| 1133 | #undef HAVE_WPRINTF |
| 1134 | |
| 1135 | /* Define this if you have wprintf() and related functions */ |
| 1136 | #undef HAVE_VSWPRINTF |
| 1137 | |
| 1138 | /* Define this if you have _vsnwprintf */ |
| 1139 | #undef HAVE__VSNWPRINTF |
| 1140 | |
| 1141 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ |
| 1142 | #undef HAVE_XIM |
| 1143 | |
| 1144 | |
| 1145 | /* ------------------------------------------------------------------------- |
| 1146 | Win32 adjustments section |
| 1147 | ------------------------------------------------------------------------- */ |
| 1148 | |
| 1149 | #ifdef __WIN32__ |
| 1150 | |
| 1151 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility |
| 1152 | with wx/msw/setup.h */ |
| 1153 | #define wxUSE_XPM_IN_MSW wxUSE_XPM |
| 1154 | |
| 1155 | #endif /* __WIN32__ */ |
| 1156 | |
| 1157 | /* --------------------------------------------------------* |
| 1158 | * This stuff is static, it doesn't get modified directly |
| 1159 | * by configure. |
| 1160 | */ |
| 1161 | |
| 1162 | #include "wx/chkconf.h" |
| 1163 | |
| 1164 | /* |
| 1165 | define some constants identifying wxWindows version in more details than |
| 1166 | just the version number |
| 1167 | */ |
| 1168 | |
| 1169 | /* wxLogChain class available */ |
| 1170 | #define wxHAS_LOG_CHAIN |
| 1171 | |
| 1172 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ |
| 1173 | #undef wxHAS_WORKING_GTK_DC_BLIT |
| 1174 | |
| 1175 | |
| 1176 | #endif /* __WX_SETUP_H__ */ |
| 1177 | |