https://github.com/dillo-browser/dillo/commit/9880c1ba603a6080b2493c7c399ae36d656a9834.patch From: meat Date: Thu, 3 Oct 2024 12:48:31 +0200 Subject: [PATCH] Use command -v instead of which --- a/configure.ac +++ b/configure.ac @@ -297,18 +297,18 @@ if test "x$enable_png" = "xyes"; then dnl Check if the user hasn't set the variable $PNG_CONFIG if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng16-config` + PNG_CONFIG=`command -v libpng16-config` if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng14-config` + PNG_CONFIG=`command -v libpng14-config` fi if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng12-config` + PNG_CONFIG=`command -v libpng12-config` fi if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng-config` + PNG_CONFIG=`command -v libpng-config` fi if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng10-config` + PNG_CONFIG=`command -v libpng10-config` fi fi