[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109341: * configure.ac (NULL_DEVICE,
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109341: * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): Move here from src. |
Date: |
Tue, 31 Jul 2012 18:24:49 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109341
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-07-31 18:24:49 -0400
message:
* configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): Move here from src.
* src/editfns.c (USER_FULL_NAME):
* src/emacs.c (SEPCHAR):
* src/process.h (NULL_DEVICE): Let configure set them.
modified:
ChangeLog
configure.ac
src/ChangeLog
src/editfns.c
src/emacs.c
src/process.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-31 17:50:52 +0000
+++ b/ChangeLog 2012-07-31 22:24:49 +0000
@@ -1,5 +1,8 @@
2012-07-31 Glenn Morris <address@hidden>
+ * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME):
+ Move here from src.
+
* configure.ac (AMPERSAND_FULL_NAME, subprocesses):
Move here from conf_post.h.
=== modified file 'configure.ac'
--- a/configure.ac 2012-07-31 18:39:38 +0000
+++ b/configure.ac 2012-07-31 22:24:49 +0000
@@ -3147,9 +3147,16 @@
AC_DEFINE(HAVE_SOCKETS, 1, [Define if the system supports
4.2-compatible sockets.])
+AC_DEFINE(NULL_DEVICE, ["/dev/null"], [Name of the file to open to get
+ a null file, or a data sink.])
+
+AC_DEFINE(SEPCHAR, [':'], [Character that separates PATH elements.])
+
dnl Everybody supports this, except MS-DOS.
AC_DEFINE(subprocesses, 1, [Define to enable asynchronous subprocesses.])
+AC_DEFINE(USER_FULL_NAME, [pw->pw_gecos], [How to get a user's full name.])
+
AH_TEMPLATE(NO_EDITRES, [Define if XEditRes should not be used.])
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-31 18:51:24 +0000
+++ b/src/ChangeLog 2012-07-31 22:24:49 +0000
@@ -1,5 +1,9 @@
2012-07-31 Glenn Morris <address@hidden>
+ * process.h (NULL_DEVICE):
+ * emacs.c (SEPCHAR):
+ * editfns.c (USER_FULL_NAME): Let configure set them.
+
* s/README, s/template.h: Remove files.
* conf_post.h [HPUX]: Undefine HAVE_RANDOM and HAVE_RINT.
=== modified file 'src/editfns.c'
--- a/src/editfns.c 2012-07-27 07:51:52 +0000
+++ b/src/editfns.c 2012-07-31 22:24:49 +0000
@@ -59,10 +59,6 @@
#include "window.h"
#include "blockinput.h"
-#ifndef USER_FULL_NAME
-#define USER_FULL_NAME pw->pw_gecos
-#endif
-
#ifndef USE_CRT_DLL
extern char **environ;
#endif
=== modified file 'src/emacs.c'
--- a/src/emacs.c 2012-07-26 19:58:48 +0000
+++ b/src/emacs.c 2012-07-31 22:24:49 +0000
@@ -2222,9 +2222,6 @@
}
#endif /* HAVE_SETLOCALE */
-#ifndef SEPCHAR
-#define SEPCHAR ':'
-#endif
Lisp_Object
decode_env_path (const char *evarname, const char *defalt)
=== modified file 'src/process.h'
--- a/src/process.h 2012-06-22 21:17:42 +0000
+++ b/src/process.h 2012-07-31 22:24:49 +0000
@@ -163,12 +163,6 @@
this is exit code of synchronous subprocess. */
extern int synch_process_retcode;
-/* The name of the file open to get a null file, or a data sink.
- MS-DOS, and OS/2 redefine this. */
-#ifndef NULL_DEVICE
-#define NULL_DEVICE "/dev/null"
-#endif
-
/* Nonzero means don't run process sentinels. This is used
when exiting. */
extern int inhibit_sentinels;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109341: * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): Move here from src.,
Glenn Morris <=