Changeset 1c26af817b48a27bb587541e9d1e024ab76a25cf
- Timestamp:
- 04/27/02 01:32:23
(6 years ago)
- Author:
- Johan Bilien <jobi@videolan.org>
- git-committer:
- Johan Bilien <jobi@videolan.org> 1019863943 +0000
- git-parent:
[a48441c66ea2c3d5d53d1c0a98151662c91f694d]
- git-author:
- Johan Bilien <jobi@videolan.org> 1019863943 +0000
- Message:
* plugins/vcd/cdrom_tools : FreeBSD 4.5 port of the vcd input.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rebf1f25 |
r1c26af8 |
|
| 6063 | 6063 | |
|---|
| 6064 | 6064 | |
|---|
| | 6065 | if test "x${SYS}" = "xfreebsd4.5" |
|---|
| | 6066 | then |
|---|
| | 6067 | PLUGINS="${PLUGINS} vcd" |
|---|
| | 6068 | fi |
|---|
| | 6069 | |
|---|
| 6065 | 6070 | if test "x${SYS}" = "xbsdi" |
|---|
| 6066 | 6071 | then |
|---|
| … | … | |
| 6086 | 6091 | |
|---|
| 6087 | 6092 | echo $ac_n "checking for inet_pton""... $ac_c" 1>&6 |
|---|
| 6088 | | echo "configure:6089: checking for inet_pton" >&5 |
|---|
| | 6093 | echo "configure:6094: checking for inet_pton" >&5 |
|---|
| 6089 | 6094 | if eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then |
|---|
| 6090 | 6095 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6091 | 6096 | else |
|---|
| 6092 | 6097 | cat > conftest.$ac_ext <<EOF |
|---|
| 6093 | | #line 6094 "configure" |
|---|
| | 6098 | #line 6099 "configure" |
|---|
| 6094 | 6099 | #include "confdefs.h" |
|---|
| 6095 | 6100 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 6114 | 6119 | ; return 0; } |
|---|
| 6115 | 6120 | EOF |
|---|
| 6116 | | if { (eval echo configure:6117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 6121 | if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 6117 | 6122 | rm -rf conftest* |
|---|
| 6118 | 6123 | eval "ac_cv_func_inet_pton=yes" |
|---|
| … | … | |
| 6181 | 6186 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6182 | 6187 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6183 | | echo "configure:6184: checking for $ac_hdr" >&5 |
|---|
| | 6188 | echo "configure:6189: checking for $ac_hdr" >&5 |
|---|
| 6184 | 6189 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6185 | 6190 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6186 | 6191 | else |
|---|
| 6187 | 6192 | cat > conftest.$ac_ext <<EOF |
|---|
| 6188 | | #line 6189 "configure" |
|---|
| | 6193 | #line 6194 "configure" |
|---|
| 6189 | 6194 | #include "confdefs.h" |
|---|
| 6190 | 6195 | #include <$ac_hdr> |
|---|
| 6191 | 6196 | EOF |
|---|
| 6192 | 6197 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6193 | | { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6198 | { (eval echo configure:6199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6194 | 6199 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6195 | 6200 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6221 | 6226 | |
|---|
| 6222 | 6227 | echo $ac_n "checking for mad_bit_init in -lmad""... $ac_c" 1>&6 |
|---|
| 6223 | | echo "configure:6224: checking for mad_bit_init in -lmad" >&5 |
|---|
| | 6228 | echo "configure:6229: checking for mad_bit_init in -lmad" >&5 |
|---|
| 6224 | 6229 | ac_lib_var=`echo mad'_'mad_bit_init | sed 'y%./+-%__p_%'` |
|---|
| 6225 | 6230 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 6229 | 6234 | LIBS="-lmad $LIBS" |
|---|
| 6230 | 6235 | cat > conftest.$ac_ext <<EOF |
|---|
| 6231 | | #line 6232 "configure" |
|---|
| | 6236 | #line 6237 "configure" |
|---|
| 6232 | 6237 | #include "confdefs.h" |
|---|
| 6233 | 6238 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 6240 | 6245 | ; return 0; } |
|---|
| 6241 | 6246 | EOF |
|---|
| 6242 | | if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 6247 | if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 6243 | 6248 | rm -rf conftest* |
|---|
| 6244 | 6249 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 6293 | 6298 | else |
|---|
| 6294 | 6299 | echo $ac_n "checking for libavcodec.a in ${with_ffmpeg_tree}""... $ac_c" 1>&6 |
|---|
| 6295 | | echo "configure:6296: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5 |
|---|
| | 6300 | echo "configure:6301: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5 |
|---|
| 6296 | 6301 | real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`" |
|---|
| 6297 | 6302 | if test "x$real_ffmpeg_tree" = x |
|---|
| … | … | |
| 6331 | 6336 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6332 | 6337 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6333 | | echo "configure:6334: checking for $ac_hdr" >&5 |
|---|
| | 6338 | echo "configure:6339: checking for $ac_hdr" >&5 |
|---|
| 6334 | 6339 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6335 | 6340 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6336 | 6341 | else |
|---|
| 6337 | 6342 | cat > conftest.$ac_ext <<EOF |
|---|
| 6338 | | #line 6339 "configure" |
|---|
| | 6343 | #line 6344 "configure" |
|---|
| 6339 | 6344 | #include "confdefs.h" |
|---|
| 6340 | 6345 | #include <$ac_hdr> |
|---|
| 6341 | 6346 | EOF |
|---|
| 6342 | 6347 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6343 | | { (eval echo configure:6344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6348 | { (eval echo configure:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6344 | 6349 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6345 | 6350 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6384 | 6389 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6385 | 6390 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6386 | | echo "configure:6387: checking for $ac_hdr" >&5 |
|---|
| | 6391 | echo "configure:6392: checking for $ac_hdr" >&5 |
|---|
| 6387 | 6392 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6388 | 6393 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6389 | 6394 | else |
|---|
| 6390 | 6395 | cat > conftest.$ac_ext <<EOF |
|---|
| 6391 | | #line 6392 "configure" |
|---|
| | 6396 | #line 6397 "configure" |
|---|
| 6392 | 6397 | #include "confdefs.h" |
|---|
| 6393 | 6398 | #include <$ac_hdr> |
|---|
| 6394 | 6399 | EOF |
|---|
| 6395 | 6400 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6396 | | { (eval echo configure:6397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6401 | { (eval echo configure:6402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6397 | 6402 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6398 | 6403 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6452 | 6457 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6453 | 6458 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6454 | | echo "configure:6455: checking for $ac_hdr" >&5 |
|---|
| | 6459 | echo "configure:6460: checking for $ac_hdr" >&5 |
|---|
| 6455 | 6460 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6456 | 6461 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6457 | 6462 | else |
|---|
| 6458 | 6463 | cat > conftest.$ac_ext <<EOF |
|---|
| 6459 | | #line 6460 "configure" |
|---|
| | 6464 | #line 6465 "configure" |
|---|
| 6460 | 6465 | #include "confdefs.h" |
|---|
| 6461 | 6466 | #include <$ac_hdr> |
|---|
| 6462 | 6467 | EOF |
|---|
| 6463 | 6468 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6464 | | { (eval echo configure:6465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6469 | { (eval echo configure:6470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6465 | 6470 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6466 | 6471 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6515 | 6520 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6516 | 6521 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6517 | | echo "configure:6518: checking for $ac_hdr" >&5 |
|---|
| | 6522 | echo "configure:6523: checking for $ac_hdr" >&5 |
|---|
| 6518 | 6523 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6519 | 6524 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6520 | 6525 | else |
|---|
| 6521 | 6526 | cat > conftest.$ac_ext <<EOF |
|---|
| 6522 | | #line 6523 "configure" |
|---|
| | 6527 | #line 6528 "configure" |
|---|
| 6523 | 6528 | #include "confdefs.h" |
|---|
| 6524 | 6529 | #include <$ac_hdr> |
|---|
| 6525 | 6530 | EOF |
|---|
| 6526 | 6531 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6527 | | { (eval echo configure:6528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6532 | { (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6528 | 6533 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6529 | 6534 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6549 | 6554 | CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext" |
|---|
| 6550 | 6555 | echo $ac_n "checking for XvSetPortAttribute in -lXv_pic""... $ac_c" 1>&6 |
|---|
| 6551 | | echo "configure:6552: checking for XvSetPortAttribute in -lXv_pic" >&5 |
|---|
| | 6556 | echo "configure:6557: checking for XvSetPortAttribute in -lXv_pic" >&5 |
|---|
| 6552 | 6557 | ac_lib_var=`echo Xv_pic'_'XvSetPortAttribute | sed 'y%./+-%__p_%'` |
|---|
| 6553 | 6558 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 6557 | 6562 | LIBS="-lXv_pic $LIBS" |
|---|
| 6558 | 6563 | cat > conftest.$ac_ext <<EOF |
|---|
| 6559 | | #line 6560 "configure" |
|---|
| | 6564 | #line 6565 "configure" |
|---|
| 6560 | 6565 | #include "confdefs.h" |
|---|
| 6561 | 6566 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 6568 | 6573 | ; return 0; } |
|---|
| 6569 | 6574 | EOF |
|---|
| 6570 | | if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 6575 | if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 6571 | 6576 | rm -rf conftest* |
|---|
| 6572 | 6577 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 6626 | 6631 | set dummy sdl12-config; ac_word=$2 |
|---|
| 6627 | 6632 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 6628 | | echo "configure:6629: checking for $ac_word" >&5 |
|---|
| | 6633 | echo "configure:6634: checking for $ac_word" >&5 |
|---|
| 6629 | 6634 | if eval "test \"`echo '$''{'ac_cv_path_SDL12_CONFIG'+set}'`\" = set"; then |
|---|
| 6630 | 6635 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 6666 | 6671 | set dummy sdl11-config; ac_word=$2 |
|---|
| 6667 | 6672 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 6668 | | echo "configure:6669: checking for $ac_word" >&5 |
|---|
| | 6673 | echo "configure:6674: checking for $ac_word" >&5 |
|---|
| 6669 | 6674 | if eval "test \"`echo '$''{'ac_cv_path_SDL11_CONFIG'+set}'`\" = set"; then |
|---|
| 6670 | 6675 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 6707 | 6712 | set dummy sdl-config; ac_word=$2 |
|---|
| 6708 | 6713 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 6709 | | echo "configure:6710: checking for $ac_word" >&5 |
|---|
| | 6714 | echo "configure:6715: checking for $ac_word" >&5 |
|---|
| 6710 | 6715 | if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then |
|---|
| 6711 | 6716 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 6752 | 6757 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6753 | 6758 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6754 | | echo "configure:6755: checking for $ac_hdr" >&5 |
|---|
| | 6759 | echo "configure:6760: checking for $ac_hdr" >&5 |
|---|
| 6755 | 6760 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6756 | 6761 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6757 | 6762 | else |
|---|
| 6758 | 6763 | cat > conftest.$ac_ext <<EOF |
|---|
| 6759 | | #line 6760 "configure" |
|---|
| | 6764 | #line 6765 "configure" |
|---|
| 6760 | 6765 | #include "confdefs.h" |
|---|
| 6761 | 6766 | #include <$ac_hdr> |
|---|
| 6762 | 6767 | EOF |
|---|
| 6763 | 6768 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6764 | | { (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6769 | { (eval echo configure:6770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6765 | 6770 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6766 | 6771 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6832 | 6837 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6833 | 6838 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6834 | | echo "configure:6835: checking for $ac_hdr" >&5 |
|---|
| | 6839 | echo "configure:6840: checking for $ac_hdr" >&5 |
|---|
| 6835 | 6840 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6836 | 6841 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6837 | 6842 | else |
|---|
| 6838 | 6843 | cat > conftest.$ac_ext <<EOF |
|---|
| 6839 | | #line 6840 "configure" |
|---|
| | 6844 | #line 6845 "configure" |
|---|
| 6840 | 6845 | #include "confdefs.h" |
|---|
| 6841 | 6846 | #include <$ac_hdr> |
|---|
| 6842 | 6847 | EOF |
|---|
| 6843 | 6848 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6844 | | { (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6849 | { (eval echo configure:6850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6845 | 6850 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6846 | 6851 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 6871 | 6876 | else |
|---|
| 6872 | 6877 | echo $ac_n "checking for directX headers in ${with_directx}""... $ac_c" 1>&6 |
|---|
| 6873 | | echo "configure:6874: checking for directX headers in ${with_directx}" >&5 |
|---|
| | 6878 | echo "configure:6879: checking for directX headers in ${with_directx}" >&5 |
|---|
| 6874 | 6879 | if test -f ${with_directx}/ddraw.h |
|---|
| 6875 | 6880 | then |
|---|
| … | … | |
| 6898 | 6903 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 6899 | 6904 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 6900 | | echo "configure:6901: checking for $ac_hdr" >&5 |
|---|
| | 6905 | echo "configure:6906: checking for $ac_hdr" >&5 |
|---|
| 6901 | 6906 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 6902 | 6907 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 6903 | 6908 | else |
|---|
| 6904 | 6909 | cat > conftest.$ac_ext <<EOF |
|---|
| 6905 | | #line 6906 "configure" |
|---|
| | 6910 | #line 6911 "configure" |
|---|
| 6906 | 6911 | #include "confdefs.h" |
|---|
| 6907 | 6912 | #include <$ac_hdr> |
|---|
| 6908 | 6913 | EOF |
|---|
| 6909 | 6914 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 6910 | | { (eval echo configure:6911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 6915 | { (eval echo configure:6916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 6911 | 6916 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 6912 | 6917 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7003 | 7008 | ac_safe=`echo "aalib.h" | sed 'y%./+-%__p_%'` |
|---|
| 7004 | 7009 | echo $ac_n "checking for aalib.h""... $ac_c" 1>&6 |
|---|
| 7005 | | echo "configure:7006: checking for aalib.h" >&5 |
|---|
| | 7010 | echo "configure:7011: checking for aalib.h" >&5 |
|---|
| 7006 | 7011 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7007 | 7012 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7008 | 7013 | else |
|---|
| 7009 | 7014 | cat > conftest.$ac_ext <<EOF |
|---|
| 7010 | | #line 7011 "configure" |
|---|
| | 7015 | #line 7016 "configure" |
|---|
| 7011 | 7016 | #include "confdefs.h" |
|---|
| 7012 | 7017 | #include <aalib.h> |
|---|
| 7013 | 7018 | EOF |
|---|
| 7014 | 7019 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7015 | | { (eval echo configure:7016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7020 | { (eval echo configure:7021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7016 | 7021 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7017 | 7022 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7064 | 7069 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 7065 | 7070 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 7066 | | echo "configure:7067: checking for $ac_hdr" >&5 |
|---|
| | 7071 | echo "configure:7072: checking for $ac_hdr" >&5 |
|---|
| 7067 | 7072 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7068 | 7073 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7069 | 7074 | else |
|---|
| 7070 | 7075 | cat > conftest.$ac_ext <<EOF |
|---|
| 7071 | | #line 7072 "configure" |
|---|
| | 7076 | #line 7077 "configure" |
|---|
| 7072 | 7077 | #include "confdefs.h" |
|---|
| 7073 | 7078 | #include <$ac_hdr> |
|---|
| 7074 | 7079 | EOF |
|---|
| 7075 | 7080 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7076 | | { (eval echo configure:7077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7081 | { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7077 | 7082 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7078 | 7083 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7097 | 7102 | PLUGINS="${PLUGINS} dsp" |
|---|
| 7098 | 7103 | echo $ac_n "checking for main in -lossaudio""... $ac_c" 1>&6 |
|---|
| 7099 | | echo "configure:7100: checking for main in -lossaudio" >&5 |
|---|
| | 7104 | echo "configure:7105: checking for main in -lossaudio" >&5 |
|---|
| 7100 | 7105 | ac_lib_var=`echo ossaudio'_'main | sed 'y%./+-%__p_%'` |
|---|
| 7101 | 7106 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 7105 | 7110 | LIBS="-lossaudio $LIBS" |
|---|
| 7106 | 7111 | cat > conftest.$ac_ext <<EOF |
|---|
| 7107 | | #line 7108 "configure" |
|---|
| | 7112 | #line 7113 "configure" |
|---|
| 7108 | 7113 | #include "confdefs.h" |
|---|
| 7109 | 7114 | |
|---|
| … | … | |
| 7112 | 7117 | ; return 0; } |
|---|
| 7113 | 7118 | EOF |
|---|
| 7114 | | if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 7119 | if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 7115 | 7120 | rm -rf conftest* |
|---|
| 7116 | 7121 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 7148 | 7153 | set dummy esd-config; ac_word=$2 |
|---|
| 7149 | 7154 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 7150 | | echo "configure:7151: checking for $ac_word" >&5 |
|---|
| | 7155 | echo "configure:7156: checking for $ac_word" >&5 |
|---|
| 7151 | 7156 | if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then |
|---|
| 7152 | 7157 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7199 | 7204 | set dummy artsc-config; ac_word=$2 |
|---|
| 7200 | 7205 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 7201 | | echo "configure:7202: checking for $ac_word" >&5 |
|---|
| | 7206 | echo "configure:7207: checking for $ac_word" >&5 |
|---|
| 7202 | 7207 | if eval "test \"`echo '$''{'ac_cv_path_ARTS_CONFIG'+set}'`\" = set"; then |
|---|
| 7203 | 7208 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7249 | 7254 | ac_safe=`echo "alsa/asoundlib.h" | sed 'y%./+-%__p_%'` |
|---|
| 7250 | 7255 | echo $ac_n "checking for alsa/asoundlib.h""... $ac_c" 1>&6 |
|---|
| 7251 | | echo "configure:7252: checking for alsa/asoundlib.h" >&5 |
|---|
| | 7256 | echo "configure:7257: checking for alsa/asoundlib.h" >&5 |
|---|
| 7252 | 7257 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7253 | 7258 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7254 | 7259 | else |
|---|
| 7255 | 7260 | cat > conftest.$ac_ext <<EOF |
|---|
| 7256 | | #line 7257 "configure" |
|---|
| | 7261 | #line 7262 "configure" |
|---|
| 7257 | 7262 | #include "confdefs.h" |
|---|
| 7258 | 7263 | #include <alsa/asoundlib.h> |
|---|
| 7259 | 7264 | EOF |
|---|
| 7260 | 7265 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7261 | | { (eval echo configure:7262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7266 | { (eval echo configure:7267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7262 | 7267 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7263 | 7268 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7276 | 7281 | echo "$ac_t""yes" 1>&6 |
|---|
| 7277 | 7282 | echo $ac_n "checking for main in -lasound""... $ac_c" 1>&6 |
|---|
| 7278 | | echo "configure:7279: checking for main in -lasound" >&5 |
|---|
| | 7283 | echo "configure:7284: checking for main in -lasound" >&5 |
|---|
| 7279 | 7284 | ac_lib_var=`echo asound'_'main | sed 'y%./+-%__p_%'` |
|---|
| 7280 | 7285 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 7284 | 7289 | LIBS="-lasound $LIBS" |
|---|
| 7285 | 7290 | cat > conftest.$ac_ext <<EOF |
|---|
| 7286 | | #line 7287 "configure" |
|---|
| | 7291 | #line 7292 "configure" |
|---|
| 7287 | 7292 | #include "confdefs.h" |
|---|
| 7288 | 7293 | |
|---|
| … | … | |
| 7291 | 7296 | ; return 0; } |
|---|
| 7292 | 7297 | EOF |
|---|
| 7293 | | if { (eval echo configure:7294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 7298 | if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 7294 | 7299 | rm -rf conftest* |
|---|
| 7295 | 7300 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 7368 | 7373 | set dummy gtk12-config; ac_word=$2 |
|---|
| 7369 | 7374 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 7370 | | echo "configure:7371: checking for $ac_word" >&5 |
|---|
| | 7375 | echo "configure:7376: checking for $ac_word" >&5 |
|---|
| 7371 | 7376 | if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then |
|---|
| 7372 | 7377 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7407 | 7412 | set dummy gtk-config; ac_word=$2 |
|---|
| 7408 | 7413 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 7409 | | echo "configure:7410: checking for $ac_word" >&5 |
|---|
| | 7414 | echo "configure:7415: checking for $ac_word" >&5 |
|---|
| 7410 | 7415 | if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
|---|
| 7411 | 7416 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7456 | 7461 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 7457 | 7462 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 7458 | | echo "configure:7459: checking for $ac_hdr" >&5 |
|---|
| | 7463 | echo "configure:7464: checking for $ac_hdr" >&5 |
|---|
| 7459 | 7464 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7460 | 7465 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7461 | 7466 | else |
|---|
| 7462 | 7467 | cat > conftest.$ac_ext <<EOF |
|---|
| 7463 | | #line 7464 "configure" |
|---|
| | 7468 | #line 7469 "configure" |
|---|
| 7464 | 7469 | #include "confdefs.h" |
|---|
| 7465 | 7470 | #include <$ac_hdr> |
|---|
| 7466 | 7471 | EOF |
|---|
| 7467 | 7472 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7468 | | { (eval echo configure:7469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7473 | { (eval echo configure:7474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7469 | 7474 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7470 | 7475 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7512 | 7517 | set dummy gnome-config; ac_word=$2 |
|---|
| 7513 | 7518 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 7514 | | echo "configure:7515: checking for $ac_word" >&5 |
|---|
| | 7519 | echo "configure:7520: checking for $ac_word" >&5 |
|---|
| 7515 | 7520 | if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then |
|---|
| 7516 | 7521 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7556 | 7561 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 7557 | 7562 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 7558 | | echo "configure:7559: checking for $ac_hdr" >&5 |
|---|
| | 7563 | echo "configure:7564: checking for $ac_hdr" >&5 |
|---|
| 7559 | 7564 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7560 | 7565 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7561 | 7566 | else |
|---|
| 7562 | 7567 | cat > conftest.$ac_ext <<EOF |
|---|
| 7563 | | #line 7564 "configure" |
|---|
| | 7568 | #line 7569 "configure" |
|---|
| 7564 | 7569 | #include "confdefs.h" |
|---|
| 7565 | 7570 | #include <$ac_hdr> |
|---|
| 7566 | 7571 | EOF |
|---|
| 7567 | 7572 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7568 | | { (eval echo configure:7569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7573 | { (eval echo configure:7574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7569 | 7574 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7570 | 7575 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7655 | 7660 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 7656 | 7661 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 7657 | | echo "configure:7658: checking for $ac_hdr" >&5 |
|---|
| | 7662 | echo "configure:7663: checking for $ac_hdr" >&5 |
|---|
| 7658 | 7663 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7659 | 7664 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7660 | 7665 | else |
|---|
| 7661 | 7666 | cat > conftest.$ac_ext <<EOF |
|---|
| 7662 | | #line 7663 "configure" |
|---|
| | 7667 | #line 7668 "configure" |
|---|
| 7663 | 7668 | #include "confdefs.h" |
|---|
| 7664 | 7669 | #include <$ac_hdr> |
|---|
| 7665 | 7670 | EOF |
|---|
| 7666 | 7671 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7667 | | { (eval echo configure:7668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7672 | { (eval echo configure:7673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7668 | 7673 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7669 | 7674 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7710 | 7715 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 7711 | 7716 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 7712 | | echo "configure:7713: checking for $ac_hdr" >&5 |
|---|
| | 7717 | echo "configure:7718: checking for $ac_hdr" >&5 |
|---|
| 7713 | 7718 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7714 | 7719 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7715 | 7720 | else |
|---|
| 7716 | 7721 | cat > conftest.$ac_ext <<EOF |
|---|
| 7717 | | #line 7718 "configure" |
|---|
| | 7722 | #line 7723 "configure" |
|---|
| 7718 | 7723 | #include "confdefs.h" |
|---|
| 7719 | 7724 | #include <$ac_hdr> |
|---|
| 7720 | 7725 | EOF |
|---|
| 7721 | 7726 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7722 | | { (eval echo configure:7723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7727 | { (eval echo configure:7728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7723 | 7728 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7724 | 7729 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7791 | 7796 | ac_safe=`echo "lirc/lirc_client.h" | sed 'y%./+-%__p_%'` |
|---|
| 7792 | 7797 | echo $ac_n "checking for lirc/lirc_client.h""... $ac_c" 1>&6 |
|---|
| 7793 | | echo "configure:7794: checking for lirc/lirc_client.h" >&5 |
|---|
| | 7798 | echo "configure:7799: checking for lirc/lirc_client.h" >&5 |
|---|
| 7794 | 7799 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 7795 | 7800 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 7796 | 7801 | else |
|---|
| 7797 | 7802 | cat > conftest.$ac_ext <<EOF |
|---|
| 7798 | | #line 7799 "configure" |
|---|
| | 7803 | #line 7804 "configure" |
|---|
| 7799 | 7804 | #include "confdefs.h" |
|---|
| 7800 | 7805 | #include <lirc/lirc_client.h> |
|---|
| 7801 | 7806 | EOF |
|---|
| 7802 | 7807 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 7803 | | { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 7808 | { (eval echo configure:7809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 7804 | 7809 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 7805 | 7810 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 7818 | 7823 | echo "$ac_t""yes" 1>&6 |
|---|
| 7819 | 7824 | echo $ac_n "checking for lirc_init in -llirc_client""... $ac_c" 1>&6 |
|---|
| 7820 | | echo "configure:7821: checking for lirc_init in -llirc_client" >&5 |
|---|
| | 7825 | echo "configure:7826: checking for lirc_init in -llirc_client" >&5 |
|---|
| 7821 | 7826 | ac_lib_var=`echo lirc_client'_'lirc_init | sed 'y%./+-%__p_%'` |
|---|
| 7822 | 7827 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 7826 | 7831 | LIBS="-llirc_client $LIBS" |
|---|
| 7827 | 7832 | cat > conftest.$ac_ext <<EOF |
|---|
| 7828 | | #line 7829 "configure" |
|---|
| | 7833 | #line 7834 "configure" |
|---|
| 7829 | 7834 | #include "confdefs.h" |
|---|
| 7830 | 7835 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 7837 | 7842 | ; return 0; } |
|---|
| 7838 | 7843 | EOF |
|---|
| 7839 | | if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 7844 | if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 7840 | 7845 | rm -rf conftest* |
|---|
| 7841 | 7846 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 7892 | 7897 | *) |
|---|
| 7893 | 7898 | echo $ac_n "checking whether the byte order is big-endian""... $ac_c" 1>&6 |
|---|
| 7894 | | echo "configure:7895: checking whether the byte order is big-endian" >&5 |
|---|
| | 7899 | echo "configure:7900: checking whether the byte order is big-endian" >&5 |
|---|
| 7895 | 7900 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
|---|
| 7896 | 7901 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 7966 | 7971 | if test "x$enable_pth" = "xyes"; then |
|---|
| 7967 | 7972 | echo $ac_n "checking for pth_init in -lpth""... $ac_c" 1>&6 |
|---|
| 7968 | | echo "configure:7969: checking for pth_init in -lpth" >&5 |
|---|
| | 7973 | echo "configure:7974: checking for pth_init in -lpth" >&5 |
|---|
| 7969 | 7974 | ac_lib_var=`echo pth'_'pth_init | sed 'y%./+-%__p_%'` |
|---|
| 7970 | 7975 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 7974 | 7979 | LIBS="-lpth $LIBS" |
|---|
| 7975 | 7980 | cat > conftest.$ac_ext <<EOF |
|---|
| 7976 | | #line 7977 "configure" |
|---|
| | 7981 | #line 7982 "configure" |
|---|
| 7977 | 7982 | #include "confdefs.h" |
|---|
| 7978 | 7983 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 7985 | 7990 | ; return 0; } |
|---|
| 7986 | 7991 | EOF |
|---|
| 7987 | | if { (eval echo configure:7988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 7992 | if { (eval echo configure:7993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 7988 | 7993 | rm -rf conftest* |
|---|
| 7989 | 7994 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 8013 | 8018 | |
|---|
| 8014 | 8019 | cat > conftest.$ac_ext <<EOF |
|---|
| 8015 | | #line 8016 "configure" |
|---|
| | 8020 | #line 8021 "configure" |
|---|
| 8016 | 8021 | #include "confdefs.h" |
|---|
| 8017 | 8022 | #include <pth.h> |
|---|
| … | … | |
| 8039 | 8044 | if test "x$enable_st" = "xyes"; then |
|---|
| 8040 | 8045 | echo $ac_n "checking for st_init in -lst""... $ac_c" 1>&6 |
|---|
| 8041 | | echo "configure:8042: checking for st_init in -lst" >&5 |
|---|
| | 8046 | echo "configure:8047: checking for st_init in -lst" >&5 |
|---|
| 8042 | 8047 | ac_lib_var=`echo st'_'st_init | sed 'y%./+-%__p_%'` |
|---|
| 8043 | 8048 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 8047 | 8052 | LIBS="-lst $LIBS" |
|---|
| 8048 | 8053 | cat > conftest.$ac_ext <<EOF |
|---|
| 8049 | | #line 8050 "configure" |
|---|
| | 8054 | #line 8055 "configure" |
|---|
| 8050 | 8055 | #include "confdefs.h" |
|---|
| 8051 | 8056 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 8058 | 8063 | ; return 0; } |
|---|
| 8059 | 8064 | EOF |
|---|
| 8060 | | if { (eval echo configure:8061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 8065 | if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 8061 | 8066 | rm -rf conftest* |
|---|
| 8062 | 8067 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 8086 | 8091 | |
|---|
| 8087 | 8092 | cat > conftest.$ac_ext <<EOF |
|---|
| 8088 | | #line 8089 "configure" |
|---|
| | 8093 | #line 8094 "configure" |
|---|
| 8089 | 8094 | #include "confdefs.h" |
|---|
| 8090 | 8095 | #include <st.h> |
|---|
| rebf1f25 |
r1c26af8 |
|
| 722 | 722 | ]) |
|---|
| 723 | 723 | |
|---|
| | 724 | if test "x${SYS}" = "xfreebsd4.5" |
|---|
| | 725 | then |
|---|
| | 726 | PLUGINS="${PLUGINS} vcd" |
|---|
| | 727 | fi |
|---|
| | 728 | |
|---|
| 724 | 729 | if test "x${SYS}" = "xbsdi" |
|---|
| 725 | 730 | then |
|---|
| rb29f85e |
r1c26af8 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1998-2001 VideoLAN |
|---|
| 5 | | * $Id: cdrom_tools.c,v 1.2 2002/04/04 05:08:05 sam Exp $ |
|---|
| | 5 | * $Id: cdrom_tools.c,v 1.3 2002/04/26 23:32:23 jobi Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Author: Johan Bilien <jobi@via.ecp.fr> |
|---|
| … | … | |
| 42 | 42 | #include <sys/ioctl.h> |
|---|
| 43 | 43 | |
|---|
| 44 | | #if defined(SYS_BSDI) |
|---|
| | 44 | #if defined( SYS_BSDI ) |
|---|
| 45 | 45 | # include <dvd.h> |
|---|
| 46 | 46 | #elif defined ( SYS_DARWIN ) |
|---|
| … | … | |
| 50 | 50 | # include <IOKit/storage/IOCDMedia.h> |
|---|
| 51 | 51 | # include <IOKit/storage/IOCDMediaBSDClient.h> |
|---|
| | 52 | #elif defined( SYS_FREEBSD4_5 ) |
|---|
| | 53 | # include <sys/cdio.h> |
|---|
| | 54 | # include <sys/cdrio.h> |
|---|
| 52 | 55 | #else |
|---|
| 53 | 56 | # include <linux/cdrom.h> |
|---|
| … | … | |
| 90 | 93 | freeTOC( pTOC ); |
|---|
| 91 | 94 | |
|---|
| | 95 | #elif defined( SYS_FREEBSD4_5 ) |
|---|
| | 96 | struct ioc_toc_header tochdr; |
|---|
| | 97 | |
|---|
| | 98 | if( ioctl( i_fd, CDIOREADTOCHEADER, &tochdr ) == -1 ) |
|---|
| | 99 | { |
|---|
| | 100 | intf_ErrMsg( "vcd error: could not read TOCHDR" ); |
|---|
| | 101 | return -1; |
|---|
| | 102 | } |
|---|
| | 103 | |
|---|
| | 104 | i_count = tochdr.ending_track - tochdr.starting_track + 1; |
|---|
| | 105 | |
|---|
| 92 | 106 | #else |
|---|
| 93 | 107 | struct cdrom_tochdr tochdr; |
|---|
| … | … | |
| 168 | 182 | freeTOC( pTOC ); |
|---|
| 169 | 183 | |
|---|
| | 184 | #elif defined( SYS_FREEBSD4_5 ) |
|---|
| | 185 | struct ioc_read_toc_entry toc_entries; |
|---|
| | 186 | |
|---|
| | 187 | i_tracks = ioctl_GetTrackCount( i_fd, psz_dev ); |
|---|
| | 188 | p_sectors = malloc( (i_tracks + 1) * sizeof(int) ); |
|---|
| | 189 | if( p_sectors == NULL ) |
|---|
| | 190 | { |
|---|
| | 191 | intf_ErrMsg( "vcd error: could not allocate p_sectors" ); |
|---|
| | 192 | return NULL; |
|---|
| | 193 | } |
|---|
| | 194 | |
|---|
| | 195 | toc_entries.address_format = CD_LBA_FORMAT; |
|---|
| | 196 | toc_entries.starting_track = 0; |
|---|
| | 197 | toc_entries.data_len = ( i_tracks + 1 ) * sizeof( struct cd_toc_entry ); |
|---|
| | 198 | toc_entries.data = (struct cd_toc_entry *) malloc( toc_entries.data_len ); |
|---|
| | 199 | if( toc_entries.data == NULL ) |
|---|
| | 200 | { |
|---|
| | 201 | intf_ErrMsg( "vcd error: not enoug memory" ); |
|---|
| | 202 | free( p_sectors ); |
|---|
| | 203 | return NULL; |
|---|
| | 204 | } |
|---|
| | 205 | |
|---|
| | 206 | /* Read the TOC */ |
|---|
| | 207 | if( ioctl( i_fd, CDIOREADTOCENTRYS, &toc_entries ) == -1 ) |
|---|
| | 208 | { |
|---|
| | 209 | intf_ErrMsg( "vcd error: could not read the TOC" ); |
|---|
| | 210 | free( p_sectors ); |
|---|
| | 211 | free( toc_entries.data ); |
|---|
| | 212 | return NULL; |
|---|
| | 213 | } |
|---|
| | 214 | |
|---|
| | 215 | /* Fill the p_sectors structure with the track/sector matches */ |
|---|
| | 216 | for( i = 0 ; i <= i_tracks ; i++ ) |
|---|
| | 217 | { |
|---|
| | 218 | p_sectors[ i ] = ntohl( toc_entries.data[i].addr.lba ); |
|---|
| | 219 | } |
|---|
| 170 | 220 | #else |
|---|
| 171 | 221 | struct cdrom_tochdr tochdr; |
|---|
| … | … | |
| 233 | 283 | { |
|---|
| 234 | 284 | intf_ErrMsg( "vcd error: could not read block %d", i_sector ); |
|---|
| | 285 | return( -1 ); |
|---|
| | 286 | } |
|---|
| | 287 | |
|---|
| | 288 | #elif defined( SYS_FREEBSD4_5 ) |
|---|
| | 289 | |
|---|
| | 290 | int i_size = VCD_SECTOR_SIZE; |
|---|
| | 291 | |
|---|
| | 292 | if( ioctl( i_fd, CDRIOCSETBLOCKSIZE, &i_size ) == -1 ) |
|---|
| | 293 | { |
|---|
| | 294 | intf_ErrMsg( "vcd error: Could not set block size" ); |
|---|
| | 295 | return( -1 ); |
|---|
| | 296 | } |
|---|
| | 297 | |
|---|
| | 298 | if( lseek( i_fd, i_sector * VCD_SECTOR_SIZE, SEEK_SET ) == -1 ) |
|---|
| | 299 | { |
|---|
| | 300 | intf_ErrMsg( "vcd error: Could not lseek to sector %d", i_sector ); |
|---|
| | 301 | return( -1 ); |
|---|
| | 302 | } |
|---|
| | 303 | |
|---|
| | 304 | if( read( i_fd, p_block, VCD_SECTOR_SIZE ) == -1 ) |
|---|
| | 305 | { |
|---|
| | 306 | intf_ErrMsg( "vcd error: Could not read sector %d", i_sector ); |
|---|
| 235 | 307 | return( -1 ); |
|---|
| 236 | 308 | } |
|---|