Revision 509e241dbfab986144eca1d03b5f6da5ec1c1adf authored by Marek Gagolewski on 17 February 2020, 17:00:06 UTC, committed by cran-robot on 17 February 2020, 17:00:06 UTC
1 parent fb34357
Raw File
configure.win
# `stringi` configure.win
# (C) 2015-2018 Marek Gagolewski

# this is an architecture-independent configure.win file

"${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@", "icu61/data", f, fixed = TRUE);
   f <- gsub("@ICU_BUNDLE_VERSION@", "61", f, fixed = TRUE);
   f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
   writeLines(f, fout);
' `

"${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@", "icu61/data", f, fixed = TRUE);
   f <- gsub("@ICU_BUNDLE_VERSION@", "61", f, fixed = TRUE);
   f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
   writeLines(f, fout);
' `
back to top