From 05e0cdb4542b9ae0c3db0d841004b4acc1a73033 Mon Sep 17 00:00:00 2001 From: Jake Farrell Date: Thu, 5 May 2011 13:45:26 +0000 Subject: [PATCH] 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 --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) 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"]) -- 2.17.1