]> Pileus Git - ~andy/fetchmail/commitdiff
Revise without-python check to print a readable warning. Sunil Shetye.
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 21 Nov 2005 09:54:05 +0000 (09:54 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Mon, 21 Nov 2005 09:54:05 +0000 (09:54 -0000)
svn path=/trunk/; revision=4468

configure.ac

index 257180045b722a350ff2815324997fd477ffcac5..721029fceb6b198be5cf58614b2833037aded10e 100644 (file)
@@ -16,8 +16,8 @@ dnl we may need a newer automake version - the oldest tested is 1.7
 AC_PREREQ(2.59)
 AM_INIT_AUTOMAKE(1.5 foreign no-installinfo)
 
-dnl the : states that python is optional
-AM_PATH_PYTHON(2.0,,:)
+dnl python is optional
+AM_PATH_PYTHON(2.0,,AC_MSG_WARN([Disabling fetchmailconf: python 2.0 or greater not found]))
 AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
 
 AC_PROG_AWK