From 5a5ff6da4e0ee2bef4d2936d715a889dab15cbd7 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 12 May 2004 20:11:22 +0000 Subject: define HAVE_LRINTF *and* _ISOC9X_SOURCE (thanks Daniel) CVS patchset: 6527 CVS date: 2004/05/12 20:11:22 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f62b8988f..60daddc52 100644 --- a/configure.ac +++ b/configure.ac @@ -264,7 +264,10 @@ AC_SUBST(LIBFFMPEG_CFLAGS) LIBMPEG2_CFLAGS="" LIBFFMPEG_CFLAGS="-DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB" -AC_CHECK_DECL(lrintf,[AC_DEFINE(HAVE_LRINTF,1,[Define this if the 'lrintf' function is declared in math.h])],,[ +AC_CHECK_DECL(lrintf,[ + AC_DEFINE(HAVE_LRINTF,1,[Define this if the 'lrintf' function is declared in math.h]) + AC_DEFINE(_ISOC9X_SOURCE,1,[Define this if you are ISO C9X compliant]) + ],,[ #define _ISOC9X_SOURCE #include "math.h" ]) -- cgit v1.2.3