Re: [Mailman-Users] Gnu Autotools: Mailman

2007-08-23 Thread Mark Sapiro
Meenal Pant wrote:

>My software uses Mailman. I am using GNU autotools to bundle my software
>for distribution.  During ./configure I want to check if mailman is
>installed and capture the path and version in  some variables. What rules 
>should I define in configure.ac ? Look for mailmanctl using AC_CHECK_PROGS ? 


This is more an autoconf question than a Mailman question, but ...

I don't know how you can do this in general, since on a given system,
Mailman can be installed anywhere and there is no guarantee or even
likelyhood that Mailman's bin/ directory is in the user's path. Also,
there is no guarantee that the Mailman userid is 'mailman'.

If you can find the Mailman installation, version information is in the
file Mailman/Version.py.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Gnu Autotools: Mailman

2007-08-23 Thread Meenal Pant
My software uses Mailman. I am using GNU autotools to bundle my software
for distribution.  During ./configure I want to check if mailman is
installed and capture the path and version in  some variables. What rules 
should I define in configure.ac ? Look for mailmanctl using AC_CHECK_PROGS ? 
Thanks
Meenal

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp