autotools: add --with-windows-unicode option

- add `--with-windows-unicode` and `--without-windows-unicode` (default)
  options.

- enable it in a CI job.

Fixes #7229
Closes #14478
This commit is contained in:
Viktor Szakats 2024-08-09 20:18:48 +02:00
parent 2edbc229cb
commit 9e4a2187e7
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 35 additions and 9 deletions

View file

@ -50,6 +50,11 @@ AM_CPPFLAGS += -DCURL_STATICLIB
endif
AM_CPPFLAGS += -DBUILDING_CURL
AM_LDFLAGS =
if USE_UNICODE
AM_LDFLAGS += -municode
endif
include Makefile.inc
# CURL_FILES comes from Makefile.inc