changeset 3571:6c1a1b79536c

* 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.
author Jim Blandy <jimb@redhat.com>
date Tue, 08 Jun 1993 07:00:13 +0000
parents 8324ae8fe473
children 0810187da5d9
files src/config.in src/m/pmax.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Tue Jun 08 06:59:37 1993 +0000
+++ b/src/config.in	Tue Jun 08 07:00:13 1993 +0000
@@ -96,6 +96,7 @@
 #undef STACK_DIRECTION
 #undef const
 #undef UNEXEC_SRC
+#undef HAVE_LIBDNET
 
 /* If using GNU, then support inline function declarations. */
 #ifdef __GNUC__
--- a/src/m/pmax.h	Tue Jun 08 06:59:37 1993 +0000
+++ b/src/m/pmax.h	Tue Jun 08 07:00:13 1993 +0000
@@ -50,10 +50,10 @@
 #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