comparison configure @ 4686:b49325176f0d

fixed broken xvid support ("lm" rather than "-lm" in libs)
author rfelker
date Wed, 13 Feb 2002 03:14:45 +0000
parents 737969e6affc
children fefd14e3072f
comparison
equal deleted inserted replaced
4685:e8a749c866cf 4686:b49325176f0d
2665 #include <encore2.h> 2665 #include <encore2.h>
2666 int main(void) { (void) encore(0, 0, 0, 0); return 0; } 2666 int main(void) { (void) encore(0, 0, 0, 0); return 0; }
2667 EOF 2667 EOF
2668 if test "$_xvid" != no && test "$_xvidcore" && cc_check -lm "$_xvidcore" ; then 2668 if test "$_xvid" != no && test "$_xvidcore" && cc_check -lm "$_xvidcore" ; then
2669 _def_encore='#define HAVE_DIVX4ENCORE 1' 2669 _def_encore='#define HAVE_DIVX4ENCORE 1'
2670 _ld_encore="lm $_xvidcore" 2670 _ld_encore="-lm $_xvidcore"
2671 echores "XviD (with $_xvidcore)" 2671 echores "XviD (with $_xvidcore)"
2672 elif test "$_xvid" != no && cc_check -lm -lxvidcore ; then 2672 elif test "$_xvid" != no && cc_check -lm -lxvidcore ; then
2673 _def_encore='#define HAVE_DIVX4ENCORE 1' 2673 _def_encore='#define HAVE_DIVX4ENCORE 1'
2674 _ld_encore='lm -lxvidcore' 2674 _ld_encore='-lm -lxvidcore'
2675 echores "XviD (with libxvidcore.so)" 2675 echores "XviD (with libxvidcore.so)"
2676 elif test "$_divx4linux" != no && cc_check -lm -ldivxencore ; then 2676 elif test "$_divx4linux" != no && cc_check -lm -ldivxencore ; then
2677 _def_encore='#define HAVE_DIVX4ENCORE 1' 2677 _def_encore='#define HAVE_DIVX4ENCORE 1'
2678 _ld_encore='-lm -ldivxencore' 2678 _ld_encore='-lm -ldivxencore'
2679 echores "DivX4linux (with libdivxencore.so)" 2679 echores "DivX4linux (with libdivxencore.so)"