Re: m4 magic --- success!

2002-03-05 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > | Angus> JMarc, the patch below works perfectly and does all I require. | Angus> I'm not sure it's best practise, however. > | It looks reasonable. > | Angus> I have to temporarily augme

Re: m4 magic --- success!

2002-03-05 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> JMarc, the patch below works perfectly and does all I require. Angus> I'm not sure it's best practise, however. It looks reasonable. Angus> I have to temporarily augment LDFLAGS to get the program to Angus> link. You could have

Re: m4 magic --- success!

2002-03-05 Thread Angus Leeming
JMarc, the patch below works perfectly and does all I require. I'm not sure it's best practise, however. I have to temporarily augment LDFLAGS to get the program to link. I use AC_CHECK_FUNCS rather than AC_CHECK_FUNC for all three variables so that I can #include the correct header file in G

Re: m4 magic

2002-03-05 Thread Angus Leeming
On Tuesday 05 March 2002 9:36 am, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> How does AC_CHECK_FUNCS(flimage_dup) work? How does it know > Angus> what files to check? > > It tries to link a simple program. Therefore it is better in some >

Re: m4 magic

2002-03-05 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> How does AC_CHECK_FUNCS(flimage_dup) work? How does it know Angus> what files to check? It tries to link a simple program. Therefore it is better in some sense, since it checks whether the function is implemented. Here is some unt

Re: m4 magic

2002-03-04 Thread Angus Leeming
Thanks for the feedback, Lars. I start to see a little light in the darkness. I'm going to try and explain what I think I need to see if I understand it myself. I'd be very grateful if you could look through this and correct me. Angus I see that if I added a test to configure.in: ### check w

Re: m4 magic

2002-03-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Jean-Marc and other m4 wizards, > | I have been trying to make sense of the configure magic stuff. Black magic | more like. Yuch. > | Am I right to say that the entire test should be wrapped up so: > | dnl Check whether to use the the image loading fac

m4 magic

2002-03-04 Thread Angus Leeming
Jean-Marc and other m4 wizards, I have been trying to make sense of the configure magic stuff. Black magic more like. Yuch. Am I right to say that the entire test should be wrapped up so: dnl Check whether to use the the image loading facilities of the gui library. AC_DEFUN(LYX_USE_GUI_IMAGE_L