changeset 9343:5ac2ce9c0462

-lm needed for svgalib
author gabucino
date Sat, 08 Feb 2003 13:47:19 +0000
parents 5ddc4ac34df7
children bd7b5078475e
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Feb 08 13:41:45 2003 +0000
+++ b/configure	Sat Feb 08 13:47:19 2003 +0000
@@ -2701,11 +2701,11 @@
 int main(void) { return 0; }
 EOF
   _svga=no
-  cc_check  -lvgagl -lvga && _svga=yes
+  cc_check  -lvgagl -lvga -lm && _svga=yes
 fi
 if test "$_svga" = yes ; then
   _def_svga='#define HAVE_SVGALIB 1'
-  _ld_svga='-lvgagl -lvga'
+  _ld_svga='-lvgagl -lvga -lm'
   _vosrc="$_vosrc vo_svga.c"
   _vomodules="svga $_vomodules"
 else