Mercurial > mplayer.hg
comparison configure @ 26635:540968176bbf
cosmetics: Remove trailing whitespace.
author | diego |
---|---|
date | Sat, 03 May 2008 20:14:50 +0000 |
parents | e183e2464abc |
children | d3ce3939637a |
comparison
equal
deleted
inserted
replaced
26634:e183e2464abc | 26635:540968176bbf |
---|---|
1462 fi # icc | 1462 fi # icc |
1463 test "$cc_fail" = yes && die "unsupported compiler version" | 1463 test "$cc_fail" = yes && die "unsupported compiler version" |
1464 | 1464 |
1465 echocheck "host cc" | 1465 echocheck "host cc" |
1466 test "$_host_cc" || _host_cc=$_cc | 1466 test "$_host_cc" || _host_cc=$_cc |
1467 echores $_host_cc | 1467 echores $_host_cc |
1468 | 1468 |
1469 echocheck "cross compilation" | 1469 echocheck "cross compilation" |
1470 if test $_cross_compile = auto ; then | 1470 if test $_cross_compile = auto ; then |
1471 cat > $TMPC << EOF | 1471 cat > $TMPC << EOF |
1472 int main(void) { return 0; } | 1472 int main(void) { return 0; } |
1757 fi | 1757 fi |
1758 if test "$proc" = "k6" || test "$proc" = "c3"; then | 1758 if test "$proc" = "k6" || test "$proc" = "c3"; then |
1759 if ! cc_check -march=$proc $cpuopt=$proc; then | 1759 if ! cc_check -march=$proc $cpuopt=$proc; then |
1760 if cc_check -march=i586 $cpuopt=i686; then | 1760 if cc_check -march=i586 $cpuopt=i686; then |
1761 proc=i586-i686 | 1761 proc=i586-i686 |
1762 else | 1762 else |
1763 proc=i586 | 1763 proc=i586 |
1764 fi | 1764 fi |
1765 fi | 1765 fi |
1766 fi | 1766 fi |
1767 if test "$proc" = "prescott" ; then | 1767 if test "$proc" = "prescott" ; then |
1813 if test "$_target" ; then | 1813 if test "$_target" ; then |
1814 # TODO: it may be a good idea to check GCC and fall back in all cases | 1814 # TODO: it may be a good idea to check GCC and fall back in all cases |
1815 if test "$host_arch" = "i586-i686"; then | 1815 if test "$host_arch" = "i586-i686"; then |
1816 _march="-march=i586" | 1816 _march="-march=i586" |
1817 _mcpu="$cpuopt=i686" | 1817 _mcpu="$cpuopt=i686" |
1818 else | 1818 else |
1819 _march="-march=$host_arch" | 1819 _march="-march=$host_arch" |
1820 _mcpu="$cpuopt=$host_arch" | 1820 _mcpu="$cpuopt=$host_arch" |
1821 fi | 1821 fi |
1822 | 1822 |
1823 proc="$host_arch" | 1823 proc="$host_arch" |
1824 | 1824 |
1825 case "$proc" in | 1825 case "$proc" in |
1826 i386) iproc=386 ;; | 1826 i386) iproc=386 ;; |
1827 i486) iproc=486 ;; | 1827 i486) iproc=486 ;; |
1924 _mcpu="$cpuopt=generic" | 1924 _mcpu="$cpuopt=generic" |
1925 cc_check $_mcpu || _mcpu="x86-64" | 1925 cc_check $_mcpu || _mcpu="x86-64" |
1926 cc_check $_mcpu || _mcpu="" | 1926 cc_check $_mcpu || _mcpu="" |
1927 cc_check $_march $_mcpu || _march="" | 1927 cc_check $_march $_mcpu || _march="" |
1928 fi | 1928 fi |
1929 | 1929 |
1930 _optimizing="" | 1930 _optimizing="" |
1931 | 1931 |
1932 echores "$proc" | 1932 echores "$proc" |
1933 ;; | 1933 ;; |
1934 | 1934 |
1939 if sunos ; then | 1939 if sunos ; then |
1940 echocheck "CPU type" | 1940 echocheck "CPU type" |
1941 karch=`uname -m` | 1941 karch=`uname -m` |
1942 case "`echo $karch`" in | 1942 case "`echo $karch`" in |
1943 sun4) proc=v7 ;; | 1943 sun4) proc=v7 ;; |
1944 sun4c) proc=v7 ;; | 1944 sun4c) proc=v7 ;; |
1945 sun4d) proc=v8 ;; | 1945 sun4d) proc=v8 ;; |
1946 sun4m) proc=v8 ;; | 1946 sun4m) proc=v8 ;; |
1947 sun4u) proc=ultrasparc _vis='yes' ;; | 1947 sun4u) proc=ultrasparc _vis='yes' ;; |
1948 sun4v) proc=v9 ;; | 1948 sun4v) proc=v9 ;; |
1949 *) proc=v8 ;; | 1949 *) proc=v8 ;; |
2103 alpha) | 2103 alpha) |
2104 _arch='ALPHA' | 2104 _arch='ALPHA' |
2105 _target_arch='ARCH_ALPHA = yes' | 2105 _target_arch='ARCH_ALPHA = yes' |
2106 iproc='alpha' | 2106 iproc='alpha' |
2107 _march='' | 2107 _march='' |
2108 | 2108 |
2109 echocheck "CPU type" | 2109 echocheck "CPU type" |
2110 cat > $TMPC << EOF | 2110 cat > $TMPC << EOF |
2111 int main(void) { | 2111 int main(void) { |
2112 unsigned long ver, mask; | 2112 unsigned long ver, mask; |
2113 asm ("implver %0" : "=r" (ver)); | 2113 asm ("implver %0" : "=r" (ver)); |
2126 2-303) proc="ev6"; _mvi="1";; | 2126 2-303) proc="ev6"; _mvi="1";; |
2127 2-307) proc="ev67"; _mvi="1";; | 2127 2-307) proc="ev67"; _mvi="1";; |
2128 2-1307) proc="ev68"; _mvi="1";; | 2128 2-1307) proc="ev68"; _mvi="1";; |
2129 esac | 2129 esac |
2130 echores "$proc" | 2130 echores "$proc" |
2131 | 2131 |
2132 echocheck "GCC & CPU optimization abilities" | 2132 echocheck "GCC & CPU optimization abilities" |
2133 if test "$proc" = "ev68" ; then | 2133 if test "$proc" = "ev68" ; then |
2134 cc_check -mcpu=$proc || proc=ev67 | 2134 cc_check -mcpu=$proc || proc=ev67 |
2135 fi | 2135 fi |
2136 if test "$proc" = "ev67" ; then | 2136 if test "$proc" = "ev67" ; then |
2137 cc_check -mcpu=$proc || proc=ev6 | 2137 cc_check -mcpu=$proc || proc=ev6 |
2138 fi | 2138 fi |
2139 _mcpu="-mcpu=$proc" | 2139 _mcpu="-mcpu=$proc" |
2140 echores "$proc" | 2140 echores "$proc" |
2141 | 2141 |
2142 _optimizing="$proc" | 2142 _optimizing="$proc" |
2143 ;; | 2143 ;; |
2144 | 2144 |
2145 mips) | 2145 mips) |
2146 _arch='SGI_MIPS' | 2146 _arch='SGI_MIPS' |
2401 echores $_asmalign_pot | 2401 echores $_asmalign_pot |
2402 | 2402 |
2403 | 2403 |
2404 #FIXME: This should happen before the check for CFLAGS.. | 2404 #FIXME: This should happen before the check for CFLAGS.. |
2405 if ppc ; then | 2405 if ppc ; then |
2406 | 2406 |
2407 # check if altivec is supported by the compiler, and how to enable it | 2407 # check if altivec is supported by the compiler, and how to enable it |
2408 | 2408 |
2409 _altivec_gcc_flags='' | 2409 _altivec_gcc_flags='' |
2410 | 2410 |
2411 echocheck "GCC altivec support" | 2411 echocheck "GCC altivec support" |
2412 | 2412 |
2413 p='' | 2413 p='' |
2414 cat > $TMPC << EOF | 2414 cat > $TMPC << EOF |
2415 int main(void) { return 0; } | 2415 int main(void) { return 0; } |
2416 EOF | 2416 EOF |
2417 FSF_flags='-maltivec -mabi=altivec' | 2417 FSF_flags='-maltivec -mabi=altivec' |
2451 EOF | 2451 EOF |
2452 cc_check $_altivec_gcc_flags && _have_altivec_h=yes \ | 2452 cc_check $_altivec_gcc_flags && _have_altivec_h=yes \ |
2453 && _def_altivec_h='#define HAVE_ALTIVEC_H 1' | 2453 && _def_altivec_h='#define HAVE_ALTIVEC_H 1' |
2454 echores "$_have_altivec_h" | 2454 echores "$_have_altivec_h" |
2455 | 2455 |
2456 # disable runtime cpudetection if | 2456 # disable runtime cpudetection if |
2457 # - we cannot generate altivec code | 2457 # - we cannot generate altivec code |
2458 # - altivec is disabled by the user | 2458 # - altivec is disabled by the user |
2459 | 2459 |
2460 if test "$_runtime_cpudetection" = yes -a "$_altivec" = no ; then | 2460 if test "$_runtime_cpudetection" = yes -a "$_altivec" = no ; then |
2461 _runtime_cpudetection=no | 2461 _runtime_cpudetection=no |
2814 _res_comment="using $_ld_sock" | 2814 _res_comment="using $_ld_sock" |
2815 echores "yes" | 2815 echores "yes" |
2816 else | 2816 else |
2817 _res_comment="trying inet_aton next" | 2817 _res_comment="trying inet_aton next" |
2818 echores "no" | 2818 echores "no" |
2819 | 2819 |
2820 echocheck "inet_aton()" | 2820 echocheck "inet_aton()" |
2821 cat > $TMPC << EOF | 2821 cat > $TMPC << EOF |
2822 #include <sys/types.h> | 2822 #include <sys/types.h> |
2823 #include <sys/socket.h> | 2823 #include <sys/socket.h> |
2824 #include <arpa/inet.h> | 2824 #include <arpa/inet.h> |
2884 | 2884 |
2885 | 2885 |
2886 echocheck "int_fastXY_t in inttypes.h" | 2886 echocheck "int_fastXY_t in inttypes.h" |
2887 cat > $TMPC << EOF | 2887 cat > $TMPC << EOF |
2888 #include <inttypes.h> | 2888 #include <inttypes.h> |
2889 int main(void) { | 2889 int main(void) { |
2890 volatile int_fast16_t v= 0; | 2890 volatile int_fast16_t v= 0; |
2891 return v; } | 2891 return v; } |
2892 EOF | 2892 EOF |
2893 _fast_inttypes=no | 2893 _fast_inttypes=no |
2894 cc_check && _fast_inttypes=yes | 2894 cc_check && _fast_inttypes=yes |
2895 if test "$_fast_inttypes" = no ; then | 2895 if test "$_fast_inttypes" = no ; then |
2896 _def_fast_inttypes=' | 2896 _def_fast_inttypes=' |
2897 typedef signed char int_fast8_t; | 2897 typedef signed char int_fast8_t; |
2898 typedef signed int int_fast16_t; | 2898 typedef signed int int_fast16_t; |
2899 typedef signed int int_fast32_t; | 2899 typedef signed int int_fast32_t; |
2900 typedef signed long long int_fast64_t; | 2900 typedef signed long long int_fast64_t; |
2901 typedef unsigned char uint_fast8_t; | 2901 typedef unsigned char uint_fast8_t; |
3527 EnterMovies(); | 3527 EnterMovies(); |
3528 ExitMovies(); | 3528 ExitMovies(); |
3529 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); | 3529 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); |
3530 } | 3530 } |
3531 EOF | 3531 EOF |
3532 if cc_check -framework Carbon -framework QuickTime -framework CoreAudio; then | 3532 if cc_check -framework Carbon -framework QuickTime -framework CoreAudio; then |
3533 _ld_extra="$_ld_extra -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox" | 3533 _ld_extra="$_ld_extra -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox" |
3534 _coreaudio=yes | 3534 _coreaudio=yes |
3535 _def_coreaudio='#define HAVE_COREAUDIO 1' | 3535 _def_coreaudio='#define HAVE_COREAUDIO 1' |
3536 _aosrc="$_aosrc ao_macosx.c" | 3536 _aosrc="$_aosrc ao_macosx.c" |
3537 _aomodules="macosx $_aomodules" | 3537 _aomodules="macosx $_aomodules" |
3575 _def_macosx_finder_support='#define MACOSX_FINDER_SUPPORT 1' | 3575 _def_macosx_finder_support='#define MACOSX_FINDER_SUPPORT 1' |
3576 _macosx_finder_support=yes | 3576 _macosx_finder_support=yes |
3577 else | 3577 else |
3578 _def_macosx_finder_support='#undef MACOSX_FINDER_SUPPORT' | 3578 _def_macosx_finder_support='#undef MACOSX_FINDER_SUPPORT' |
3579 _macosx_finder_support=no | 3579 _macosx_finder_support=no |
3580 fi | 3580 fi |
3581 echores "$_macosx_finder_support" | 3581 echores "$_macosx_finder_support" |
3582 | 3582 |
3583 echocheck "Mac OS X Bundle file locations" | 3583 echocheck "Mac OS X Bundle file locations" |
3584 if test "$_macosx_bundle" = auto ; then | 3584 if test "$_macosx_bundle" = auto ; then |
3585 _macosx_bundle=$_macosx_finder_support | 3585 _macosx_bundle=$_macosx_finder_support |
3587 if test "$_macosx_bundle" = yes; then | 3587 if test "$_macosx_bundle" = yes; then |
3588 _def_macosx_bundle='#define MACOSX_BUNDLE 1' | 3588 _def_macosx_bundle='#define MACOSX_BUNDLE 1' |
3589 else | 3589 else |
3590 _def_macosx_bundle='#undef MACOSX_BUNDLE' | 3590 _def_macosx_bundle='#undef MACOSX_BUNDLE' |
3591 _macosx_bundle=no | 3591 _macosx_bundle=no |
3592 fi | 3592 fi |
3593 echores "$_macosx_bundle" | 3593 echores "$_macosx_bundle" |
3594 | 3594 |
3595 echocheck "Apple Remote" | 3595 echocheck "Apple Remote" |
3596 if test "$_apple_remote" = auto ; then | 3596 if test "$_apple_remote" = auto ; then |
3597 _apple_remote=no | 3597 _apple_remote=no |
3976 _xvmc=no | 3976 _xvmc=no |
3977 cat > $TMPC <<EOF | 3977 cat > $TMPC <<EOF |
3978 #include <X11/Xlib.h> | 3978 #include <X11/Xlib.h> |
3979 #include <X11/extensions/Xvlib.h> | 3979 #include <X11/extensions/Xvlib.h> |
3980 #include <X11/extensions/XvMClib.h> | 3980 #include <X11/extensions/XvMClib.h> |
3981 int main(void) { | 3981 int main(void) { |
3982 (void) XvMCQueryExtension(0,0,0); | 3982 (void) XvMCQueryExtension(0,0,0); |
3983 (void) XvMCCreateContext(0,0,0,0,0,0,0); | 3983 (void) XvMCCreateContext(0,0,0,0,0,0,0); |
3984 return 0; } | 3984 return 0; } |
3985 EOF | 3985 EOF |
3986 for _ld_tmp in $_xvmclib XvMCNVIDIA XvMCW I810XvMC ; do | 3986 for _ld_tmp in $_xvmclib XvMCNVIDIA XvMCW I810XvMC ; do |
4161 fi | 4161 fi |
4162 if test "$_gl" = yes ; then | 4162 if test "$_gl" = yes ; then |
4163 _def_gl='#define HAVE_GL 1' | 4163 _def_gl='#define HAVE_GL 1' |
4164 _vosrc="$_vosrc vo_gl.c vo_gl2.c gl_common.c" | 4164 _vosrc="$_vosrc vo_gl.c vo_gl2.c gl_common.c" |
4165 if test "$_gl_win32" = yes ; then | 4165 if test "$_gl_win32" = yes ; then |
4166 _def_gl_win32='#define GL_WIN32 1' | 4166 _def_gl_win32='#define GL_WIN32 1' |
4167 _vosrc="$_vosrc w32_common.c" | 4167 _vosrc="$_vosrc w32_common.c" |
4168 _res_comment="win32 version" | 4168 _res_comment="win32 version" |
4169 fi | 4169 fi |
4170 _vomodules="opengl $_vomodules" | 4170 _vomodules="opengl $_vomodules" |
4171 else | 4171 else |
4901 #include <inttypes.h> | 4901 #include <inttypes.h> |
4902 #include <linux/types.h> | 4902 #include <linux/types.h> |
4903 #include <linux/videodev2.h> | 4903 #include <linux/videodev2.h> |
4904 #include <linux/ivtv.h> | 4904 #include <linux/ivtv.h> |
4905 #include <sys/ioctl.h> | 4905 #include <sys/ioctl.h> |
4906 int main(void) { | 4906 int main(void) { |
4907 struct ivtv_cfg_stop_decode sd; | 4907 struct ivtv_cfg_stop_decode sd; |
4908 struct ivtv_cfg_start_decode sd1; | 4908 struct ivtv_cfg_start_decode sd1; |
4909 ioctl (0, IVTV_IOC_START_DECODE, &sd1); | 4909 ioctl (0, IVTV_IOC_START_DECODE, &sd1); |
4910 ioctl (0, IVTV_IOC_STOP_DECODE, &sd); | 4910 ioctl (0, IVTV_IOC_STOP_DECODE, &sd); |
4911 return 0; } | 4911 return 0; } |
5004 _ld_extra="$_ld_extra -lossaudio" | 5004 _ld_extra="$_ld_extra -lossaudio" |
5005 else | 5005 else |
5006 _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"' | 5006 _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"' |
5007 fi | 5007 fi |
5008 _def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/mixer"' | 5008 _def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/mixer"' |
5009 fi | 5009 fi |
5010 else | 5010 else |
5011 _def_ossaudio='#undef USE_OSS_AUDIO' | 5011 _def_ossaudio='#undef USE_OSS_AUDIO' |
5012 _def_ossaudio_devdsp='#define PATH_DEV_DSP ""' | 5012 _def_ossaudio_devdsp='#define PATH_DEV_DSP ""' |
5013 _def_ossaudio_devmixer='#define PATH_DEV_MIXER ""' | 5013 _def_ossaudio_devmixer='#define PATH_DEV_MIXER ""' |
5014 _noaomodules="oss $_noaomodules" | 5014 _noaomodules="oss $_noaomodules" |
5879 _theora=no | 5879 _theora=no |
5880 cat > $TMPC << EOF | 5880 cat > $TMPC << EOF |
5881 #include <theora/theora.h> | 5881 #include <theora/theora.h> |
5882 #include <string.h> | 5882 #include <string.h> |
5883 int main(void) { | 5883 int main(void) { |
5884 /* theora is in flux, make sure that all interface routines and | 5884 /* theora is in flux, make sure that all interface routines and |
5885 * datatypes exist and work the way we expect it, so we don't break | 5885 * datatypes exist and work the way we expect it, so we don't break |
5886 * mplayer */ | 5886 * mplayer */ |
5887 ogg_packet op; | 5887 ogg_packet op; |
5888 theora_comment tc; | 5888 theora_comment tc; |
5889 theora_info inf; | 5889 theora_info inf; |
5892 int r; | 5892 int r; |
5893 double t; | 5893 double t; |
5894 | 5894 |
5895 theora_info_init (&inf); | 5895 theora_info_init (&inf); |
5896 theora_comment_init (&tc); | 5896 theora_comment_init (&tc); |
5897 | 5897 |
5898 return 0; | 5898 return 0; |
5899 | 5899 |
5900 /* we don't want to execute this kind of nonsense; just for making sure | 5900 /* we don't want to execute this kind of nonsense; just for making sure |
5901 * that compilation works... */ | 5901 * that compilation works... */ |
5902 memset(&op, 0, sizeof(op)); | 5902 memset(&op, 0, sizeof(op)); |
6022 | 6022 |
6023 | 6023 |
6024 echocheck "FAAC (AAC encoder) support" | 6024 echocheck "FAAC (AAC encoder) support" |
6025 if test "$_faac" = auto ; then | 6025 if test "$_faac" = auto ; then |
6026 cat > $TMPC <<EOF | 6026 cat > $TMPC <<EOF |
6027 #include <inttypes.h> | 6027 #include <inttypes.h> |
6028 #include <faac.h> | 6028 #include <faac.h> |
6029 int main(void) { unsigned long x, y; faacEncOpen(48000, 2, &x, &y); return 0; } | 6029 int main(void) { unsigned long x, y; faacEncOpen(48000, 2, &x, &y); return 0; } |
6030 EOF | 6030 EOF |
6031 _faac=no | 6031 _faac=no |
6032 for _ld_faac in "-lfaac" "-lfaac -lmp4v2 -lstdc++" ; do | 6032 for _ld_faac in "-lfaac" "-lfaac -lmp4v2 -lstdc++" ; do |
6541 EOF | 6541 EOF |
6542 for _ld_tmp in "-lxvidcore $_ld_lm" "-lxvidcore $_ld_lm $_ld_pthread" ; do | 6542 for _ld_tmp in "-lxvidcore $_ld_lm" "-lxvidcore $_ld_lm $_ld_pthread" ; do |
6543 cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && _xvid=yes && break | 6543 cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && _xvid=yes && break |
6544 done | 6544 done |
6545 fi | 6545 fi |
6546 | 6546 |
6547 if test "$_xvid" = yes ; then | 6547 if test "$_xvid" = yes ; then |
6548 _def_xvid='#define HAVE_XVID4 1' | 6548 _def_xvid='#define HAVE_XVID4 1' |
6549 _codecmodules="xvid $_codecmodules" | 6549 _codecmodules="xvid $_codecmodules" |
6550 else | 6550 else |
6551 _def_xvid='#undef HAVE_XVID4' | 6551 _def_xvid='#undef HAVE_XVID4' |
6812 #include IOCTL_BT848_H_NAME | 6812 #include IOCTL_BT848_H_NAME |
6813 #endif | 6813 #endif |
6814 int main(void) { | 6814 int main(void) { |
6815 ioctl(0, METEORSINPUT, 0); | 6815 ioctl(0, METEORSINPUT, 0); |
6816 ioctl(0, TVTUNER_GETFREQ, 0); | 6816 ioctl(0, TVTUNER_GETFREQ, 0); |
6817 return 0; | 6817 return 0; |
6818 } | 6818 } |
6819 EOF | 6819 EOF |
6820 cc_check && _tv_bsdbt848=yes | 6820 cc_check && _tv_bsdbt848=yes |
6821 fi | 6821 fi |
6822 fi | 6822 fi |
6835 if test "$_tv_dshow" = auto ; then | 6835 if test "$_tv_dshow" = auto ; then |
6836 _tv_dshow=no | 6836 _tv_dshow=no |
6837 if test "$_tv" = yes && win32 ; then | 6837 if test "$_tv" = yes && win32 ; then |
6838 cat > $TMPC <<EOF | 6838 cat > $TMPC <<EOF |
6839 #include <ole2.h> | 6839 #include <ole2.h> |
6840 int main(void) { | 6840 int main(void) { |
6841 void* p; | 6841 void* p; |
6842 CoCreateInstance((GUID*)&GUID_NULL, NULL, CLSCTX_INPROC_SERVER, &GUID_NULL, &p); | 6842 CoCreateInstance((GUID*)&GUID_NULL, NULL, CLSCTX_INPROC_SERVER, &GUID_NULL, &p); |
6843 return 0; | 6843 return 0; |
6844 } | 6844 } |
6845 EOF | 6845 EOF |
6846 cc_check -lole32 -luuid && _tv_dshow=yes | 6846 cc_check -lole32 -luuid && _tv_dshow=yes |
6847 fi | 6847 fi |
6848 fi | 6848 fi |
7085 cat > $TMPC <<EOF | 7085 cat > $TMPC <<EOF |
7086 short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'), | 7086 short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'), |
7087 (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0}; | 7087 (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0}; |
7088 int main(void) { return (int)ascii_name; } | 7088 int main(void) { return (int)ascii_name; } |
7089 EOF | 7089 EOF |
7090 if cc_check ; then | 7090 if cc_check ; then |
7091 if strings $TMPEXE | grep -l MPlayerBigEndian >/dev/null ; then | 7091 if strings $TMPEXE | grep -l MPlayerBigEndian >/dev/null ; then |
7092 _big_endian=yes | 7092 _big_endian=yes |
7093 else | 7093 else |
7094 _big_endian=no | 7094 _big_endian=no |
7095 fi | 7095 fi |
7096 else | 7096 else |
7372 else | 7372 else |
7373 echores "no" | 7373 echores "no" |
7374 fi | 7374 fi |
7375 | 7375 |
7376 | 7376 |
7377 # Dynamic linking flags | 7377 # Dynamic linking flags |
7378 # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly) | 7378 # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly) |
7379 _ld_dl_dynamic='' | 7379 _ld_dl_dynamic='' |
7380 freebsd || netbsd || openbsd || dragonfly || bsdos && _ld_dl_dynamic='-rdynamic' | 7380 freebsd || netbsd || openbsd || dragonfly || bsdos && _ld_dl_dynamic='-rdynamic' |
7381 if test "$_real" = yes || test "$_xanim" = yes && ! win32 && ! qnx && ! darwin && ! os2 ; then | 7381 if test "$_real" = yes || test "$_xanim" = yes && ! win32 && ! qnx && ! darwin && ! os2 ; then |
7382 _ld_dl_dynamic='-rdynamic' | 7382 _ld_dl_dynamic='-rdynamic' |
8568 EOF | 8568 EOF |
8569 | 8569 |
8570 echo ${_echo_n} " Manual pages: $MAN_LANG ${_echo_c}" | 8570 echo ${_echo_n} " Manual pages: $MAN_LANG ${_echo_c}" |
8571 test "$LANGUAGES" = en && echo ${_echo_n} " (no localization selected, use --language=all)${_echo_c}" | 8571 test "$LANGUAGES" = en && echo ${_echo_n} " (no localization selected, use --language=all)${_echo_c}" |
8572 echo | 8572 echo |
8573 | 8573 |
8574 cat << EOF | 8574 cat << EOF |
8575 | 8575 |
8576 Enabled optional drivers: | 8576 Enabled optional drivers: |
8577 Input: $_inputmodules | 8577 Input: $_inputmodules |
8578 Codecs: $_codecmodules | 8578 Codecs: $_codecmodules |