[MPlayer-dev-eng] configure: cleanups + bugfix for MT

Arpi arpi at thot.banki.hu
Thu Oct 11 22:28:52 CEST 2001


Hi,

> Changed:
> [ $foo = "" ]   => test -z "$foo"
> [ $foo != "" ]  => test "$foo"
> [ $foo ... ]    => test "$foo" ...
> 'yes' or "yes"	=> yes
> 'no' or "no"	=> no
> 
> test X -a Y	=> test X && test Y
> test X -o Y	=> test X || test Y
> (it appears more portable according to autoconf manual)

can be applied (commit please)

> Bugfix for building MT version (it is in the enclosed patch):
> AFAIK for Linux, too, the CFLAG -D_THREAD_SAFE should be added (same
> thing as -D_REENTRANT  - check in /usr/include/feature.h).
what does it exactly mean? as mplayer is single thread program, it
should work, but it isn't really reentrant (uses lots of global vars)

btw. are you intereste din rewritting ./configure script to use functions
and also some cleanup... i've collected suggested changes earlier in a mail.
current one is bigger and bigger every day and it's messy. and the messages
printe dby it are sometimes confusing or simply bad (see c++ test results
for example)

A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list