[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding objc.test

From: akim
Subject: Understanding objc.test
Date: Thu, 15 Mar 2001 21:16:00 +0100
User-agent: Mutt/1.3.15i

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)' >>
    cat > << 'END'
    bin_PROGRAMS = foo
    foo_SOURCES = foo.m
    SUFFIXES = .m
    $AUTOMAKE || exit 1
    grep '^LINK'

I don't understand why $(LINK) should be (and was) defined. says:

    # `-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.


&register_language ('objc', 'linker=OBJCLINK', 'autodep=OBJC',
                    'compile=$(OBJC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) 
                    '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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]