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:
parent
30fe9bf459
commit
308aab7949
@ -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.
|
||||
|
13
configure.ac
13
configure.ac
@ -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.])
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 { \
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user