-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from gagolews/test501
#501 ongoing
- Loading branch information
Showing
138 changed files
with
498 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,49 @@ | ||
# Copyright (c) 2013-2023, Marek Gagolewski <https://www.gagolewski.com/> | ||
|
||
# this is an architecture-independent configure.win file | ||
# This is an architecture-independent configure.win file | ||
|
||
ICU_FOUND=0 # use our ICU bundle | ||
|
||
ICUDT_DIR="icu74/data" | ||
ICU_BUNDLE_VERSION=74 | ||
|
||
# some systems do not have ResolveLocaleName - this applies to mingw | ||
# on 32-bit windows shipped with older Rtools (R < 4.2) | ||
DISABLE_RESOLVE_LOCALE_NAME=`"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e ' | ||
cat(as.integer(getRversion() < "4.2")) | ||
'` | ||
|
||
|
||
echo "ICU_FOUND=${ICU_FOUND}" | ||
echo "ICU_BUNDLE_VERSION=${ICU_BUNDLE_VERSION}" | ||
echo "ICUDT_DIR=${ICUDT_DIR}" | ||
echo "DISABLE_RESOLVE_LOCALE_NAME=${DISABLE_RESOLVE_LOCALE_NAME}" | ||
|
||
|
||
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e ' | ||
fin <- "src/uconfig_local.h.in"; | ||
fout <- "src/uconfig_local.h"; | ||
f <- readLines(fin); | ||
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE); | ||
f <- gsub("@ICUDT_DIR@", "icu74/data", f, fixed = TRUE); | ||
f <- gsub("@ICU_BUNDLE_VERSION@", "74", f, fixed = TRUE); | ||
f <- gsub("@ICU_FOUND@", '"${ICU_FOUND}"', f, fixed = TRUE); | ||
f <- gsub("@DISABLE_RESOLVE_LOCALE_NAME@", '"${DISABLE_RESOLVE_LOCALE_NAME}"', f, fixed = TRUE); | ||
f <- gsub("@ICUDT_DIR@", "'"${ICUDT_DIR}"'", f, fixed = TRUE); | ||
f <- gsub("@ICU_BUNDLE_VERSION@", "'"${ICU_BUNDLE_VERSION}"'", f, fixed = TRUE); | ||
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE); | ||
con <- file(fout, "wb") # LF line ending | ||
writeLines(f, con); | ||
close(con) | ||
' ` | ||
' | ||
|
||
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e ' | ||
fin <- "src/install.libs.R.in"; | ||
fout <- "src/install.libs.R"; | ||
f <- readLines(fin); | ||
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE); | ||
f <- gsub("@ICUDT_DIR@", "icu74/data", f, fixed = TRUE); | ||
f <- gsub("@ICU_BUNDLE_VERSION@", "74", f, fixed = TRUE); | ||
f <- gsub("@ICU_FOUND@", '"${ICU_FOUND}"', f, fixed = TRUE); | ||
f <- gsub("@DISABLE_RESOLVE_LOCALE_NAME@", '"${DISABLE_RESOLVE_LOCALE_NAME}"', f, fixed = TRUE); | ||
f <- gsub("@ICUDT_DIR@", "'"${ICUDT_DIR}"'", f, fixed = TRUE); | ||
f <- gsub("@ICU_BUNDLE_VERSION@", "'"${ICU_BUNDLE_VERSION}"'", f, fixed = TRUE); | ||
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE); | ||
con <- file(fout, "wb") # LF line ending | ||
writeLines(f, con); | ||
close(con) | ||
' ` | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.