How to check from the command line whether GNU Make is built with support of Guile?
Inside Makefile it can be determined via analyzing .FEATURES
variable (see documentation).
How to check from the command line whether GNU Make is built with support of Guile?
Inside Makefile it can be determined via analyzing .FEATURES
variable (see documentation).
One possible way is a quasi makefile in stdin.
So,
.FEATURES
variable can be printed in the following way:The following command outputs
guile
string if it is supported or nothing in otherwise:A variation using
grep
:The solution
As @bobbogo mentioned, we can avoid the pipe at all, using
--eval
option:This command will print 'guile' or nothing.
As @ruvim points out, the manual says