# HG changeset patch # User Richard M. Stallman # Date 767059506 0 # Node ID adbebd010e433ae5ba65b381e0238828eeb02da6 # Parent 9e51b51e859538b6b8abe9f3a9a9c1d490dc5407 (LIBS_SYSTEM): Invert the HAVE_RES_INIT condition. diff -r 9e51b51e8595 -r adbebd010e43 src/s/sunos4-1.h --- 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 says + it should be #ifdef. */ +#ifdef HAVE_RES_INIT #define LIBS_SYSTEM -lresolv #endif #endif