-/* On POSIX systems the system calls are interruptible by signals
- that the user program has elected to catch. Thus the system call
- must be retried in these cases. To handle this without massive
- changes in the source code, we remap the standard system call names
- to names for our own functions in sysdep.c that do the system call
- with retries. */
-
-#define read sys_read
-#define write sys_write
-#define open sys_open
-#define close sys_close
-
-#define INTERRUPTIBLE_OPEN
-#define INTERRUPTIBLE_CLOSE
-#define INTERRUPTIBLE_IO
-
-/* If you mount the proc file system somewhere other than /proc
- you will have to uncomment the following and make the proper
- changes */
-
-/* #define LINUX_LDAV_FILE "/proc/loadavg" */
-
-/* This is needed for dispnew.c:update_frame */
-
-#ifdef emacs
-#include <stdio.h> /* Get the definition of _IO_STDIO_H. */
-#if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM)
-/* new C libio names */
-#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
- ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
-#else /* !_IO_STDIO_H */
-/* old C++ iostream names */
-#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
- ((FILE)->_pptr - (FILE)->_pbase)
-#endif /* !_IO_STDIO_H */
-#endif /* emacs */
-
-/* Ask GCC where to find libgcc.a. */
-#define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name`
-
-#ifndef __ELF__
-/* GNU/Linux usually has crt0.o in a non-standard place */
-#define START_FILES pre-crt0.o /usr/lib/crt0.o
-#else
-#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
-#endif
-
-#ifdef __ELF__
-/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
- says where to find X windows at run time. */
-
-#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
-#endif /* __ELF__ */
-
-/* As of version 1.1.51, Linux did not actually implement SIGIO.
- But it works in newer versions. */
-/* Here we assume that signal.h is already included. */
-#ifdef emacs
-#ifdef LINUX_SIGIO_DOES_WORK
-#define INTERRUPT_INPUT
-#else
-#undef SIGIO
-/* Some versions of Linux define SIGURG and SIGPOLL as aliases for SIGIO.
- This prevents lossage in process.c. */
-#undef SIGURG
-#undef SIGPOLL
-#endif
-#endif
-
-/* This is needed for sysdep.c */
-
-#define NO_SIOCTL_H /* don't have sioctl.h */
-
-#define HAVE_VFORK
-#define HAVE_SYS_SIGLIST
-#define HAVE_GETWD /* cure conflict with getcwd? */
-#define HAVE_WAIT_HEADER
-
-#define SYSV_SYSTEM_DIR /* use dirent.h */
-