Mercurial > mplayer.hg
comparison configure @ 9628:2e374f9df742
libsmbclient detection support, slightly rewritten the original patch sent by Vladimir Moushkov <vlindos_mpdev@abv.bg>
author | alex |
---|---|
date | Fri, 21 Mar 2003 16:06:11 +0000 |
parents | 76c6d8f1ebf5 |
children | cc20a6dc9bc3 |
comparison
equal
deleted
inserted
replaced
9627:60dd934cdac1 | 9628:2e374f9df742 |
---|---|
152 --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] | 152 --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] |
153 --disable-edl disable EDL (edit decision list) support [enable] | 153 --disable-edl disable EDL (edit decision list) support [enable] |
154 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | 154 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
155 --disable-streaming disable network streaming support | 155 --disable-streaming disable network streaming support |
156 (support for: http/mms/rtp) [enable] | 156 (support for: http/mms/rtp) [enable] |
157 --enable-smb enable Samba (SMB) input support [autodetect] | |
157 --enable-live enable LIVE.COM Streaming Media support [disable] | 158 --enable-live enable LIVE.COM Streaming Media support [disable] |
158 --enable-dvdnav enable dvdnav support [disable] | 159 --enable-dvdnav enable dvdnav support [disable] |
159 --disable-dvdread Disable libdvdread support [autodetect] | 160 --disable-dvdread Disable libdvdread support [autodetect] |
160 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] | 161 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] |
161 --disable-css Disable old-style libcss DVD support [autodetect] | 162 --disable-css Disable old-style libcss DVD support [autodetect] |
1032 _tv=yes | 1033 _tv=yes |
1033 _tv_v4l=auto | 1034 _tv_v4l=auto |
1034 _tv_bsdbt848=auto | 1035 _tv_bsdbt848=auto |
1035 _edl=yes | 1036 _edl=yes |
1036 _streaming=yes | 1037 _streaming=yes |
1038 _smbsupport=auto | |
1037 _vidix=auto | 1039 _vidix=auto |
1038 _joystick=no | 1040 _joystick=no |
1039 _xvid=auto | 1041 _xvid=auto |
1040 _divx4linux=auto | 1042 _divx4linux=auto |
1041 _opendivx=no | 1043 _opendivx=no |
1198 --disable-tv-v4l) _tv_v4l=no ;; | 1200 --disable-tv-v4l) _tv_v4l=no ;; |
1199 --enable-fastmemcpy) _fastmemcpy=yes ;; | 1201 --enable-fastmemcpy) _fastmemcpy=yes ;; |
1200 --disable-fastmemcpy) _fastmemcpy=no ;; | 1202 --disable-fastmemcpy) _fastmemcpy=no ;; |
1201 --enable-streaming) _streaming=yes ;; | 1203 --enable-streaming) _streaming=yes ;; |
1202 --disable-streaming) _streaming=no ;; | 1204 --disable-streaming) _streaming=no ;; |
1205 --enable-smb) _smbsupport=yes ;; | |
1206 --disable-smb) _smbsupport=no ;; | |
1203 --enable-vidix) _vidix=yes ;; | 1207 --enable-vidix) _vidix=yes ;; |
1204 --disable-vidix) _vidix=no ;; | 1208 --disable-vidix) _vidix=no ;; |
1205 --enable-joystick) _joystick=yes ;; | 1209 --enable-joystick) _joystick=yes ;; |
1206 --disable-joystick) _joystick=no ;; | 1210 --disable-joystick) _joystick=no ;; |
1207 --enable-xvid) _xvid=yes ;; | 1211 --enable-xvid) _xvid=yes ;; |
2316 _def_macosx='#undef MACOSX' | 2320 _def_macosx='#undef MACOSX' |
2317 fi | 2321 fi |
2318 echores "$_macosx" | 2322 echores "$_macosx" |
2319 | 2323 |
2320 | 2324 |
2325 echocheck "Samba support (libsmbclient)" | |
2326 if test "$_smbsupport" = auto; then | |
2327 _smbsupport=no | |
2328 cat > $TMPC << EOF | |
2329 #include <libsmbclient.h> | |
2330 int main(void) { smbc_opendir("smb://"); return 0; } | |
2331 EOF | |
2332 _ld_smb=" -L/usr/lib -lsmbclient" | |
2333 _inc_smb=" -I/usr/include " | |
2334 if cc_check $_ld_smb $_inc_smb ; then | |
2335 # this is not working for me becouse it needs -ldl and some NIS (YP) libs | |
2336 # $_ld_dl and -lyp ? should be added | |
2337 _smbsupport=yes | |
2338 fi | |
2339 fi | |
2340 | |
2341 if test "$_smbsupport" = yes; then | |
2342 _def_smbsupport="#define LIBSMBCLIENT" | |
2343 _inputmodules="smb $_inputmodules" | |
2344 else | |
2345 _def_smbsupport="#undef LIBSMBCLIENT" | |
2346 _noinputmodules="smb $_noinputmodules" | |
2347 fi | |
2348 echores "$_smbsupport" | |
2349 | |
2350 | |
2321 ######### | 2351 ######### |
2322 # VIDEO # | 2352 # VIDEO # |
2323 ######### | 2353 ######### |
2324 | 2354 |
2325 | 2355 |
5016 FREETYPE_LIB = $_ld_freetype | 5046 FREETYPE_LIB = $_ld_freetype |
5017 LIBLZO_LIB= $_ld_liblzo | 5047 LIBLZO_LIB= $_ld_liblzo |
5018 MAD_LIB = $_ld_mad | 5048 MAD_LIB = $_ld_mad |
5019 VORBIS_LIB = $_ld_vorbis $_ld_libdv | 5049 VORBIS_LIB = $_ld_vorbis $_ld_libdv |
5020 FAAD_LIB = $_ld_faad | 5050 FAAD_LIB = $_ld_faad |
5051 SMBSUPPORT_INC = $_inc_smb | |
5052 SMBSUPPORT_LIB = $_ld_smb | |
5021 XMMS_PLUGINS = $_xmms | 5053 XMMS_PLUGINS = $_xmms |
5022 XMMS_LIB = $_xmms_lib | 5054 XMMS_LIB = $_xmms_lib |
5023 MACOSX = $_macosx | 5055 MACOSX = $_macosx |
5024 MACOSX_FRAMEWORKS = $_macosx_frameworks | 5056 MACOSX_FRAMEWORKS = $_macosx_frameworks |
5025 | 5057 |
5378 /* C99 lrintf function available */ | 5410 /* C99 lrintf function available */ |
5379 $_def_lrintf | 5411 $_def_lrintf |
5380 | 5412 |
5381 /* nanosleep support */ | 5413 /* nanosleep support */ |
5382 $_def_nanosleep | 5414 $_def_nanosleep |
5415 | |
5416 /* SMB support */ | |
5417 $_def_smbsupport | |
5383 | 5418 |
5384 /* termcap flag for getch2.c */ | 5419 /* termcap flag for getch2.c */ |
5385 $_def_termcap | 5420 $_def_termcap |
5386 | 5421 |
5387 /* termios flag for getch2.c */ | 5422 /* termios flag for getch2.c */ |