Mercurial > mplayer.hg
comparison configure @ 17998:f21e0fe4e965
remove deprecated, never-used gnu gettext cruft.
proper runtime message catalogs will be added with catgets in the
(near?) future.
this resolves complaints about mp_msg printing crap at startup when
gettext was (stupidly) enabled by default even though it was not
useful.
author | rfelker |
---|---|
date | Thu, 30 Mar 2006 22:14:44 +0000 |
parents | 4d96d2130172 |
children | d096b8febbfa |
comparison
equal
deleted
inserted
replaced
17997:7bb7f54b4cfa | 17998:f21e0fe4e965 |
---|---|
1585 _largefiles=no | 1585 _largefiles=no |
1586 #_language=en | 1586 #_language=en |
1587 _shm=auto | 1587 _shm=auto |
1588 _linux_devfs=no | 1588 _linux_devfs=no |
1589 #_charset=utf8 | 1589 #_charset=utf8 |
1590 _i18n=auto | |
1591 _dynamic_plugins=no | 1590 _dynamic_plugins=no |
1592 _crash_debug=auto | 1591 _crash_debug=auto |
1593 _sighandler=yes | 1592 _sighandler=yes |
1594 _libdv=auto | 1593 _libdv=auto |
1595 _cdparanoia=auto | 1594 _cdparanoia=auto |
1633 --with-install=*) ;; | 1632 --with-install=*) ;; |
1634 | 1633 |
1635 # Real 2nd pass | 1634 # Real 2nd pass |
1636 --enable-mencoder) _mencoder=yes ;; | 1635 --enable-mencoder) _mencoder=yes ;; |
1637 --disable-mencoder) _mencoder=no ;; | 1636 --disable-mencoder) _mencoder=no ;; |
1638 --enable-i18n) _i18n=yes ;; | |
1639 --disable-i18n) _i18n=no ;; | |
1640 --enable-dynamic-plugins) _dynamic_plugins=yes ;; | 1637 --enable-dynamic-plugins) _dynamic_plugins=yes ;; |
1641 --disable-dynamic-plugins) _dynamic_plugins=no ;; | 1638 --disable-dynamic-plugins) _dynamic_plugins=no ;; |
1642 --enable-x11) _x11=yes ;; | 1639 --enable-x11) _x11=yes ;; |
1643 --disable-x11) _x11=no ;; | 1640 --disable-x11) _x11=no ;; |
1644 --enable-xv) _xv=yes ;; | 1641 --enable-xv) _xv=yes ;; |
2388 else | 2385 else |
2389 _ld_lm="" | 2386 _ld_lm="" |
2390 echores "no" | 2387 echores "no" |
2391 fi | 2388 fi |
2392 | 2389 |
2393 # Checking for localization ... | |
2394 # CSAK EGY MARADHAT - A HEGYLAKO | |
2395 echocheck "i18n" | |
2396 if test "$_i18n" != no ; then | |
2397 cat > $TMPC <<EOF | |
2398 #include <libintl.h> | |
2399 int main(void) { gettext("test"); return 0; } | |
2400 EOF | |
2401 _i18n=no | |
2402 _i18n_libs="" | |
2403 if test "$_i18n" = auto ; then | |
2404 cc_check && _i18n=yes | |
2405 else | |
2406 for i18n_lib in "" "-lintl"; do | |
2407 cc_check $i18n_lib && _i18n=yes && _i18n_libs=$i18n_lib && break | |
2408 done | |
2409 fi | |
2410 fi | |
2411 if test "$_i18n" = yes ; then | |
2412 _def_i18n='#define USE_I18N 1' | |
2413 else | |
2414 _def_i18n='#undef USE_I18N' | |
2415 fi | |
2416 if test "$_i18n_libs" ; then | |
2417 _res_comment="using $_i18n_libs" | |
2418 fi | |
2419 echores "$_i18n" | |
2420 | |
2421 | 2390 |
2422 echocheck "langinfo" | 2391 echocheck "langinfo" |
2423 if test "$_langinfo" = auto ; then | 2392 if test "$_langinfo" = auto ; then |
2424 cat > $TMPC <<EOF | 2393 cat > $TMPC <<EOF |
2425 #include <langinfo.h> | 2394 #include <langinfo.h> |