[Portland] checking for xdg-utils in configure

Michael Mauch michael.mauch at gmx.de
Thu Sep 20 13:42:31 PDT 2007


nf2 wrote:

> i would like to add an xdg-utils dependency to my gfuse-manager 
> application. because xdg-utils doesn't provide a pkg-config file, how 
> can i check in configure if xdg-utils is installed?

My guess as as mere user of xdg-utils is that you don't want to check
for xdg-utils, but for specific utilities, like xdg-open. Use the
--version parameter to check the version. I don't know how to do that in
a configure script (but I'm sure there is a way to check the output of a
script/binary).

Regards...
		Michael


More information about the Portland mailing list