1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

Move NARROWPROTO from src/s to configure

* configure.ac (NARROWPROTO): Move here from src/s.

* src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h, src/s/irix6-5.h:
* src/s/template.h: Move NARROWPROTO to configure.
This commit is contained in:
Glenn Morris 2012-07-11 20:49:24 -04:00
parent 30fe9bf459
commit 308aab7949
8 changed files with 22 additions and 26 deletions

View File

@ -1,3 +1,7 @@
2012-07-12 Glenn Morris <rgm@gnu.org>
* configure.ac (NARROWPROTO): Move here from src/s.
2012-07-11 Glenn Morris <rgm@gnu.org>
* configure.ac (INTERRUPT_INPUT): Move here from src/s.

View File

@ -3212,6 +3212,19 @@ case $opsys in
esac
dnl If the system's imake configuration file defines `NeedWidePrototypes'
dnl as `NO', we must define NARROWPROTO manually. Such a define is
dnl generated in the Makefile generated by `xmkmf'. If we don't define
dnl NARROWPROTO, we will see the wrong function prototypes for X functions
dnl taking float or double parameters.
case $opsys in
cygwin|gnu|gnu-linux|gnu-kfreebsd|irix6-5|freebsd|netbsd|openbsd)
AC_DEFINE(NARROWPROTO, 1, [Define if system's imake configuration
file defines `NeedWidePrototypes' as `NO'.])
;;
esac
AH_TEMPLATE(SIGNALS_VIA_CHARACTERS, [Make process_send_signal work by
"typing" a signal character on the pty.])

View File

@ -1,3 +1,8 @@
2012-07-12 Glenn Morris <rgm@gnu.org>
* s/bsd-common.h, s/cygwin.h, s/gnu-linux.h, s/irix6-5.h:
* s/template.h: Move NARROWPROTO to configure.
2012-07-11 Glenn Morris <rgm@gnu.org>
* s/gnu-linux.h, s/sol2-6.h: No longer define POSIX,

View File

@ -40,12 +40,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define TABDLY OXTABS
#define TAB3 OXTABS
/* If the system's imake configuration file defines `NeedWidePrototypes'
as `NO', we must define NARROWPROTO manually. Such a define is
generated in the Makefile generated by `xmkmf'. If we don't
define NARROWPROTO, we will see the wrong function prototypes
for X functions taking float or double parameters. */
#define NARROWPROTO 1
/* First pty name is /dev/ptyp0. */
#define FIRST_PTY_LETTER 'p'

View File

@ -34,13 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
} \
while (0)
/* If the system's imake configuration file defines `NeedWidePrototypes'
as `NO', we must define NARROWPROTO manually. Such a define is
generated in the Makefile generated by `xmkmf'. If we don't
define NARROWPROTO, we will see the wrong function prototypes
for X functions taking float or double parameters. */
#define NARROWPROTO 1
/* Used in various places to enable cygwin-specific code changes. */
#define CYGWIN 1

View File

@ -79,8 +79,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define HAVE_XRMSETDATABASE
#endif
#define NARROWPROTO 1
#ifdef __ia64__
#define GC_MARK_SECONDARY_STACK() \
do { \

View File

@ -70,8 +70,6 @@ char *_getpty();
/* Tell process_send_signal to use VSUSP instead of VSWTCH. */
#define PREFER_VSUSP
#define NARROWPROTO 1
#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
#undef TIOCSIGSEND /* defined in usg5-4-common.h */

View File

@ -52,14 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
your system and must be used only through an encapsulation (which
you should place, by convention, in sysdep.c). */
/* If the system's imake configuration file defines `NeedWidePrototypes'
as `NO', we must define NARROWPROTO manually. Such a define is
generated in the Makefile generated by `xmkmf'. If we don't
define NARROWPROTO, we will see the wrong function prototypes
for X functions taking float or double parameters. */
/* #define NARROWPROTO 1 */
/* ============================================================ */
/* After adding support for a new system, modify the large case