Mercurial > emacs
comparison src/s/sunos4-1.h @ 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 | ab37f52a4fe3 |
children | 978daca51b6b |
comparison
equal
deleted
inserted
replaced
7030:9e51b51e8595 | 7031:adbebd010e43 |
---|---|
20 detect the presence of res_init, use -lresolv to supplement libc.a. | 20 detect the presence of res_init, use -lresolv to supplement libc.a. |
21 The #ifdef HAVE_GETHOSTNAME is to prevent configure from | 21 The #ifdef HAVE_GETHOSTNAME is to prevent configure from |
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 |
29 | 31 |
30 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ | 32 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ |