summaryrefslogtreecommitdiff
path: root/irc/bitlbee/files/patch-configure
blob: adc8931b732178f4d1803bae019a3b52f512fb1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- configure.orig	2017-01-30 20:45:59 UTC
+++ configure
@@ -743,15 +743,7 @@ if [ -z "$PYTHON" ]; then
 fi
 
 if [ "$doc" = "1" ]; then
-	# check this here just in case someone tries to install it in python2.4...
-	if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
-		echo
-		echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs'
-		echo "(Use the PYTHON environment variable if it's in a weird location)"
-		exit 1
-	fi
 	echo "DOC=1" >> Makefile.settings
-	echo "PYTHON=$PYTHON" >> Makefile.settings
 fi
 
 get_version