patch-configure 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- libvirt-0.8.7.orig/configure 2011-01-04 03:22:44.000000000 +0100
  2. +++ libvirt-0.8.7/configure 2011-01-12 18:43:03.000000000 +0100
  3. @@ -36745,7 +36745,7 @@ $as_echo "$as_me: Found python in enviro
  4. # Find any Python interpreter.
  5. if test -z "$PYTHON"; then
  6. - for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
  7. + for ac_prog in python python2 python3 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
  8. do
  9. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10. set dummy $ac_prog; ac_word=$2
  11. @@ -36920,25 +36920,7 @@ $as_echo "$am_cv_python_pyexecdir" >&6;
  12. if test -x "$PYTHON_CONFIG"
  13. then
  14. PYTHON_INCLUDES=`$PYTHON_CONFIG --includes`
  15. - else
  16. - if test -r $PYTHON_EXEC_PREFIX/include/python$PYTHON_VERSION/Python.h
  17. - then
  18. - PYTHON_INCLUDES=-I$PYTHON_EXEC_PREFIX/include/python$PYTHON_VERSION
  19. - else
  20. - if test -r $prefix/include/python$PYTHON_VERSION/Python.h
  21. - then
  22. - PYTHON_INCLUDES=-I$prefix/include/python$PYTHON_VERSION
  23. - else
  24. - if test -r /usr/include/python$PYTHON_VERSION/Python.h
  25. - then
  26. - PYTHON_INCLUDES=-I/usr/include/python$PYTHON_VERSION
  27. - else
  28. - { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&5
  29. -$as_echo "$as_me: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&6;}
  30. - with_python=no
  31. - fi
  32. - fi
  33. - fi
  34. + echo "DEBUG: $PYTHON_CONFIG"
  35. fi
  36. else
  37. { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find python interpreter, disabling bindings" >&5