mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
d683219966
Summary: Added the configure script variable PY_PREFIX which serves the same purpose for Python as --prefix does for C/C++. We chose to do this because Python has different conventions for where to install libraries. Reviewed By: mcslee Test Plan: Full clean builds and installs of Thrift from the Thrift root, with and without PY_PREFIX. Watched output of make install. Ran configure from lib/py without PY_PREFIX, with PY_PREFIX and with PY_PREFIX in the environment. Checked config.status for each. Revert Plan: okay git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665248 13f79535-47bb-0310-9956-ffa450edef68
20 lines
470 B
Plaintext
20 lines
470 B
Plaintext
AC_PREREQ(2.59)
|
|
|
|
AC_INIT([thrift], [1.0])
|
|
|
|
AC_CONFIG_AUX_DIR([.])
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
AC_ARG_VAR([PY_PREFIX], [Prefix for installing Python modules.
|
|
(Normal --prefix is ignored for Python because
|
|
Python has different conventions.)
|
|
Default = "/usr"])
|
|
AS_IF([test "x$PY_PREFIX" == x], [PY_PREFIX="/usr"])
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_CONFIG_SUBDIRS([compiler/cpp lib/cpp lib/py if])
|
|
|
|
AC_OUTPUT
|