summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-02 22:37:09 +0800
committerraveit65 <[email protected]>2018-05-27 13:44:45 +0200
commit2b06561106415f0ff60eb5fd868f9ce015b0c23d (patch)
tree7df43e0e2399b88b03dfd20037ae4f7aaf7bf3f6 /configure.ac
parent2542262a67e17531617b527360b544e4b6478980 (diff)
downloadmate-menus-2b06561106415f0ff60eb5fd868f9ce015b0c23d.tar.bz2
mate-menus-2b06561106415f0ff60eb5fd868f9ce015b0c23d.tar.xz
drop python2 support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac21
1 files changed, 0 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac
index d502be5..fb346a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,25 +69,6 @@ else
fi
AC_SUBST(DEBUG_CFLAGS)
-AC_ARG_ENABLE(python,
- [AC_HELP_STRING([--enable-python],
- [build python bindings])],
- [enable_python=$enableval],
- [enable_python=yes])
-
-# Detect if we can build Python bindings (need python and python headers)
-if test "x$enable_python" = "xyes" ; then
- AM_PATH_PYTHON(2.7)
- PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}], [have_python=yes], [have_python=no])
-else
- have_python=no
-fi
-AC_SUBST(PYTHON_LIBS)
-AC_SUBST(PYTHON_CFLAGS)
-
-AM_CONDITIONAL(HAVE_PYTHON, test x$have_python = xyes)
-
-
GOBJECT_INTROSPECTION_CHECK([0.6.7])
AC_OUTPUT([
@@ -98,7 +79,6 @@ libmenu/libmate-menu-uninstalled.pc
layout/Makefile
desktop-directories/Makefile
util/Makefile
-python/Makefile
po/Makefile.in
])
@@ -125,7 +105,6 @@ echo "
Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}
Turn on debugging: ${enable_debug}
- Build python bindings: ${have_python}
Build introspection support: ${found_introspection}
"