From ffa3a86b12cfce81c64ca6ff0c6bc7f10f0ecc99 Mon Sep 17 00:00:00 2001 From: pl Date: Tue, 23 Oct 2001 15:13:51 +0000 Subject: damn logic (fix did not fix completely) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2428 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index e28d368a19..fc2f9918d1 100755 --- a/configure +++ b/configure @@ -606,12 +606,12 @@ done _win32libdir= if test "$_win32" = yes ; then for I in /usr/local/lib/win32 /usr/lib/win32 ; do - if test -d /usr/lib/win32 ; then + if test -d "$I" ; then _win32libdir="$I" break; fi; done -fi +fi if test -d libavcodec && test -f libavcodec/Makefile ; then @@ -2644,7 +2644,16 @@ directory or download them from: EOF fi else - echo "Ok, found Win32 codecs directory at $_win32libdir." + if test "$_win32libdir" ; then + echo "Ok, found Win32 codecs directory at $_win32libdir." + else + cat <