mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-528. perl: add PERL_PREFIX to configure.ac
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@953796 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7887b860b
commit
c07057e49f
@ -48,6 +48,12 @@ AC_ARG_VAR([PHP_PREFIX], [Prefix for installing PHP modules.
|
||||
Default = "/usr/lib/php"])
|
||||
AS_IF([test "x$PHP_PREFIX" = x], [PHP_PREFIX="/usr/lib/php"])
|
||||
|
||||
AC_ARG_VAR([PERL_PREFIX], [Prefix for installing Perl modules.
|
||||
(Normal --prefix is ignored for Perl because
|
||||
Perl has different conventions.)
|
||||
Default = "/usr/local/lib"])
|
||||
AS_IF([test "x$PERL_PREFIX" = x], [PERL_PREFIX="/usr/local"])
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
|
@ -20,7 +20,7 @@
|
||||
SUBDIRS = test
|
||||
|
||||
Makefile-perl.mk : Makefile.PL
|
||||
$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=$(INSTALLDIRS)
|
||||
$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=$(INSTALLDIRS) INSTALL_BASE=$(PERL_PREFIX)
|
||||
|
||||
all-local: Makefile-perl.mk
|
||||
$(MAKE) -f Makefile-perl.mk
|
||||
|
Loading…
Reference in New Issue
Block a user