summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-02 21:57:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-02 21:57:16 +0000
commit5c9d7c54ab3ca9933be70781777022d55e654309 (patch)
tree67f8ff70b22d3d82e471a710b56d5d9ddeb51b03
parentd45a9e77c20df00b7001b26901f56cdd55aabbad (diff)
* configure.in (ruby_pc): make configurable. [Bug #6051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 790ac37c3e..b4d5b35dbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar 3 06:57:14 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in (ruby_pc): make configurable. [Bug #6051]
+
Fri Mar 2 17:49:03 2012 Hiroshi Nakamura <nahi@ruby-lang.org>
* .travis.yml (branches): Enable TravisCI for ruby_1_9_3.
diff --git a/configure.in b/configure.in
index bfd9f49fac..9a679de45f 100644
--- a/configure.in
+++ b/configure.in
@@ -3080,7 +3080,10 @@ AC_CONFIG_FILES(Makefile, [{
}],
[EXEEXT='$EXEEXT' gnumake='$gnumake'])
-ruby_pc="${RUBY_BASE_NAME}-${MAJOR}.${MINOR}.pc"
+AC_ARG_WITH([ruby-pc],
+ AC_HELP_STRING([pc file basename]),
+ [ruby_pc="$withval"],
+ [ruby_pc="${RUBY_BASE_NAME}-${MAJOR}.${MINOR}.pc"])
AC_SUBST(ruby_pc)
AC_SUBST(exec, [exec])