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:
parent
1824cabcbc
commit
a9c6edb3fb
1 changed files with 6 additions and 6 deletions
12
configure.ac
12
configure.ac
|
|
@ -893,13 +893,13 @@ else
|
|||
;;
|
||||
*)PYTHON3DYNAMICLINKING="";;
|
||||
esac
|
||||
fi
|
||||
|
||||
AC_SUBST(PY3INCLUDE)
|
||||
AC_SUBST(PY3LIB)
|
||||
AC_SUBST(PY3LINK)
|
||||
AC_SUBST(PYTHON3DYNAMICLINKING)
|
||||
AC_CHECK_PROGS(PEP8, pep8)
|
||||
AC_SUBST(PY3INCLUDE)
|
||||
AC_SUBST(PY3LIB)
|
||||
AC_SUBST(PY3LINK)
|
||||
AC_SUBST(PYTHON3DYNAMICLINKING)
|
||||
AC_CHECK_PROGS(PEP8, pep8)
|
||||
fi
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# Look for Perl5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue