kopia lustrzana https://gitlab.com/sane-project/frontends
configure.in: removed eror message for missing sane-backends.
We now use PKG_CHECK_MODULES to detect sane-backends which will fail if not found.41-configure-script-should-exit-with-a-non-zero-code-if-a-problem-occurs
rodzic
17c9114eb1
commit
5e48e697b7
14
configure.in
14
configure.in
|
@ -109,20 +109,6 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||||
PKG_CHECK_MODULES([SANE], [sane-backends >= 1.0.0], HAVE_SANE=yes)
|
PKG_CHECK_MODULES([SANE], [sane-backends >= 1.0.0], HAVE_SANE=yes)
|
||||||
PKG_CHECK_VAR([SANE_PREFIX], [sane-backends >= 1.0.0], [prefix])
|
PKG_CHECK_VAR([SANE_PREFIX], [sane-backends >= 1.0.0], [prefix])
|
||||||
PKG_CHECK_VAR([SANE_LDFLAGS], [sane-backends >= 1.0.0], [ldflags])
|
PKG_CHECK_VAR([SANE_LDFLAGS], [sane-backends >= 1.0.0], [ldflags])
|
||||||
dnl Print error message if sane is missing
|
|
||||||
if test "x${HAVE_SANE}" = "x"; then
|
|
||||||
echo "**********************************************************************"
|
|
||||||
echo "ERROR: Couldn't find SANE libraries (sane-backends). Possible reasons:"
|
|
||||||
echo " - sane-backends isn't installed (install sane-backends before"
|
|
||||||
echo " sane-frontends)"
|
|
||||||
echo " - the SANE header files aren't installed (if you installed"
|
|
||||||
echo " SANE as RPM make sure you also included the sane-devel RPM)"
|
|
||||||
echo " - the SANE libraries can't be found because /usr/local/lib/ isn't"
|
|
||||||
echo " searched by the dynamic linker (see INSTALL for details)"
|
|
||||||
echo "**********************************************************************"
|
|
||||||
echo ""
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# check for GTK3
|
# check for GTK3
|
||||||
if test "${USE_GUI}" = "yes"; then
|
if test "${USE_GUI}" = "yes"; then
|
||||||
|
|
Ładowanie…
Reference in New Issue