* 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.
+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.
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.])
+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,
#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'
} \
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
#define HAVE_XRMSETDATABASE
#endif
-#define NARROWPROTO 1
-
#ifdef __ia64__
#define GC_MARK_SECONDARY_STACK() \
do { \
/* 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 */
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