sane-backends/sane-backends-1.0.18-pint.patch
2007-10-02 08:10:57 +00:00

20 lines
610 B
Diff

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