Is the external program pkg-config available?

Property definitions

nitc :: pkgconfig $ ToolContext :: pkgconfig_is_available=
	# Is the external program `pkg-config` available?
	var pkgconfig_is_available: Bool is lazy do
		# Ignore/silence the process output
		var proc_which = new ProcessReader("which", "pkg-config")
		proc_which.wait

		var status = proc_which.status
		if status != 0 then
			error(null, "Error: program `pkg-config` not found, make sure it is installed.")
			return false
		end
		return true
	end
src/ffi/pkgconfig.nit:29,2--41,4