swh:1:snp:7d9f1bc35e120776766db9334626062f837c20ad
Tip revision: 3aec705cb47d361dcef7073697c633912bb467df authored by Duncan Temple Lang on 11 January 2012, 00:00:00 UTC
version 3.7-4
version 3.7-4
Tip revision: 3aec705
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
if test -z "${R_PACKAGE_DIR}"; then
R_PACKAGE_DIR=${DPKG}
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"
cp $LIB_ICONV/bin/iconv.dll "$R_PACKAGE_DIR/libs"
echo "supportsExpat <- function() FALSE" > R/supports.R
echo "supportsLibxml <- function() TRUE" >> R/supports.R
echo "ADD_XML_OUTPUT_BUFFER = FALSE" >> R/supports.R