2012-07-31 Glenn Morris <rgm@gnu.org>
+ * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME):
+ Move here from src.
+
* configure.ac (AMPERSAND_FULL_NAME, subprocesses):
Move here from conf_post.h.
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.])
2012-07-31 Glenn Morris <rgm@gnu.org>
+ * 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.
#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
}
#endif /* HAVE_SETLOCALE */
\f
-#ifndef SEPCHAR
-#define SEPCHAR ':'
-#endif
Lisp_Object
decode_env_path (const char *evarname, const char *defalt)
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;