sane-backends/sane-backends-1.0.18-pint.patch

20 lines
610 B
Diff
Raw Normal View History

diff -up sane-backends-1.0.18/configure.in.pint sane-backends-1.0.18/configure.in
--- sane-backends-1.0.18/configure.in.pint 2007-10-02 10:00:41.000000000 +0200
+++ sane-backends-1.0.18/configure.in 2007-10-02 10:08:49.000000000 +0200
@@ -406,7 +406,14 @@ else
fi
if test "${ac_cv_header_sys_scanio_h}" = "no"; then
- echo "*** disabling PINT backend (sys/scanio.h not found)"
+ case "$host_os" in
+ *bsd*)
+ echo "*** disabling PINT backend (sys/scanio.h not found)"
+ ;;
+ *)
+ BACKENDS="${BACKENDS} pint"
+ ;;
+ esac
else
BACKENDS="${BACKENDS} pint"
fi