Mercurial > mplayer.hg
comparison configure @ 9576:bc2b0f1ed904
Always-install-en-as-default-manpage-patch by Andreas Hess <jaska@gmx.net>.
author | diego |
---|---|
date | Wed, 12 Mar 2003 23:57:23 +0000 |
parents | 894d02a6469e |
children | 76c6d8f1ebf5 |
comparison
equal
deleted
inserted
replaced
9575:5c18b20924e1 | 9576:bc2b0f1ed904 |
---|---|
1623 | 1623 |
1624 | 1624 |
1625 echocheck "language" | 1625 echocheck "language" |
1626 test -z "$_language" && _language=$LINGUAS | 1626 test -z "$_language" && _language=$LINGUAS |
1627 _language=`echo $_language | sed 's/,/ /g'` | 1627 _language=`echo $_language | sed 's/,/ /g'` |
1628 echo $_language | grep all > /dev/null || LANGUAGES=$_language | 1628 echo $_language | grep all > /dev/null || LANGUAGES="$_language en" |
1629 for i in $_language ; do | 1629 for i in $_language ; do |
1630 test "$i" = all && i=en | 1630 test "$i" = all && i=en |
1631 if test -f "help/help_mp-${i}.h" ; then | 1631 if test -f "help/help_mp-${i}.h" ; then |
1632 _language=$i | 1632 _language=$i |
1633 break | 1633 break |
1642 LANGUAGES=`echo $LANGUAGES | sed "s/$i *//2" | sed 's/ *$//'` | 1642 LANGUAGES=`echo $LANGUAGES | sed "s/$i *//2" | sed 's/ *$//'` |
1643 else | 1643 else |
1644 LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'` | 1644 LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'` |
1645 fi | 1645 fi |
1646 done | 1646 done |
1647 test -z "$LANGUAGES" && LANGUAGES=en | |
1648 echores "using $_language (man pages: $LANGUAGES)" | 1647 echores "using $_language (man pages: $LANGUAGES)" |
1649 _mp_help="help/help_mp-${_language}.h" | 1648 _mp_help="help/help_mp-${_language}.h" |
1650 test -f $_mp_help || die "$_mp_help not found" | 1649 test -f $_mp_help || die "$_mp_help not found" |
1651 | 1650 |
1652 echocheck "enable sighandler" | 1651 echocheck "enable sighandler" |