1 /* Handle Solaris 2.5. */
7 /* -lgen is needed for the regex and regcmp functions
8 which are used by Motif. In the future we can try changing
9 regex.c to provide them in Emacs, but this is safer for now. */
10 #define LIB_MOTIF -lXm -lgen
12 /* This is the only known way to avoid some crashes
13 that seem to relate to screwed up malloc data
14 after deleting a frame. */
15 /* rms: I think the problems using ralloc had to do with system
16 libraries that called the system malloc even if we linked in the
17 GNU malloc. I could not see any way to fix the problem except to
18 have just one malloc and that had to be the system one. */
19 /* This is not always necessary. Turned off at present for testers to
20 identify any problems with gmalloc more accurately. */
21 /* #define SYSTEM_MALLOC */
23 /* There have problems reported with mmap at least on Solaris 2.6
24 and 2.7. For simplicity, let's not use mmap for anything >= 2.5.
25 We can optimize this later. */
27 #undef USE_MMAP_FOR_BUFFERS
29 /* Newer versions of Solaris have bcopy etc. as functions, with
30 prototypes in strings.h. They lose if the defines from usg5-4.h
31 are visible, which happens when X headers are included. */