Re: How to use pkg-config together with configure?

2011-03-04 Thread José Matos
On Sunday 27 February 2011 20:40:01 Jean-Marc Lasgouttes wrote: There seems to be a missing semicolon after the setting of LIBS. JMarc Honestly m4 is alien to me. :-) I copied from the mythes example that is present in config/lyxinclude.m4: AC_CHECK_LIB(mythes-1.2, main,

Re: How to use pkg-config together with configure?

2011-03-04 Thread José Matos
On Sunday 27 February 2011 20:40:01 Jean-Marc Lasgouttes wrote: > There seems to be a missing semicolon after the setting of LIBS. > > JMarc Honestly m4 is alien to me. :-) I copied from the mythes example that is present in config/lyxinclude.m4: AC_CHECK_LIB(mythes-1.2, main,

Re: How to use pkg-config together with configure?

2011-02-27 Thread Jean-Marc Lasgouttes
Le 24/02/11 21:39, José Matos a écrit : OK, based on the code for mythes detection I came with the following patch. + if test x$lyx_use_hunspell = xfalse ; then + AC_CHECK_LIB(hunspell-1.2, main, [LIBS=-lhunspell-1.2 $LIBS lyx_use_hunspell=true], ly There seems to be a missing

Re: How to use pkg-config together with configure?

2011-02-27 Thread Jean-Marc Lasgouttes
Le 24/02/11 21:39, José Matos a écrit : OK, based on the code for mythes detection I came with the following patch. + if test x$lyx_use_hunspell = xfalse ; then + AC_CHECK_LIB(hunspell-1.2, main, [LIBS="-lhunspell-1.2 $LIBS" lyx_use_hunspell=true], ly There seems to be a

How to use pkg-config together with configure?

2011-02-24 Thread José Matos
Hi, now that the gradings are gone :-) I would like to solve the absence of the spellchecker in Fedora lyx packages. I have finnaly found the reason. configure is checking to see if a program compiles with -lhunspell and the this does not work since the linker does not find

Re: How to use pkg-config together with configure?

2011-02-24 Thread José Matos
On Thursday 24 February 2011 18:56:00 José Matos wrote: Hi, now that the gradings are gone :-) I would like to solve the absence of the spellchecker in Fedora lyx packages. I have finnaly found the reason. configure is checking to see if a program compiles with -lhunspell and

Re: How to use pkg-config together with configure?

2011-02-24 Thread Stephan Witt
Am 24.02.2011 um 21:39 schrieb José Matos: On Thursday 24 February 2011 18:56:00 José Matos wrote: Hi, now that the gradings are gone :-) Hi José, I would like to solve the absence of the spellchecker in Fedora lyx packages. I have finnaly found the reason. configure is

Re: How to use pkg-config together with configure?

2011-02-24 Thread Pavel Sanda
José Matos wrote: What do you think? this patch helps on gentoo as well. pavel

How to use pkg-config together with configure?

2011-02-24 Thread José Matos
Hi, now that the gradings are gone :-) I would like to solve the absence of the spellchecker in Fedora lyx packages. I have finnaly found the reason. configure is checking to see if a program compiles with -lhunspell and the this does not work since the linker does not find

Re: How to use pkg-config together with configure?

2011-02-24 Thread José Matos
On Thursday 24 February 2011 18:56:00 José Matos wrote: > Hi, > now that the gradings are gone :-) I would like to solve the absence of > the spellchecker in Fedora lyx packages. > > I have finnaly found the reason. configure is checking to see if a > program > compiles with

Re: How to use pkg-config together with configure?

2011-02-24 Thread Stephan Witt
Am 24.02.2011 um 21:39 schrieb José Matos: > On Thursday 24 February 2011 18:56:00 José Matos wrote: >> Hi, >> now that the gradings are gone :-) Hi José, >> I would like to solve the absence of >> the spellchecker in Fedora lyx packages. >> >> I have finnaly found the reason.

Re: How to use pkg-config together with configure?

2011-02-24 Thread Pavel Sanda
José Matos wrote: > What do you think? this patch helps on gentoo as well. pavel