Skip check for pep8 if Python is disabled in configure.

There is no need for it, nor any other Python-related variables, to be defined
if Python is not used.
This commit is contained in:
Vadim Zeitlin 2015-08-01 19:20:43 +02:00
commit a9c6edb3fb

View file

@ -893,13 +893,13 @@ else
;; ;;
*)PYTHON3DYNAMICLINKING="";; *)PYTHON3DYNAMICLINKING="";;
esac esac
fi
AC_SUBST(PY3INCLUDE) AC_SUBST(PY3INCLUDE)
AC_SUBST(PY3LIB) AC_SUBST(PY3LIB)
AC_SUBST(PY3LINK) AC_SUBST(PY3LINK)
AC_SUBST(PYTHON3DYNAMICLINKING) AC_SUBST(PYTHON3DYNAMICLINKING)
AC_CHECK_PROGS(PEP8, pep8) AC_CHECK_PROGS(PEP8, pep8)
fi
#---------------------------------------------------------------- #----------------------------------------------------------------
# Look for Perl5 # Look for Perl5