diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-08-29 02:30:53 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-08-29 02:30:53 +0800 |
commit | 899cdab190666d07026a050d55f364bd8c4481db (patch) | |
tree | e534ae3bb199b3c2593ce74368b4afa67441083f /configure.ac | |
parent | 81253fc559bc6340ac41abf86ab073ed8f9c085f (diff) | |
download | gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar.gz gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar.bz2 gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar.lz gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar.xz gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.tar.zst gsoc2013-empathy-899cdab190666d07026a050d55f364bd8c4481db.zip |
Make use of AM_PATH_PYTHON to get python variables. Fixes bug #470642
2007-08-24 Xavier Claessens <xclaesse@gmail.com>
* 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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
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 |