support R in WIN32.

This commit is contained in:
U-WIN7\Vitor 2011-11-15 04:37:21 -08:00
parent 79bcde0869
commit a2917e4e9e
3 changed files with 475 additions and 446 deletions

904
configure vendored

File diff suppressed because it is too large Load Diff

15
configure.in Normal file → Executable file
View File

@ -732,6 +732,21 @@ then
fi
;;
esac
else
case "$target_os" in
*cygwin*|*mingw*)
YAPR_INCLUDES="-I\"$yap_cv_yapr/include\""
if test "$YAP_TARGET" = i386; then
EXTRA_LIBS_FOR_R="\"$yap_cv_yapr/bin/i386/R.dll\""
else
EXTRA_LIBS_FOR_R="\"$yap_cv_yapr/bin/x64/R.dll\""
fi
;;
*)
YAPR_INCLUDES="-I$yap_cv_yapr/include"
EXTRA_LIBS_FOR_R="-L $yap_cv_yapr/lib -lR"
;;
esac
fi
AC_CHECK_LIB(R,main)
fi

@ -1 +1 @@
Subproject commit d3e30e57bba654350b88c49a82c1c386a40aa63d
Subproject commit 07851a3721d28d937a6e4bc1086ced973582027e