summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-05-12 20:11:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-05-12 20:11:22 +0000
commit5a5ff6da4e0ee2bef4d2936d715a889dab15cbd7 (patch)
tree4667889adaee55442e46e4cff71a05f6f45aff6f
parentf7a9cbd81e4139ad5a04365aaf4ad61594fbaf3e (diff)
downloadxine-lib-5a5ff6da4e0ee2bef4d2936d715a889dab15cbd7.tar.gz
xine-lib-5a5ff6da4e0ee2bef4d2936d715a889dab15cbd7.tar.bz2
define HAVE_LRINTF *and* _ISOC9X_SOURCE (thanks Daniel)
CVS patchset: 6527 CVS date: 2004/05/12 20:11:22
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
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"
])