From 899cdab190666d07026a050d55f364bd8c4481db Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 28 Aug 2007 18:30:53 +0000 Subject: Make use of AM_PATH_PYTHON to get python variables. Fixes bug #470642 2007-08-24 Xavier Claessens * python/pyempathy/Makefile.am: * python/pyempathygtk/Makefile.am: * configure.ac: Make use of AM_PATH_PYTHON to get python variables. Fixes bug #470642 (Daniel Gryniewicz). svn path=/trunk/; revision=278 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 761b7f964..c31afd82c 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,12 @@ if test "x$have_python" = "xno"; then enable_python="no (missing dependencies)" else if test "x$enable_python" != "xno"; then - enable_python="yes" + AM_PATH_PYTHON + if test -z "$PYTHON" ; then + enable_python="no" + else + enable_python="yes" + fi else enable_python="no (disabled)" fi -- cgit v1.2.3