comparison src/s/sol2.h @ 44656:e080707a678b

(HAVE_LIBKSTAT): Define only if not already defined.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 17 Apr 2002 19:38:33 +0000
parents ac8c86ff7ee3
children 695cf19ef79e
comparison
equal deleted inserted replaced
44655:13e9258cbefb 44656:e080707a678b
25 25
26 #undef LIBS_SYSTEM 26 #undef LIBS_SYSTEM
27 #define LIBS_SYSTEM -lsocket -lnsl -lkstat 27 #define LIBS_SYSTEM -lsocket -lnsl -lkstat
28 28
29 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. 29 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
30 ghazi@caip.rutgers.edu, 7/21/97. */ 30 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
31 (e.g., by config.h). */
32 #ifndef HAVE_LIBKSTAT
31 #define HAVE_LIBKSTAT 33 #define HAVE_LIBKSTAT
34 #endif
32 35
33 /* eggert thinks all versions of SunPro C allowed this. */ 36 /* eggert thinks all versions of SunPro C allowed this. */
34 #ifndef __GNUC__ 37 #ifndef __GNUC__
35 #define C_DEBUG_SWITCH -g -O 38 #define C_DEBUG_SWITCH -g -O
36 #endif 39 #endif