tests: disable ltsmin tests if --disable-shared

* configure.ac (USE_LTSMIN): New.
* tests/Makefile.am: Use it.
This commit is contained in:
Alexandre Duret-Lutz 2016-07-27 19:43:34 +02:00
parent 8e69530023
commit a7842ac47f
2 changed files with 4 additions and 0 deletions

View file

@ -135,6 +135,8 @@ esac
AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes])
AM_CONDITIONAL([USE_LTSMIN], [test "x${enable_shared:-yes}" = xyes])
if test "x${enable_python:-yes}" = xyes; then
AC_MSG_NOTICE([You may configure with --disable-python ]dnl
[if you do not need Python bindings.])