python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / setools / 0002-move-python-check.patch
blobcef2cec996c84995fb2f4439df881eea5c210149
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.
5 Signed-off-by Clayton Shotwell <clshotwe@rockwellcollins.com>
7 --- a/configure.ac 2015-05-15 12:28:07.566060349 -0500
8 +++ b/configure.ac 2015-05-28 15:07:25.357072800 -0500
9 @@ -217,8 +217,6 @@
10 do_swigify=yes
13 -AM_PATH_PYTHON(2.7)
15 AC_ARG_ENABLE(swig-python,
16 AC_HELP_STRING([--enable-swig-python],
17 [build SWIG interfaces for Python]),
18 @@ -227,6 +225,7 @@
19 if test ${do_swigify} = no; then
20 AC_PROG_SWIG(2.0.0)
22 + AM_PATH_PYTHON(2.7)
23 SWIG_PYTHON
24 do_swigify_python=yes
25 do_swigify=yes