Skip to content

Commit a2c21c2

Browse files
committed
Warn anaconda users
Fixes #395
1 parent 8467225 commit a2c21c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ CPPFLAGS=`${R_HOME}/bin/R CMD config CPPFLAGS`
5757
echo "Using PKG_CFLAGS=$PKG_CFLAGS"
5858
echo "Using PKG_LIBS=$PKG_LIBS"
5959

60+
case "$PKG_LIBS$R_HOME" in
61+
*conda*) echo "Warning: you seem to be using conda. Better install this package using instructions on https://anaconda.org/conda-forge/r-magick"
62+
esac
63+
6064
# Test configuration
6165
echo "#include $PKG_TEST_HEADER" | ${CXX} -E ${CPPFLAGS} ${PKG_CFLAGS} ${CXXFLAGS} -xc++ - >/dev/null 2>configure.log
6266

0 commit comments

Comments
 (0)