diff options
author | wm4 <wm4@nowhere> | 2013-10-18 22:09:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-18 22:38:10 +0200 |
commit | e046fa584a5fd695e652570725cab5eb6ef5c17d (patch) | |
tree | 83818adb14ef535316910f833dd1083d3d2e54f2 /configure | |
parent | fd0ffa7b40b8b2fa038e5748cadda35092530a49 (diff) | |
download | mpv-e046fa584a5fd695e652570725cab5eb6ef5c17d.tar.bz2 mpv-e046fa584a5fd695e652570725cab5eb6ef5c17d.tar.xz |
mp_msg: remove gettext() support
Was disabled by default, was never used, internal support was
inconsistent and poor, and there has been virtually no interest in
creating translations.
And I don't even think that a terminal program should be translated.
This is something for (hypothetical) GUIs.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -289,7 +289,6 @@ Installation directories: --docdir=DIR directory for installing docs [PREFIX/share/doc/mpv] --confdir=DIR directory for installing configuration files [PREFIX/etc/mpv] - --localedir=DIR directory for gettext locales [PREFIX/share/locale] Optional features: --disable-encoding disable encoding functionality [enable] @@ -374,9 +373,6 @@ Audio output: --disable-wasapi disable WASAPI (event mode) audio output [autodetect] --disable-select disable using select() on the audio device [enable] -Localization options: - --enable-gettext enable gettext() usage [disable] - Miscellaneous options: --enable-cross-compile enable cross-compilation [disable] --cc=COMPILER C compiler to build mpv [gcc] @@ -480,7 +476,6 @@ _terminfo=auto _termcap=auto _termios=auto _shm=auto -_gettext=no _cdda=auto _coreaudio=auto _corevideo=auto @@ -523,9 +518,6 @@ for ac_option do --confdir=*) _confdir=$(echo $ac_option | cut -d '=' -f 2) ;; - --localedir=*) - _localedir=$(echo $ac_option | cut -d '=' -f 2) - ;; --with-install=*) _install=$(echo $ac_option | cut -d '=' -f 2 ) @@ -581,8 +573,6 @@ for ac_option do --disable-optimization) _opt= ;; - --enable-gettext) _gettext=yes ;; - --disable-gettext) _gettext=no ;; --enable-cross-compile) _cross_compile=yes ;; --disable-cross-compile) _cross_compile=no ;; --enable-encoding) _encoding=yes ;; @@ -753,7 +743,6 @@ test -z "$_bindir" && _bindir="$_prefix/bin" test -z "$_mandir" && _mandir="$_prefix/share/man" test -z "$_docdir" && _docdir="$_prefix/share/doc/mpv" test -z "$_confdir" && _confdir="$_prefix/etc/mpv" -test -z "$_localedir" && _localedir="$_prefix/share/locale" for tmpdir in "$TMPDIR" "$TEMPDIR" "/tmp" ; do test "$tmpdir" && break @@ -1260,15 +1249,6 @@ else fi -echocheck "gettext support" -if test "$_gettext" = yes; then - def_gettext="#define CONFIG_GETTEXT 1" -else - def_gettext="#undef CONFIG_GETTEXT" -fi -echores "$_gettext" - - echocheck "nanosleep" _nanosleep=no statement_check time.h 'nanosleep(0, 0)' && _nanosleep=yes @@ -3228,7 +3208,6 @@ BINDIR = \$(DESTDIR)$_bindir MANDIR = \$(DESTDIR)$_mandir DOCDIR = \$(DESTDIR)$_docdir CONFDIR = \$(DESTDIR)$_confdir -LOCALEDIR = \$(DESTDIR)$_localedir CC = $_cc CXX = $_cc @@ -3358,9 +3337,6 @@ cat > $TMPH << EOF #define CONFIGURATION "$configuration" #define MPLAYER_CONFDIR "$_confdir" -#define MPLAYER_LOCALEDIR "$_localedir" - -$def_gettext /* system headers */ |