dbus-python-0001-fix-python-configure-check.patch 1.2 KB

123456789101112131415161718192021222324252627
  1. Python: add am_cv_python_includes to override runtime python-config check
  2. [Gustavo: update for dbus-python 1.2.0]
  3. diff -Nura dbus-python-1.2.0.orig/configure dbus-python-1.2.0/configure
  4. --- dbus-python-1.2.0.orig/configure 2013-05-08 04:48:42.000000000 -0300
  5. +++ dbus-python-1.2.0/configure 2014-07-03 16:54:25.922727033 -0300
  6. @@ -11762,6 +11762,12 @@
  7. else
  8. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python headers using $PYTHON-config --includes" >&5
  9. $as_echo_n "checking for Python headers using $PYTHON-config --includes... " >&6; }
  10. +if test "${am_cv_python_includes+set}" = set; then
  11. + $as_echo_n "(cached) $ECHO_C" >&6
  12. + PYTHON_INCLUDES=${am_cv_python_includes}
  13. + { $as_echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
  14. +$as_echo_t "${ECHO_T}$PYTHON_INCLUDES" >&6; }
  15. +else
  16. PYTHON_INCLUDES=`$PYTHON-config --includes`
  17. if test $? = 0; then
  18. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
  19. @@ -11781,6 +11787,7 @@
  20. $as_echo "$PYTHON_INCLUDES" >&6; }
  21. fi
  22. fi
  23. +fi
  24. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether those headers are sufficient" >&5
  25. $as_echo_n "checking whether those headers are sufficient... " >&6; }