aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-22 20:17:29 +0000
committerRichard M. Stallman1994-05-22 20:17:29 +0000
commit967ac200e0b3b56ae7db1cf9373c91dd783d5d8c (patch)
tree2442e78d9ea3b938c398f08073bfd311fa2f89fc /src/s/gnu-linux.h
parent764d485b2158494c979a94fc0ec6c40013cb4983 (diff)
downloademacs-967ac200e0b3b56ae7db1cf9373c91dd783d5d8c.tar.gz
emacs-967ac200e0b3b56ae7db1cf9373c91dd783d5d8c.zip
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
(HAVE_XSCREENNUMBEROFSCREEN): Define these if not already defined.
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index f426c5212b1..66e952172aa 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -239,3 +239,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
239#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) 239#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
240#define ADJUST_EXEC_HEADER \ 240#define ADJUST_EXEC_HEADER \
241 unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) 241 unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr)
242
243/* In 19.23 and 19.24, configure sometimes fails to define these.
244 It has to do with the fact that configure uses CFLAGS when linking
245 while Makefile.in.in (erroneously) fails to do so when linking temacs. */
246#ifndef HAVE_GETTIMEOFDAY
247#define HAVE_GETTIMEOFDAY
248#endif
249#ifndef HAVE_MKDIR
250#define HAVE_MKDIR
251#endif
252#ifndef HAVE_RMDIR
253#define HAVE_RMDIR
254#endif
255#ifndef HAVE_XSCREENNUMBEROFSCREEN
256#define HAVE_XSCREENNUMBEROFSCREEN
257#endif