X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5eabd6f00141c39b276616f86c198dbf5ba86125..1c6f11f42ac2afa209124ce06e64b7a0461d7bdd:/nt/config.nt diff --git a/nt/config.nt b/nt/config.nt index 96d303078a..f0bcce7a28 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -22,7 +22,7 @@ along with GNU Emacs. If not, see . */ This file is intentionally kept in sync with autogen/config.in to ease maintenance. Please do not remove non-Windows related stuff unless strictly necessary. Also, before adding anything here - consider whether src/s/ms-w32.h would be a better place; this is + consider whether inc/ms-w32.h would be a better place; this is particularly true for gcc vs. MSVC conditional defines, MinGW or MSVC specific code, and macros not already defined in config.in. */ @@ -36,6 +36,10 @@ along with GNU Emacs. If not, see . */ /* 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 @@ -51,29 +55,87 @@ along with GNU Emacs. If not, see . */ /* Define to the number of bits in type 'wint_t'. */ #undef BITSIZEOF_WINT_T +/* Define if FIONREAD should not be used. */ +#undef BROKEN_FIONREAD + +/* Define if get_current_dir_name should not be used. */ +#undef BROKEN_GET_CURRENT_DIR_NAME + +/* Define on FreeBSD to work around an issue when reading from a PTY. */ +#undef BROKEN_PTY_READ_AFTER_EAGAIN + /* Define if SA_RESTART should only be used in batch mode. */ #undef BROKEN_SA_RESTART +/* Define if SIGAIO should not be used. */ +#undef BROKEN_SIGAIO + /* Define if SIGIO should not be used. */ #undef BROKEN_SIGIO +/* Define if SIGPOLL should not be used. */ +#undef BROKEN_SIGPOLL + +/* Define if SIGPTY should not be used. */ +#undef BROKEN_SIGPTY + +/* Define if the system is compatible with BSD 4.2. */ +#undef BSD4_2 + +/* Define if the system is compatible with BSD 4.2. */ +#undef BSD_SYSTEM + +/* Define if AH_BOTTOM should change BSD_SYSTEM. */ +#undef BSD_SYSTEM_AHB + /* Define if Emacs cannot be dumped on your system. */ #undef CANNOT_DUMP /* Define this to enable compile time checks for the Lisp_Object data type. */ #undef CHECK_LISP_OBJECT_TYPE +/* Define if you want lock files to be written, so that Emacs can tell + instantly when you try to modify a file that someone else has modified in + his/her Emacs. */ +#undef CLASH_DETECTION + /* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP systems. This function is required for 'alloca.c' support on those systems. */ #undef CRAY_STACKSEG_END +/* Define if the system is Cygwin. */ +#undef CYGWIN + /* Define to 1 if using 'alloca.c'. */ #undef C_ALLOCA +/* Define if the system is Darwin. */ +#undef DARWIN_OS + +/* Extra bits to be or'd in with any pointers stored in a Lisp_Object. */ +#undef DATA_SEG_BITS + +/* Address of the start of the data segment. */ +#undef DATA_START + +/* Name of the default sound device. */ +#undef DEFAULT_SOUND_DEVICE + +/* Character that separates a device in a file name. */ +#define DEVICE_SEP ':' + /* Define to 1 for DGUX with . */ #undef DGUX +/* Define if process.c does not need to close a pty to make it a controlling + terminal (it is already a controlling terminal of the subprocess, because + we did ioctl TIOCSCTTY). */ +#undef DONT_REOPEN_PTY + +/* Define if the system is MS DOS or MS Windows. */ +#define DOS_NT + /* Define to 1 if you are using the GNU C Library. */ #undef DOUG_LEA_MALLOC @@ -87,6 +149,14 @@ along with GNU Emacs. If not, see . */ enabled. */ #undef ENABLE_CHECKING +/* Letter to use in finding device name of first PTY, if PTYs are supported. + */ +#define FIRST_PTY_LETTER 'a' + +/* Define if the float library doesn't handle errors by either setting errno, + or signaling SIGFPE/SIGILL. */ +#undef FLOAT_CHECK_DOMAIN + /* Define to 1 if futimesat mishandles a NULL file name. */ #undef FUTIMESAT_NULL_BUG @@ -104,6 +174,19 @@ along with GNU Emacs. If not, see . */ /* Define this to check for short string overrun. */ #undef GC_CHECK_STRING_OVERRUN +/* Mark a secondary stack, like the register stack on the ia64. */ +#undef GC_MARK_SECONDARY_STACK + +/* Define to GC_USE_GCPROS_AS_BEFORE if conservative garbage collection is not + known to work. */ +#define GC_MARK_STACK 1 + +/* Define if setjmp is known to save all registers relevant for conservative + garbage collection in the jmp_buf. + MSVC ignores the "register" keyword, so test fails even though + setjmp does work. */ +#define GC_SETJMP_WORKS 1 + /* Define to 1 if the `getpgrp' function requires zero arguments. */ #undef GETPGRP_VOID @@ -128,9 +211,16 @@ along with GNU Emacs. If not, see . */ whether the gnulib module scanf shall be considered present. */ #undef GNULIB_SCANF +/* Define if ths system is compatible with GNU/Linux. */ +#undef GNU_LINUX + /* Define to 1 if you want to use the GNU memory allocator. */ #define GNU_MALLOC 1 +/* Define to set the G_SLICE environment variable to "always-malloc" at + startup, if using GTK. */ +#undef G_SLICE_ALWAYS_MALLOC + /* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */ #undef HAVE_AIX_SMT_EXP @@ -148,9 +238,6 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if ALSA is available. */ #undef HAVE_ALSA -/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */ -#undef HAVE_ATTRIBUTE_ALIGNED - /* Define to 1 if strtold conforms to C99. */ #undef HAVE_C99_STRTOLD @@ -263,6 +350,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `endpwent' function. */ #undef HAVE_ENDPWENT +/* Define if you have the declaration of environ. */ +#undef HAVE_ENVIRON_DECL + /* Define to 1 if you have the `euidaccess' function. */ #undef HAVE_EUIDACCESS @@ -441,6 +531,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define if you have the functions acosh, asinh, and atanh. */ +#undef HAVE_INVERSE_HYPERBOLIC + /* Define to 1 if you have the jpeg library (-ljpeg). */ #undef HAVE_JPEG @@ -599,9 +692,6 @@ along with GNU Emacs. If not, see . */ systems that support xmenu.c. */ #undef HAVE_MENUS -/* Define to 1 if you have the `mkdir' function. */ -#define HAVE_MKDIR 1 - /* Define to 1 if you have the `mkstemp' function. */ #undef HAVE_MKSTEMP @@ -660,6 +750,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ #undef HAVE_PTHREAD_SIGMASK +/* Define if the system supports pty devices. */ +#undef HAVE_PTYS + /* Define to 1 if you have the header file. */ #undef HAVE_PTY_H @@ -678,18 +771,12 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `recvfrom' function. */ #define HAVE_RECVFROM 1 -/* Define to 1 if you have the `rename' function. */ -#define HAVE_RENAME 1 - /* Define to 1 if res_init is available. */ #undef HAVE_RES_INIT /* Define to 1 if you have the `rint' function. */ #undef HAVE_RINT -/* Define to 1 if you have the `rmdir' function. */ -#define HAVE_RMDIR 1 - /* Define to 1 if using librsvg. */ #undef HAVE_RSVG @@ -732,6 +819,10 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 +/* Define if the system supports 4.2-compatible sockets. + NT supports Winsock which is close enough (with some hacks). */ +#define HAVE_SOCKETS 1 + /* Define to 1 if you have sound support. */ #define HAVE_SOUND 1 @@ -750,9 +841,6 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -1021,6 +1109,27 @@ along with GNU Emacs. If not, see . */ /* Define to support using a Hesiod database to find the POP server. */ #undef HESIOD +/* Define if the system is HPUX. */ +#undef HPUX + +/* This is substituted when $TERM is "internal". */ +#undef INTERNAL_TERMINAL + +/* Define to read input using SIGIO. */ +#undef INTERRUPT_INPUT + +/* Define if the system is IRIX. */ +#undef IRIX6_5 + +/* Returns true if character is any form of separator. */ +#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_)) + +/* Returns true if character is a device separator. */ +#define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP) + +/* Returns true if character is a directory separator. */ +#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\') + /* Define to support Kerberos-authenticated POP mail retrieval. */ #undef KERBEROS @@ -1052,6 +1161,19 @@ along with GNU Emacs. If not, see . */ /* Define to support POP mail retrieval. */ #define MAIL_USE_POP 1 +/* Define if the system is MS DOS. */ +#undef MSDOS + +/* Define if system's imake configuration file defines `NeedWidePrototypes' as + `NO'. */ +#undef NARROWPROTO + +/* Do not define abort in emacs.c. */ +#undef NO_ABORT + +/* Define if XEditRes should not be used. */ +#undef NO_EDITRES + /* Define to 1 if you don't have struct exception in math.h. */ #define NO_MATHERR 1 @@ -1061,6 +1183,9 @@ along with GNU Emacs. If not, see . */ /* Define if termio.h should not be included. */ #undef NO_TERMIO +/* Minimum value of NSIG. */ +#undef NSIG_MINIMUM + /* Define to 1 if `NSInteger' is defined. */ #undef NS_HAVE_NSINTEGER @@ -1070,6 +1195,9 @@ along with GNU Emacs. If not, see . */ /* 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 @@ -1097,10 +1225,20 @@ along with GNU Emacs. If not, see . */ /* Define to the version of this package. */ #undef PACKAGE_VERSION +/* Number of chars of output in the buffer of a stdio stream. */ +#ifdef __GNU_LIBRARY__ +#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__bufp - (FILE)->__buffer) +#else +#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base) +#endif + /* Define to empty to suppress deprecation warnings when building with --enable-gcc-warnings and with libpng versions before 1.5, which lack png_longjmp. */ -#undef PNG_DEPRECATED +#undef PNG_DEPSTRUCT + +/* Define if process_send_signal should use VSUSP instead of VSWTCH. */ +#undef PREFER_VSUSP /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. */ @@ -1116,6 +1254,18 @@ along with GNU Emacs. If not, see . */ 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX +/* How to iterate over PTYs. */ +#undef PTY_ITERATION + +/* How to get the device name of the control end of a PTY, if non-standard. */ +#undef PTY_NAME_SPRINTF + +/* How to open a PTY, if non-standard. */ +#undef PTY_OPEN + +/* How to get device name of the tty end of a PTY, if non-standard. */ +#undef PTY_TTY_NAME_SPRINTF + /* Define to 1 if readlink fails to recognize a trailing slash. */ #undef READLINK_TRAILING_SLASH_BUG @@ -1131,6 +1281,24 @@ along with GNU Emacs. If not, see . */ slash */ #undef REPLACE_FUNC_STAT_FILE +/* 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 + +/* How to set up a slave PTY, if needed. */ +#undef SETUP_SLAVE_PTY + +/* 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 @@ -1139,6 +1307,9 @@ along with GNU Emacs. If not, see . */ 'size_t'. */ #undef SIZE_T_SUFFIX +/* Define if the system is Solaris. */ +#undef SOLARIS2 + /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. @@ -1165,12 +1336,21 @@ along with GNU Emacs. If not, see . */ /* The type of system you are compiling for; sets `system-type'. */ #define SYSTEM_TYPE "windows-nt" +/* Undocumented. */ +#undef TAB3 + +/* Undocumented. */ +#undef TABDLY + /* Define to 1 if you use terminfo instead of termcap. */ #undef TERMINFO /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 +/* Some platforms redefine this. */ +#undef TIOCSIGSEND + /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME @@ -1178,6 +1358,9 @@ along with GNU Emacs. If not, see . */ timespec. */ #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC +/* Undocumented. */ +#undef ULIMIT_BREAK_VALUE + /* Define to 1 for Encore UMAX. */ #undef UMAX @@ -1185,6 +1368,12 @@ along with GNU Emacs. If not, see . */ . */ #undef UMAX4_3 +/* 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 @@ -1206,6 +1395,15 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if using an X toolkit. */ #undef USE_X_TOOLKIT +/* Define if the system is compatible with System III. */ +#undef USG + +/* 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 @@ -1239,10 +1437,16 @@ along with GNU Emacs. If not, see . */ /* Define this to check for malloc buffer overrun. */ #undef XMALLOC_OVERRUN_CHECK +/* Compensate for a bug in Xos.h on some systems, where it requires time.h. */ +#undef XOS_NEEDS_TIME_H + /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either XPointer or XPointer*. */ #undef XRegisterIMInstantiateCallback_arg6 +/* Define if the system is AIX. */ +#undef _AIX + /* Enable large inode numbers on Mac OS X. */ #ifndef _DARWIN_USE_64_BIT_INODE # define _DARWIN_USE_64_BIT_INODE 1 @@ -1330,8 +1534,44 @@ along with GNU Emacs. If not, see . */ declarations. Define as empty for no equivalent. */ #undef __restrict_arr -/* Define to the used os dependent file. */ -#define config_opsysfile "s/ms-w32.h" +/* Some platforms redefine this. */ +#undef _longjmp + +/* Some platforms redefine this. */ +#undef _setjmp + +/* Some platforms that do not use configure define this to include extra + configuration information. */ +#define config_opsysfile + +/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'. + _GL_EXTERN_INLINE is a portable alternative to 'extern inline'. + _GL_INLINE_HEADER_BEGIN contains useful stuff to put + in an include file, before uses of _GL_INLINE. + It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic, + when FOO is an inline function in the header; see + . + _GL_INLINE_HEADER_END contains useful stuff to put + in the same include file, after uses of _GL_INLINE. */ +#if __GNUC__ ? __GNUC_STDC_INLINE__ : 199901L <= __STDC_VERSION__ +# define _GL_INLINE inline +# define _GL_EXTERN_INLINE extern inline +# if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ +# define _GL_INLINE_HEADER_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") +# define _GL_INLINE_HEADER_END \ + _Pragma ("GCC diagnostic pop") +# endif +#else +# define _GL_INLINE static inline +# define _GL_EXTERN_INLINE static inline +#endif + +#ifndef _GL_INLINE_HEADER_BEGIN +# define _GL_INLINE_HEADER_BEGIN +# define _GL_INLINE_HEADER_END +#endif /* A replacement for va_copy, if needed. */ #define gl_va_copy(a,b) ((a) = (b)) @@ -1396,6 +1636,9 @@ along with GNU Emacs. If not, see . */ /* 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 @@ -1432,102 +1675,7 @@ along with GNU Emacs. If not, see . */ /* Define as `fork' if `vfork' does not work. */ #undef vfork - -/* 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 - -/* GNUstep needs a bit more pure memory. Of the existing knobs, - SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. - (There is probably a better place to do this, but right now the - Cocoa side does this in s/darwin.h and we cannot parallel this - exactly since GNUstep is multi-OS. */ -#if defined HAVE_NS && defined NS_IMPL_GNUSTEP -# define SYSTEM_PURESIZE_EXTRA 30000 -#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 -#include - -#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 - -/* Some versions of GNU/Linux define noinline in their headers. */ -#ifdef noinline -#undef noinline -#endif - -/* These won't be used automatically yet. We also need to know, at least, - that the stack is continuous. */ -#ifdef __GNUC__ -# ifndef GC_SETJMP_WORKS - /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */ -# define GC_SETJMP_WORKS 1 -# endif -#endif - -/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */ -#ifdef __GNUC__ -#define HAVE_ATTRIBUTE_ALIGNED 1 -#endif - -/* Define to 1 if strtold conforms to C99. */ -#ifdef __GNUC__ -#define HAVE_C99_STRTOLD 1 -#endif - -#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) -#define HAVE___BUILTIN_UNWIND_INIT 1 -#endif +#include #endif /* EMACS_CONFIG_H */