2 // The following configuration file is designed to work for SunOS 5.4
3 // platforms using the GNU g++ compiler.
7 #include /**/ "ace/pre.h"
9 #if ! defined (__ACE_INLINE__)
10 # define __ACE_INLINE__
11 #endif /* ! __ACE_INLINE__ */
13 // config-g++-common.h undef's ACE_HAS_STRING_CLASS with -frepo, so
14 // this must appear before its #include.
15 #define ACE_HAS_STRING_CLASS
17 #include "ace/config-g++-common.h"
19 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
21 // Platform supports pread() and pwrite()
22 #define ACE_HAS_P_READ_WRITE
24 #define ACE_HAS_XPG4_MULTIBYTE_CHAR
26 // Platform has POSIX terminal interface.
27 #define ACE_HAS_TERMIOS
29 // Platform supports System V IPC (most versions of UNIX, but not Win32)
30 #define ACE_HAS_SYSV_IPC
32 // Sun has the wrong prototype for sendmsg.
33 #define ACE_HAS_NONCONST_SENDMSG
35 // Platform supports system configuration information.
36 #define ACE_HAS_SYS_SYSTEMINFO_H
37 #define ACE_HAS_SYSV_SYSINFO
39 // Platform supports the POSIX regular expression library
42 // Platform supports recvmsg and sendmsg.
45 // Compiler/platform contains the <sys/syscall.h> file.
46 #define ACE_HAS_SYS_SYSCALL_H
48 // Compiler/platform correctly calls init()/fini() for shared libraries.
49 #define ACE_HAS_AUTOMATIC_INIT_FINI
51 // Platform supports POSIX O_NONBLOCK semantics.
52 #define ACE_HAS_POSIX_NONBLOCK
54 // Compiler/platform has correctly prototyped header files.
55 #define ACE_HAS_CPLUSPLUS_HEADERS
57 // Compiler/platform supports SunOS high resolution timers.
58 #define ACE_HAS_HI_RES_TIMER
60 // Platform supports IP multicast
61 #define ACE_HAS_IP_MULTICAST
63 // Compiler/platform supports alloca()
64 // Although ACE does have alloca() on this compiler/platform combination, it is
65 // disabled by default since it can be dangerous. Uncomment the following line
66 // if you ACE to use it.
67 //#define ACE_HAS_ALLOCA
69 // Compiler/platform has <alloca.h>
70 #define ACE_HAS_ALLOCA_H
72 // Platform contains <poll.h>.
75 // Platform supports POSIX timers via timestruc_t.
76 #define ACE_HAS_POSIX_TIME
78 // Platform supports the /proc file system.
79 #define ACE_HAS_PROC_FS
81 // Platform supports the prusage_t struct.
82 #define ACE_HAS_PRUSAGE_T
84 // Compiler/platform defines the sig_atomic_t typedef.
85 #define ACE_HAS_SIG_ATOMIC_T
87 // Platform supports SVR4 extended signals.
88 #define ACE_HAS_SIGINFO_T
89 #define ACE_HAS_UCONTEXT_T
91 // Compiler/platform provides the sockio.h file.
92 #define ACE_HAS_SYS_SOCKIO_H
94 // Compiler supports the ssize_t typedef.
95 #define ACE_HAS_SSIZE_T
97 // Platform supports STREAMS.
98 #define ACE_HAS_STREAMS
100 // Platform supports STREAM pipes.
101 #define ACE_HAS_STREAM_PIPES
103 // Compiler/platform supports struct strbuf.
104 #define ACE_HAS_STRBUF_T
106 // Compiler/platform supports SVR4 dynamic linking semantics.
107 #define ACE_HAS_SVR4_DYNAMIC_LINKING
109 // Compiler/platform supports SVR4 gettimeofday() prototype.
110 #define ACE_HAS_SVR4_GETTIMEOFDAY
112 // Platform lacks pthread_sigaction
113 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK
115 // Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)...
116 #define ACE_HAS_SVR4_TLI
118 // Platform provides <sys/filio.h> header.
119 #define ACE_HAS_SYS_FILIO_H
121 #define ACE_HAS_STRSIGNAL
123 /* Turn off the following defines if you want to disable threading. */
124 // Compile using multi-thread libraries.
125 #if !defined (ACE_MT_SAFE)
126 # define ACE_MT_SAFE 1
127 # if !defined (_REENTRANT)
129 # endif /* _REENTRANT */
130 #endif /* !ACE_MT_SAFE */
132 // Platform supports Solaris threads.
133 #define ACE_HAS_STHREADS
135 // Platform supports threads.
136 #define ACE_HAS_THREADS
138 // Compiler/platform has thread-specific storage
139 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
141 // Platform supports reentrant functions (i.e., all the POSIX *_r functions).
142 #define ACE_HAS_REENTRANT_FUNCTIONS
144 /* end threading defines */
146 #define ACE_HAS_PRIOCNTL
147 #define ACE_NEEDS_LWP_PRIO_SET
149 // Platform supports TLI timod STREAMS module.
150 #define ACE_HAS_TIMOD_H
152 // Platform supports TLI tiuser header.
153 #define ACE_HAS_TIUSER_H
155 // Platform provides TLI function prototypes.
156 #define ACE_HAS_TLI_PROTOTYPES
158 // Platform supports TLI.
161 // Use the poll() event demultiplexor rather than select().
162 //#define ACE_USE_POLL
164 // Defines the page size of the system.
165 #define ACE_PAGE_SIZE 4096
166 #define ACE_HAS_IDTYPE_T
167 #define ACE_HAS_GPERF
168 #define ACE_HAS_DIRENT
170 #include /**/ "ace/post.h"
171 #endif /* ACE_CONFIG_H */