# HG changeset patch # User diego # Date 1155917056 0 # Node ID e1ec9b9bf6f7eb0b475a2991f40ede826cc578e9 # Parent 2052a90d9c29aad17e15fde6f7c206bf4f8be75a Some more consistency for the conditions under which tests are run. diff -r 2052a90d9c29 -r e1ec9b9bf6f7 configure --- a/configure Fri Aug 18 14:44:09 2006 +0000 +++ b/configure Fri Aug 18 16:04:16 2006 +0000 @@ -1701,7 +1701,7 @@ _ftp=yes _musepack=auto _vstream=auto -_pthreads=yes +_pthreads=auto _ass=auto _rpath=no _asmalign_pot=auto @@ -2738,7 +2738,7 @@ fi _def_use_aton='#undef USE_ATON' -if test "$_use_aton" != no; then +if test "$_use_aton" = yes; then _def_use_aton='#define USE_ATON 1' fi @@ -2943,7 +2943,7 @@ _def_threads='#undef HAVE_THREADS' echocheck "pthread" -if test "$_pthreads" != no ; then +if test "$_pthreads" = auto ; then cat > $TMPC << EOF #include void* func(void *arg) { return arg; } @@ -3814,7 +3814,7 @@ echocheck "Xv" -if test "$_x11" = yes && test "$_xv" != no ; then +if test "$_x11" = yes && test "$_xv" = auto ; then cat > $TMPC < #include @@ -3870,7 +3870,7 @@ echocheck "Xinerama" -if test "$_x11" = yes && test "$_xinerama" != no ; then +if test "$_x11" = yes && test "$_xinerama" = auto ; then cat > $TMPC < #include @@ -5868,7 +5868,7 @@ if x86 && not qnx; then -if test "$_win32" != no ; then +if test "$_win32" = auto ; then if test -z "$_win32libdir" ; then for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/codecs /usr/lib/codecs /usr/local/lib/win32 /usr/lib/win32 ; do if test -d "$I" ; then @@ -6468,7 +6468,8 @@ fi echocheck "x264" -cat > $TMPC << EOF +if test "$_x264" = auto ; then + cat > $TMPC << EOF #include #include #if X264_BUILD < 48 @@ -6476,8 +6477,7 @@ #endif int main(void) { x264_encoder_open((void*)0); return 0; } EOF -_ld_x264="$_ld_x264 -lx264 $_ld_pthread" -if test "$_x264" != no ; then + _ld_x264="$_ld_x264 -lx264 $_ld_pthread" _x264=no if cc_check $_ld_x264 $_ld_lm ; then _x264=yes @@ -6689,7 +6689,7 @@ echocheck "network" # FIXME network check -if test "$_network" != no ; then +if test "$_network" = yes ; then _def_network='#define MPLAYER_NETWORK 1' _ld_network="$_ld_sock" _inputmodules="network $_inputmodules" @@ -6701,7 +6701,7 @@ echores "$_network" echocheck "ftp" -if not beos && test "$_ftp" != no ; then +if not beos && test "$_ftp" = yes ; then _def_ftp='#define HAVE_FTP 1' _inputmodules="ftp $_inputmodules" else