kopia lustrzana https://gitlab.com/sane-project/backends
Build genesys testsuite only when backend is build. Re #354
rodzic
68312608d1
commit
fea0ccca1e
|
@ -717,11 +717,15 @@ for backend in ${BACKENDS} ; do
|
||||||
BACKEND_LIBS_ENABLED="${BACKEND_LIBS_ENABLED} libsane-${backend}.la"
|
BACKEND_LIBS_ENABLED="${BACKEND_LIBS_ENABLED} libsane-${backend}.la"
|
||||||
BACKEND_CONFS_ENABLED="${BACKEND_CONFS_ENABLED} ${backend}.conf"
|
BACKEND_CONFS_ENABLED="${BACKEND_CONFS_ENABLED} ${backend}.conf"
|
||||||
BACKEND_MANS_ENABLED="${BACKEND_MANS_ENABLED} sane-${backend}.5"
|
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
|
if test x$backend = xumax_pp; then
|
||||||
install_umax_pp_tools=yes
|
install_umax_pp_tools=yes
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
AC_SUBST(BACKEND_LIBS_ENABLED)
|
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)
|
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])
|
AC_ARG_VAR(PRELOADABLE_BACKENDS, [list of backends to preload into single DLL])
|
||||||
|
|
|
@ -4,4 +4,6 @@
|
||||||
## This file is part of the "Sane" build infra-structure. See
|
## This file is part of the "Sane" build infra-structure. See
|
||||||
## included LICENSE file for license information.
|
## included LICENSE file for license information.
|
||||||
|
|
||||||
|
if WITH_GENESYS_TESTS
|
||||||
SUBDIRS = genesys
|
SUBDIRS = genesys
|
||||||
|
endif
|
||||||
|
|
Ładowanie…
Reference in New Issue