comparison src/s/hpux9.h @ 276:6330739388db r21-0b36

Import from CVS: tag r21-0b36
author cvs
date Mon, 13 Aug 2007 10:30:37 +0200
parents c5d627a313b1
children
comparison
equal deleted inserted replaced
275:a68ae4439f57 276:6330739388db
40 #else 40 #else
41 #define C_SWITCH_SYSTEM "-D_BSD" 41 #define C_SWITCH_SYSTEM "-D_BSD"
42 */ 42 */
43 #endif 43 #endif
44 44
45 /* According to ngorelic@speclab.cr.usgs.gov,
46 references to the X11R4 directories in these variables
47 (inherited from hpux8.h)
48 cause the wrong libraries to be found,
49 and the options to specify the X11R5 directories are unnecessary
50 since the R5 files are found without them. */
51 #undef LIB_X11_LIB
52 #undef C_SWITCH_X_SYSTEM
53 #undef LD_SWITCH_X_SYSTEM
54 /* However, HPUX 9 has Motif includes in a strange place.
55 So search that place. These definitions assume that X11R5 is being
56 used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */
57 /* XEmacs change: Change LD_SWITCH_X_DEFAULT to LD_SWITCH_X_SYSTEM.
58 #### Why do we need to make this change? */
59 #define C_SWITCH_X_SYSTEM "-I/usr/include/X11R5 -I/usr/include/Motif1.2"
60 #define LD_SWITCH_X_SYSTEM "-L/usr/lib/X11R5 -L/usr/lib/Motif1.2"
61
62 #ifndef HAVE_LIBXMU
63 /* HP-UX doesn't supply Xmu. */
64 #define LIBXMU
65
66 /* Unfortunately without libXmu we cannot support EditRes. */
67 #define NO_EDITRES
68 #endif
69
70 /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */
71 #undef LIBX11_SYSTEM
72
73 /* XEmacs: apparently rint() is totally broken in HPUX 9. */ 45 /* XEmacs: apparently rint() is totally broken in HPUX 9. */
74 #undef HAVE_RINT 46 #undef HAVE_RINT
75 47
76 /* XEmacs: avoid using -lcurses, to make the binary portable from 9.X to 10.X */ 48 /* XEmacs: avoid using -lcurses, to make the binary portable from 9.X to 10.X */
77 #undef LIBS_TERMCAP 49 #undef LIBS_TERMCAP