You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2014/01/15 13:55:50 UTC

git commit: THRIFT-2318 perl: dependency Class::Accessor not checked Patch: Roger Meier

Updated Branches:
  refs/heads/master 09cc5e772 -> aae8acb2d


THRIFT-2318 perl: dependency Class::Accessor not checked
Patch: Roger Meier


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/aae8acb2
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/aae8acb2
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/aae8acb2

Branch: refs/heads/master
Commit: aae8acb2db6210911f809e857eebfd4d1c765ac2
Parents: 09cc5e7
Author: Roger Meier <ro...@apache.org>
Authored: Wed Jan 15 13:55:09 2014 +0100
Committer: Roger Meier <ro...@apache.org>
Committed: Wed Jan 15 13:55:09 2014 +0100

----------------------------------------------------------------------
 .travis.yml         | 2 +-
 configure.ac        | 6 +++++-
 contrib/Vagrantfile | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/aae8acb2/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4f8115e..06f57c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,7 +37,7 @@ before_install:
 # Python
  - sudo apt-get install -qq python-all python-all-dev python-all-dbg
 # Perl
- - sudo apt-get install -qq libbit-vector-perl
+ - sudo apt-get install -qq libbit-vector-perl libclass-accessor-class-perl
 # PHP
  - sudo apt-get install -qq php5-dev php5-cli phpunit
  - sudo apt-get upgrade pear

http://git-wip-us.apache.org/repos/asf/thrift/blob/aae8acb2/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 0bcf807..593b66c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -195,9 +195,13 @@ if test "$with_perl" = "yes"; then
   if test -n "$PERL" ; then
     AC_PROG_PERL_MODULES([Bit::Vector], success="yes", success="no")
     have_perl_bit_vector="$success"
+    AC_PROG_PERL_MODULES([Class::Accessor], success="yes", success="no")
+    have_perl_class_accessor="$success"
   fi
   if test -n "$PERL" -a "$have_perl_bit_vector" = "yes" ; then
-    have_perl="yes"
+    if test -n "$PERL" -a "$have_perl_class_accessor" = "yes" ; then
+      have_perl="yes"
+    fi
   fi
 fi
 AM_CONDITIONAL(WITH_PERL, [test "$have_perl" = "yes"])

http://git-wip-us.apache.org/repos/asf/thrift/blob/aae8acb2/contrib/Vagrantfile
----------------------------------------------------------------------
diff --git a/contrib/Vagrantfile b/contrib/Vagrantfile
index 5a99127..cc8bcdf 100644
--- a/contrib/Vagrantfile
+++ b/contrib/Vagrantfile
@@ -41,7 +41,7 @@ sudo apt-get install -qq ruby rubygems
 sudo gem install bundler rake
 
 # Perl dependencies
-sudo apt-get install -qq libbit-vector-perl
+sudo apt-get install -qq libbit-vector-perl libclass-accessor-class-perl
 
 # Php dependencies
 sudo apt-get install -qq php5 php5-dev php5-cli php-pear