]>
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__
63 /* ------------------------------------------------------------------------ */
64 /* compiler options */
65 /* ------------------------------------------------------------------------ */
72 /* ------------------------------------------------------------------------ */
74 /* ------------------------------------------------------------------------ */
83 #define wxUSE_LIBPNG 0
87 #define wxUSE_LIBJPEG 0
91 #define wxUSE_LIBGIF 0
99 #define wxUSE_THREADS 0
103 #define wxHAVE_GLIBC2 0
107 #define wxHAVE_LIB_XPM 0
111 #define wxUSE_OPENGL 0
113 /* ------------------------------------------------------------------------ */
114 /* GUI or not GUI? */
115 /* ------------------------------------------------------------------------ */
122 * Defined if !wxUSE_GUI
126 /* ------------------------------------------------------------------------ */
127 /* "global" GUI options */
128 /* ------------------------------------------------------------------------ */
131 * Use constraints mechanism
133 #define wxUSE_CONSTRAINTS 0
138 #define wxUSE_VALIDATORS 0
143 #define wxUSE_ACCEL 0
146 * Use wxTextEntryDialog
148 #define wxUSE_TEXTDLG 0
153 #define wxUSE_STARTUP_TIPS 0
156 * Use progress dialog
158 #define wxUSE_PROGRESSDLG 0
161 * Use directory chooser dialog
163 #define wxUSE_DIRDLG 0
166 * Joystick support (Linux/GTK only)
168 #define wxUSE_JOYSTICK 0
170 /* ------------------------------------------------------------------------ */
171 /* GUI control options */
172 /* ------------------------------------------------------------------------ */
177 #define wxUSE_CARET 0
181 #define wxUSE_BMPBUTTON 0
185 #define wxUSE_CHECKBOX 0
189 #define wxUSE_CHECKLISTBOX 0
193 #define wxUSE_COMBOBOX 0
197 #define wxUSE_CHOICE 0
201 #define wxUSE_GAUGE 0
209 #define wxUSE_IMAGLIST 0
213 #define wxUSE_LISTBOX 0
217 #define wxUSE_LISTCTRL 0
221 #define wxUSE_NOTEBOOK 0
225 #define wxUSE_RADIOBOX 0
229 #define wxUSE_RADIOBTN 0
237 #define wxUSE_SCROLLBAR 0
241 #define wxUSE_SLIDER 0
245 #define wxUSE_SPINBTN 0
249 #define wxUSE_SPLITTER 0
253 #define wxUSE_STATBMP 0
257 #define wxUSE_STATBOX 0
261 #define wxUSE_STATLINE 0
265 #define wxUSE_STATUSBAR 0
267 * Use Tab dialog class - obsolete, use wxNotebook instead
269 #define wxUSE_TAB_DIALOG 0
271 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
275 #define wxUSE_TOOLBAR 0
277 #if defined(__WXWINE__) || defined(__GNUWIN32__)
279 #define wxUSE_BUTTONBAR 1
286 #define wxUSE_TREECTRL 0
288 /* ------------------------------------------------------------------------ */
289 /* non-GUI options */
290 /* ------------------------------------------------------------------------ */
293 * Use wxLongLong (a.k.a. int64) class
295 #define wxUSE_LONGLONG 0
302 * Use wxTextFile class
304 #define wxUSE_TEXTFILE 0
306 * Use log classes and logging functions
310 * Use time and date classes
312 #define wxUSE_TIMEDATE 0
320 #define wxUSE_CONFIG 0
328 #define wxUSE_STREAMS 0
330 * Use class serialization
332 #define wxUSE_SERIAL 0
336 #define wxUSE_SOCKETS 0
338 * Use standard C++ streams if 1. If 0, use wxWin
339 * streams implementation.
341 #define wxUSE_STD_IOSTREAM 0
345 #define wxUSE_DYNLIB_CLASS 0
347 /* ------------------------------------------------------------------------ */
349 /* ------------------------------------------------------------------------ */
352 * Use font metric files in GetTextExtent for wxPostScriptDC
353 * Use consistent PostScript fonts for AFM and printing (!)
355 #define wxUSE_AFM_FOR_POSTSCRIPT 0
356 #define wxUSE_NORMALIZED_PS_FONTS 0
359 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
362 * Use PostScript device context
364 #define wxUSE_POSTSCRIPT 0
366 /* ------------------------------------------------------------------------ */
367 /* wxString options */
368 /* ------------------------------------------------------------------------ */
371 * Compile wxString with wide character (Unicode) support?
373 #define wxUSE_UNICODE 0
376 * Work around a bug in GNU libc 5.x wcstombs() implementation.
378 * Note that you must link your programs with libc.a if you enable this and you
379 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
380 * thread-safe version of wcstombs()).
382 #define wxUSE_WCSRTOMBS 0
385 * On some platforms overloading on size_t/int doesn't work, yet we'd like
386 * to define both size_t and int version of wxString::operator[] because it
387 * should really be size_t, but a lot of old, broken code uses int indices.
389 #define wxUSE_SIZE_T_STRING_OPERATOR 0
392 * Use the new experimental implementation of wxString::Printf()?
394 * Warning: enabling this may cause internal compiler errors with gcc!
396 #define wxUSE_EXPERIMENTAL_PRINTF 0
398 /* ------------------------------------------------------------------------ */
400 /* ------------------------------------------------------------------------ */
403 * Use Interprocess communication
407 * Use wxGetResource & wxWriteResource (change .Xdefaults)
409 #define wxUSE_X_RESOURCES 0
413 #define wxUSE_CLIPBOARD 0
417 #define wxUSE_TOOLTIPS 0
421 #define wxUSE_DRAG_AND_DROP 0
425 #define wxUSE_SPLINES 0
427 * Use wxLibrary class
429 #define wxUSE_DYNLIB_CLASS 0
431 /* ------------------------------------------------------------------------ */
432 /* architecture options */
433 /* ------------------------------------------------------------------------ */
436 * Use the mdi architecture
438 #define wxUSE_MDI_ARCHITECTURE 0
440 * Use the document/view architecture
442 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
444 * Use the print/preview architecture
446 #define wxUSE_PRINTING_ARCHITECTURE 0
448 /* ------------------------------------------------------------------------ */
449 /* Prolog and wxWindows' resource system options */
450 /* ------------------------------------------------------------------------ */
455 #define wxUSE_PROLOGIO 0
457 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
459 #define wxUSE_RESOURCES 0
461 /* for compatibility */
462 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
464 /* ------------------------------------------------------------------------ */
466 /* ------------------------------------------------------------------------ */
469 * Use wxWindows help facility (needs wxUSE_IPC 1)
473 * Use iostream.h rather than iostream
475 #define wxUSE_IOSTREAMH 0
477 * Use Apple Ieee-double converter
479 #define wxUSE_APPLE_IEEE 0
481 * Compatibility with 1.66 API.
482 * Level 0: no backward compatibility, all new features
483 * Level 1: wxDC, OnSize (etc.) compatibility, but
484 * some new features such as event tables
486 #define WXWIN_COMPATIBILITY 0
488 * Compatibility with 2.0 API.
490 #define WXWIN_COMPATIBILITY_2 1
492 * Enables debugging: memory tracing, assert, etc., contains debug level
496 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
497 * WARNING: this code may not work with all architectures, especially
498 * if alignment is an issue.
500 #define wxUSE_MEMORY_TRACING 0
502 * Enable debugging version of global memory operators new and delete
503 * Disable it, If this causes problems (e.g. link errors)
505 #define wxUSE_DEBUG_NEW_ALWAYS 0
507 * VZ: What does this one do? (FIXME)
509 #define wxUSE_DEBUG_CONTEXT 0
511 * In debug mode, causes new to be defined to
512 * be WXDEBUG_NEW (see object.h). If this causes
513 * problems (e.g. link errors), set this to 0.
515 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
517 * Matthews garbage collection (used for MrEd?)
519 #define WXGARBAGE_COLLECTION_ON 0
523 #define wxUSE_SPLINES 0
525 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
527 #define wxUSE_DYNAMIC_CLASSES 1
530 * Support for metafiles
532 #define wxUSE_METAFILE 0
537 #define wxUSE_MINIFRAME 0
545 * (virtual) filesystems code
547 #define wxUSE_FS_INET 0
548 #define wxUSE_FS_ZIP 0
551 * A class that shows info window when app is busy
552 * (works exactly like wxBusyCursor)
554 #define wxUSE_BUSYINFO 0
557 * Zip stream for accessing files stored inside .zip archives
559 #define wxUSE_ZIPSTREAM 0
562 * Disable this if your compiler can't cope
563 * with omission of prototype parameters.
565 #define REMOVE_UNUSED_ARG 1
567 * The const keyword is being introduced more in wxWindows.
568 * You can use this setting to maintain backward compatibility.
569 * If 0: will use const wherever possible.
570 * If 1: will use const only where necessary
571 * for precompiled headers to work.
572 * If 2: will be totally backward compatible, but precompiled
573 * headers may not work and program size will be larger.
575 #define CONST_COMPATIBILITY 0
577 /* ------------------------------------------------------------------------ */
578 /* System-specific stuff */
579 /* ------------------------------------------------------------------------ */
581 /* The type of 3rd argument to getsockname() - usually size_t or int */
584 /* Define if you have dlopen() */
587 /* Define if you have nanosleep() */
588 #undef HAVE_NANOSLEEP
590 /* Define if you have sched_yield */
591 #undef HAVE_SCHED_YIELD
593 /* Define if you have pthread_cancel */
594 #undef HAVE_PTHREAD_CANCEL
596 /* Define if you have all functions to set thread priority */
597 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
599 /* Define if you can specify exit functions to a thread */
600 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
602 /* Define if you have shl_load() */
605 /* Define if you have vsnprintf() */
606 #undef HAVE_VSNPRINTF
608 /* Define if you have usleep() */
611 /* Define if you have wcslen function */
616 #endif /* __WX_SETUP_H__ */