[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(info text…) and missing endif
From: |
Eli Zaretskii |
Subject: |
Re: $(info text…) and missing endif |
Date: |
Sun, 16 Apr 2023 08:45:24 +0300 |
> From: Jeffrey Walton <noloader@gmail.com>
> Date: Sat, 15 Apr 2023 17:40:27 -0400
>
> 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?
It has "if" as part of the text.