From: Jake Farrell Date: Thu, 5 May 2011 13:45:26 +0000 (+0000) Subject: Thrift-1104: INSTALLDIRS should be included in configure script X-Git-Tag: 0.7.0~96 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=05e0cdb4542b9ae0c3db0d841004b4acc1a73033;p=common%2Fthrift.git Thrift-1104: INSTALLDIRS should be included in configure script Client: perl, build process Patch: Dmitriy Kargapolov Adds INSTALLDIRS to configure to be able to specify a specific install location for perl since it does not use --prefix. git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1099799 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.ac b/configure.ac index 82318ad7..faffa558 100644 --- a/configure.ac +++ b/configure.ac @@ -56,9 +56,16 @@ AC_ARG_VAR([PHP_CONFIG_PREFIX], Default = "/etc/php.d"]) AS_IF([test "x$PHP_CONFIG_PREFIX" = x], [PHP_CONFIG_PREFIX="/etc/php.d"]) +AC_ARG_VAR([INSTALLDIRS], [When installing Perl modules, specifies which + of the sets of installation directories + to choose: perl, site or vendor. + Default = "vendor"]) +AS_IF([test "x$INSTALLDIRS" = x], [INSTALLDIRS="vendor"]) + AC_ARG_VAR([PERL_PREFIX], [Prefix for installing Perl modules. (Normal --prefix is ignored for Perl because Perl has different conventions.) + Ignored, when INSTALLDIRS set to site or vendor. Default = "/usr/local/lib"]) AS_IF([test "x$PERL_PREFIX" = x], [PERL_PREFIX="/usr/local"])