Mercurial > mplayer.hg
comparison configure @ 25556:e867578ac418
Use _ISOC99_SOURCE instead of _GNU_SOURCE.
author | diego |
---|---|
date | Wed, 02 Jan 2008 18:32:55 +0000 |
parents | 47f2a9304623 |
children | 9f8df9433c25 |
comparison
equal
deleted
inserted
replaced
25555:273c1eaae7c8 | 25556:e867578ac418 |
---|---|
2762 cat > $TMPC << EOF | 2762 cat > $TMPC << EOF |
2763 #include <math.h> | 2763 #include <math.h> |
2764 int main(void) { long (*foo)(float); foo = $func; (void)(*foo)(0.0); return 0; } | 2764 int main(void) { long (*foo)(float); foo = $func; (void)(*foo)(0.0); return 0; } |
2765 EOF | 2765 EOF |
2766 eval _$func=no | 2766 eval _$func=no |
2767 cc_check -D_GNU_SOURCE $_ld_lm && eval _$func=yes | 2767 cc_check -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes |
2768 if eval test "x\$_$func" = "xyes"; then | 2768 if eval test "x\$_$func" = "xyes"; then |
2769 eval _def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 1\"" | 2769 eval _def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 1\"" |
2770 echores yes | 2770 echores yes |
2771 else | 2771 else |
2772 eval _def_$func="\"#undef HAVE_`echo $func | tr '[a-z]' '[A-Z]'`\"" | 2772 eval _def_$func="\"#undef HAVE_`echo $func | tr '[a-z]' '[A-Z]'`\"" |