comparison configure @ 4543:193cb24dca2b

fix display of echocheck on sunos added missing '--with-mlibdir' to help message replaced \t by ' ' in help section uses $MLIBHOME as a hint to set _mlibdir (Solaris) small indent fixes (dunno why people did not align them ?) (bugs & fixes for sun by meleth@freebox.com)
author pl
date Tue, 05 Feb 2002 22:57:17 +0000
parents dcf46e65bd29
children aa349785b8d3
comparison
equal deleted inserted replaced
4542:e67d400b6fde 4543:193cb24dca2b
13 # _opt : should have a value in yes/no/auto 13 # _opt : should have a value in yes/no/auto
14 # _def_opt : '#define ... 1' or '#undef ...' that is: some C code 14 # _def_opt : '#define ... 1' or '#undef ...' that is: some C code
15 # _ld_opt : ' -L/path/dir -lopt ' that is: some GCC option 15 # _ld_opt : ' -L/path/dir -lopt ' that is: some GCC option
16 # _inc_opt : ' -I/path/dir/include ' 16 # _inc_opt : ' -I/path/dir/include '
17 # 17 #
18 # In this file, a tab is 8 chars and indentation shift is 2 characters
19 #
18 # GOTCHAS: 20 # GOTCHAS:
19 # - config files are currently: 21 # - config files are currently:
20 # config.h config.mak libvo/config.mak libao2/config.mak 22 # config.h config.mak libvo/config.mak libao2/config.mak
21 # Gui/config.mak libvo2/config.mak 23 # Gui/config.mak libvo2/config.mak
22 # - removed dvbincdir/madincdir/cssincdir: add them to extraincdir
23 # 24 #
24 ############################################################################# 25 #############################################################################
25 26
26 # Prefer these macros to full length text ! 27 # Prefer these macros to full length text !
27 # These macros only return an error code - NO display is done 28 # These macros only return an error code - NO display is done
74 } 75 }
75 76
76 # Use this before starting a check 77 # Use this before starting a check
77 echocheck() { 78 echocheck() {
78 echo "============ Checking for $@ ============" >> "$TMPLOG" 79 echo "============ Checking for $@ ============" >> "$TMPLOG"
79 echo "$_echo_n" "Checking for $@ ... $_echo_c" 80 echo ${_echo_n} "Checking for $@ ... ${_echo_c}"
80 } 81 }
81 82
82 # Use this to echo the results of a check 83 # Use this to echo the results of a check
83 echores() { 84 echores() {
84 echo "Result is: $@" >> "$TMPLOG" 85 echo "Result is: $@" >> "$TMPLOG"
88 } 89 }
89 ############################################################################# 90 #############################################################################
90 91
91 # Check how echo works in this /bin/sh 92 # Check how echo works in this /bin/sh
92 case `echo -n` in 93 case `echo -n` in
93 -n) _echo_n='' _echo_c='\c' ;; # SysV echo 94 -n) _echo_n= _echo_c='\c' ;; # SysV echo
94 *) _echo_n=-n _echo_c='' ;; # BSD echo 95 *) _echo_n='-n ' _echo_c= ;; # BSD echo
95 esac 96 esac
96 97
97 LANGUAGES=`echo help_mp-??.h | sed "s/help_mp-\(..\).h/\1/g"` 98 LANGUAGES=`echo help_mp-??.h | sed "s/help_mp-\(..\).h/\1/g"`
98 99
99 for parm in "$@" ; do 100 for parm in "$@" ; do
130 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] 131 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect]
131 --disable-mp1e disable libmp1e support 132 --disable-mp1e disable libmp1e support
132 (use this option if it does not compile) [enable] 133 (use this option if it does not compile) [enable]
133 --disable-streaming disable network streaming support 134 --disable-streaming disable network streaming support
134 (support for: http/mms/rtp) [enable] 135 (support for: http/mms/rtp) [enable]
135 --disable-vidix disable VIDIX stuff [enable] 136 --disable-vidix disable VIDIX stuff [enable]
136 --enable-new-input enable new input system [disable] 137 --enable-new-input enable new input system [disable]
137 --enable-joystick enable joystick support in new input [disable] 138 --enable-joystick enable joystick support in new input [disable]
138 Video: 139 Video:
139 --enable-gl build with OpenGL render support [autodetect] 140 --enable-gl build with OpenGL render support [autodetect]
140 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] 141 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect]
151 --enable-xv build with Xv render support for X 4.x [autodetect] 152 --enable-xv build with Xv render support for X 4.x [autodetect]
152 --enable-vm build with XF86VidMode support for X11 [autodetect] 153 --enable-vm build with XF86VidMode support for X11 [autodetect]
153 --enable-xinerama build with Xinerama support for X11 [autodetect] 154 --enable-xinerama build with Xinerama support for X11 [autodetect]
154 --enable-x11 build with X11 render support [autodetect] 155 --enable-x11 build with X11 render support [autodetect]
155 --enable-fbdev build with FBDev render support [autodetect] 156 --enable-fbdev build with FBDev render support [autodetect]
156 --enable-fbdev=nocopy yuv12 converts directly into framebuffer 157 --enable-fbdev=nocopy yuv12 converts directly into framebuffer
157 --enable-mlib build with MLIB support (Solaris only) [autodetect] 158 --enable-mlib build with MLIB support (Solaris only) [autodetect]
158 --enable-3dfx build with 3dfx support [disable] 159 --enable-3dfx build with 3dfx support [disable]
159 --enable-tdfxfb build with tdfxfb support [disable] 160 --enable-tdfxfb build with tdfxfb support [disable]
160 --enable-directfb build with DirectFB support [autodetect] 161 --enable-directfb build with DirectFB support [autodetect]
161 --enable-zr build with ZR36067/ZR36060 support [disable] 162 --enable-zr build with ZR36067/ZR36060 support [disable]
194 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR 195 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR
195 --with-x11incdir=DIR X headers in DIR 196 --with-x11incdir=DIR X headers in DIR
196 --with-x11libdir=DIR X library files in DIR 197 --with-x11libdir=DIR X library files in DIR
197 --with-csslibdir=DIR libcss in DIR 198 --with-csslibdir=DIR libcss in DIR
198 --with-madlibdir=DIR libmad (libmad shared lib.) in DIR 199 --with-madlibdir=DIR libmad (libmad shared lib.) in DIR
200 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only)
199 --with-win32libdir=DIR W*ndows DLL files in DIR 201 --with-win32libdir=DIR W*ndows DLL files in DIR
200 --with-xanimlibdir=DIR XAnim DLL files in DIR 202 --with-xanimlibdir=DIR XAnim DLL files in DIR
201 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config) 203 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config)
202 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config) 204 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config)
203 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config) 205 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config)
846 --disable-fastmemcpy) _fastmemcpy=no ;; 848 --disable-fastmemcpy) _fastmemcpy=no ;;
847 --enable-streaming) _streaming=yes ;; 849 --enable-streaming) _streaming=yes ;;
848 --disable-streaming) _streaming=no ;; 850 --disable-streaming) _streaming=no ;;
849 --enable-vidix) _vidix=yes ;; 851 --enable-vidix) _vidix=yes ;;
850 --disable-vidix) _vidix=no ;; 852 --disable-vidix) _vidix=no ;;
851 --enable-new-input) _new_input=yes ;; 853 --enable-new-input) _new_input=yes ;;
852 --disable-new-input) _new_input=no ;; 854 --disable-new-input) _new_input=no ;;
853 --enable-joystick) _joystick=yes ;; 855 --enable-joystick) _joystick=yes ;;
854 --disable-joystick) _joystick=no ;; 856 --disable-joystick) _joystick=no ;;
855 --enable-divx4linux) _divx4linux=yes ;; 857 --enable-divx4linux) _divx4linux=yes ;;
856 --disable-divx4linux) _divx4linux=no ;; 858 --disable-divx4linux) _divx4linux=no ;;
857 --enable-opendivx) _opendivx=yes ;; 859 --enable-opendivx) _opendivx=yes ;;
858 --disable-opendivx) _opendivx=no ;; 860 --disable-opendivx) _opendivx=no ;;
859 --enable-lirc) _lirc=yes ;; 861 --enable-lirc) _lirc=yes ;;
869 --enable-tdfxfb) _tdfxfb=yes ;; 871 --enable-tdfxfb) _tdfxfb=yes ;;
870 --disable-tdfxfb) _tdfxfb=no ;; 872 --disable-tdfxfb) _tdfxfb=no ;;
871 --enable-directfb) _directfb=yes ;; 873 --enable-directfb) _directfb=yes ;;
872 --disable-directfb) _directfb=no ;; 874 --disable-directfb) _directfb=no ;;
873 --enable-zr) _zr=yes ;; 875 --enable-zr) _zr=yes ;;
874 --disable-zr) _zr=no ;; 876 --disable-zr) _zr=no ;;
875 --enable-mtrr) _mtrr=yes ;; 877 --enable-mtrr) _mtrr=yes ;;
876 --disable-mtrr) _mtrr=no ;; 878 --disable-mtrr) _mtrr=no ;;
877 --enable-largefiles) _largefiles=yes ;; 879 --enable-largefiles) _largefiles=yes ;;
878 --disable-largefiles) _largefiles=no ;; 880 --disable-largefiles) _largefiles=no ;;
879 --enable-vo2) _vo2=yes ;; 881 --enable-vo2) _vo2=yes ;;
973 975
974 esac 976 esac
975 done 977 done
976 978
977 # Atmos: moved this here, to be correct, if --prefix is specified 979 # Atmos: moved this here, to be correct, if --prefix is specified
978 test -z "$_datadir" && _datadir=$_prefix"/share/mplayer" 980 test -z "$_datadir" && _datadir="$_prefix/share/mplayer"
979 test -z "$_confdir" && _confdir=$_datadir 981 test -z "$_confdir" && _confdir="$_datadir"
980 test -z "$_libdir" && _libdir=$_prefix"/lib/mplayer" 982 test -z "$_libdir" && _libdir="$_prefix/lib/mplayer"
983 test -z "$_mlibdir" && _mlibdir="$MLIBHOME"
981 984
982 if x86 ; then 985 if x86 ; then
983 # Checking assembler (_as) compatibility... 986 # Checking assembler (_as) compatibility...
984 # Added workaround for older as that reads from stdin by default - atmos 987 # Added workaround for older as that reads from stdin by default - atmos
985 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'` 988 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'`