summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-08 07:00:13 +0000
committerJim Blandy <jimb@redhat.com>1993-06-08 07:00:13 +0000
commit8f2d5456ade3f3f124983e3408040af6fcf7e185 (patch)
tree12133910284f440a880074398337033c07c89375
parente44e10e4ea3a76bd5b6f1d71e6679e6d3c0f0b96 (diff)
downloademacs-8f2d5456ade3f3f124983e3408040af6fcf7e185.tar.gz
* config.h.in (HAVE_LIBDNET): New macro, to be defined by
../configure. * m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET is #defined.
-rw-r--r--src/config.in1
-rw-r--r--src/m/pmax.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/config.in b/src/config.in
index abb3f114918..89858d31daf 100644
--- a/src/config.in
+++ b/src/config.in
@@ -96,6 +96,7 @@ and this notice must be preserved on all copies. */
#undef STACK_DIRECTION
#undef const
#undef UNEXEC_SRC
+#undef HAVE_LIBDNET
/* If using GNU, then support inline function declarations. */
#ifdef __GNUC__
diff --git a/src/m/pmax.h b/src/m/pmax.h
index 8cbc258dde7..bd3b298a960 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -50,10 +50,10 @@ NOTE-END */
#define HAVE_ALLOCA
#endif
-/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet.
- If you don't have DECnet and this causes trouble,
- just delete the definition. */
+/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
+#ifdef HAVE_LIBDNET
#define LIBS_MACHINE -ldnet
+#endif
/* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
#undef KERNEL_FILE