0002-move-python-check.patch 705 B

12345678910111213141516171819202122232425
  1. Correct a build issue that occurs when python is not found
  2. in the path. This check should only be done if swig-python
  3. option is selected.
  4. Signed-off-by Clayton Shotwell <clshotwe@rockwellcollins.com>
  5. --- a/configure.ac 2015-05-15 12:28:07.566060349 -0500
  6. +++ b/configure.ac 2015-05-28 15:07:25.357072800 -0500
  7. @@ -217,8 +217,6 @@
  8. do_swigify=yes
  9. fi
  10. -AM_PATH_PYTHON(2.7)
  11. -
  12. AC_ARG_ENABLE(swig-python,
  13. AC_HELP_STRING([--enable-swig-python],
  14. [build SWIG interfaces for Python]),
  15. @@ -227,6 +225,7 @@
  16. if test ${do_swigify} = no; then
  17. AC_PROG_SWIG(2.0.0)
  18. fi
  19. + AM_PATH_PYTHON(2.7)
  20. SWIG_PYTHON
  21. do_swigify_python=yes
  22. do_swigify=yes