From c7563c606056f6abe916528cf6388860d3a776e7 Mon Sep 17 00:00:00 2001 From: Ionut Biru Date: Thu, 28 Apr 2011 04:55:39 -0700 Subject: [PATCH] use automake python macro instead of checking for each python binary version. Signed-off-by: Ionut Biru --- configure.ac | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index e257e2a..32e1cb5 100644 --- a/configure.ac +++ b/configure.ac @@ -102,12 +102,8 @@ AC_CHECK_PROGS([XSLTPROC], [xsltproc]) if test -z "$XSLTPROC"; then AC_MSG_ERROR([xsltproc (from the libxslt source package) is required]) fi -PYTHON= -AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python]) -if test -z "$PYTHON"; then - AC_MSG_ERROR([Python is required to compile this package]) -fi +AM_PATH_PYTHON([2.3]) dnl check for a version of python that can run the twisted tests AC_MSG_CHECKING([for Python with Twisted and IRC protocol support]) -- 1.7.4.4