OSDN Git Service

configure: add missing dependency to libm.
authorJoe Konno <joe.konno@intel.com>
Tue, 20 Nov 2012 15:42:27 +0000 (07:42 -0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 17:17:49 +0000 (18:17 +0100)
commitc0ef9d99df37ae45589fecb898727be495e50304
tree01a01551e3e6eae21847d9ed3bbbb6c2f1e09d53
parente30019e8b90e67fb7599c27b94c30ae644f2ff07
configure: add missing dependency to libm.

Build broke when trying to compile with expressive debug CFLAGS (-g3).
This was root-caused to the lack of the "-lm" linker flag. By adding a
simple autoconf check we ensure that libm is linked.

More specifically, recent VEBOX changes depend on cos() and sin() math
functions.

Signed-off-by: Joe Konno <joe.konno@intel.com>
(cherry picked from commit eb39abb70886d9277cf7d5114125cb7b22e7c362)
configure.ac