GNOME Bugzilla – Bug 349182
libgnomeprint needs to link with libm for fmod() and others
Last modified: 2006-10-30 11:49:10 UTC
Hi, libgnomeprint currently fails to build in Debian presumably since the removal of *.la files from other packages which used to link to -lm. libgnomeprint needed a -lm link flag all along, but that is spotted only now. I will attach a patch adding an autoconf test from libtool's macros to check for libm and adding the relevant link flag or failing. This was reported in Debian bugs http://bugs.debian.org/379428 and http://bugs.debian.org/379429. (If this bug report might apply to other libs as well, or if it is misdirected, please advise on which modules I should report against.) Bye,
Created attachment 69880 [details] [review] Add an AC_CHECK_LIBM test in configure and link with -lm
Commited.