From 7fa3680263bf0bf54aef9824a4642fc603c9d3aa Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 10 Aug 1994 19:28:38 +0000 Subject: [PATCH] (LIBS_MACHINE): If SOLARIS2_4, don't define this. --- src/m/intel386.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/m/intel386.h b/src/m/intel386.h index b03f692e897..77e9e82adba 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h @@ -117,10 +117,14 @@ NOTE-END */ /* This is totally uncalibrated. */ #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) +#ifndef SOLARIS2_4 /* j.w.hawtin@lut.ac.uk says Solaris 2.1 on the X86 needs -lkvm, and it - already has FSCALE defined in a system header. configure thinks solaris - X86 has gethostname but it does not work so undefine it. */ + already has FSCALE defined in a system header. */ #define LIBS_MACHINE -lkvm +#endif + +/* configure thinks solaris X86 has gethostname, but it does not work, + so undefine it. */ #undef HAVE_GETHOSTNAME #else /* not SOLARIS2 */ -- 2.39.5