Author: jfarrell
Date: Thu May 5 13:45:26 2011
New Revision: 1099799
URL: http://svn.apache.org/viewvc?rev=1099799&view=rev
Log:
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.
Modified:
thrift/trunk/configure.ac
Modified: thrift/trunk/configure.ac
URL:
http://svn.apache.org/viewvc/thrift/trunk/configure.ac?rev=1099799&r1=1099798&r2=1099799&view=diff
==============================================================================
--- thrift/trunk/configure.ac (original)
+++ thrift/trunk/configure.ac Thu May 5 13:45:26 2011
@@ -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"])