diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-22 08:51:19 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-22 08:51:19 +0000 |
commit | 2759b5262b7b5086fbe4a7c17c0fc227503833c6 (patch) | |
tree | 917ba0d4fdb4c92fe1b0fa6b3b1ef3d05fc6e277 /configure | |
parent | 789ecb9343a9a6ffeb79c581e24a309e242aed34 (diff) |
libdvdread desc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1619 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -6,6 +6,9 @@ # # Changes in reversed order: # +# 2001/08/22 by Nick Kurshev +# - added autodetection of local language +# # 2001/07/31 by Steve Davies # - added --enable-largefiles # @@ -326,7 +329,7 @@ EOF # config files CCONF='config.h' MCONF='config.mak' - +CHELP='help_mp.h' # --- Check for C compiler: if [ "$_x11libdir" = "" ]; then @@ -725,7 +728,17 @@ esac # --- - +# Checking for localization ... +if test -z "$LINGUAS"; then +LINGUAS="en" +fi +echo Checking for language ... "$LINGUAS" +_mp_help="help_mp-"$LINGUAS".h" +if test ! -e "$_mp_help"; then +LINGUAS="en" +_mp_help="help_mp-"$LINGUAS".h" +fi +echo Using ... "$_mp_help" file $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lvgagl -lvga > /dev/null 2>&1 && _svga=yes @@ -2145,6 +2158,11 @@ instead of make. EOF +echo Creating $CHELP +cat > $CHELP << EOF +#include "$_mp_help" +EOF + if [ $_mtrr = yes ]; then echo "Please check mtrr settings at /proc/mtrr (see DOCS/MTRR)" echo |