From a97c07fb2e70c2076c2da3def4a0da361540d4bd Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 22 Nov 2010 21:30:22 +0000 Subject: [PATCH] * configure.in (rubylibprefix): No ruby, No libprefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d04472ba3..ac00821d05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Nov 23 06:30:18 2010 Nobuyoshi Nakada + + * configure.in (rubylibprefix): No ruby, No libprefix. + Tue Nov 23 06:26:26 2010 Nobuyoshi Nakada * ChangeLog (change-log-indent-text): hunging indent. diff --git a/configure.in b/configure.in index af5274dbc5..2286988926 100644 --- a/configure.in +++ b/configure.in @@ -2612,7 +2612,10 @@ AS_CASE(["$target_os"], rubylibprefix='${libdir}/${RUBY_BASE_NAME}' AC_ARG_WITH(rubylibprefix, AS_HELP_STRING([--with-rubylibprefix=DIR], [prefix for ruby libraries [[LIBDIR/RUBY_BASE_NAME]]]), - [rubylibprefix=$withval]) + [if test "x$withval" = xno; then + AC_MSG_ERROR([No ruby, No libprefix]) + fi + rubylibprefix"=$withval"]) RUBY_LIB_PREFIX=`eval echo \\"${rubylibprefix}\\"` AC_SUBST(rubylibprefix)