--- a/sane/Makefile.in	2018-01-29 07:20:05.000000000 +0100
+++ b/sane/Makefile.in	2018-03-10 14:33:27.313350166 +0100
@@ -1005,28 +1005,12 @@
 @enable_sane_config_TRUE@	  echo " skipping component activation"; \
 @enable_sane_config_TRUE@	  exit 1; \
 @enable_sane_config_TRUE@	fi
-@enable_sane_config_TRUE@	if test -d "$(SANE_SYSCONFDIR)/dll.d"; then \
-@enable_sane_config_TRUE@	  dirname="$(DESTDIR)$(SANE_SYSCONFDIR)/dll.d"; \
-@enable_sane_config_TRUE@	  file=$$dirname/$(BACKEND_NAME); \
-@enable_sane_config_TRUE@	  test -d $$dirname || $(MKDIR_P) $$dirname; \
-@enable_sane_config_TRUE@	  echo "#  $(BACKEND_NAME) -- dll.conf snippet" > $$file; \
-@enable_sane_config_TRUE@	  echo "" >> $$file; \
-@enable_sane_config_TRUE@	  echo "$(BACKEND_NAME)" >> $$file; \
-@enable_sane_config_TRUE@	else \
-@enable_sane_config_TRUE@	  dirname="$(DESTDIR)$(SANE_SYSCONFDIR)"; \
-@enable_sane_config_TRUE@	  file=$$dirname/dll.conf; \
-@enable_sane_config_TRUE@	  if test -f $$file; then \
-@enable_sane_config_TRUE@	    if test -n "`$(GREP) '^[ \t]*#[ \t#]*$(BACKEND_NAME)' $$file`"; \
-@enable_sane_config_TRUE@	    then \
-@enable_sane_config_TRUE@	      sed -i 's,^[ \t]*#[ \t#]*\($(BACKEND_NAME)\),\1,' $$file; \
-@enable_sane_config_TRUE@	    elif test -z "`$(GREP) $(BACKEND_NAME) $$file`"; then\
-@enable_sane_config_TRUE@	      echo $(BACKEND_NAME) >> $$file; \
-@enable_sane_config_TRUE@	    fi; \
-@enable_sane_config_TRUE@	  else \
-@enable_sane_config_TRUE@	    echo $(ECHO_N) "WARNING: $$file not found,"; \
-@enable_sane_config_TRUE@	    echo " cannot activate SANE component"; \
-@enable_sane_config_TRUE@	  fi; \
-@enable_sane_config_TRUE@	fi
+@enable_sane_config_TRUE@	dirname="$(DESTDIR)$(SANE_SYSCONFDIR)/dll.d"; \
+@enable_sane_config_TRUE@	file=$$dirname/$(BACKEND_NAME); \
+@enable_sane_config_TRUE@	test -d $$dirname || $(MKDIR_P) $$dirname; \
+@enable_sane_config_TRUE@	echo "#  $(BACKEND_NAME) -- dll.conf snippet" > $$file; \
+@enable_sane_config_TRUE@	echo "" >> $$file; \
+@enable_sane_config_TRUE@	echo "$(BACKEND_NAME)" >> $$file;
 
 @enable_sane_config_TRUE@uninstall-hook-data:
 @enable_sane_config_TRUE@	@$(NORMAL_UNINSTALL)
