Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | abe6d1db359e |
children | 1ccc32a20af4 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
32 #undef HAVE_ALLOCA_H | 32 #undef HAVE_ALLOCA_H |
33 | 33 |
34 #ifndef NOT_C_CODE | 34 #ifndef NOT_C_CODE |
35 #ifdef __GNUC__ | 35 #ifdef __GNUC__ |
36 #define alloca __builtin_alloca | 36 #define alloca __builtin_alloca |
37 #elif HAVE_ALLOCA_H | 37 #elif defined __DECC |
38 #include <alloca.h> | |
39 #pragma intrinsic(alloca) | |
40 #elif defined HAVE_ALLOCA_H | |
38 #include <alloca.h> | 41 #include <alloca.h> |
39 #elif defined(_AIX) | 42 #elif defined(_AIX) |
40 #pragma alloca | 43 #pragma alloca |
41 #elif ! defined (alloca) | 44 #elif ! defined (alloca) |
42 char *alloca (); | 45 void *alloca (); |
43 #endif | 46 #endif |
44 #endif /* C code */ | 47 #endif /* C code */ |
45 | 48 |
46 /* Use this to add code in a structured way to FSF-maintained source | 49 /* Use this to add code in a structured way to FSF-maintained source |
47 files so as to make it obvious where XEmacs changes are. */ | 50 files so as to make it obvious where XEmacs changes are. */ |
170 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | 173 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ |
171 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT) | 174 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT) |
172 #define HAVE_UNIXOID_EVENT_LOOP | 175 #define HAVE_UNIXOID_EVENT_LOOP |
173 #endif | 176 #endif |
174 | 177 |
175 /* Are we using XFree386? */ | 178 /* XFree86 has a different prototype for this function */ |
176 #undef HAVE_XFREE386 | 179 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK |
180 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE | |
177 | 181 |
178 #undef THIS_IS_X11R4 | 182 #undef THIS_IS_X11R4 |
179 #undef THIS_IS_X11R5 | 183 #undef THIS_IS_X11R5 |
180 #undef THIS_IS_X11R6 | 184 #undef THIS_IS_X11R6 |
181 | 185 |
329 #undef HAVE_WAITPID | 333 #undef HAVE_WAITPID |
330 #undef HAVE_VSNPRINTF | 334 #undef HAVE_VSNPRINTF |
331 | 335 |
332 /* PTY support functions */ | 336 /* PTY support functions */ |
333 #undef HAVE_GETPT /* glibc's easy pty allocation function */ | 337 #undef HAVE_GETPT /* glibc's easy pty allocation function */ |
334 #undef HAVE__GETPT /* SGI's easy pty allocation function */ | 338 #undef HAVE__GETPTY /* SGI's easy pty allocation function */ |
335 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */ | 339 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */ |
336 #undef HAVE_GRANTPT /* Unix98 */ | 340 #undef HAVE_GRANTPT /* Unix98 */ |
337 #undef HAVE_UNLOCKPT /* Unix98 */ | 341 #undef HAVE_UNLOCKPT /* Unix98 */ |
338 #undef HAVE_PTSNAME /* Unix98 */ | 342 #undef HAVE_PTSNAME /* Unix98 */ |
339 #undef HAVE_KILLPG /* BSD */ | 343 #undef HAVE_KILLPG /* BSD */ |
340 #undef HAVE_TCGETPGRP /* Posix 1 */ | 344 #undef HAVE_TCGETPGRP /* Posix 1 */ |
341 #undef HAVE_ISASTREAM /* SysV streams */ | 345 #undef HAVE_ISASTREAM /* SysV streams */ |
342 #undef HAVE_PTY_H /* Linux, Tru64 openpty */ | 346 #undef HAVE_PTY_H /* Linux, Tru64 openpty */ |
343 #undef HAVE_LIBUTIL_H /* BSD openpty */ | 347 #undef HAVE_LIBUTIL_H /* BSD openpty */ |
344 #undef HAVE_SYS_STROPTS_H /* SysV streams */ | 348 #undef HAVE_STROPTS_H /* SysV streams */ |
345 #undef HAVE_SYS_STRTIO_H /* SysV streams TIOCSIGNAL */ | 349 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */ |
346 | 350 |
347 #undef HAVE_SOCKETS | 351 #undef HAVE_SOCKETS |
348 #undef HAVE_SOCKADDR_SUN_LEN | 352 #undef HAVE_SOCKADDR_SUN_LEN |
349 #undef HAVE_MULTICAST | 353 #undef HAVE_MULTICAST |
350 #undef HAVE_SYSVIPC | 354 #undef HAVE_SYSVIPC |
705 | 709 |
706 This appears to be fixed in SunOS 4.1.2. | 710 This appears to be fixed in SunOS 4.1.2. |
707 | 711 |
708 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that | 712 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that |
709 sometimes reference memory past the end of the string, which can segv. | 713 sometimes reference memory past the end of the string, which can segv. |
710 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */ | 714 I don't know whether this has been fixed as of 4.1.2 or 4.1.3. */ |
711 #if defined (sparc) && !defined (USG) | 715 #if defined (sparc) && !defined (USG) |
712 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o | 716 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o |
713 #endif | 717 #endif |
714 | 718 |
715 /* If you turn this flag on, it forces encapsulation in all | 719 /* If you turn this flag on, it forces encapsulation in all |