[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 15 Mar 2001 21:16:00 +0100
I don't understand the test objc.test (which fails with one of the
patches I work on).
# Test to make sure LINK defined for Objective C.
echo 'AC_SUBST(OBJC)' >> configure.in
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.m
SUFFIXES = .m
$AUTOMAKE || exit 1
grep '^LINK' Makefile.in
I don't understand why $(LINK) should be (and was) defined.
# `-pure' is `yes' or `no'. A `pure' language is one where, if
# all the files in a directory are of that language, then we do
# not require the C compiler or any code to call it.
®ister_language ('objc', 'linker=OBJCLINK', 'autodep=OBJC',
'compile=$(OBJC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS)
$(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS)',
'output-arg=-c -o $@',
so it seems to me that there are no reason for LINK to be defined
here. What is it that I missed?
- Understanding objc.test,