Re: How do I check for the existence of a program
Bram Moolenaar <[email protected]> Tue, 22 Nov 2005 18:59:02 +0100
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Derek Teaney wrote:
> Newbie question. I am starting to like aap a lot since one can do
> anything that make can do. I would like (like one does in configure) t=
o
> check for the existence of a program,=20
>=20
> gsl-config
>=20
> How does one go about this? Or does one do it with python?
You can use the :progsearch command. Example:
:progsearch BROWSER firefox netscape opera
@if BROWSER:
:sys $BROWSER readme.html
--=20
hundred-and-one symptoms of being an internet addict:
144. You eagerly await the update of the "Cool Site of the Day."
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \=
\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ =
\\\
\\\ download, build and distribute -- http://www.A-A-P.org =
///
\\\ help me help AIDS victims -- http://www.ICCF.nl /=
//
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick