2
1

dbus-python-fix-python-configure-check.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. Python: add am_cv_python_includes to override runtime python-config check
  2. ---
  3. configure | 7 +++++++
  4. 1 file changed, 7 insertions(+)
  5. Index: dbus-python-0.83.0/configure
  6. ===================================================================
  7. --- dbus-python-0.83.0.orig/configure
  8. +++ dbus-python-0.83.0/configure
  9. @@ -10176,6 +10176,12 @@
  10. { echo "$as_me:$LINENO: checking for Python headers using $PYTHON-config --includes" >&5
  11. echo $ECHO_N "checking for Python headers using $PYTHON-config --includes... $ECHO_C" >&6; }
  12. +if test "${am_cv_python_includes+set}" = set; then
  13. + echo $ECHO_N "(cached) $ECHO_C" >&6
  14. + PYTHON_INCLUDES=${am_cv_python_includes}
  15. + { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
  16. +echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
  17. +else
  18. PYTHON_INCLUDES=`$PYTHON-config --includes`
  19. if test $? = 0; then
  20. { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
  21. @@ -10194,6 +10200,7 @@
  22. { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
  23. echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
  24. fi
  25. +fi
  26. { echo "$as_me:$LINENO: checking whether those headers are sufficient" >&5
  27. echo $ECHO_N "checking whether those headers are sufficient... $ECHO_C" >&6; }