aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-07-12 17:14:13 -0400
committerGlenn Morris2012-07-12 17:14:13 -0400
commitba9e4b84ac8322e84cd0cc1c5fe6d5d8a8453ff5 (patch)
tree43ee247f654ae26a785c95c9c4a4ba3bef2ea3af
parenta7208036ed514ead06b0e95bdcdb306adb91e0df (diff)
downloademacs-ba9e4b84ac8322e84cd0cc1c5fe6d5d8a8453ff5.tar.gz
emacs-ba9e4b84ac8322e84cd0cc1c5fe6d5d8a8453ff5.zip
Move NO_EDITRES from src/s to configure
* configure.ac (NO_EDITRES): Move here from src/s. * src/s/aix4-2.h, src/s/hpux10-20.h: Let configure set NO_EDITRES.
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac19
-rw-r--r--src/ChangeLog10
-rw-r--r--src/s/aix4-2.h5
-rw-r--r--src/s/hpux10-20.h4
5 files changed, 25 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index a7aad6a0734..850eb040376 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,7 +5,7 @@
5 5
6 * configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME) 6 * configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME)
7 (BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO) 7 (BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO)
8 (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER) 8 (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES)
9 (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN) 9 (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
10 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP) 10 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
11 (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS) 11 (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
diff --git a/configure.ac b/configure.ac
index 6ac53bbd64d..1a37f044295 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2137,6 +2137,7 @@ dnl tranle@intellicorp.com says libXmu.a can need XtMalloc in libXt.a to link.
2137 fi 2137 fi
2138 AC_CHECK_LIB(Xmu, XmuConvertStandardSelection) 2138 AC_CHECK_LIB(Xmu, XmuConvertStandardSelection)
2139 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS" 2139 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
2140 dnl ac_cv_lib_Xmu_XmuConvertStandardSelection is also referenced below.
2140fi 2141fi
2141AC_SUBST(LIBXTR6) 2142AC_SUBST(LIBXTR6)
2142 2143
@@ -3149,6 +3150,24 @@ AC_DEFINE(HAVE_SOCKETS, 1, [Define if the system supports
3149 4.2-compatible sockets.]) 3150 4.2-compatible sockets.])
3150 3151
3151 3152
3153AH_TEMPLATE(NO_EDITRES, [Define if XEditRes should not be used.])
3154
3155case $opsys in
3156 aix4-2)
3157 dnl Unfortunately without libXmu we cannot support EditRes.
3158 if test x$ac_cv_lib_Xmu_XmuConvertStandardSelection != xyes; then
3159 AC_DEFINE(NO_EDITRES, 1)
3160 fi
3161 ;;
3162
3163 hpux*)
3164 dnl Assar Westerlund <assar@sics.se> says this is necessary for
3165 dnl HP-UX 10.20, and that it works for HP-UX 0 as well.
3166 AC_DEFINE(NO_EDITRES, 1)
3167 ;;
3168esac
3169
3170
3152case $opsys in 3171case $opsys in
3153 darwin | gnu | hpux* | *bsd ) 3172 darwin | gnu | hpux* | *bsd )
3154 AC_DEFINE(NO_TERMIO, 1, [Define if termio.h should not be included.]) 3173 AC_DEFINE(NO_TERMIO, 1, [Define if termio.h should not be included.])
diff --git a/src/ChangeLog b/src/ChangeLog
index f0b532df145..49014c340dc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,8 +1,3 @@
12012-07-12 Glenn Morris <rgm@gnu.org>
2
3 * s/gnu-linux.h, s/hpux10-20.h:
4 Do not unconditionally define HAVE_XRMSETDATABASE.
5
62012-07-12 Eli Zaretskii <eliz@gnu.org> 12012-07-12 Eli Zaretskii <eliz@gnu.org>
7 2
8 * xdisp.c (insert_left_trunc_glyphs): Fix incorrect size in 3 * xdisp.c (insert_left_trunc_glyphs): Fix incorrect size in
@@ -19,6 +14,11 @@
19 14
202012-07-12 Glenn Morris <rgm@gnu.org> 152012-07-12 Glenn Morris <rgm@gnu.org>
21 16
17 * s/aix4-2.h, s/hpux10-20.h: Let configure set NO_EDITRES.
18
19 * s/gnu-linux.h, s/hpux10-20.h:
20 Do not unconditionally define HAVE_XRMSETDATABASE.
21
22 * s/gnu-linux.h (UNIX98_PTYS): Let configure set it. 22 * s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
23 23
242012-07-12 Paul Eggert <eggert@cs.ucla.edu> 242012-07-12 Paul Eggert <eggert@cs.ucla.edu>
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 49eabfc8466..55000f6f279 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -32,11 +32,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ 32/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
33#undef sigmask 33#undef sigmask
34 34
35#ifndef HAVE_LIBXMU
36/* Unfortunately without libXmu we cannot support EditRes. */
37#define NO_EDITRES
38#endif
39
40/* Conservative garbage collection has not been tested, so for now 35/* Conservative garbage collection has not been tested, so for now
41 play it safe and stick with the old-fashioned way of marking. */ 36 play it safe and stick with the old-fashioned way of marking. */
42#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE 37#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 00b384f1f3c..6115565e9d0 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -26,10 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27/* Special hacks needed to make Emacs run on this system. */ 27/* Special hacks needed to make Emacs run on this system. */
28 28
29/* Assar Westerlund <assar@sics.se> says this is necessary for
30 HP-UX 10.20, and that it works for HP-UX 0 as well. */
31#define NO_EDITRES
32
33/* We have to go this route, rather than hpux9's approach of renaming the 29/* We have to go this route, rather than hpux9's approach of renaming the
34 functions via macros. The system's stdlib.h has fully prototyped 30 functions via macros. The system's stdlib.h has fully prototyped
35 declarations, which yields a conflicting definition of srand48; it 31 declarations, which yields a conflicting definition of srand48; it