]> granicus.if.org Git - re2c/commitdiff
Makefile.am: use '=' instead of '==' to compare strings.
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 28 Nov 2015 15:39:56 +0000 (15:39 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 28 Nov 2015 15:39:56 +0000 (15:39 +0000)
'==' appears to be a bash feature.

re2c/Makefile.am

index a2fde63f583f43be319d38786f1b400c9f5045f1..ad0fd6cf19026e4c2319ba0345d295d2c2dc90db 100644 (file)
@@ -188,7 +188,7 @@ CLEANFILES = \
        $(DOC)
 
 $(AUTOGEN_PARSER): $(CUSTOM_PARSER)
-       @if test $(BISON) == "no"; \
+       @if test $(BISON) = "no"; \
        then \
                cp $(top_srcdir)/$(BOOTSTRAP_PARSER) $@ && \
                cp $(top_srcdir)/$(BOOTSTRAP_PARSER_HDR) $(AUTOGEN_PARSER_HDR); \
@@ -204,7 +204,7 @@ $(AUTOGEN_PARSER): $(CUSTOM_PARSER)
 $(AUTOGEN_LEX): $(AUTOGEN_PARSER)
 
 $(BOOTSTRAP_PARSER): $(CUSTOM_PARSER)
-       @test $(BISON) == "no" || \
+       @test $(BISON) = "no" || \
        $(BISON) \
                --output=$(top_srcdir)/$@ \
                --defines=$(top_srcdir)/$(BOOTSTRAP_PARSER_HDR) \