comparison configure @ 9343:5ac2ce9c0462

-lm needed for svgalib
author gabucino
date Sat, 08 Feb 2003 13:47:19 +0000
parents 452566dd7f53
children e78cf2460121
comparison
equal deleted inserted replaced
9342:5ddc4ac34df7 9343:5ac2ce9c0462
2699 #include <vga.h> 2699 #include <vga.h>
2700 #include <vgagl.h> 2700 #include <vgagl.h>
2701 int main(void) { return 0; } 2701 int main(void) { return 0; }
2702 EOF 2702 EOF
2703 _svga=no 2703 _svga=no
2704 cc_check -lvgagl -lvga && _svga=yes 2704 cc_check -lvgagl -lvga -lm && _svga=yes
2705 fi 2705 fi
2706 if test "$_svga" = yes ; then 2706 if test "$_svga" = yes ; then
2707 _def_svga='#define HAVE_SVGALIB 1' 2707 _def_svga='#define HAVE_SVGALIB 1'
2708 _ld_svga='-lvgagl -lvga' 2708 _ld_svga='-lvgagl -lvga -lm'
2709 _vosrc="$_vosrc vo_svga.c" 2709 _vosrc="$_vosrc vo_svga.c"
2710 _vomodules="svga $_vomodules" 2710 _vomodules="svga $_vomodules"
2711 else 2711 else
2712 _def_svga='#undef HAVE_SVGALIB' 2712 _def_svga='#undef HAVE_SVGALIB'
2713 _novomodules="svga $_novomodules" 2713 _novomodules="svga $_novomodules"