]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Recognize the *-*-windows* config triplets introduced on 2023-06-26.
authorBruno Haible <bruno@clisp.org>
Wed, 6 Sep 2023 15:13:26 +0000 (17:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 6 Sep 2023 15:13:26 +0000 (17:13 +0200)
* libtextstyle/lib/Makefile.am: Treat windows* as equivalent to mingw*.

libtextstyle/lib/Makefile.am

index d2a6cae15a3a81f7179da525cadffca948bfd0ba..324d189dbd6cbb0393d15bc83d981e24529eeba3 100644 (file)
@@ -186,7 +186,7 @@ EXTRA_DIST           += libtextstyle.sym.in declared.sh
 libtextstyle.sym : $(srcdir)/libtextstyle.sym.in
        cat $(srcdir)/libtextstyle.sym.in \
          | case "@host_os@" in \
-             mingw*) cat ;; \
+             mingw* | windows*) cat ;; \
              *) grep -v '^libtextstyle_isatty$$' ;; \
            esac \
          > $@-t
@@ -217,7 +217,7 @@ config.h: $(BUILT_SOURCES) libtextstyle.sym
          echo; \
          echo '#endif /* LIBTEXTSTYLE_CONFIG_H */'; \
          case "@host_os@" in \
-           mingw*) echo '#define isatty libtextstyle_isatty' ;; \
+           mingw* | windows*) echo '#define isatty libtextstyle_isatty' ;; \
          esac; \
        } > config.h && \
        if test -n "$(NAMESPACING)" && test -n "$(HAVE_GLOBAL_SYMBOL_PIPE)"; then \