Commit 08ae9134 authored by Brian Fox's avatar Brian Fox

* Added fixes from Karl Berry for ISC-2.2.

(LIB_STANDARD): Do not include -lcposix.
(C_SWITCH_SYSTEM) [__GNUC__]: Do not use -traditional.
parent 97e98a56
......@@ -15,7 +15,7 @@
/* This keeps the .cdbx section that gcc puts out when generating
stabs-in-coff output, so Emacs can be debugged.*/
stabs-in-coff output, so Emacs can be debugged. */
/* We can support lock files. */
......@@ -27,12 +27,21 @@
/* -lcposix is always needed for rename. -lPW is only needed if not gcc. */
#ifdef __GNUC__
#define LIB_STANDARD -lcposix -lc
#define LIB_STANDARD -lPW -lcposix -lc
/* Tell gmalloc.c that we don't have memmove (system include files to the
contrary!). */
/* Send a signal to a subprocess by "typing" a signal character. */
/* -lPW is only needed if not using Gcc. We used to include -lcposix here
for the rename function, but some pepople saus ISC's renames doesn't
work correctly with Emacs so we use Emacs' emulation instead. */
#if defined (__GNUC__)
# define LIB_STANDARD -lcposix -lc
#else /* !__GNUC__ */
# define LIB_STANDARD -lPW -lc
#endif /* !__GNUC__ */
/* says this is needed for process.c. */
#define USE_UTIME
......@@ -57,9 +66,11 @@
unconditionally define this. */
#define NO_ASM
/* The POSIX-ified system headers don't work with GCC. */
#ifdef __GNUC__
#define C_SWITCH_SYSTEM -traditional
/* -traditional is not necessary if the system header files are fixed to
define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4
on do this. */
#if !defined (__GNUC__) || __GNUC__ < 2
# define C_SWITCH_SYSTEM -traditional
/* Some versions of ISC are said to define S_IFLNK even tho
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment