Andy Piper <andy.piper(a)bea.com> writes:
Hmmn. I have several changes in the works here, but it sounds like I
need
to try it on Linux also. BTW make sure you have rebuilt event-Xt.o, the
Makefile does not cope correctly with Emacs.ad.h getting regenerated so you
need to manually remove event-Xt.o and rebuild from the top level.
Why not fix it then? I only have C Programming Language and
it didn't say we can't use multiple dots in #include
directive. Martin, what does latest standard say?
2000-05-01 Yoshiki Hayashi <yoshiki(a)xemacs.org>
* make-src-depend: Allow dots in header file name.
Index: make-src-depend
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/make-src-depend,v
retrieving revision 1.3.2.3
diff -u -r1.3.2.3 make-src-depend
--- make-src-depend 1999/11/28 04:08:13 1.3.2.3
+++ make-src-depend 2000/05/01 09:13:53
@@ -52,11 +52,11 @@
s/[ \t]+//g;
# Find include dependencies
for (/^\#include([^\n]+)/gm) {
- if (m(a)^\"([A-Za-z0-9_-]+\.h)\"@) {
+ if (m(a)^\"([A-Za-z0-9._-]+\.h)\"@) {
$uses{$file}{$1} = 1 if exists $exists{$1};
- } elsif (m(a)<([A-Za-z0-9_-]+\.h)>@) {
+ } elsif (m(a)<([A-Za-z0-9._-]+\.h)>@) {
$uses{$file}{$1} = 1 if exists $generated_header{$1};
- } elsif (m(a)\"../lwlib/([A-Za-z0-9_-]+\.h)\"@) {
+ } elsif (m(a)\"../lwlib/([A-Za-z0-9._-]+\.h)\"@) {
$uses{$file}{"\$(LWLIB_SRCDIR)/lwlib.h"} = 1;
}
}
--
Yoshiki Hayashi