0c21de4b5d
Copy from home:seife:branches:graphics/sane-backends via accept of submit request 27069 revision 2. Request was accepted with message: OBS-URL: https://build.opensuse.org/request/show/27069 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=15
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -155,15 +155,21 @@ AC_CHECK_HEADERS([asm/io.h],,,[#include
|
|
|
|
SANE_CHECK_MISSING_HEADERS
|
|
|
|
-AC_CHECK_HEADER(resmgr.h,[
|
|
- AC_CHECK_LIB(
|
|
- resmgr,
|
|
- rsm_open_device,[
|
|
- AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
|
|
- LIBS="$LIBS -lresmgr"
|
|
- ]
|
|
- )
|
|
-])
|
|
+# Since Suse Linux 10.0 resmgr installs ACLs on device nodes.
|
|
+# Therefore there is no need to patch applications with special resmgr
|
|
+# support anymore.
|
|
+# As the "rsm_open_device" calls in sanei_scsi.c and sanei_usb.c
|
|
+# are optionally via "ifdef HAVE_RESMGR" with fallback "open" calls,
|
|
+# the special resmgr support is not removed but only disabled here:
|
|
+#AC_CHECK_HEADER(resmgr.h,[
|
|
+# AC_CHECK_LIB(
|
|
+# resmgr,
|
|
+# rsm_open_device,[
|
|
+# AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
|
|
+# LIBS="$LIBS -lresmgr"
|
|
+# ]
|
|
+# )
|
|
+#])
|
|
|
|
|
|
dnl ***********************************************************************
|