зеркало из https://github.com/github/ruby.git
* configure.in (RUBY_LIB_PREFIX): use libdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5a18215406
Коммит
e5fb40c4fa
|
@ -1,3 +1,7 @@
|
|||
Fri Mar 14 15:49:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_LIB_PREFIX): use libdir.
|
||||
|
||||
Fri Mar 14 14:24:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/digest/defs.h: inttypes.h is still needed.
|
||||
|
|
|
@ -1716,10 +1716,10 @@ case "$target_os" in
|
|||
esac
|
||||
case "$target_os" in
|
||||
cygwin*|mingw*|*djgpp*|os2-emx*)
|
||||
RUBY_LIB_PREFIX="/lib/ruby"
|
||||
RUBY_LIB_PREFIX="`expr "$libdir" : "$prefix\(/.*\)"`/ruby"
|
||||
;;
|
||||
*)
|
||||
RUBY_LIB_PREFIX="${prefix}/lib/ruby"
|
||||
RUBY_LIB_PREFIX="${libdir}/ruby"
|
||||
;;
|
||||
esac
|
||||
RUBY_LIB_PATH="${RUBY_LIB_PREFIX}/${MAJOR}.${MINOR}.${TEENY}"
|
||||
|
@ -1727,7 +1727,7 @@ RUBY_LIB_PATH="${RUBY_LIB_PREFIX}/${MAJOR}.${MINOR}.${TEENY}"
|
|||
AC_ARG_WITH(sitedir,
|
||||
[ --with-sitedir=DIR site libraries in DIR [PREFIX/lib/ruby/site_ruby]],
|
||||
[sitedir=$withval],
|
||||
[sitedir='${prefix}/lib/ruby/site_ruby'])
|
||||
[sitedir='${libdir}/ruby/site_ruby'])
|
||||
SITE_DIR=`eval echo \\"${sitedir}\\"`
|
||||
case "$target_os" in
|
||||
cygwin*|mingw*|*djgpp*|os2-emx*)
|
||||
|
|
Загрузка…
Ссылка в новой задаче