comparison configure @ 2427:f95598eeb30c

damn logic (fix did not fix completely)
author pl
date Tue, 23 Oct 2001 15:13:51 +0000
parents 2280c8410f6b
children ee81502bbc4a
comparison
equal deleted inserted replaced
2426:4122de6622b2 2427:f95598eeb30c
604 604
605 # XXX check codecs presence 605 # XXX check codecs presence
606 _win32libdir= 606 _win32libdir=
607 if test "$_win32" = yes ; then 607 if test "$_win32" = yes ; then
608 for I in /usr/local/lib/win32 /usr/lib/win32 ; do 608 for I in /usr/local/lib/win32 /usr/lib/win32 ; do
609 if test -d /usr/lib/win32 ; then 609 if test -d "$I" ; then
610 _win32libdir="$I" 610 _win32libdir="$I"
611 break; 611 break;
612 fi; 612 fi;
613 done 613 done
614 fi 614 fi
615 615
616 616
617 if test -d libavcodec && test -f libavcodec/Makefile ; then 617 if test -d libavcodec && test -f libavcodec/Makefile ; then
618 _libavcodec=yes 618 _libavcodec=yes
619 fi 619 fi
2642 directory or download them from: 2642 directory or download them from:
2643 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.zip 2643 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.zip
2644 EOF 2644 EOF
2645 fi 2645 fi
2646 else 2646 else
2647 echo "Ok, found Win32 codecs directory at $_win32libdir." 2647 if test "$_win32libdir" ; then
2648 echo "Ok, found Win32 codecs directory at $_win32libdir."
2649 else
2650 cat <<EOF
2651 Failed to find a WIN32 codecs dir at $_win32libdir!
2652 Create it and copy the DLL files there! (You can get them from your windows
2653 directory or download them from:
2654 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.zip
2655 EOF
2656 fi
2648 fi 2657 fi
2649 else 2658 else
2650 cat <<EOF 2659 cat <<EOF
2651 NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch). 2660 NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch).
2652 You may encounter a few AVI files that cannot be played due to missing 2661 You may encounter a few AVI files that cannot be played due to missing