Re: ./configure goes through, build fails with no library

2023-07-14 Thread Jean-Marc Lasgouttes
Le 15/07/2023 à 00:50, Enrico Forestieri a écrit : We want to fail in some way when there is no svg, not build without it, don't we? Yep. What about the attached? This looks good (I did not try it yet). The warning at the end should be an error, right? JMarc -- lyx-devel mailing list

Re: ./configure goes through, build fails with no library

2023-07-14 Thread Enrico Forestieri
On Fri, Jul 14, 2023 at 11:12:33PM +0200, Jean-Marc Lasgouttes wrote: Le 14/07/2023 à 21:42, Enrico Forestieri a écrit : I see (or maybe not). Next question is: why is fake custom target names %? Because that defines a dynamic target in a makefile:

Re: ./configure goes through, build fails with no library

2023-07-14 Thread Jean-Marc Lasgouttes
Le 14/07/2023 à 21:42, Enrico Forestieri a écrit : I see (or maybe not). Next question is: why is fake custom target names %? Because that defines a dynamic target in a makefile: https://stackoverflow.com/questions/740/what-does-a-percent-symbol-do-in-a-makefile Thanks! I still have to

Re: ./configure goes through, build fails with no library

2023-07-14 Thread Enrico Forestieri
On Fri, Jul 14, 2023 at 08:48:07PM +0200, Jean-Marc Lasgouttes wrote: Le 14/07/2023 à 20:32, Enrico Forestieri a écrit : There is nothing special about naming percent a variable and that is simply done because the fake custom target is named "%". See here:

Re: ./configure goes through, build fails with no library

2023-07-14 Thread Jean-Marc Lasgouttes
Le 14/07/2023 à 20:32, Enrico Forestieri a écrit : There is nothing special about naming percent a variable and that is simply done because the fake custom target is named "%". See here: https://doc.qt.io/qt-6/qmake-advanced-usage.html#adding-custom-targets I see (or maybe not). Next question

Re: ./configure goes through, build fails with no library

2023-07-14 Thread Enrico Forestieri
On Wed, Jul 12, 2023 at 10:06:15PM +0200, Jean-Marc Lasgouttes wrote: Le 12/07/2023 à 21:39, Enrico Forestieri a écrit : I think that the qmake code could be adapted to issue such warnings. I will have a look if nobody beats me to it. To be frank, I'd love to be able to dispose of most of