]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/setup0.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / motif / setup0.h
CommitLineData
ae8db4dc
VZ
1/* ./include/wx/motif/setup.h. Generated automatically by configure. */
2/* setup.h
3
4 Do not edit this file. It is autogenerated by configure.
5
6 Leave the following blank line there!! Autoheader needs it. */
7\f
8
9/* ------------------------------------------------------------------------ */
10/* Features as requested by configure */
11/* ------------------------------------------------------------------------ */
12
13#ifndef __GTKSETUPH__
14#define __GTKSETUPH__
15
16#ifdef __GNUG__
17#pragma interface
18#endif
19
20/* define the system to compile */
21#define __UNIX__ 1
22#define __LINUX__ 1
23/* #undef __SGI__ */
24/* #undef __HPUX__ */
25/* #undef __SYSV__ */
26/* #undef __SVR4__ */
27/* #undef __AIX__ */
28/* #undef __SUN__ */
29/* #undef __SOLARIS__ */
30/* #undef __SUNOS__ */
31/* #undef __ALPHA__ */
32/* #undef __OSF__ */
33/* #undef __BSD__ */
34/* #undef __FREEBSD__ */
35/* #undef __VMS__ */
36/* #undef __ULTRIX__ */
37/* #undef __DATA_GENERAL__ */
38
39/* ------------------------------------------------------------------------ */
40/* compiler options */
41/* ------------------------------------------------------------------------ */
42
43/*
44 * Supports bool type
45 */
46#define HAVE_BOOL 1
47
48/* ------------------------------------------------------------------------ */
49/* library options */
50/* ------------------------------------------------------------------------ */
51
52/*
53 * Use zlib
54 */
55#define wxUSE_ZLIB 1
56/*
57 * Use libpng
58 */
59#define wxUSE_LIBPNG 1
60/*
61 * Use libjpeg
62 */
63#define wxUSE_LIBJPEG 0
aa6d9706 64/*
1044a386 65 * Use GIF
aa6d9706 66 */
1044a386
JS
67#define wxUSE_LIBGIF 1
68/*
69 * Use PCX
70 */
71#define wxUSE_PCX 1
72/*
73 * Use PNM
74 */
75#define wxUSE_PNM 1
ae8db4dc
VZ
76/*
77 * Use iODBC
78 */
79#define wxUSE_ODBC 0
9695185a 80#define wxODBC_FWD_ONLY_CURSORS 1
ae8db4dc
VZ
81/*
82 * Use Threads
83 */
84#define wxUSE_THREADS 0
85/*
86 * Have glibc2
87 */
88#define wxHAVE_GLIBC2 1
89/*
90 * Use libXpm
91 */
92#define wxHAVE_LIB_XPM 0
93
94#define wxUSE_XPM 1
95
96/* ------------------------------------------------------------------------ */
97/* GUI control options (always enabled in wxGTK) */
98/* ------------------------------------------------------------------------ */
99/*
100 * Use gauge item
101 */
102#define wxUSE_GAUGE 1
103/*
104 * Use combobox item
105 */
106#define wxUSE_COMBOBOX 1
107/*
108 * Use scrollbar item
109 */
110#define wxUSE_SCROLLBAR 1
111/*
112 * Use scrollbar item
113 */
b3402d0d 114#define wxUSE_RADIOBTN 1
ae8db4dc
VZ
115/*
116 * Use toolbar item
117 */
118#define wxUSE_TOOLBAR 1
119
120/* ------------------------------------------------------------------------ */
121/* non-GUI options */
122/* ------------------------------------------------------------------------ */
123
124/*
125 * Use time and date classes
126 */
127#define wxUSE_TIMEDATE 1
128/*
129 * Use config system
130 */
131#define wxUSE_CONFIG 1
132/*
133 * Use intl system
134 */
135#define wxUSE_INTL 1
136/*
137 * Use streams
138 */
139#define wxUSE_STREAMS 1
140/*
141 * Use class serialization
142 */
143#define wxUSE_SERIAL 0
144/*
145 * Use sockets
146 */
147#define wxUSE_SOCKETS 1
148/*
149 * Use standard C++ streams if 1. If 0, use wxWin
150 * streams implementation.
151 */
152#define wxUSE_STD_IOSTREAM 1
153/*
154 * Use constraints mechanism
155 */
156#define wxUSE_CONSTRAINTS 1
157
158/* ------------------------------------------------------------------------ */
159/* PS options */
160/* ------------------------------------------------------------------------ */
161
162/*
163 * Use font metric files in GetTextExtent for wxPostScriptDC
164 * Use consistent PostScript fonts for AFM and printing (!)
165 */
166#define wxUSE_AFM_FOR_POSTSCRIPT 1
167#define WX_NORMALIZED_PS_FONTS 1
168/*
169 * Use PostScript device context
170 */
171#define wxUSE_POSTSCRIPT 1
172
173/* ------------------------------------------------------------------------ */
174/* wxString options */
175/* ------------------------------------------------------------------------ */
176
177/*
178 * Compile wxString with wide character (Unicode) support?
179 */
180#define wxUSE_UNICODE 1
181
182/*
183 * Work around a bug in GNU libc 5.x wcstombs() implementation.
184 *
185 * Note that you must link your programs with libc.a if you enable this and you
186 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
187 * thread-safe version of wcstombs()).
188 */
189#define wxUSE_WCSRTOMBS 0
190
191/*
192 * On some platforms overloading on size_t/int doesn't work, yet we'd like
193 * to define both size_t and int version of wxString::operator[] because it
194 * should really be size_t, but a lot of old, broken code uses int indices.
195 */
196#define wxUSE_SIZE_T_STRING_OPERATOR 1
197
198/* ------------------------------------------------------------------------ */
199/* misc options */
200/* ------------------------------------------------------------------------ */
201
202/*
203 * Use Interprocess communication
204 */
205#define wxUSE_IPC 1
206/*
207 * Use wxGetResource & wxWriteResource (change .Xdefaults)
208 */
209#define wxUSE_RESOURCES 1
210/*
211 * Use clipboard
212 */
213#define wxUSE_CLIPBOARD 1
214/*
215 * Use tooltips
216 */
217#define wxUSE_TOOLTIPS 0
218/*
219 * Use dnd
220 */
221#define wxUSE_DRAG_AND_DROP 0
222/*
223 * Use wxLibrary class
224 */
225#define wxUSE_DYNLIB_CLASS 0
226
227/* ------------------------------------------------------------------------ */
228/* architecture options */
229/* ------------------------------------------------------------------------ */
230
231/*
232 * Use the mdi architecture
233 */
234#define wxUSE_MDI_ARCHITECTURE 1
235/*
236 * Use the document/view architecture
237 */
238#define wxUSE_DOC_VIEW_ARCHITECTURE 1
239/*
240 * Use the print/preview architecture
241 */
242#define wxUSE_PRINTING_ARCHITECTURE 1
243
244/* ------------------------------------------------------------------------ */
245/* Prolog and wxWindows' resource system options */
246/* ------------------------------------------------------------------------ */
247
248/*
249 * Use Prolog IO
250 */
251#define wxUSE_PROLOGIO 1
252/*
253 * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO)
254 */
255#define wxUSE_RPC 0
256/*
257 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
258 */
259#define wxUSE_WX_RESOURCES 1
260
261/* ------------------------------------------------------------------------ */
262/* the rest */
263/* ------------------------------------------------------------------------ */
264
265/*
266 * Use wxWindows help facility (needs wxUSE_IPC 1)
267 */
268#define wxUSE_HELP 1
269/*
270 * Use iostream.h rather than iostream
271 */
272#define wxUSE_IOSTREAMH 1
273/*
274 * Use Apple Ieee-double converter
275 */
276#define wxUSE_APPLE_IEEE 1
277/* Compatibility with 1.66 API.
278 Level 0: no backward compatibility, all new features
279 Level 1: wxDC, OnSize (etc.) compatibility, but
280 some new features such as event tables */
281#define WXWIN_COMPATIBILITY 0
282/*
283 * Enables debugging: memory tracing, assert, etc., contains debug level
284 */
285#define WXDEBUG 1
286/*
287 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
288 * WARNING: this code may not work with all architectures, especially
289 * if alignment is an issue.
290 */
291#define wxUSE_MEMORY_TRACING 0
292/*
293 * Enable debugging version of global memory operators new and delete
294 * Disable it, If this causes problems (e.g. link errors)
295 */
296#define wxUSE_DEBUG_NEW_ALWAYS 1
297/*
298 * In debug mode, causes new to be defined to
299 * be WXDEBUG_NEW (see object.h). If this causes
300 * problems (e.g. link errors), set this to 0.
301 */
302#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
303/*
304 * Matthews garbage collection (used for MrEd?)
305 */
306#define WXGARBAGE_COLLECTION_ON 0
307/*
308 * Use splines
309 */
310#define wxUSE_SPLINES 1
311/*
312 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
313 */
314#define wxUSE_DYNAMIC_CLASSES 1
315/*
316 * Disable this if your compiler can't cope
317 * with omission of prototype parameters.
318 */
319#define REMOVE_UNUSED_ARG 1
320/*
321 * The const keyword is being introduced more in wxWindows.
322 * You can use this setting to maintain backward compatibility.
323 * If 0: will use const wherever possible.
324 * If 1: will use const only where necessary
325 * for precompiled headers to work.
326 * If 2: will be totally backward compatible, but precompiled
327 * headers may not work and program size will be larger.
328 */
329#define CONST_COMPATIBILITY 0
330
331/* ------------------------------------------------------------------------ */
332/* System-specific stuff */
333/* ------------------------------------------------------------------------ */
334
335/* acconfig.h
336 This file is in the public domain.
337
338 Descriptive text for the C preprocessor macros that
339 the distributed Autoconf macros can define.
340 No software package will use all of them; autoheader copies the ones
341 your configure.in uses into your configuration header file templates.
342
343 The entries are in sort -df order: alphabetical, case insensitive,
344 ignoring punctuation (such as underscores). Although this order
345 can split up related entries, it makes it easier to check whether
346 a given entry is in the file. */
347
348/* Define if on AIX 3.
349 System headers sometimes define this.
350 We just want to avoid a redefinition error message. */
351#ifndef _ALL_SOURCE
352/* #undef _ALL_SOURCE */
353#endif
354
355/* Define if using alloca.c. */
356/* #undef C_ALLOCA */
357
358/* Define if type char is unsigned and you are not using gcc. */
359#ifndef __CHAR_UNSIGNED__
360/* #undef __CHAR_UNSIGNED__ */
361#endif
362
363/* Define if the closedir function returns void instead of int. */
364/* #undef CLOSEDIR_VOID */
365
366/* Define to empty if the keyword does not work. */
367/* #undef const */
368
369/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
370 This function is required for alloca.c support on those systems. */
371/* #undef CRAY_STACKSEG_END */
372
373/* Define for DGUX with <sys/dg_sys_info.h>. */
374/* #undef DGUX */
375
376/* Define if you have <dirent.h>. */
377/* #undef DIRENT */
378
379/* Define to the type of elements in the array set by `getgroups'.
380 Usually this is either `int' or `gid_t'. */
381#define GETGROUPS_T gid_t
382
383/* The type of 3rd argument to getsockname() - usually size_t or int */
384#define SOCKLEN_T size_t
385
386/* Define if the `getloadavg' function needs to be run setuid or setgid. */
387/* #undef GETLOADAVG_PRIVILEGED */
388
389/* Define if the `getpgrp' function takes no argument. */
390/* #undef GETPGRP_VOID */
391
392/* Define to `int' if <sys/types.h> doesn't define. */
393/* #undef gid_t */
394
395/* Define if you have alloca, as a function or macro. */
396/* #undef HAVE_ALLOCA */
397
398/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
399/* #undef HAVE_ALLOCA_H */
400
401/* Define if you don't have vprintf but do have _doprnt. */
402/* #undef HAVE_DOPRNT */
403
404/* Define if you have sched.h */
405#define HAVE_SCHED_H 0
406
407/* Define if you have strings.h */
408#define HAVE_STRINGS_H 1
409
410/* Define if you have vprintf() */
411#define HAVE_VPRINTF 1
412
413/* Define if you have dlopen() */
414/* #undef HAVE_DLOPEN */
415
416/* Define if you have shl_load() */
417/* #undef HAVE_SHL_LOAD */
418
419/* Define if you have vsnprintf() */
420#define HAVE_VSNPRINTF 1
421
422/* Define if you have usleep() */
423#define HAVE_USLEEP 1
424
425/* Define if you have nanosleep() */
426#define HAVE_NANOSLEEP 0
427
428/* Define if you have vfork() */
429#define HAVE_VFORK 1
430
431/* Define if you have uname() */
432#define HAVE_UNAME 1
433
434/* Define if you have gethostname() */
435/* #undef HAVE_GETHOSTNAME */
436
437/* Define if you have sched_yield */
438#define HAVE_SCHED_YIELD 1
439
440/* Define if you have pthread_cancel */
441#define HAVE_PTHREAD_CANCEL 1
442
443/* Define if you have all functions to set thread priority */
444#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
445
446/* Define if your system has its own `getloadavg' function. */
447/* #undef HAVE_GETLOADAVG */
448
449/* Define if you have the getmntent function. */
450/* #undef HAVE_GETMNTENT */
451
452/* Define if the `long double' type works. */
453#define HAVE_LONG_DOUBLE 1
454
455/* Define if you support file names longer than 14 characters. */
456#define HAVE_LONG_FILE_NAMES 1
457
458/* Define if you have a working `mmap' system call. */
459/* #undef HAVE_MMAP */
460
461/* Define if system calls automatically restart after interruption
462 by a signal. */
463/* #undef HAVE_RESTARTABLE_SYSCALLS */
464
465/* Define if your struct stat has st_blksize. */
466#define HAVE_ST_BLKSIZE 1
467
468/* Define if your struct stat has st_blocks. */
469#define HAVE_ST_BLOCKS 1
470
471/* Define if you have the strcoll function and it is properly defined. */
472/* #undef HAVE_STRCOLL */
473
474/* Define if your struct stat has st_rdev. */
475#define HAVE_ST_RDEV 1
476
477/* Define if you have the strftime function. */
478/* #undef HAVE_STRFTIME */
479
480/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
481#define HAVE_SYS_WAIT_H 1
482
483/* Define if your struct tm has tm_zone. */
484#define HAVE_TM_ZONE 1
485
486/* Define if you don't have tm_zone but do have the external array
487 tzname. */
488/* #undef HAVE_TZNAME */
489
490/* Define if you have <unistd.h>. */
491#define HAVE_UNISTD_H 1
492
493/* Define if you have <fnmatch.h>. */
494#define HAVE_FNMATCH_H 1
495
496/* Define if utime(file, NULL) sets file's timestamp to the present. */
497/* #undef HAVE_UTIME_NULL */
498
499/* Define if you have <vfork.h>. */
500/* #undef HAVE_VFORK_H */
501
502/* Define if you have the vprintf function. */
503#define HAVE_VPRINTF 1
504
505/* Define if you have the wait3 system call. */
506/* #undef HAVE_WAIT3 */
507
508/* Define as __inline if that's what the C compiler calls it. */
509#ifndef __cplusplus
510/* #undef inline */
511#endif
512
513/* Define if major, minor, and makedev are declared in <mkdev.h>. */
514/* #undef MAJOR_IN_MKDEV */
515
516/* Define if major, minor, and makedev are declared in <sysmacros.h>. */
517/* #undef MAJOR_IN_SYSMACROS */
518
519/* Define if on MINIX. */
520/* #undef _MINIX */
521
522/* Define to `int' if <sys/types.h> doesn't define. */
523/* #undef mode_t */
524
525/* Define if you don't have <dirent.h>, but have <ndir.h>. */
526/* #undef NDIR */
527
528/* Define if you have <memory.h>, and <string.h> doesn't declare the
529 mem* functions. */
530/* #undef NEED_MEMORY_H */
531
532/* Define if your struct nlist has an n_un member. */
533/* #undef NLIST_NAME_UNION */
534
535/* Define if you have <nlist.h>. */
536/* #undef NLIST_STRUCT */
537
538/* Define if your C compiler doesn't accept -c and -o together. */
539/* #undef NO_MINUS_C_MINUS_O */
540
541/* Define to `long' if <sys/types.h> doesn't define. */
542/* #undef off_t */
543
544/* Define to `int' if <sys/types.h> doesn't define. */
545/* #undef pid_t */
546
547/* Define if the system does not provide POSIX.1 features except
548 with this defined. */
549/* #undef _POSIX_1_SOURCE */
550
551/* Define if you need to in order for stat and other things to work. */
552/* #undef _POSIX_SOURCE */
553
554/* Define as the return type of signal handlers (int or void). */
555#define RETSIGTYPE void
556
557/* Define if the setvbuf function takes the buffering type as its second
558 argument and the buffer pointer as the third, as on System V
559 before release 3. */
560/* #undef SETVBUF_REVERSED */
561
562/* Define SIZESOF for some Objects */
563#define SIZEOF_INT 4
564#define SIZEOF_INT_P 4
565#define SIZEOF_LONG 4
566#define SIZEOF_LONG_LONG 8
567
568/* Define to `unsigned' if <sys/types.h> doesn't define. */
569/* #undef size_t */
570
571/* If using the C implementation of alloca, define if you know the
572 direction of stack growth for your system; otherwise it will be
573 automatically deduced at run-time.
574 STACK_DIRECTION > 0 => grows toward higher addresses
575 STACK_DIRECTION < 0 => grows toward lower addresses
576 STACK_DIRECTION = 0 => direction of growth unknown
577 */
578/* #undef STACK_DIRECTION */
579
580/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
581/* #undef STAT_MACROS_BROKEN */
582
583/* Define if you have the ANSI C header files. */
584#define STDC_HEADERS 1
585
586/* Define on System V Release 4. */
587/* #undef SVR4 */
588
589/* Define on BSD */
590/* #undef BSD */
591
592/* Define on System V */
593/* #undef SYSV */
594
595/* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
596/* #undef SYSDIR */
597
598/* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
599/* #undef SYSNDIR */
600
601/* Define if `sys_siglist' is declared by <signal.h>. */
602/* #undef SYS_SIGLIST_DECLARED */
603
604/* Define if you can safely include both <sys/time.h> and <time.h>. */
605#define TIME_WITH_SYS_TIME 1
606
607/* Define if your <sys/time.h> declares struct tm. */
608/* #undef TM_IN_SYS_TIME */
609
610/* Define to `int' if <sys/types.h> doesn't define. */
611/* #undef uid_t */
612
613/* Define for Encore UMAX. */
614/* #undef UMAX */
615
616/* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
617 instead of <sys/cpustats.h>. */
618/* #undef UMAX4_3 */
619
620/* Define if you do not have <strings.h>, index, bzero, etc.. */
621/* #undef USG */
622
623/* Define if the system is System V Release 4 */
624/* #undef SVR4 */
625
626/* Define vfork as fork if vfork does not work. */
627/* #undef vfork */
628
629/* Define if the closedir function returns void instead of int. */
630/* #undef VOID_CLOSEDIR */
631
632/* Define if your processor stores words with the most significant
633 byte first (like Motorola and SPARC, unlike Intel and VAX). */
634/* #undef WORDS_BIGENDIAN */
635
636/* Define if lex declares yytext as a char * by default, not a char[]. */
637#define YYTEXT_POINTER 1
638
639#endif /* __GTKSETUPH__ */
640
641\f
642/* Leave that blank line there!! Autoheader needs it.
643 If you're adding to this file, keep in mind:
644 The entries are in sort -df order: alphabetical, case insensitive,
645 ignoring punctuation (such as underscores). */