changeset 7031:adbebd010e43

(LIBS_SYSTEM): Invert the HAVE_RES_INIT condition.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 1994 00:05:06 +0000
parents 9e51b51e8595
children 2c8a6d503e76
files src/s/sunos4-1.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sunos4-1.h	Fri Apr 22 23:59:24 1994 +0000
+++ b/src/s/sunos4-1.h	Sat Apr 23 00:05:06 1994 +0000
@@ -22,7 +22,9 @@
    setting libsrc_libs to -lresolv in lib-src/Makefile.  configure
    includes this file without defining any of the HAVE_* macros.  */
 #ifdef HAVE_GETHOSTNAME
-#ifndef HAVE_RES_INIT
+/* This was #ifndef, but Stephen P Potter <spp@cis.ufl.edu> says
+   it should be #ifdef.  */
+#ifdef HAVE_RES_INIT
 #define LIBS_SYSTEM -lresolv
 #endif
 #endif