REQUIRE_BINARY will be invoked with the result of a find_program invocation. The old REQUIRE_BINARY implementation assumed, an unfound program would result in the definition of a second variable VAR-NOTFOUND. Instead the actual behaviour of find_program will assign the value VAR-NOTFOUND to the variable VAR. Thus the new implementation will catch errors finding programs while the old did not.
Moreover the error message is fixed, old output was Could not find binname while the new will substitue the variable binname thus resulting in e.g. Could not find xgettext.
REQUIRE_BINARY
will be invoked with the result of a find_program invocation. The oldREQUIRE_BINARY
implementation assumed, an unfound program would result in the definition of a second variableVAR-NOTFOUND
. Instead the actual behaviour offind_program
will assign the valueVAR-NOTFOUND
to the variableVAR
. Thus the new implementation will catch errors finding programs while the old did not.Moreover the error message is fixed, old output was
Could not find binname
while the new will substitue the variablebinname
thus resulting in e.g.Could not find xgettext
.