Merge in all of trunk.
[m6w6/libmemcached] / m4 / pandora_plugins.m4
index 6ee13da0bff286838731bfac18ea1b556055d801..540443b047f5c07703ba0c4648f496c6d7bd87e4 100644 (file)
@@ -17,7 +17,7 @@ AC_DEFUN([PANDORA_PLUGINS],[
   dnl get called probably during autoconf too, so it's important to protect
   dnl with test -f ... if the files exist, we don't have the chicken/egg 
   dnl problem and therefore don't need to do anything here
-  m4_syscmd([python config/pandora-plugin > /dev/null])
+  m4_syscmd([PYTHON=${PYTHON:-python} && $PYTHON config/pandora-plugin > /dev/null])
   m4_syscmd([test -f config/plugin.stamp || touch config/plugin.stamp aclocal.m4])
 
   m4_sinclude(config/pandora-plugin.ac)