summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-30 04:28:44 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-30 04:28:44 +0000
commit073eddf928f262a906ee5c190bdd044fe8d3bc05 (patch)
tree13db1d44c52046975999edffa1df06f7eccced26
parent7ffe51d31a9247a17170a8a48373d9fdf5f98012 (diff)
downloademacs-073eddf928f262a906ee5c190bdd044fe8d3bc05.tar.gz
(LIBXMU): Alternative definition if CANNOT_DUMP.
-rw-r--r--src/s/sunos4shr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h
index d6335326bbb..403492a64bb 100644
--- a/src/s/sunos4shr.h
+++ b/src/s/sunos4shr.h
@@ -50,10 +50,14 @@
/* With X11R5 it was reported that linking -lXmu dynamically
did not work. With X11R6, it does work; and since normally
only the dynamic libraries are available, we should use them. */
+#ifdef CANNOT_DUMP
+#define LIBXMU -lXmu
+#else
#ifdef __GNUC__
#define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic
#else
#define LIBXMU -Bstatic -lXmu -Bdynamic
#endif
+#endif /* CANNOT_DUMP */
#endif /* not HAVE_X11R6 */