diff -Nurd atril-1.24.1/autogen.sh atril-1.24.1.new/autogen.sh
--- atril-1.24.1/autogen.sh	2021-03-22 16:22:43.000000000 +0000
+++ atril-1.24.1.new/autogen.sh	2021-07-21 12:33:41.678910859 +0000
@@ -12,12 +12,12 @@
     exit 1
 }
 
-which mate-autogen || {
+command -v mate-autogen || {
     echo "You need to install mate-common"
     exit 1
 }
 
-which yelp-build || {
+command -v yelp-build || {
     echo "You need to install yelp-tools" 
     exit 1
 }