diff options
| author | Glenn Morris | 2012-07-11 21:18:45 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-07-11 21:18:45 -0400 |
| commit | ea0bbd1767884d08671f0500ba6c8f8b68a7fc4d (patch) | |
| tree | d9f93f7b3ab366382612635cdade8b390096fa27 /src | |
| parent | c5564388a3d737538a48a202b9668cefa776794d (diff) | |
| download | emacs-ea0bbd1767884d08671f0500ba6c8f8b68a7fc4d.tar.gz emacs-ea0bbd1767884d08671f0500ba6c8f8b68a7fc4d.zip | |
Move some AIX defines from src/s to configure
* configure.ac (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPOLL)
(BROKEN_SIGPTY): Move here from src/s.
* src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
(BROKEN_SIGPOLL): Let configure set them.
* src/s/syssignal.h: Comment fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 11 | ||||
| -rw-r--r-- | src/syssignal.h | 4 |
3 files changed, 5 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f53b9a212c8..9085e91f9ce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | 2012-07-12 Glenn Morris <rgm@gnu.org> | 1 | 2012-07-12 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * s/darwin.h (NO_ABORT, NO_MATHERR): Let configure set it. | 3 | * s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) |
| 4 | (BROKEN_SIGPOLL): Let configure set them. | ||
| 5 | |||
| 6 | * s/darwin.h (NO_ABORT, NO_MATHERR): Let configure set them. | ||
| 4 | 7 | ||
| 5 | * s/bsd-common.h, s/cygwin.h, s/gnu-linux.h, s/irix6-5.h: | 8 | * s/bsd-common.h, s/cygwin.h, s/gnu-linux.h, s/irix6-5.h: |
| 6 | * s/template.h: Move NARROWPROTO to configure. | 9 | * s/template.h: Move NARROWPROTO to configure. |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 7b7f785954d..ec7a1eeb0b8 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -60,17 +60,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 60 | to avoid a crash just use the Emacs implementation for that function. */ | 60 | to avoid a crash just use the Emacs implementation for that function. */ |
| 61 | #define BROKEN_GET_CURRENT_DIR_NAME 1 | 61 | #define BROKEN_GET_CURRENT_DIR_NAME 1 |
| 62 | 62 | ||
| 63 | /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/ | ||
| 64 | #define BROKEN_FIONREAD | ||
| 65 | /* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h. | ||
| 66 | But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO, | ||
| 67 | which causes compilation error at init_signals in sysdep.c. So, we | ||
| 68 | define these macros so that syssignal.h detects them and undefine | ||
| 69 | SIGAIO, SIGPTY and SIGPOLL. */ | ||
| 70 | #define BROKEN_SIGAIO | ||
| 71 | #define BROKEN_SIGPTY | ||
| 72 | #define BROKEN_SIGPOLL | ||
| 73 | |||
| 74 | /* Conservative garbage collection has not been tested, so for now | 63 | /* Conservative garbage collection has not been tested, so for now |
| 75 | play it safe and stick with the old-fashioned way of marking. */ | 64 | play it safe and stick with the old-fashioned way of marking. */ |
| 76 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE | 65 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |
diff --git a/src/syssignal.h b/src/syssignal.h index 5c3683423be..d4578839596 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -86,15 +86,13 @@ _Noreturn void croak (char *); | |||
| 86 | #if defined (SIGIO) && defined (BROKEN_SIGIO) | 86 | #if defined (SIGIO) && defined (BROKEN_SIGIO) |
| 87 | # undef SIGIO | 87 | # undef SIGIO |
| 88 | #endif | 88 | #endif |
| 89 | /* Last user: m/ibmrs6000.h */ | 89 | /* These are only used by AIX */ |
| 90 | #if defined (SIGPOLL) && defined (BROKEN_SIGPOLL) | 90 | #if defined (SIGPOLL) && defined (BROKEN_SIGPOLL) |
| 91 | #undef SIGPOLL | 91 | #undef SIGPOLL |
| 92 | #endif | 92 | #endif |
| 93 | /* Last user: m/ibmrs6000.h */ | ||
| 94 | #if defined (SIGAIO) && defined (BROKEN_SIGAIO) | 93 | #if defined (SIGAIO) && defined (BROKEN_SIGAIO) |
| 95 | #undef SIGAIO | 94 | #undef SIGAIO |
| 96 | #endif | 95 | #endif |
| 97 | /* Last user: m/ibmrs6000.h */ | ||
| 98 | #if defined (SIGPTY) && defined (BROKEN_SIGPTY) | 96 | #if defined (SIGPTY) && defined (BROKEN_SIGPTY) |
| 99 | #undef SIGPTY | 97 | #undef SIGPTY |
| 100 | #endif | 98 | #endif |