Build genesys testsuite only when backend is build. Re #354

merge-requests/585/head
Olaf Meeuwissen 2021-02-07 16:25:30 +09:00
rodzic 68312608d1
commit fea0ccca1e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B8A4A88AF84A2DD9
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -717,11 +717,15 @@ for backend in ${BACKENDS} ; do
BACKEND_LIBS_ENABLED="${BACKEND_LIBS_ENABLED} libsane-${backend}.la"
BACKEND_CONFS_ENABLED="${BACKEND_CONFS_ENABLED} ${backend}.conf"
BACKEND_MANS_ENABLED="${BACKEND_MANS_ENABLED} sane-${backend}.5"
if test x$backend = xgenesys; then
with_genesys_tests=yes
fi
if test x$backend = xumax_pp; then
install_umax_pp_tools=yes
fi
done
AC_SUBST(BACKEND_LIBS_ENABLED)
AM_CONDITIONAL(WITH_GENESYS_TESTS, test xyes = x$with_genesys_tests)
AM_CONDITIONAL(INSTALL_UMAX_PP_TOOLS, test xyes = x$install_umax_pp_tools)
AC_ARG_VAR(PRELOADABLE_BACKENDS, [list of backends to preload into single DLL])

Wyświetl plik

@ -4,4 +4,6 @@
## This file is part of the "Sane" build infra-structure. See
## included LICENSE file for license information.
if WITH_GENESYS_TESTS
SUBDIRS = genesys
endif