File: configure.win

package info (click to toggle)
r-cran-stringi 1.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 59,476 kB
  • sloc: cpp: 462,582; ansic: 51,900; makefile: 9; sh: 1
file content (26 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# `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);
' `