[MPlayer-dev-eng] [PATCH] configure: relative path under mingw
Zuxy Meng
zuxy.meng at gmail.com
Thu May 11 10:18:37 CEST 2006
Hello,
Windows users tend to put binary codecs file in a subfolder named
"codecs", following instructions in
"http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt".
To do so they have to use --with-codecsdir=codecs explicitly when
configuring. This patch saves the time by setting
_win32libdir=_reallibdir="codecs" if all other means have failed.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
--- main/configure 2006-05-11 15:26:30.000000000 +0800
+++ main.new/configure 2006-05-11 16:12:58.000000000 +0800
@@ -5835,6 +5835,9 @@
fi;
done
fi
+ if test -z "$_win32libdir" && mingw32 ; then
+ _win32libdir="codecs"
+ fi
fi
echocheck "Win32 codec DLL support"
@@ -5973,6 +5976,9 @@
fi
done
fi
+ if test -z "$_reallibdir" && mingw32 ; then
+ _reallibdir="$_win32libdir"
+ fi
test "$_reallibdir" && _real=yes
fi
fi
More information about the MPlayer-dev-eng
mailing list