summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2015-08-01 19:20:43 +0200
committerVadim Zeitlin <vz-swig@zeitlins.org>2015-08-02 19:57:59 +0200
commita9c6edb3fb203496a1e5d438b676fd47cfae5475 (patch)
tree34b837eed5241257a2734ec5a0f54249999135a2
parent1824cabcbce47995fcd1213194842f741b2114be (diff)
downloadswig-a9c6edb3fb203496a1e5d438b676fd47cfae5475.tar.gz
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.
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 8447e728e..be4c716ae 100644
--- a/configure.ac
+++ b/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