You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2012/01/31 01:29:58 UTC
svn commit: r1238110 - /incubator/mesos/trunk/configure.ac
Author: benh
Date: Tue Jan 31 00:29:57 2012
New Revision: 1238110
URL: http://svn.apache.org/viewvc?rev=1238110&view=rev
Log:
Made PYTHON be an environment variable recognized by the script so that './config.status --recheck' can get run properly. This is needed at Twitter because the default Python interpreter is < 2.6.
Modified:
incubator/mesos/trunk/configure.ac
Modified: incubator/mesos/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/configure.ac?rev=1238110&r1=1238109&r2=1238110&view=diff
==============================================================================
--- incubator/mesos/trunk/configure.ac (original)
+++ incubator/mesos/trunk/configure.ac Tue Jan 31 00:29:57 2012
@@ -112,6 +112,9 @@ AC_ARG_VAR([JAVA_CPPFLAGS], [preprocesso
AC_ARG_VAR([JAVA_LDFLAGS], [linker flags for JDK])
+AC_ARG_VAR([PYTHON], [which Python interpreter to use])
+
+
# Determine the current OS (TODO(benh): Does autotools do this for us?).
case "${target_os}" in
linux*)
@@ -142,9 +145,11 @@ case "${target_os}" in
AC_MSG_ERROR("Mesos is currently unsupported on your platform.")
esac
-# Useful for conditionally including source files.
+
+# Used for conditionally including source files.
AM_CONDITIONAL([OS_LINUX], [test "x$OS_NAME" = "xlinux"])
+
# TODO(benh): Consider using AS_IF instead of just shell 'if'
# statements for better autoconf style (the AS_IF macros also make
# sure variable dependencies are handled appropriately).