* config.h.in (HAVE_LIBDNET): New macro, to be defined by
authorJim Blandy <jimb@redhat.com>
Tue, 8 Jun 1993 07:00:13 +0000 (07:00 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 8 Jun 1993 07:00:13 +0000 (07:00 +0000)
../configure.
* m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET
is #defined.

src/config.in
src/m/pmax.h

index abb3f11..89858d3 100644 (file)
@@ -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__
index 8cbc258..bd3b298 100644 (file)
@@ -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