emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109348: Adapt Windows port to recent


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109348: Adapt Windows port to recent changes in autogen/config.in.
Date: Wed, 01 Aug 2012 02:29:59 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109348
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Wed 2012-08-01 02:29:59 +0200
message:
  Adapt Windows port to recent changes in autogen/config.in.
  
  * lib-src/makefile.w32-in (CONFIG_H): Update dependencies.
  (CONF_POST_H): New macro.
  
  * lib/makefile.w32-in (CONFIG_H): Update dependencies.
  (CONF_POST_H): New macro.
  
  * nt/config.nt: Sync with autogen/config.in.
  Remove code moved to conf_post.h and include <conf_post.h>
  (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
  (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
  
  * src/makefile.w32-in (CONFIG_H): Update dependencies.
  (CONF_POST_H): New macro.
  
  * src/s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
modified:
  ChangeLog
  lib-src/ChangeLog
  lib-src/makefile.w32-in
  lib/makefile.w32-in
  nt/ChangeLog
  nt/config.nt
  src/ChangeLog
  src/makefile.w32-in
  src/s/ms-w32.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-31 23:20:25 +0000
+++ b/ChangeLog 2012-08-01 00:29:59 +0000
@@ -1,3 +1,8 @@
+2012-08-01  Juanma Barranquero  <address@hidden>
+
+       * lib/makefile.w32-in (CONFIG_H): Update dependencies.
+       (CONF_POST_H): New macro.
+
 2012-07-31  Glenn Morris  <address@hidden>
 
        * configure.ac (S_FILE): Remove output variable.

=== modified file 'lib-src/ChangeLog'
--- a/lib-src/ChangeLog 2012-07-30 16:20:35 +0000
+++ b/lib-src/ChangeLog 2012-08-01 00:29:59 +0000
@@ -1,3 +1,8 @@
+2012-08-01  Juanma Barranquero  <address@hidden>
+
+       * makefile.w32-in (CONFIG_H): Update dependencies.
+       (CONF_POST_H): New macro.
+
 2012-07-30  Paul Eggert  <address@hidden>
 
        Update .PHONY listings in makefiles.

=== modified file 'lib-src/makefile.w32-in'
--- a/lib-src/makefile.w32-in   2012-07-29 15:53:31 +0000
+++ b/lib-src/makefile.w32-in   2012-08-01 00:29:59 +0000
@@ -362,8 +362,10 @@
 
 MS_W32_H       = $(SRC)/s/ms-w32.h \
                 $(NT_INC)/sys/stat.h
+CONF_POST_H    = $(SRC)/conf_post.h \
+                $(MS_W32_H)
 CONFIG_H       = $(SRC)/config.h \
-                $(MS_W32_H)
+                $(CONF_POST_H)
 INTTYPES_H     = $(NT_INC)/inttypes.h \
                 $(NT_INC)/stdint.h
 NTLIB_H        = $(LIB_SRC)/ntlib.h \

=== modified file 'lib/makefile.w32-in'
--- a/lib/makefile.w32-in       2012-07-29 08:18:29 +0000
+++ b/lib/makefile.w32-in       2012-08-01 00:29:59 +0000
@@ -73,8 +73,10 @@
                 $(NT_INC)/stdbool.h
 MS_W32_H       = $(SRC)/s/ms-w32.h \
                 $(NT_INC)/sys/stat.h
+CONF_POST_H    = $(SRC)/conf_post.h \
+                $(MS_W32_H)
 CONFIG_H       = $(SRC)/config.h \
-                $(MS_W32_H)
+                $(CONF_POST_H)
 FILEMODE_H     = $(GNU_LIB)/filemode.h \
                 $(NT_INC)/sys/stat.h
 FTOASTR_H      = $(GNU_LIB)/ftoastr.h \

=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2012-07-29 16:56:18 +0000
+++ b/nt/ChangeLog      2012-08-01 00:29:59 +0000
@@ -1,3 +1,10 @@
+2012-08-01  Juanma Barranquero  <address@hidden>
+
+       * config.nt: Sync with autogen/config.in.
+       Remove code moved to conf_post.h and include <conf_post.h>
+       (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
+       (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
+
 2012-07-29  Juanma Barranquero  <address@hidden>
 
        * config.nt: Sync with autogen/config.in.

=== modified file 'nt/config.nt'
--- a/nt/config.nt      2012-07-29 16:56:18 +0000
+++ b/nt/config.nt      2012-08-01 00:29:59 +0000
@@ -36,6 +36,10 @@
 /* Define if building universal (internal helper macro) */
 #undef AC_APPLE_UNIVERSAL_BUILD
 
+/* Define to use the convention that & in the full name stands for the login
+   id. */
+#undef AMPERSAND_FULL_NAME
+
 /* Define to the number of bits in type 'ptrdiff_t'. */
 #undef BITSIZEOF_PTRDIFF_T
 
@@ -1166,6 +1170,9 @@
 /* Define to 1 if you are using NS windowing under GNUstep. */
 #undef NS_IMPL_GNUSTEP
 
+/* Name of the file to open to get a null file, or a data sink. */
+#define NULL_DEVICE "NUL:"
+
 /* Define to 1 if the nlist n_name member is a pointer */
 #undef N_NAME_POINTER
 
@@ -1248,6 +1255,9 @@
 /* Define if emacs.c needs to call run_time_remap; for HPUX. */
 #undef RUN_TIME_REMAP
 
+/* Character that separates PATH elements. */
+#define SEPCHAR ';'
+
 /* Define if process.c:child_setup should not call setpgrp. */
 #undef SETPGRP_RELEASES_CTTY
 
@@ -1257,6 +1267,9 @@
 /* Make process_send_signal work by "typing" a signal character on the pty. */
 #undef SIGNALS_VIA_CHARACTERS
 
+/* Define if AH_BOTTOM should include signal.h. */
+#undef SIGNAL_H_AHB
+
 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
    'sig_atomic_t'. */
 #undef SIG_ATOMIC_T_SUFFIX
@@ -1306,6 +1319,9 @@
 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
 #define TIME_WITH_SYS_TIME 1
 
+/* Some platforms redefine this. */
+#undef TIOCSIGSEND
+
 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
 #undef TM_IN_SYS_TIME
 
@@ -1326,6 +1342,9 @@
 /* Define if the system has Unix98 PTYs. */
 #undef UNIX98_PTYS
 
+/* How to get a user's full name. */
+#define USER_FULL_NAME pw->pw_gecos
+
 /* Define to 1 if using GTK. */
 #undef USE_GTK
 
@@ -1353,6 +1372,9 @@
 /* Define if the system is compatible with System V. */
 #undef USG5
 
+/* Define if the system is compatible with System V Release 4. */
+#undef USG5_4
+
 /* Define for USG systems where it works to open a pty's tty in the parent
    process, then close and reopen it in the child. */
 #undef USG_SUBTTY_WORKS
@@ -1383,6 +1405,9 @@
 # endif
 #endif
 
+/* Some platforms redefine this. */
+#undef WRETCODE
+
 /* Define this to check for malloc buffer overrun. */
 #undef XMALLOC_OVERRUN_CHECK
 
@@ -1483,6 +1508,12 @@
    declarations. Define as empty for no equivalent. */
 #undef __restrict_arr
 
+/* Some platforms redefine this. */
+#undef _longjmp
+
+/* Some platforms redefine this. */
+#undef _setjmp
+
 /* Define to the used os dependent file. */
 #define config_opsysfile "s/ms-w32.h"
 
@@ -1549,6 +1580,9 @@
 /* Define as a signed type of the same size as size_t. */
 #undef ssize_t
 
+/* Define to enable asynchronous subprocesses. */
+#define subprocesses
+
 /* Define to any substitute for sys_siglist. */
 #undef sys_siglist
 
@@ -1585,104 +1619,10 @@
 /* Define as `fork' if `vfork' does not work. */
 #undef vfork
 
-
-/* Not valid on Windows.  */
-#if 0
-/* On AIX 3 this must be included before any other include file.  */
-#include <alloca.h>
-#if ! HAVE_ALLOCA
-# error "alloca not available on this machine"
-#endif
-#endif
-
-/* This silences a few compilation warnings on FreeBSD.  */
-#ifdef BSD_SYSTEM_AHB
-#undef BSD_SYSTEM_AHB
-#undef BSD_SYSTEM
-#if __FreeBSD__ == 1
-#define BSD_SYSTEM 199103
-#elif __FreeBSD__ == 2
-#define BSD_SYSTEM 199306
-#elif __FreeBSD__ >= 3
-#define BSD_SYSTEM 199506
-#endif
-#endif
-
-/* Define AMPERSAND_FULL_NAME if you use the convention
-   that & in the full name stands for the login id.  */
-#undef AMPERSAND_FULL_NAME
-
-/* `subprocesses' should be defined if you want to
-   have code for asynchronous subprocesses
-   (as used in M-x compile and M-x shell).
-   Only MSDOS does not support this (it overrides
-   this in its config_opsysfile below).  */
-
-#define subprocesses
-
-/* Include the os dependent file.  */
-#ifdef config_opsysfile
-# include config_opsysfile
-#endif
-
-/* Mac OS X / GNUstep need a bit more pure memory.  Of the existing knobs,
-   SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.  */
-#ifdef HAVE_NS
-#if defined NS_IMPL_GNUSTEP
-#  define SYSTEM_PURESIZE_EXTRA 30000
-#elif defined DARWIN_OS
-#  define SYSTEM_PURESIZE_EXTRA 200000
-#endif
-#endif
-
-#ifdef emacs /* Don't do this for lib-src.  */
-/* Tell regex.c to use a type compatible with Emacs.  */
-#define RE_TRANSLATE_TYPE Lisp_Object
-#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
-#ifdef make_number
-/* If make_number is a macro, use it.  */
-#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
-#else
-/* If make_number is a function, avoid it.  */
-#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
-#endif
-#endif
-
-#include <string.h>
-#include <stdlib.h>
-
-#if __GNUC__ >= 3  /* On GCC 3.0 we might get a warning.  */
-#define NO_INLINE __attribute__((noinline))
-#else
-#define NO_INLINE
-#endif
-
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
-#define EXTERNALLY_VISIBLE __attribute__((externally_visible))
-#else
-#define EXTERNALLY_VISIBLE
-#endif
-
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
-# define ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
-#else
-# define ATTRIBUTE_FORMAT(spec) /* empty */
-#endif
-
-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
-# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
-   ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument))
-#else
-# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
-   ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
-#endif
-
-#define ATTRIBUTE_CONST _GL_ATTRIBUTE_CONST
-
-/* Some versions of GNU/Linux define noinline in their headers.  */
-#ifdef noinline
-#undef noinline
-#endif
+/* Some platforms redefine this. */
+#undef wait3
+
+#include <conf_post.h>
 
 #endif /* EMACS_CONFIG_H */
 

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-31 23:20:25 +0000
+++ b/src/ChangeLog     2012-08-01 00:29:59 +0000
@@ -1,3 +1,10 @@
+2012-08-01  Juanma Barranquero  <address@hidden>
+
+       * makefile.w32-in (CONFIG_H): Update dependencies.
+       (CONF_POST_H): New macro.
+
+       * s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
+
 2012-07-31  Glenn Morris  <address@hidden>
 
        * Makefile.in (S_FILE): No longer set by configure.

=== modified file 'src/makefile.w32-in'
--- a/src/makefile.w32-in       2012-07-30 21:20:43 +0000
+++ b/src/makefile.w32-in       2012-08-01 00:29:59 +0000
@@ -405,9 +405,10 @@
                 $(SRC)/composite.h
 MS_W32_H       = $(SRC)/s/ms-w32.h \
                 $(NT_INC)/sys/stat.h
+CONF_POST_H    = $(SRC)/conf_post.h \
+                $(MS_W32_H)
 CONFIG_H       = $(SRC)/config.h \
-                $(SRC)/conf_post.h \
-                $(MS_W32_H)
+                $(CONF_POST_H)
 DIR_H          = $(NT_INC)/sys/dir.h \
                 $(SRC)/ndir.h
 W32GUI_H       = $(SRC)/w32gui.h \

=== modified file 'src/s/ms-w32.h'
--- a/src/s/ms-w32.h    2012-07-25 22:47:42 +0000
+++ b/src/s/ms-w32.h    2012-08-01 00:29:59 +0000
@@ -52,10 +52,6 @@
 
 #define MAIL_USE_SYSTEM_LOCK 1
 
-/* If the character used to separate elements of the executable path
-   is not ':', #define this to be the appropriate character constant.  */
-#define SEPCHAR ';'
-
 /* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
 #ifdef __GNUC__
 #define HAVE_ATTRIBUTE_ALIGNED 1
@@ -141,9 +137,6 @@
 #define SIG_SETMASK     2
 #define SIG_UNBLOCK     3
 
-/* The null device on Windows NT.  */
-#define NULL_DEVICE     "NUL:"
-
 #ifndef MAXPATHLEN
 #define MAXPATHLEN      _MAX_PATH
 #endif


reply via email to

[Prev in Thread] Current Thread [Next in Thread]