diff src/m/sun386.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 538048ae2ab8
children
line wrap: on
line diff
--- a/src/m/sun386.h	Mon Aug 13 09:42:28 2007 +0200
+++ b/src/m/sun386.h	Mon Aug 13 09:43:35 2007 +0200
@@ -55,16 +55,16 @@
 
 /* Must use the system's termcap.  It does special things.  */
 
-#define LIBS_TERMCAP -ltermcap
+#define LIBS_TERMCAP "-ltermcap"
 
 /* Arrange to link with sun windows, if requested.  */
 /* For details on emacstool and sunfns, see etc/SUN-SUPPORT */
 /* These programs require Sun UNIX 4.2 Release 3.2 or greater */
 
 #ifdef HAVE_SUN_WINDOWS
-#define OTHER_FILES  ${etcdir}emacstool
-#define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect
-#define OBJECTS_MACHINE sunfns.o
+#define OTHER_FILES " ${etcdir}emacstool"
+#define LIBS_MACHINE "-lsuntool -lsunwindow -lpixrect"
+#define OBJECTS_MACHINE "sunfns.o"
 #define SYMS_MACHINE syms_of_sunfns ()
 #define SYSTEM_PURESIZE_EXTRA 12000
 #endif
@@ -74,11 +74,11 @@
 
 /* XEmacs change:  from Thomas.Tornblom@nexus.comm.se */
 #ifdef USE_GCC
-#define C_SWITCH_MACHINE -static -Dmode_t="u_short" /* avoid dynamic linking */
-#define LD_SWITCH_MACHINE -Wl,-N -static
+#define C_SWITCH_MACHINE "-static -Dmode_t=\"u_short\"" /* avoid dynamic linking */
+#define LD_SWITCH_MACHINE "-Wl,-N -static"
 #else
-#define C_SWITCH_MACHINE -Bstatic -Dmode_t="u_short"/* avoid dynamic linking */
-#define LD_SWITCH_MACHINE -N -Bstatic
+#define C_SWITCH_MACHINE "-Bstatic -Dmode_t=\"u_short\""/* avoid dynamic linking */
+#define LD_SWITCH_MACHINE "-N -Bstatic"
 #endif
 
 /* Get rid of the -e __start that s-sunos4.h does.  */
@@ -87,4 +87,4 @@
 /* XEmacs addition? */
 #undef RUN_TIME_REMAP
 #undef UNEXEC
-#define UNEXEC unexec.o
+#define UNEXEC "unexec.o"