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-4.h < prev    next >
C/C++ Source or Header  |  1999-06-27  |  849b  |  30 lines

  1. /* Handle Solaris 2.4.  */
  2.  
  3. #include "sol2-3.h"
  4.  
  5. #define SOLARIS2_4
  6.  
  7. /* Get rid of -traditional and let const really do its thing.  */
  8.  
  9. #ifdef __GNUC__
  10. #undef C_SWITCH_SYSTEM
  11. #undef const
  12. #endif /* __GNUC__ */
  13.  
  14. #undef LD_SWITCH_SYSTEM
  15.  
  16. #ifndef __GNUC__
  17. #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX -R/usr/dt/lib -L/usr/dt/lib
  18. #else /* GCC */
  19. /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
  20.    has anything in it.  It can be empty.
  21.    This works ok in temacs.  */
  22. #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
  23.  `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R/usr/dt/lib -L/usr/dt/lib
  24. #endif /* GCC */
  25.  
  26. /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
  27.    are in this directory on Solaris 2.4.  */
  28. #define C_SWITCH_X_SYSTEM -I/usr/dt/include
  29.  
  30.