Fix configure for rare cases where python is not installed
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 3 Jan 2019 18:23:55 +0000 (19:23 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 3 Jan 2019 18:23:55 +0000 (19:23 +0100)
configure.ac

index 91fa59e..2ac2aa7 100644 (file)
@@ -1318,6 +1318,9 @@ AM_PATH_PYTHON([2.5], [
                        missing_python="pygtk-2.0 >= 2.10.3"
                fi
        fi
+], [
+               HAVE_PYTHON=no
+               missing_python="python interpreter"
 ])
 AC_SUBST(PYTHON_SHARED_LIB)
 AC_SUBST(PYTHON_CFLAGS)