Fix "pkgpython_PYTHON' is used but
pkgpythondir' is undefined"...
...autotools error.
This commit is contained in:
parent
bc0ba442d6
commit
8d0095f9ff
1 changed files with 7 additions and 0 deletions
|
@ -419,6 +419,13 @@ AC_SUBST([FRIBIDI_CFLAGS])
|
|||
AC_SUBST([FRIBIDI_LIBS])
|
||||
AM_CONDITIONAL([FRIBIDI], [test "x$fribidifound" = xyes -a "x$fribidi" = xyes ])
|
||||
|
||||
# python
|
||||
AC_PATH_PROG(PYTHON, python, none)
|
||||
AC_SUBST(pkgpythondir)
|
||||
if test "x$python_install" = "xyes"; then
|
||||
pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/wesnoth"
|
||||
fi
|
||||
|
||||
# libpng-config
|
||||
|
||||
AC_PATH_PROGS([PNG_CONFIG], [libpng-config libpng12-config], [none])
|
||||
|
|
Loading…
Add table
Reference in a new issue