>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
>>>>> "Akim" == akim <[EMAIL PROTECTED]> writes:
Akim> I don't understand the test objc.test (which fails with one of
Akim> the patches I work on).
Akim> I don't understand why $(LINK) should be (and was) defined.
Tom> Objective C shouldn't be a `pure' language. My understanding is
Tom> that in this case you want to use the `C' linker. If not then
Tom> contact and ObjC hacker to get truer information.
objc.test now fails :(
So what should I actually do? I really think the code is right, and
the test is wrong. Based on the assumption that the test is right,
and Automake is wrong, my proposal is:
Index: ChangeLog
from Akim Demaille <[EMAIL PROTECTED]>
* automake.in (objc): Is not a pure language.
* tests/objc.test: Don't define Objc suffix rules.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1032
diff -u -u -r1.1032 automake.in
--- automake.in 2001/04/09 15:02:08 1.1032
+++ automake.in 2001/04/09 16:08:06
@@ -729,7 +729,6 @@
'compile=$(OBJC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
$(AM_OBJCFLAGS) $(OBJCFLAGS)',
'compiler-name=OBJCCOMPILE',
'output-arg=-c -o $@',
- 'pure=yes',
'm');
®ister_language ('header',
'h', 'H', 'hxx', 'h++', 'hh', 'hpp', 'inc');
Index: tests/objc.test
===================================================================
RCS file: /cvs/automake/automake/tests/objc.test,v
retrieving revision 1.3
diff -u -u -r1.3 objc.test
--- tests/objc.test 2001/04/09 14:50:52 1.3
+++ tests/objc.test 2001/04/09 16:08:10
@@ -9,10 +9,6 @@
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.m
-
-SUFFIXES = .m
-.m.o:
- whatever
END
: > foo.m