diff configure.ac @ 13841:f3d4a9902ead

[gaim-migrate @ 16294] This should fix --enable-python to do something reasonable committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 20 Jun 2006 04:05:56 +0000
parents ec7848583492
children 2a7a13cac678
line wrap: on
line diff
--- a/configure.ac	Mon Jun 19 17:49:43 2006 +0000
+++ b/configure.ac	Tue Jun 20 04:05:56 2006 +0000
@@ -690,7 +690,7 @@
 			PYTHON=$withval)
 
 if test "x$enable_dbus" = "xyes" ; then
-	if test -z "$PYTHON" ; then
+	if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then
 		AC_PATH_PROG([PYTHON], [python], [no])
 	fi