home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / e20313sr.zip / emacs / 20.3.1 / src / s / sol2-5.h < prev    next >
C/C++ Source or Header  |  1999-06-27  |  955b  |  31 lines

  1. /* Handle Solaris 2.5.  */
  2.  
  3. #include "sol2-4.h"
  4.  
  5. /* -lgen is needed for the regex and regcmp functions
  6.    which are used by Motif.  In the future we can try changing
  7.    regex.c to provide them in Emacs, but this is safer for now.  */
  8. #define LIB_MOTIF -lXm -lgen
  9.  
  10. /* This is the only known way to avoid some crashes
  11.    that seem to relate to screwed up malloc data
  12.    after deleting a frame.  */
  13. #define SYSTEM_MALLOC
  14.  
  15. #if 0 /* A recent patch in unexelf.c should eliminate the need for this.  */
  16. /* Don't use the shared libraries for -lXt and -lXaw,
  17.    to work around a linker bug in Solaris 2.5.
  18.    (This also affects the other libraries used specifically for
  19.    the X toolkit, which may not be necessary.)  */
  20. #define LIBXT_STATIC
  21.  
  22. #ifdef __GNUC__
  23. #define STATIC_OPTION -Xlinker -Bstatic
  24. #define DYNAMIC_OPTION -Xlinker -Bdynamic
  25. #else
  26. #define STATIC_OPTION -Bstatic
  27. #define DYNAMIC_OPTION -Bdynamic
  28. #endif
  29.  
  30. #endif /* 0 */
  31.