]>
git.saurik.com Git - wxWidgets.git/blob - acconfig.h
1 /* Generate setup.h.in from this file using autoheader. */
5 /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
6 * only once and to indicate that we are building using configure. */
16 /* ------------------------------------------------------------------------ */
17 /* wxWindows version (not used but required by autoheader) */
18 /* ------------------------------------------------------------------------ */
20 /* needed for older automake? */
21 #undef WITH_SYMBOL_UNDERSCORE
23 /* ------------------------------------------------------------------------ */
24 /* define if support for GTK 1.2 features */
25 /* ------------------------------------------------------------------------ */
29 /* ------------------------------------------------------------------------ */
30 /* define the system to compile */
31 /* ------------------------------------------------------------------------ */
34 * Define to 1 for Unix[-like] system
54 #undef __DATA_GENERAL__
64 /* ------------------------------------------------------------------------ */
65 /* compiler options */
66 /* ------------------------------------------------------------------------ */
73 /* ------------------------------------------------------------------------ */
75 /* ------------------------------------------------------------------------ */
84 #define wxUSE_LIBPNG 0
88 #define wxUSE_LIBJPEG 0
92 #define wxUSE_LIBGIF 0
100 #define wxUSE_THREADS 0
104 #define wxHAVE_GLIBC2 0
108 #define wxHAVE_LIB_XPM 0
112 #define wxUSE_OPENGL 0
114 /* ------------------------------------------------------------------------ */
115 /* GUI or not GUI? */
116 /* ------------------------------------------------------------------------ */
123 * Defined if !wxUSE_GUI
127 /* ------------------------------------------------------------------------ */
128 /* "global" GUI options */
129 /* ------------------------------------------------------------------------ */
132 * Use constraints mechanism
134 #define wxUSE_CONSTRAINTS 0
139 #define wxUSE_VALIDATORS 0
144 #define wxUSE_ACCEL 0
147 * Use wxTextEntryDialog
149 #define wxUSE_TEXTDLG 0
154 #define wxUSE_STARTUP_TIPS 0
157 * Use progress dialog
159 #define wxUSE_PROGRESSDLG 0
162 * Use directory chooser dialog
164 #define wxUSE_DIRDLG 0
167 * Joystick support (Linux/GTK only)
169 #define wxUSE_JOYSTICK 0
171 /* ------------------------------------------------------------------------ */
172 /* GUI control options */
173 /* ------------------------------------------------------------------------ */
178 #define wxUSE_CARET 0
182 #define wxUSE_BMPBUTTON 0
186 #define wxUSE_CHECKBOX 0
190 #define wxUSE_CHECKLISTBOX 0
194 #define wxUSE_COMBOBOX 0
198 #define wxUSE_CHOICE 0
202 #define wxUSE_GAUGE 0
210 #define wxUSE_IMAGLIST 0
214 #define wxUSE_LISTBOX 0
218 #define wxUSE_LISTCTRL 0
222 #define wxUSE_NOTEBOOK 0
226 #define wxUSE_RADIOBOX 0
230 #define wxUSE_RADIOBTN 0
238 #define wxUSE_SCROLLBAR 0
242 #define wxUSE_SLIDER 0
246 #define wxUSE_SPINBTN 0
250 #define wxUSE_SPLITTER 0
254 #define wxUSE_STATBMP 0
258 #define wxUSE_STATBOX 0
262 #define wxUSE_STATLINE 0
266 #define wxUSE_STATUSBAR 0
268 * Use Tab dialog class - obsolete, use wxNotebook instead
270 #define wxUSE_TAB_DIALOG 0
272 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
276 #define wxUSE_TOOLBAR 0
278 #if defined(__WXWINE__) || defined(__GNUWIN32__)
280 #define wxUSE_BUTTONBAR 1
287 #define wxUSE_TREECTRL 0
289 /* ------------------------------------------------------------------------ */
290 /* non-GUI options */
291 /* ------------------------------------------------------------------------ */
294 * Use wxLongLong (a.k.a. int64) class
296 #define wxUSE_LONGLONG 0
303 * Use wxTextFile class
305 #define wxUSE_TEXTFILE 0
307 * Use log classes and logging functions
311 * Use time and date classes
313 #define wxUSE_TIMEDATE 0
321 #define wxUSE_CONFIG 0
329 #define wxUSE_STREAMS 0
331 * Use class serialization
333 #define wxUSE_SERIAL 0
337 #define wxUSE_SOCKETS 0
339 * Use standard C++ streams if 1. If 0, use wxWin
340 * streams implementation.
342 #define wxUSE_STD_IOSTREAM 0
346 #define wxUSE_DYNLIB_CLASS 0
348 /* ------------------------------------------------------------------------ */
350 /* ------------------------------------------------------------------------ */
353 * Use font metric files in GetTextExtent for wxPostScriptDC
354 * Use consistent PostScript fonts for AFM and printing (!)
356 #define wxUSE_AFM_FOR_POSTSCRIPT 0
357 #define wxUSE_NORMALIZED_PS_FONTS 0
360 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
363 * Use PostScript device context
365 #define wxUSE_POSTSCRIPT 0
367 /* ------------------------------------------------------------------------ */
368 /* wxString options */
369 /* ------------------------------------------------------------------------ */
372 * Compile wxString with wide character (Unicode) support?
374 #define wxUSE_UNICODE 0
377 * Work around a bug in GNU libc 5.x wcstombs() implementation.
379 * Note that you must link your programs with libc.a if you enable this and you
380 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
381 * thread-safe version of wcstombs()).
383 #define wxUSE_WCSRTOMBS 0
386 * On some platforms overloading on size_t/int doesn't work, yet we'd like
387 * to define both size_t and int version of wxString::operator[] because it
388 * should really be size_t, but a lot of old, broken code uses int indices.
390 #define wxUSE_SIZE_T_STRING_OPERATOR 0
393 * Use the new experimental implementation of wxString::Printf()?
395 * Warning: enabling this may cause internal compiler errors with gcc!
397 #define wxUSE_EXPERIMENTAL_PRINTF 0
399 /* ------------------------------------------------------------------------ */
401 /* ------------------------------------------------------------------------ */
404 * Use Interprocess communication
408 * Use wxGetResource & wxWriteResource (change .Xdefaults)
410 #define wxUSE_X_RESOURCES 0
414 #define wxUSE_CLIPBOARD 0
418 #define wxUSE_TOOLTIPS 0
422 #define wxUSE_DRAG_AND_DROP 0
426 #define wxUSE_SPLINES 0
428 * Use wxLibrary class
430 #define wxUSE_DYNLIB_CLASS 0
432 /* ------------------------------------------------------------------------ */
433 /* architecture options */
434 /* ------------------------------------------------------------------------ */
437 * Use the mdi architecture
439 #define wxUSE_MDI_ARCHITECTURE 0
441 * Use the document/view architecture
443 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
445 * Use the print/preview architecture
447 #define wxUSE_PRINTING_ARCHITECTURE 0
449 /* ------------------------------------------------------------------------ */
450 /* Prolog and wxWindows' resource system options */
451 /* ------------------------------------------------------------------------ */
456 #define wxUSE_PROLOGIO 0
458 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
460 #define wxUSE_RESOURCES 0
462 /* for compatibility */
463 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
465 /* ------------------------------------------------------------------------ */
467 /* ------------------------------------------------------------------------ */
470 * Use wxWindows help facility (needs wxUSE_IPC 1)
474 * Use iostream.h rather than iostream
476 #define wxUSE_IOSTREAMH 0
478 * Use Apple Ieee-double converter
480 #define wxUSE_APPLE_IEEE 0
482 * Compatibility with 1.66 API.
483 * Level 0: no backward compatibility, all new features
484 * Level 1: wxDC, OnSize (etc.) compatibility, but
485 * some new features such as event tables
487 #define WXWIN_COMPATIBILITY 0
489 * Compatibility with 2.0 API.
491 #define WXWIN_COMPATIBILITY_2 1
493 * Enables debugging: memory tracing, assert, etc., contains debug level
497 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
498 * WARNING: this code may not work with all architectures, especially
499 * if alignment is an issue.
501 #define wxUSE_MEMORY_TRACING 0
503 * Enable debugging version of global memory operators new and delete
504 * Disable it, If this causes problems (e.g. link errors)
506 #define wxUSE_DEBUG_NEW_ALWAYS 0
508 * VZ: What does this one do? (FIXME)
510 #define wxUSE_DEBUG_CONTEXT 0
512 * In debug mode, causes new to be defined to
513 * be WXDEBUG_NEW (see object.h). If this causes
514 * problems (e.g. link errors), set this to 0.
516 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
518 * Matthews garbage collection (used for MrEd?)
520 #define WXGARBAGE_COLLECTION_ON 0
524 #define wxUSE_SPLINES 0
526 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
528 #define wxUSE_DYNAMIC_CLASSES 1
531 * Support for metafiles
533 #define wxUSE_METAFILE 0
538 #define wxUSE_MINIFRAME 0
546 * (virtual) filesystems code
548 #define wxUSE_FS_INET 0
549 #define wxUSE_FS_ZIP 0
552 * A class that shows info window when app is busy
553 * (works exactly like wxBusyCursor)
555 #define wxUSE_BUSYINFO 0
558 * Zip stream for accessing files stored inside .zip archives
560 #define wxUSE_ZIPSTREAM 0
563 * Disable this if your compiler can't cope
564 * with omission of prototype parameters.
566 #define REMOVE_UNUSED_ARG 1
568 * The const keyword is being introduced more in wxWindows.
569 * You can use this setting to maintain backward compatibility.
570 * If 0: will use const wherever possible.
571 * If 1: will use const only where necessary
572 * for precompiled headers to work.
573 * If 2: will be totally backward compatible, but precompiled
574 * headers may not work and program size will be larger.
576 #define CONST_COMPATIBILITY 0
578 /* ------------------------------------------------------------------------ */
579 /* System-specific stuff */
580 /* ------------------------------------------------------------------------ */
582 /* The type of 3rd argument to getsockname() - usually size_t or int */
585 /* Define if you have dlopen() */
588 /* Define if you have nanosleep() */
589 #undef HAVE_NANOSLEEP
591 /* Define if you have sched_yield */
592 #undef HAVE_SCHED_YIELD
594 /* Define if you have pthread_cancel */
595 #undef HAVE_PTHREAD_CANCEL
597 /* Define if you have all functions to set thread priority */
598 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
600 /* Define if you can specify exit functions to a thread */
601 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
603 /* Define if you have shl_load() */
606 /* Define if you have vsnprintf() */
607 #undef HAVE_VSNPRINTF
609 /* Define if you have usleep() */
612 /* Define if you have wcslen function */
617 #endif /* __WX_SETUP_H__ */