diff options
| author | Glenn Morris | 2010-06-29 20:43:30 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-06-29 20:43:30 -0700 |
| commit | a46007e939dcdb94301d4ea6eb94539cfa580e1d (patch) | |
| tree | c27b46af22c17368b54715c8d05c9d4d7be7b466 | |
| parent | e7586c7a671ea10004afc3d8e48718eed8c7ce26 (diff) | |
| download | emacs-a46007e939dcdb94301d4ea6eb94539cfa580e1d.tar.gz emacs-a46007e939dcdb94301d4ea6eb94539cfa580e1d.zip | |
* configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM):
Set with AC_DEFINE rather than AH_BOTTOM.
* src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now.
* admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM.
* configure, src/config.in: Regenerate.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | admin/CPP-DEFINES | 1 | ||||
| -rwxr-xr-x | configure | 29 | ||||
| -rw-r--r-- | configure.in | 71 | ||||
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/config.in | 49 | ||||
| -rw-r--r-- | src/s/sol2-6.h | 4 |
7 files changed, 75 insertions, 84 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-06-30 Glenn Morris <rgm@gnu.org> | 1 | 2010-06-30 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): | ||
| 4 | Set with AC_DEFINE rather than AH_BOTTOM. | ||
| 5 | |||
| 3 | * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC): | 6 | * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC): |
| 4 | (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH, CFLAGS, REAL_CFLAGS): | 7 | (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH, CFLAGS, REAL_CFLAGS): |
| 5 | Set with shell, not cpp. | 8 | Set with shell, not cpp. |
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index db96443ad48..8dfb8e2d600 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -203,7 +203,6 @@ HAVE_WINDOW_SYSTEM | |||
| 203 | HAVE_WORKING_VFORK | 203 | HAVE_WORKING_VFORK |
| 204 | HAVE_XRMSETDATABASE | 204 | HAVE_XRMSETDATABASE |
| 205 | HPUX | 205 | HPUX |
| 206 | INHIBIT_X11R6_XIM | ||
| 207 | INTERNAL_TERMINAL | 206 | INTERNAL_TERMINAL |
| 208 | IS_ANY_SEP | 207 | IS_ANY_SEP |
| 209 | IS_DIRECTORY_SEP | 208 | IS_DIRECTORY_SEP |
| @@ -5393,12 +5393,12 @@ fi | |||
| 5393 | 5393 | ||
| 5394 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5394 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
| 5395 | then | 5395 | then |
| 5396 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" | 5396 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" |
| 5397 | fi | 5397 | fi |
| 5398 | 5398 | ||
| 5399 | if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x | 5399 | if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x |
| 5400 | then | 5400 | then |
| 5401 | ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" | 5401 | ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" |
| 5402 | fi | 5402 | fi |
| 5403 | 5403 | ||
| 5404 | 5404 | ||
| @@ -5898,7 +5898,7 @@ eval as_val=\$$as_ac_Header | |||
| 5898 | cat >>confdefs.h <<_ACEOF | 5898 | cat >>confdefs.h <<_ACEOF |
| 5899 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5899 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5900 | _ACEOF | 5900 | _ACEOF |
| 5901 | 5901 | have_sound_header=yes | |
| 5902 | fi | 5902 | fi |
| 5903 | 5903 | ||
| 5904 | done | 5904 | done |
| @@ -6099,6 +6099,17 @@ $as_echo "#define HAVE_ALSA 1" >>confdefs.h | |||
| 6099 | 6099 | ||
| 6100 | fi | 6100 | fi |
| 6101 | 6101 | ||
| 6102 | if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then | ||
| 6103 | case "$opsys" in | ||
| 6104 | gnu-linux|freebsd|netbsd) | ||
| 6105 | |||
| 6106 | $as_echo "#define HAVE_SOUND 1" >>confdefs.h | ||
| 6107 | |||
| 6108 | ;; | ||
| 6109 | esac | ||
| 6110 | fi | ||
| 6111 | |||
| 6112 | |||
| 6102 | fi | 6113 | fi |
| 6103 | 6114 | ||
| 6104 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6115 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| @@ -8175,6 +8186,18 @@ $as_echo "6 or newer" >&6; } | |||
| 8175 | 8186 | ||
| 8176 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 8187 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h |
| 8177 | 8188 | ||
| 8189 | |||
| 8190 | $as_echo "#define HAVE_X_I18N 1" >>confdefs.h | ||
| 8191 | |||
| 8192 | ## inoue@ainet.or.jp says Solaris has a bug related to X11R6-style | ||
| 8193 | ## XIM support. | ||
| 8194 | case "$opsys" in | ||
| 8195 | sol2-*) : ;; | ||
| 8196 | *) | ||
| 8197 | $as_echo "#define HAVE_X11R6_XIM 1" >>confdefs.h | ||
| 8198 | |||
| 8199 | ;; | ||
| 8200 | esac | ||
| 8178 | else | 8201 | else |
| 8179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 8202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 |
| 8180 | $as_echo "before 6" >&6; } | 8203 | $as_echo "before 6" >&6; } |
diff --git a/configure.in b/configure.in index 2e5ed9497b7..48f0716a482 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -810,12 +810,12 @@ dnl Add our options to ac_link now, after it is set up. | |||
| 810 | 810 | ||
| 811 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 811 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
| 812 | then | 812 | then |
| 813 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" | 813 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" |
| 814 | fi | 814 | fi |
| 815 | 815 | ||
| 816 | if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x | 816 | if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x |
| 817 | then | 817 | then |
| 818 | ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" | 818 | ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" |
| 819 | fi | 819 | fi |
| 820 | 820 | ||
| 821 | dnl We need -znocombreloc if we're using a relatively recent GNU ld. | 821 | dnl We need -znocombreloc if we're using a relatively recent GNU ld. |
| @@ -866,7 +866,7 @@ if test "x$SPECIFIED_CFLAGS" = x; then | |||
| 866 | REAL_CFLAGS= | 866 | REAL_CFLAGS= |
| 867 | fi | 867 | fi |
| 868 | else | 868 | else |
| 869 | REAL_CFLAGS="$CFLAGS" | 869 | REAL_CFLAGS="$CFLAGS" |
| 870 | fi | 870 | fi |
| 871 | 871 | ||
| 872 | 872 | ||
| @@ -1155,7 +1155,8 @@ AC_DEFUN([PKG_CHECK_MODULES], [ | |||
| 1155 | 1155 | ||
| 1156 | if test "${with_sound}" != "no"; then | 1156 | if test "${with_sound}" != "no"; then |
| 1157 | # Sound support for GNU/Linux and the free BSDs. | 1157 | # Sound support for GNU/Linux and the free BSDs. |
| 1158 | AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h) | 1158 | AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h, |
| 1159 | have_sound_header=yes) | ||
| 1159 | # Emulation library used on NetBSD. | 1160 | # Emulation library used on NetBSD. |
| 1160 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) | 1161 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
| 1161 | AC_SUBST(LIBSOUND) | 1162 | AC_SUBST(LIBSOUND) |
| @@ -1188,6 +1189,19 @@ if test "${with_sound}" != "no"; then | |||
| 1188 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 1189 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
| 1189 | AC_DEFINE(HAVE_ALSA, 1, [Define to 1 if ALSA is available.]) | 1190 | AC_DEFINE(HAVE_ALSA, 1, [Define to 1 if ALSA is available.]) |
| 1190 | fi | 1191 | fi |
| 1192 | |||
| 1193 | dnl Define HAVE_SOUND if we have sound support. We know it works and | ||
| 1194 | dnl compiles only on the specified platforms. For others, it | ||
| 1195 | dnl probably doesn't make sense to try. | ||
| 1196 | if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then | ||
| 1197 | case "$opsys" in | ||
| 1198 | dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ | ||
| 1199 | gnu-linux|freebsd|netbsd) | ||
| 1200 | AC_DEFINE(HAVE_SOUND, 1, [Define to 1 if you have sound support.]) | ||
| 1201 | ;; | ||
| 1202 | esac | ||
| 1203 | fi | ||
| 1204 | |||
| 1191 | AC_SUBST(CFLAGS_SOUND) | 1205 | AC_SUBST(CFLAGS_SOUND) |
| 1192 | fi | 1206 | fi |
| 1193 | 1207 | ||
| @@ -1777,6 +1791,15 @@ fail; | |||
| 1777 | AC_MSG_RESULT(6 or newer) | 1791 | AC_MSG_RESULT(6 or newer) |
| 1778 | AC_DEFINE(HAVE_X11R6, 1, | 1792 | AC_DEFINE(HAVE_X11R6, 1, |
| 1779 | [Define to 1 if you have the X11R6 or newer version of Xlib.]) | 1793 | [Define to 1 if you have the X11R6 or newer version of Xlib.]) |
| 1794 | AC_DEFINE(HAVE_X_I18N, 1, [Define if you have usable i18n support.]) | ||
| 1795 | ## inoue@ainet.or.jp says Solaris has a bug related to X11R6-style | ||
| 1796 | ## XIM support. | ||
| 1797 | case "$opsys" in | ||
| 1798 | sol2-*) : ;; | ||
| 1799 | *) AC_DEFINE(HAVE_X11R6_XIM, 1, | ||
| 1800 | [Define if you have usable X11R6-style XIM support.]) | ||
| 1801 | ;; | ||
| 1802 | esac | ||
| 1780 | else | 1803 | else |
| 1781 | AC_MSG_RESULT(before 6) | 1804 | AC_MSG_RESULT(before 6) |
| 1782 | fi | 1805 | fi |
| @@ -3453,25 +3476,6 @@ AH_BOTTOM([ | |||
| 3453 | /* Turned on June 1996 supposing nobody will mind it. */ | 3476 | /* Turned on June 1996 supposing nobody will mind it. */ |
| 3454 | #define AMPERSAND_FULL_NAME | 3477 | #define AMPERSAND_FULL_NAME |
| 3455 | 3478 | ||
| 3456 | /* Define HAVE_SOUND if we have sound support. We know it works | ||
| 3457 | and compiles only on the specified platforms. For others, | ||
| 3458 | it probably doesn't make sense to try. */ | ||
| 3459 | |||
| 3460 | #if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ | ||
| 3461 | #ifdef HAVE_MACHINE_SOUNDCARD_H | ||
| 3462 | #define HAVE_SOUND 1 | ||
| 3463 | #endif | ||
| 3464 | #ifdef HAVE_SYS_SOUNDCARD_H | ||
| 3465 | #define HAVE_SOUND 1 | ||
| 3466 | #endif | ||
| 3467 | #ifdef HAVE_SOUNDCARD_H | ||
| 3468 | #define HAVE_SOUND 1 | ||
| 3469 | #endif | ||
| 3470 | #ifdef HAVE_ALSA | ||
| 3471 | #define HAVE_SOUND 1 | ||
| 3472 | #endif | ||
| 3473 | #endif /* __FreeBSD__ || __NetBSD__ || __linux__ */ | ||
| 3474 | |||
| 3475 | /* If using GNU, then support inline function declarations. */ | 3479 | /* If using GNU, then support inline function declarations. */ |
| 3476 | /* Don't try to switch on inline handling as detected by AC_C_INLINE | 3480 | /* Don't try to switch on inline handling as detected by AC_C_INLINE |
| 3477 | generally, because even if non-gcc compilers accept `inline', they | 3481 | generally, because even if non-gcc compilers accept `inline', they |
| @@ -3500,9 +3504,9 @@ AH_BOTTOM([ | |||
| 3500 | parallel this exactly since GNUstep is multi-OS. */ | 3504 | parallel this exactly since GNUstep is multi-OS. */ |
| 3501 | #ifdef HAVE_NS | 3505 | #ifdef HAVE_NS |
| 3502 | # ifdef NS_IMPL_GNUSTEP | 3506 | # ifdef NS_IMPL_GNUSTEP |
| 3503 | /* GNUstep needs a bit more pure memory. Of the existing knobs, | 3507 | /* GNUstep needs a bit more pure memory. Of the existing knobs, |
| 3504 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ | 3508 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ |
| 3505 | # define SYSTEM_PURESIZE_EXTRA 30000 | 3509 | # define SYSTEM_PURESIZE_EXTRA 30000 |
| 3506 | # endif /* NS_IMPL_GNUSTEP */ | 3510 | # endif /* NS_IMPL_GNUSTEP */ |
| 3507 | #endif /* HAVE_NS */ | 3511 | #endif /* HAVE_NS */ |
| 3508 | 3512 | ||
| @@ -3562,9 +3566,8 @@ extern char *getenv (); | |||
| 3562 | #endif | 3566 | #endif |
| 3563 | #endif | 3567 | #endif |
| 3564 | 3568 | ||
| 3565 | /* Define if the compiler supports function prototypes. It may do so | 3569 | /* Define if the compiler supports function prototypes. It may do so but |
| 3566 | but not define __STDC__ (e.g. DEC C by default) or may define it as | 3570 | not define __STDC__ (e.g. DEC C by default) or may define it as zero. */ |
| 3567 | zero. */ | ||
| 3568 | #undef PROTOTYPES | 3571 | #undef PROTOTYPES |
| 3569 | /* For mktime.c: */ | 3572 | /* For mktime.c: */ |
| 3570 | #ifndef __P | 3573 | #ifndef __P |
| @@ -3605,18 +3608,6 @@ void *alloca (size_t); | |||
| 3605 | typedef unsigned size_t; | 3608 | typedef unsigned size_t; |
| 3606 | #endif | 3609 | #endif |
| 3607 | 3610 | ||
| 3608 | /* Define HAVE_X_I18N if we have usable i18n support. */ | ||
| 3609 | |||
| 3610 | #ifdef HAVE_X11R6 | ||
| 3611 | #define HAVE_X_I18N | ||
| 3612 | #endif | ||
| 3613 | |||
| 3614 | /* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */ | ||
| 3615 | |||
| 3616 | #if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM | ||
| 3617 | #define HAVE_X11R6_XIM | ||
| 3618 | #endif | ||
| 3619 | |||
| 3620 | #if defined __GNUC__ && (__GNUC__ > 2 \ | 3611 | #if defined __GNUC__ && (__GNUC__ > 2 \ |
| 3621 | || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) | 3612 | || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) |
| 3622 | #define NO_RETURN __attribute__ ((__noreturn__)) | 3613 | #define NO_RETURN __attribute__ ((__noreturn__)) |
diff --git a/src/ChangeLog b/src/ChangeLog index dc0dd35e632..2670410284b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-06-30 Glenn Morris <rgm@gnu.org> | 1 | 2010-06-30 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now. | ||
| 4 | |||
| 3 | * Makefile.in (CANNOT_DUMP): Update for configure name change. | 5 | * Makefile.in (CANNOT_DUMP): Update for configure name change. |
| 4 | 6 | ||
| 5 | * s/freebsd.h (USE_MMAP_FOR_BUFFERS): | 7 | * s/freebsd.h (USE_MMAP_FOR_BUFFERS): |
diff --git a/src/config.in b/src/config.in index 098edeafd4a..e796e30b79d 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -588,6 +588,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 588 | /* Define to 1 if the system has the type `size_t'. */ | 588 | /* Define to 1 if the system has the type `size_t'. */ |
| 589 | #undef HAVE_SIZE_T | 589 | #undef HAVE_SIZE_T |
| 590 | 590 | ||
| 591 | /* Define to 1 if you have sound support. */ | ||
| 592 | #undef HAVE_SOUND | ||
| 593 | |||
| 591 | /* Define to 1 if you have the <soundcard.h> header file. */ | 594 | /* Define to 1 if you have the <soundcard.h> header file. */ |
| 592 | #undef HAVE_SOUNDCARD_H | 595 | #undef HAVE_SOUNDCARD_H |
| 593 | 596 | ||
| @@ -765,6 +768,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 765 | /* Define to 1 if you have the X11R6 or newer version of Xlib. */ | 768 | /* Define to 1 if you have the X11R6 or newer version of Xlib. */ |
| 766 | #undef HAVE_X11R6 | 769 | #undef HAVE_X11R6 |
| 767 | 770 | ||
| 771 | /* Define if you have usable X11R6-style XIM support. */ | ||
| 772 | #undef HAVE_X11R6_XIM | ||
| 773 | |||
| 768 | /* Define to 1 if you have the X11R6 or newer version of Xt. */ | 774 | /* Define to 1 if you have the X11R6 or newer version of Xt. */ |
| 769 | #undef HAVE_X11XTR6 | 775 | #undef HAVE_X11XTR6 |
| 770 | 776 | ||
| @@ -795,6 +801,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 795 | /* Define to 1 if you have the `XSetWMProtocols' function. */ | 801 | /* Define to 1 if you have the `XSetWMProtocols' function. */ |
| 796 | #undef HAVE_XSETWMPROTOCOLS | 802 | #undef HAVE_XSETWMPROTOCOLS |
| 797 | 803 | ||
| 804 | /* Define if you have usable i18n support. */ | ||
| 805 | #undef HAVE_X_I18N | ||
| 806 | |||
| 798 | /* Define to 1 if you have the SM library (-lSM). */ | 807 | /* Define to 1 if you have the SM library (-lSM). */ |
| 799 | #undef HAVE_X_SM | 808 | #undef HAVE_X_SM |
| 800 | 809 | ||
| @@ -1036,25 +1045,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1036 | /* Turned on June 1996 supposing nobody will mind it. */ | 1045 | /* Turned on June 1996 supposing nobody will mind it. */ |
| 1037 | #define AMPERSAND_FULL_NAME | 1046 | #define AMPERSAND_FULL_NAME |
| 1038 | 1047 | ||
| 1039 | /* Define HAVE_SOUND if we have sound support. We know it works | ||
| 1040 | and compiles only on the specified platforms. For others, | ||
| 1041 | it probably doesn't make sense to try. */ | ||
| 1042 | |||
| 1043 | #if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ | ||
| 1044 | #ifdef HAVE_MACHINE_SOUNDCARD_H | ||
| 1045 | #define HAVE_SOUND 1 | ||
| 1046 | #endif | ||
| 1047 | #ifdef HAVE_SYS_SOUNDCARD_H | ||
| 1048 | #define HAVE_SOUND 1 | ||
| 1049 | #endif | ||
| 1050 | #ifdef HAVE_SOUNDCARD_H | ||
| 1051 | #define HAVE_SOUND 1 | ||
| 1052 | #endif | ||
| 1053 | #ifdef HAVE_ALSA | ||
| 1054 | #define HAVE_SOUND 1 | ||
| 1055 | #endif | ||
| 1056 | #endif /* __FreeBSD__ || __NetBSD__ || __linux__ */ | ||
| 1057 | |||
| 1058 | /* If using GNU, then support inline function declarations. */ | 1048 | /* If using GNU, then support inline function declarations. */ |
| 1059 | /* Don't try to switch on inline handling as detected by AC_C_INLINE | 1049 | /* Don't try to switch on inline handling as detected by AC_C_INLINE |
| 1060 | generally, because even if non-gcc compilers accept `inline', they | 1050 | generally, because even if non-gcc compilers accept `inline', they |
| @@ -1083,9 +1073,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1083 | parallel this exactly since GNUstep is multi-OS. */ | 1073 | parallel this exactly since GNUstep is multi-OS. */ |
| 1084 | #ifdef HAVE_NS | 1074 | #ifdef HAVE_NS |
| 1085 | # ifdef NS_IMPL_GNUSTEP | 1075 | # ifdef NS_IMPL_GNUSTEP |
| 1086 | /* GNUstep needs a bit more pure memory. Of the existing knobs, | 1076 | /* GNUstep needs a bit more pure memory. Of the existing knobs, |
| 1087 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ | 1077 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ |
| 1088 | # define SYSTEM_PURESIZE_EXTRA 30000 | 1078 | # define SYSTEM_PURESIZE_EXTRA 30000 |
| 1089 | # endif /* NS_IMPL_GNUSTEP */ | 1079 | # endif /* NS_IMPL_GNUSTEP */ |
| 1090 | #endif /* HAVE_NS */ | 1080 | #endif /* HAVE_NS */ |
| 1091 | 1081 | ||
| @@ -1145,9 +1135,8 @@ extern char *getenv (); | |||
| 1145 | #endif | 1135 | #endif |
| 1146 | #endif | 1136 | #endif |
| 1147 | 1137 | ||
| 1148 | /* Define if the compiler supports function prototypes. It may do so | 1138 | /* Define if the compiler supports function prototypes. It may do so but |
| 1149 | but not define __STDC__ (e.g. DEC C by default) or may define it as | 1139 | not define __STDC__ (e.g. DEC C by default) or may define it as zero. */ |
| 1150 | zero. */ | ||
| 1151 | #undef PROTOTYPES | 1140 | #undef PROTOTYPES |
| 1152 | /* For mktime.c: */ | 1141 | /* For mktime.c: */ |
| 1153 | #ifndef __P | 1142 | #ifndef __P |
| @@ -1188,18 +1177,6 @@ void *alloca (size_t); | |||
| 1188 | typedef unsigned size_t; | 1177 | typedef unsigned size_t; |
| 1189 | #endif | 1178 | #endif |
| 1190 | 1179 | ||
| 1191 | /* Define HAVE_X_I18N if we have usable i18n support. */ | ||
| 1192 | |||
| 1193 | #ifdef HAVE_X11R6 | ||
| 1194 | #define HAVE_X_I18N | ||
| 1195 | #endif | ||
| 1196 | |||
| 1197 | /* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */ | ||
| 1198 | |||
| 1199 | #if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM | ||
| 1200 | #define HAVE_X11R6_XIM | ||
| 1201 | #endif | ||
| 1202 | |||
| 1203 | #if defined __GNUC__ && (__GNUC__ > 2 \ | 1180 | #if defined __GNUC__ && (__GNUC__ > 2 \ |
| 1204 | || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) | 1181 | || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) |
| 1205 | #define NO_RETURN __attribute__ ((__noreturn__)) | 1182 | #define NO_RETURN __attribute__ ((__noreturn__)) |
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h index 0c30b3d81f0..f4719093d4a 100644 --- a/src/s/sol2-6.h +++ b/src/s/sol2-6.h | |||
| @@ -34,10 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | #define HAVE_LIBKSTAT | 34 | #define HAVE_LIBKSTAT |
| 35 | #endif | 35 | #endif |
| 36 | 36 | ||
| 37 | /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style | ||
| 38 | XIM support. */ | ||
| 39 | #define INHIBIT_X11R6_XIM | ||
| 40 | |||
| 41 | /* This is the same definition as in usg5-4.h, but with sigblock/sigunblock | 37 | /* This is the same definition as in usg5-4.h, but with sigblock/sigunblock |
| 42 | rather than sighold/sigrelse, which appear to be BSD4.1 specific. | 38 | rather than sighold/sigrelse, which appear to be BSD4.1 specific. |
| 43 | It may also be appropriate for SVR4.x | 39 | It may also be appropriate for SVR4.x |