aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-23 00:05:06 +0000
committerRichard M. Stallman1994-04-23 00:05:06 +0000
commit8adce06ac51a4abb372a345c15dabab88d2bd2d6 (patch)
tree956e68550199de1dccd5d4e2af961ebe1614d6f2
parent6eaebaa27883a013a7b948e2b6e14dd8617dede5 (diff)
downloademacs-8adce06ac51a4abb372a345c15dabab88d2bd2d6.tar.gz
emacs-8adce06ac51a4abb372a345c15dabab88d2bd2d6.zip
(LIBS_SYSTEM): Invert the HAVE_RES_INIT condition.
-rw-r--r--src/s/sunos4-1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h
index 87cb4383976..010aedc5f33 100644
--- a/src/s/sunos4-1.h
+++ b/src/s/sunos4-1.h
@@ -22,7 +22,9 @@
22 setting libsrc_libs to -lresolv in lib-src/Makefile. configure 22 setting libsrc_libs to -lresolv in lib-src/Makefile. configure
23 includes this file without defining any of the HAVE_* macros. */ 23 includes this file without defining any of the HAVE_* macros. */
24#ifdef HAVE_GETHOSTNAME 24#ifdef HAVE_GETHOSTNAME
25#ifndef HAVE_RES_INIT 25/* This was #ifndef, but Stephen P Potter <spp@cis.ufl.edu> says
26 it should be #ifdef. */
27#ifdef HAVE_RES_INIT
26#define LIBS_SYSTEM -lresolv 28#define LIBS_SYSTEM -lresolv
27#endif 29#endif
28#endif 30#endif