Mercurial > mplayer.hg
comparison configure @ 33804:254e56b1e39d
configure: drop check for -lposix4
This test was added in 2001 for Solaris versions that were old even then.
Such Solaris versions are no longer supported and very unlikely to be used.
author | diego |
---|---|
date | Sat, 23 Jul 2011 19:33:00 +0000 |
parents | 94292629886d |
children | 268d0a7c02bd |
comparison
equal
deleted
inserted
replaced
33803:2a4a9659d154 | 33804:254e56b1e39d |
---|---|
3072 def_kstat="#undef HAVE_LIBKSTAT" | 3072 def_kstat="#undef HAVE_LIBKSTAT" |
3073 fi | 3073 fi |
3074 echores "$_kstat" | 3074 echores "$_kstat" |
3075 | 3075 |
3076 | 3076 |
3077 echocheck "posix4" | |
3078 # required for nanosleep on some systems | |
3079 _posix4=no | |
3080 statement_check time.h 'nanosleep(0, 0)' -lposix4 && _posix4=yes | |
3081 if test "$_posix4" = yes ; then | |
3082 extra_ldflags="$extra_ldflags -lposix4" | |
3083 fi | |
3084 echores "$_posix4" | |
3085 | |
3086 for func in exp2 exp2f llrint llrintf log2 log2f lrint lrintf round roundf truncf; do | 3077 for func in exp2 exp2f llrint llrintf log2 log2f lrint lrintf round roundf truncf; do |
3087 echocheck $func | 3078 echocheck $func |
3088 eval _$func=no | 3079 eval _$func=no |
3089 statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE && eval _$func=yes | 3080 statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE && eval _$func=yes |
3090 if eval test "x\$_$func" = "xyes"; then | 3081 if eval test "x\$_$func" = "xyes"; then |