$(info text…) and missing endif

Jeffrey Walton <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <CAH8yC8nQ1aGPWJEJNdZ7kE4rPDr9Qe=BNmNtKLvQ=-sP93ddCQ@mail.gmail.com>
Hi Everyone,

I'm testing a makefile on Ubuntu 4 with GNU Make 3.80. The makefile is
failing with:

    $ make -j 3
    GNUmakefile:1857: *** missing `endif'.  Stop.

The problem area seems to be
(https://github.com/weidai11/cryptopp/blob/master/GNUmakefile#L1821):

ifeq ($(IS_DARWIN)$(CLANG_COMPILER),11)
  ifeq ($(findstring -stdlib=libc++,$(CRYPTOPP_CXXFLAGS)$(CXXFLAGS)),)
    $(info )
    $(info INFO: Crypto++ was built without LLVM's libc++. If you are
using the library)
    $(info INFO: with modern Xcode, then you should add -stdlib=libc++
to CXXFLAGS. It is)
    $(info INFO: already present in the makefile, and you only need to
uncomment it.)
    $(info )
  endif
endif

In my text editor (Kate), the two closing endif's are colored
differently, like they are not part of reserved words. I checked
https://www.gnu.org/software/make/manual/make.html#Make-Control-Functions
, but I don't see what is wrong with the text.

Trial and error, by commenting out this line, the structure is restored in Kate:

    #$(info INFO: Crypto++ was built without LLVM's libc++. If you are
using the library)

What is wrong with the use of $(info text…) in this case?

Thanks in advance.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.