ruby-changes:27053
From: nobu <ko1@a...>
Date: Wed, 6 Feb 2013 17:32:57 +0900 (JST)
Subject: [ruby-changes:27053] nobu:r39106 (trunk): configure.in: RUBY_VERSION_NAME
nobu 2013-02-06 17:32:48 +0900 (Wed, 06 Feb 2013) New Revision: 39106 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39106 Log: configure.in: RUBY_VERSION_NAME * configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add substitution and define. Modified files: trunk/ChangeLog trunk/configure.in trunk/template/ruby.pc.in Index: configure.in =================================================================== --- configure.in (revision 39105) +++ configure.in (revision 39106) @@ -205,7 +205,9 @@ RUBY_BASE_NAME=`echo ruby | sed "$progra https://github.com/ruby/ruby/blob/trunk/configure.in#L205 RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"` AC_SUBST(RUBY_BASE_NAME) AC_SUBST(RUBYW_BASE_NAME) +AC_SUBST(RUBY_VERSION_NAME, '${RUBY_BASE_NAME}-${ruby_version}') AC_DEFINE_UNQUOTED(RUBY_BASE_NAME, "${RUBY_BASE_NAME}" !<verconf>!) +AC_DEFINE_UNQUOTED(RUBY_VERSION_NAME, RUBY_BASE_NAME"-"RUBY_LIB_VERSION !<verconf>!) AC_CANONICAL_TARGET target_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'` @@ -3309,7 +3311,7 @@ fi https://github.com/ruby/ruby/blob/trunk/configure.in#L3311 AC_ARG_WITH(rubyhdrdir, AS_HELP_STRING([--with-rubyhdrdir=DIR], [core headers in DIR [[INCLUDEDIR/RUBY_BASE_NAME-RUBY_VERSION]]]), [rubyhdrdir=$withval], - [rubyhdrdir='${includedir}/${RUBY_BASE_NAME}-${ruby_version}']) + [rubyhdrdir='${includedir}/${RUBY_VERSION_NAME}']) AC_ARG_WITH(sitehdrdir, AS_HELP_STRING([--with-sitehdrdir=DIR], [core site headers in DIR [[RUBYHDRDIR/site_ruby]]]), Index: ChangeLog =================================================================== --- ChangeLog (revision 39105) +++ ChangeLog (revision 39106) @@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Wed Feb 6 17:32:41 2013 Nobuyoshi Nakada <nobu@r...> +Wed Feb 6 17:32:46 2013 Nobuyoshi Nakada <nobu@r...> + + * configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add + substitution and define. * configure.in, version.c: parametric architecture name for paths. Index: template/ruby.pc.in =================================================================== --- template/ruby.pc.in (revision 39105) +++ template/ruby.pc.in (revision 39106) @@ -11,6 +11,7 @@ TEENY=@TEENY@ https://github.com/ruby/ruby/blob/trunk/template/ruby.pc.in#L11 ruby_version=@ruby_version@ RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@ RUBY_BASE_NAME=@RUBY_BASE_NAME@ +RUBY_VERSION_NAME=@RUBY_VERSION_NAME@ RUBY_SO_NAME=@RUBY_SO_NAME@ RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@ DEFFILE=@DEFFILE@ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/