Mercurial > emacs
comparison src/s/gnu-linux.h @ 108507:ea7b1bab920f
Move LIB_GCC from cpp to configure.
* configure.in (LIB_GCC): New output variable.
* src/Makefile.in (LIB_GCC): Set using configure, not cpp.
(GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
* src/m/arm.h (LIB_GCC) [GNU_LINUX]:
* src/s/cygwin.h (LIB_GCC):
* src/s/freebsd.h (LIB_GCC):
* src/s/gnu-linux.h (LIB_GCC):
* src/s/msdos.h (LIB_GCC):
* src/s/netbsd.h (LIB_GCC):
Move to configure.
* msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 11 May 2010 20:01:16 -0700 |
parents | 203aa49071bf |
children | f8e62c2bf3e9 |
comparison
equal
deleted
inserted
replaced
108506:6fcaca6266ae | 108507:ea7b1bab920f |
---|---|
138 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ | 138 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ |
139 ((FILE)->_pptr - (FILE)->_pbase) | 139 ((FILE)->_pptr - (FILE)->_pbase) |
140 #endif /* !_IO_STDIO_H && ! __UCLIBC__ */ | 140 #endif /* !_IO_STDIO_H && ! __UCLIBC__ */ |
141 #endif /* emacs */ | 141 #endif /* emacs */ |
142 | 142 |
143 /* Ask GCC where to find libgcc.a. */ | |
144 #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` | |
145 | |
146 #ifdef emacs | 143 #ifdef emacs |
147 #define INTERRUPT_INPUT | 144 #define INTERRUPT_INPUT |
148 #endif | 145 #endif |
149 | 146 |
150 #define SYSV_SYSTEM_DIR /* use dirent.h */ | 147 #define SYSV_SYSTEM_DIR /* use dirent.h */ |
151 | 148 |
152 #define POSIX /* affects getpagesize.h and systty.h */ | 149 #define POSIX /* affects getpagesize.h and systty.h */ |
153 | |
154 #undef LIB_GCC | |
155 #define LIB_GCC | |
156 | 150 |
157 #define UNEXEC unexelf.o | 151 #define UNEXEC unexelf.o |
158 | 152 |
159 /* This is to work around mysterious gcc failures in some system versions. | 153 /* This is to work around mysterious gcc failures in some system versions. |
160 It is unlikely that Emacs changes will work around this problem; | 154 It is unlikely that Emacs changes will work around this problem; |