aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-12-26 04:35:42 +0000
committerRichard M. Stallman1995-12-26 04:35:42 +0000
commit6ef338b79955cc159b3330c0c9cbcf923d40434b (patch)
tree1ed1de73713260c0d1a19c9174b86280315cb583 /src
parent0ef68e8a27a67c430d2b2fed10cc43075b9c58f2 (diff)
downloademacs-6ef338b79955cc159b3330c0c9cbcf923d40434b.tar.gz
emacs-6ef338b79955cc159b3330c0c9cbcf923d40434b.zip
(LIBXMU): Replace previous change.
Bring back the old definition, but conditionalize on ! HAVE_X11R6.
Diffstat (limited to 'src')
-rw-r--r--src/s/sunos4shr.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h
index e373d3b6cad..b95160fe016 100644
--- a/src/s/sunos4shr.h
+++ b/src/s/sunos4shr.h
@@ -45,8 +45,14 @@
45 45
46#undef USE_DL_STUBS 46#undef USE_DL_STUBS
47 47
48#ifndef HAVE_X11R6
49/* With X11R5 it was reported that linking -lXmu dynamically
50 did not work. With X11R6, it does work; and since normally
51 only the dynamic libraries are available, we should use them. */
48#ifdef __GNUC__ 52#ifdef __GNUC__
49#define LIBXMU -Xlinker -Bdynamic -lXmu -Xlinker -Bdynamic 53#define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic
50#else 54#else
51#define LIBXMU -Bdynamic -lXmu -Bdynamic 55#define LIBXMU -Bstatic -lXmu -Bdynamic
52#endif 56#endif
57
58#endif /* not HAVE_X11R6 */