Re: [Vala] vala+automake bug?

2012-08-01 Thread Evan Nemerson
On Tue, 2012-07-31 at 08:33 +0800, Nor Jaidi Tuah wrote: Dear all, My project (pasang-emas.sourceforge.net) uses automake, using AM_PROG_VALAC macro in the configure.ac file. It uses functions from Math (Math.sin, Math.hypot etc). Recently, one user complains that upon issuing

Re: [Vala] vala+automake bug?

2012-08-01 Thread Nor Jaidi Tuah
* Why it works on my computer? I check my Makefile, and there is no -lm. I seem to remember that on certain platforms math functions are included in libc and adding libm isn't necessary. It's probably not a good idea to rely on that and either always pass -lm or use AC_CHECK_LIB (or

[Vala] vala+automake bug?

2012-07-30 Thread Nor Jaidi Tuah
Dear all, My project (pasang-emas.sourceforge.net) uses automake, using AM_PROG_VALAC macro in the configure.ac file. It uses functions from Math (Math.sin, Math.hypot etc). Recently, one user complains that upon issuing './configure' and 'make', he got the following error: /usr/bin/ld: note: