diff options
| author | Richard M. Stallman | 1995-11-10 16:38:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-10 16:38:55 +0000 |
| commit | e3bebca706a2694248930250f2ee5f1b99988cfe (patch) | |
| tree | 555a36c88dbbdaa6f3ea87bb6ed3cb6ad628ac4a /src | |
| parent | 643cf215b2b4569115c5a2c57dbf21a4d262684c (diff) | |
| download | emacs-e3bebca706a2694248930250f2ee5f1b99988cfe.tar.gz emacs-e3bebca706a2694248930250f2ee5f1b99988cfe.zip | |
(LIB_STANDARD_1): New macro.
(LIB_STANDARD): Use LIB_STANDARD_1.
(LIBS_SYSTEM): Use it here too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/isc2-2.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h index 1a8a966f4e6..79305e7594e 100644 --- a/src/s/isc2-2.h +++ b/src/s/isc2-2.h | |||
| @@ -39,18 +39,24 @@ | |||
| 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 | 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 | ||
| 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. */ |