comparison src/s/isc2-2.h @ 13464:65d38521e620

(LIB_STANDARD_1): New macro. (LIB_STANDARD): Use LIB_STANDARD_1. (LIBS_SYSTEM): Use it here too.
author Richard M. Stallman <rms@gnu.org>
date Fri, 10 Nov 1995 16:38:55 +0000
parents a47af2f30446
children 628ea901db49
comparison
equal deleted inserted replaced
13463:ce7dbe506659 13464:65d38521e620
37 37
38 /* -lPW is only needed if not using Gcc. We used to include -lcposix here 38 /* -lPW is only needed if not using Gcc. We used to include -lcposix here
39 for the rename function, but some people say ISC's rename doesn't 39 for the rename function, but some people say ISC's rename doesn't
40 work correctly with Emacs so we use Emacs' emulation instead. */ 40 work correctly with Emacs so we use Emacs' emulation instead. */
41 #if defined (__GNUC__) 41 #if defined (__GNUC__)
42 # define LIB_STANDARD -lcposix -lc 42 # define LIB_STANDARD_1 -lcposix
43 #else /* !__GNUC__ */ 43 #else /* !__GNUC__ */
44 # define LIB_STANDARD -lPW -lc 44 # define LIB_STANDARD_1 -lPW
45 #endif /* !__GNUC__ */ 45 #endif /* !__GNUC__ */
46
47 /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM
48 (the latter for the sake of configure). */
49 #define LIB_STANDARD LIB_STANDARD_1 -lc
46 50
47 #define NO_X_DESTROY_DATABASE 51 #define NO_X_DESTROY_DATABASE
48 52
49 /* May be needed to avoid undefined symbols such as gethostname, 53 /* -linet may be needed to avoid undefined symbols such as gethostname,
50 inet_addr, gethostbyname, socket, connect, ... But if we are not 54 inet_addr, gethostbyname, socket, connect, ... But if we are not
51 compiling with X support, it's not needed. */ 55 compiling with X support, it's not needed. */
52 #ifdef HAVE_X_WINDOWS 56 #ifdef HAVE_X_WINDOWS
53 #define LIBS_SYSTEM -linet 57 #define LIBS_SYSTEM -linet LIBS_STANDARD_1
58 #else
59 #define LIBS_SYSTEM LIBS_STANDARD_1
54 #endif 60 #endif
55 61
56 /* This system has job control. */ 62 /* This system has job control. */
57 #undef NOMULTIPLEJOBS 63 #undef NOMULTIPLEJOBS
58 64