Re: Python module macro check

2005-06-27 Thread Ralf Wildenhues
Hi Dave, * Dave Fancella wrote on Mon, Jun 27, 2005 at 12:49:27AM CEST: I've written a python module check macro for autoconf. It's pretty short, I'll stick it at the end of this email. Use it like this: AC_PYTHON_MODULE(wx) (checks for wxPython) As you'll see in the macro, it

Re: Python module macro check

2005-06-27 Thread Dave Fancella
On Monday 27 June 2005 02:09 am, Ralf Wildenhues wrote: Small suggestion for your macro: users might want to be able to react differently to that fact that a macro may not be available. Overridable optional arguments [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND] would make this easy. (This

Re: Python module macro check

2005-06-27 Thread Ralf Wildenhues
Hi Dave, * Dave Fancella wrote on Mon, Jun 27, 2005 at 10:50:26AM CEST: Hmmm, it was my first ever m4 macro. I'll be happy to fix it to be like that, I was trying to imitate other autoconf macros. :) I could use a pointer to some documentation on the subject, though. I think I need

Re: Python module macro check

2005-06-27 Thread Dave Fancella
On Monday 27 June 2005 04:31 am, Ralf Wildenhues wrote: snip Which one? Turns out those links are purple in my browser, so I guess I visited there looking for python macros already. :) The only one I found, while very useful, only checks the python version. There is one that ships

Python module macro check

2005-06-26 Thread Dave Fancella
All, This is a drive-by submission, so I didn't subscribe to the list. I've written a python module check macro for autoconf. It's pretty short, I'll stick it at the end of this email. Use it like this: AC_PYTHON_MODULE(wx) (checks for wxPython) As you'll see in the macro, it just fires up