I read your scripts and it is very interesting.
You solve nively the problems of Aqua, X11, GDI, etc... by letting it
to qmake. But it would be also interesting if these were set by the
macro itself (for example, I might be wanting to build for X11 even if
I am on a Mac just by setting a flag, i.e. --with-qt-x11)
However, the main drawback I see in your script, is that it won't
adapt to the source includes. In fact, that is my main problem, since
I don't know how to do this. I'd like to be able to detect Qt packages
includes and set the flags according to this detection (either at
configure time or at make time, but preferably at make time).
For now, I intend to wite a Makefile include that do this, but I would
prefer to write it in m4 language, rather than in make language.
Does somebody have an idea about the best way to do this ?
Thanks,
Yvan
Le 13 nov. 07 à 14:59, Benoit Sigoure a écrit :
I wrote this:
http://www.tsunanet.net/autotroll/
It's an M4 file and a small piece of Makefile that help building Qt
applications with Autotools. I used them successfully for over a
year with Qt 4.0+, Qt 4.1+, Qt 4.2+, Qt 4.3+ on various GNU/Linux
distros (Ubuntu, Debian, Gentoo) as well as on Windows (Cygwin /
MinGW) and on MacOSX (older PPC or newer Intel, didn't test with
Leopard but there is no reason it shouldn't work).
I didn't look at your own macros or that proposed by Ralph but by
the time I wrote these macros, there was nothing satisfactory.
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf