https://github.com/cran/XML
Revision 31237d1463967cd433b9a20e3c2d9cb991c757a9 authored by Duncan Temple Lang on 04 March 2009, 00:00:00 UTC, committed by Gabor Csardi on 04 March 2009, 00:00:00 UTC
1 parent 2797a65
Raw File
Tip revision: 31237d1463967cd433b9a20e3c2d9cb991c757a9 authored by Duncan Temple Lang on 04 March 2009, 00:00:00 UTC
version 2.3-0
Tip revision: 31237d1
configure.win
#!/bin/sh



if test -z "$LIB_XML" ; then
  echo "Please define LIB_XML (and LIB_ZLIB, LIB_ICONV)"
  exit 1
fi

if test -z "$LIB_ZLIB" ; then
  echo "Please define LIB_ZLIB (and LIB_ICONV)"
  exit 1
fi

if test -z "$LIB_ICONV" ; then  
  echo "Please define LIB_ICONV"
  exit 1
fi

mkdir $R_PACKAGE_DIR/libs
# These were in $LIB_ZLIB/lib/ and $LIB_XML/lib
cp $LIB_ZLIB/bin/zlib1.dll $R_PACKAGE_DIR/libs
cp $LIB_XML/bin/libxml2.dll $R_PACKAGE_DIR/libs

echo "supportsExpat <- function() FALSE\n\nsupportsLibxml() <- TRUE" > R/supports.R

back to top