diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-10-27 21:43:20 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-10-27 21:43:20 +0000 |
commit | 289406c7594c1aba6b637123e539716d2eb53ee5 (patch) | |
tree | 9030623c487623ee7f7591159a86720e706fa09b | |
parent | 8e93338d012eea3981d588ca44f3d78a55ce8b05 (diff) | |
download | xine-lib-289406c7594c1aba6b637123e539716d2eb53ee5.tar.gz xine-lib-289406c7594c1aba6b637123e539716d2eb53ee5.tar.bz2 |
Add check for lrintf which would otherwise be redefined in libavcodec/dsputil.h
CVS patchset: 5620
CVS date: 2003/10/27 21:43:20
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b58c53a61..57384c14d 100644 --- a/configure.ac +++ b/configure.ac @@ -231,6 +231,11 @@ AC_SUBST(LIBFFMPEG_CFLAGS) LIBMPEG2_CFLAGS="" LIBFFMPEG_CFLAGS="-DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_ENCODERS -DCONFIG_DECODERS" +AC_CHECK_DECL(lrintf,[AC_DEFINE(HAVE_LRINTF,1,[Define this if the 'lrintf' function is declared in math.h])],,[ +#define _ISOC9X_SOURCE +#include "math.h" +]) + AC_ARG_ENABLE(altivec, [ --disable-altivec Use assembly codes for Motorola 74xx CPUs], enable_altivec=no, |