kopia lustrzana https://gitlab.com/sane-project/backends
Improve test shell builtin invocation portability
POSIX 2008 obsoletes the -a and -o operands (according to the autoconf documentation).merge-requests/1/head
rodzic
d9e2f44113
commit
309a8140e7
|
@ -605,7 +605,7 @@ for be in ${BACKENDS}; do
|
||||||
|
|
||||||
gphoto2)
|
gphoto2)
|
||||||
if test "${HAVE_GPHOTO2}" != "true" \
|
if test "${HAVE_GPHOTO2}" != "true" \
|
||||||
-o "${sane_cv_use_libjpeg}" != "yes"; then
|
|| test "${sane_cv_use_libjpeg}" != "yes"; then
|
||||||
echo "*** $be backend requires gphoto2 and JPEG libraries - $DISABLE_MSG"
|
echo "*** $be backend requires gphoto2 and JPEG libraries - $DISABLE_MSG"
|
||||||
backend_supported="no"
|
backend_supported="no"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -180,7 +180,7 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$with_snmp" = "yes" -a "${LIBSNMP_EXISTS}x" = "yesx"; then
|
if test "$with_snmp" = "yes" && test "${LIBSNMP_EXISTS}x" = "yesx"; then
|
||||||
AC_SUBST(SNMP_LIBS)
|
AC_SUBST(SNMP_LIBS)
|
||||||
AC_SUBST(SNMP_CFLAGS)
|
AC_SUBST(SNMP_CFLAGS)
|
||||||
AC_DEFINE(HAVE_LIBSNMP, 1, [Define to 1 if you have the net-snmp library.])
|
AC_DEFINE(HAVE_LIBSNMP, 1, [Define to 1 if you have the net-snmp library.])
|
||||||
|
|
Ładowanie…
Reference in New Issue