From: "Ilya N. Golubev" <gin@mo.msk.ru>
Subject: sco5 -lgen
Date: Tue, 04 Nov 2003 23:46:16 +0300 [thread overview]
Message-ID: <02553fa8101749-gin@mo.msk.ru> (raw)
Version: 21.3
Currently "s/sco5.h" attempts to add `-lgen' to `LIBX11_SYSTEM' when
motif is enabled, but this does not work. That is, `MOTIF' does not
get defined when "s/sco5.h" is included while generating `Makefile',
even when motif is enabled. Perhaps something changed in c
preprocessor being used. Anyway, can not reproduce getting `MOTIF'
defined in "s/sco5.h" even in 21.1. So having `LIBX11_SYSTEM'
different when motif is enabled requires changes of `Makefile.in'.
* Makefile.in (LIBX11_SYSTEM): Move definition after possible
`MOTIF' definition.
(MOTIF_LIBX11_SYSTEM): New, to be defined by system include files.
* s/sco5.h (MOTIF_LIBX11_SYSTEM): Define.
(NOT_C_CODE): use `#ifndef's to enclose code that may be harmful
when generating `Makefile'.
===================================================================
RCS file: Makefile.in,v
retrieving revision 1.1
retrieving revision 1.1.1.1
diff -u -r1.1 -r1.1.1.1
--- Makefile.in 2003/11/04 20:29:42 1.1
+++ Makefile.in 2003/11/04 20:32:06 1.1.1.1
@@ -281,10 +281,6 @@
#define LIBX10_SYSTEM
#endif
-#ifndef LIBX11_SYSTEM
-#define LIBX11_SYSTEM
-#endif
-
#ifndef LIB_X11_LIB
#define LIB_X11_LIB -lX11
#endif
@@ -338,6 +334,9 @@
#else
LIBW= -lXm LIB_MOTIF_EXTRA
#endif
+#ifdef MOTIF_LIBX11_SYSTEM
+#define LIBX11_SYSTEM MOTIF_LIBX11_SYSTEM
+#endif /* def MOTIF_LIBX11_SYSTEM */
#endif
#ifdef OPEN_LOOK
LIBW= -lXol
@@ -353,6 +352,10 @@
#ifndef LIBXMU
#define LIBXMU -lXmu
+#endif
+
+#ifndef LIBX11_SYSTEM
+#define LIBX11_SYSTEM
#endif
#ifdef LIBXT_STATIC
===================================================================
RCS file: s/sco5.h,v
retrieving revision 1.2
retrieving revision 1.2.1.2
diff -u -r1.2 -r1.2.1.2
--- s/sco5.h 2003/10/30 18:39:46 1.2
+++ s/sco5.h 2003/11/04 20:33:04 1.2.1.2
@@ -71,11 +71,8 @@
if using X windows. */
#undef LIBX11_SYSTEM
#define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket
-#ifdef MOTIF
-# define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON
-#else /* ndef MOTIF */
-# define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON
-#endif /* ndef MOTIF */
+#define MOTIF_LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON
+#define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON
#undef LIB_X11_LIB
#define LIB_X11_LIB -lX11
@@ -114,6 +111,7 @@
#define START_FILES pre-crt0.o /lib/crt1.o
#define LIB_STANDARD -lc /lib/crtn.o
+#ifndef NOT_C_CODE
/* Send signals to subprocesses by "typing" signal chars at them. */
#define SIGNALS_VIA_CHARACTERS
@@ -149,6 +147,7 @@
#ifndef PENDING_OUTPUT_COUNT
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
#endif
+#endif /* not NOT_C_CODE */
/* Use ELF and get real shared libraries */
reply other threads:[~2003-11-04 20:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02553fa8101749-gin@mo.msk.ru \
--to=gin@mo.msk.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.