summaryrefslogtreecommitdiff
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-22 20:17:29 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-22 20:17:29 +0000
commit92dbe0541210369fa7e85df9129b6299099bfb81 (patch)
tree01f94a9c9ca6b628465db02e950d370243bf425b /src/s/gnu-linux.h
parentbf58ba471bfa1ca7f811a945b8494a403511c894 (diff)
downloademacs-92dbe0541210369fa7e85df9129b6299099bfb81.tar.gz
(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. */
#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
#define ADJUST_EXEC_HEADER \
unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr)
+
+/* In 19.23 and 19.24, configure sometimes fails to define these.
+ It has to do with the fact that configure uses CFLAGS when linking
+ while Makefile.in.in (erroneously) fails to do so when linking temacs. */
+#ifndef HAVE_GETTIMEOFDAY
+#define HAVE_GETTIMEOFDAY
+#endif
+#ifndef HAVE_MKDIR
+#define HAVE_MKDIR
+#endif
+#ifndef HAVE_RMDIR
+#define HAVE_RMDIR
+#endif
+#ifndef HAVE_XSCREENNUMBEROFSCREEN
+#define HAVE_XSCREENNUMBEROFSCREEN
+#endif