Fix for disable-python-install...

...to not try to create the default install directory for python tools
which errors out for non root users and isn't needed in that case
anyway.
This commit is contained in:
Bruno Wolff III 2007-07-21 19:25:38 +00:00
parent ae3d23de25
commit d8306cd46a

View file

@ -413,7 +413,9 @@ if test "x$python" = "xyes"; then
AC_SUBST([PYTHON_LIBS])
AC_SUBST(pkgpythondir)
pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/wesnoth"
if test "x$python_install" = "xyes"; then
pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/wesnoth"
fi
fi
fi