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/11/08 06:51:57 UTC

svn commit: r1406933 - /incubator/mesos/trunk/configure.ac

Author: benh
Date: Thu Nov  8 05:51:56 2012
New Revision: 1406933

URL: http://svn.apache.org/viewvc?rev=1406933&view=rev
Log:
Removed old Python webui remnants from configure.ac.

From: Ben Mahler <be...@gmail.com>
Review: https://reviews.apache.org/r/7770

Modified:
    incubator/mesos/trunk/configure.ac

Modified: incubator/mesos/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/configure.ac?rev=1406933&r1=1406932&r2=1406933&view=diff
==============================================================================
--- incubator/mesos/trunk/configure.ac (original)
+++ incubator/mesos/trunk/configure.ac Thu Nov  8 05:51:56 2012
@@ -117,11 +117,6 @@ AC_ARG_ENABLE([python],
                              [don't build Python bindings]),
               [], [enable_python=yes])
 
-AC_ARG_ENABLE([webui],
-              AS_HELP_STRING([--disable-webui],
-                             [don't build webui (requires Python 2.6)]),
-              [], [enable_webui=yes])
-
 AC_ARG_ENABLE([optimize],
               AS_HELP_STRING([--disable-optimize],
                              [don't try to compile with optimizations]),
@@ -362,38 +357,6 @@ fi
 AM_CONDITIONAL([HAS_PYTHON], [test "x$has_python" = "xyes"])
 
 
-# Configure webui as necessary if enabled (must be done *after* we
-# configure Python).
-if test "x$enable_webui" = "xyes"; then
-  # Make sure we have Python.
-  test "x$has_python" = "xyes" || \
-    AC_MSG_ERROR([webui requires --enable-python])
-
-  # The webui requires at least Python 2.6.
-  AM_PYTHON_CHECK_VERSION([$PYTHON], [2.6], [],
-                          [AC_MSG_ERROR([webui requires Python >= 2.6])])
-
-  # Determine the flags necessary for embedding Python.
-  WEBUI_CPPFLAGS=`$PYTHON -c \
-    'from distutils import sysconfig; \
-     print "-I" + sysconfig.get_config_var("INCLUDEPY")'`
-
-  WEBUI_LDFLAGS=`$PYTHON -c \
-    'from distutils import sysconfig; \
-     print sysconfig.get_config_var("LINKFORSHARED") + \
-     " -lpython" + sysconfig.get_config_var("VERSION")'`
-
-  AC_SUBST([WEBUI_CPPFLAGS])
-  AC_SUBST([WEBUI_LDFLAGS])
-
-  AC_DEFINE([MESOS_WEBUI])
-
-  webui=yes
-fi
-
-AM_CONDITIONAL([WEBUI], [test "x$webui" = "xyes"])
-
-
 # Check if we should try and enable optimizations.
 if test "x$enable_optimize" = "xyes"; then
   # For now, we only turn on optimizations for gcc.