This fixes the Cygwin build for me--it was failing because make-docfile
couldn’t find a definition of IS_DIRECTORY_SEP. Why GCC is choosing not to
inline IS_DIRECTORY_SEP is another question.
src/ChangeLog addition:
2006-07-04 Aidan Kehoe <kehoea(a)parhasard.net>
* config.h.in:
Don't declare inline macros as `extern' if we're building a
standalone program, because their extern definitions in inline.c
are unlikely to be included.
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: src/config.h.in
Index: src/config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.108
diff -u -r1.108 config.h.in
--- src/config.h.in 2006/04/23 16:11:32 1.108
+++ src/config.h.in 2006/07/04 13:49:39
@@ -1066,7 +1066,7 @@
Use `inline static' to define inline functions in .c files.
See the Internals manual for examples and more information. */
-#if defined (__cplusplus) || ! defined (__GNUC__)
+#if defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs)
# define INLINE_HEADER inline static
#elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
# define INLINE_HEADER inline
--
Santa Maradona, priez pour moi!