mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RUBY_NACL): Warns if $PATH does not contain the path
to NativeClient SDK. PATH variable redefinition in GNUmakefile does not work for GNU make 3.81. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8706c00dfd
commit
c541ff3223
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Jun 10 18:31:42 2012 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* configure.in (RUBY_NACL): Warns if $PATH does not contain the path
|
||||
to NativeClient SDK. PATH variable redefinition in GNUmakefile does
|
||||
not work for GNU make 3.81.
|
||||
|
||||
Sun Jun 10 17:54:36 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* gc.h (IS_STACK_DIR_UPPER): utility macro.
|
||||
|
|
10
configure.in
10
configure.in
|
@ -108,9 +108,17 @@ AC_DEFUN([RUBY_NACL],
|
|||
if test -z "${NACL_TOOLCHAIN}"; then
|
||||
AC_MSG_ERROR([Unrecognized --host and --build combination or NaCl SDK is not installed])
|
||||
fi
|
||||
PATH="${PATH}:${NACL_SDK_ROOT}/toolchain/${NACL_TOOLCHAIN}/bin"
|
||||
AC_MSG_RESULT(${NACL_TOOLCHAIN})
|
||||
|
||||
AC_MSG_CHECKING([path to SDK])
|
||||
if echo -- "${PATH}" | grep -F "${NACL_SDK_ROOT}/toolchain/${NACL_TOOLCHAIN}/bin" > /dev/null; then
|
||||
AC_MSG_RESULT([set])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_WARN([Add "${NACL_SDK_ROOT}/toolchain/${NACL_TOOLCHAIN}/bin" to \$PATH])
|
||||
PATH="${PATH}:${NACL_SDK_ROOT}/toolchain/${NACL_TOOLCHAIN}/bin"
|
||||
fi
|
||||
|
||||
AC_SUBST(NACL_TOOLCHAIN)
|
||||
AC_SUBST(NACL_SDK_ROOT)
|
||||
AC_SUBST(NACL_SDK_VARIANT, nacl_cv_build_variant)
|
||||
|
|
Loading…
Add table
Reference in a new issue