Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
928d731d
Commit
928d731d
authored
Apr 03, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed altivec memcpy module [OS X port]
parent
dd5d92a4
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
256 additions
and
182 deletions
+256
-182
Makefile.opts.in
Makefile.opts.in
+2
-0
configure
configure
+105
-99
configure.in
configure.in
+6
-2
plugins/memcpy/Makefile
plugins/memcpy/Makefile
+1
-1
plugins/memcpy/fastmemcpy.h
plugins/memcpy/fastmemcpy.h
+1
-70
plugins/memcpy/memcpy.c
plugins/memcpy/memcpy.c
+1
-10
plugins/memcpy/memcpyaltivec.c
plugins/memcpy/memcpyaltivec.c
+140
-0
No files found.
Makefile.opts.in
View file @
928d731d
...
...
@@ -95,6 +95,7 @@ LIB_KDE = @LIB_KDE@
LIB_LIRC
=
@LIB_LIRC@
LIB_MACOSX
=
@LIB_MACOSX@
LIB_MAD
=
@LIB_MAD@
LIB_MEMCPYALTIVEC
=
@LIB_MEMCPYALTIVEC@
LIB_MOTIONALTIVEC
=
@LIB_MOTIONALTIVEC@
LIB_MPEG_TS
=
@LIB_MPEG_TS@
LIB_NCURSES
=
@LIB_NCURSES@
...
...
@@ -126,6 +127,7 @@ CFLAGS_KDE = @CFLAGS_KDE@
CFLAGS_IDCTALTIVEC
=
@CFLAGS_IDCTALTIVEC@
CFLAGS_MACOSX
=
@CFLAGS_MACOSX@
CFLAGS_MAD
=
@CFLAGS_MAD@
CFLAGS_MEMCPYALTIVEC
=
@CFLAGS_MEMCPYALTIVEC@
CFLAGS_MOTIONALTIVEC
=
@CFLAGS_MOTIONALTIVEC@
CFLAGS_QT
=
@CFLAGS_QT@
CFLAGS_SDL
=
@CFLAGS_SDL@
...
...
configure
View file @
928d731d
...
...
@@ -5579,7 +5579,7 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
if
test
x
$SYS
!=
xmingw32
;
then
SSE_MODULES
=
"imdctsse downmixsse"
fi
ALTIVEC_MODULES
=
"idctaltivec motionaltivec
memcpyaltivec
"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec"
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
"configure:5586: checking if
\$
CC groks MMX inline assembly"
>
&5
...
...
@@ -5831,26 +5831,27 @@ EOF
CFLAGS_IDCTALTIVEC
=
"
$CFLAGS_IDCTALTIVEC
$ac_cv_c_altivec
"
CFLAGS_MOTIONALTIVEC
=
"
$CFLAGS_MOTIONALTIVEC
$ac_cv_c_altivec
"
CFLAGS_MEMCPYALTIVEC
=
"
$CFLAGS_MEMCPYALTIVEC
$ac_cv_c_altivec
"
CFLAGS_VLC
=
"
$CFLAGS_VLC
$ac_cv_c_altivec
"
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
ALTIVEC_MODULES
}
"
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
ALTIVEC_MODULES
}
memcpyaltivec
"
fi
echo
$ac_n
"checking if linker needs -framework vecLib""...
$ac_c
"
1>&6
echo
"configure:584
0
: checking if linker needs -framework vecLib"
>
&5
echo
"configure:584
1
: checking if linker needs -framework vecLib"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_ld_altivec
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
save_LDFLAGS
=
$LDFLAGS
LDFLAGS
=
"
$LDFLAGS
-framework vecLib"
cat
>
conftest.
$ac_ext
<<
EOF
#line 584
7
"configure"
#line 584
8
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:585
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:585
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_ld_altivec
=
yes
else
...
...
@@ -5868,6 +5869,7 @@ echo "$ac_t""$ac_cv_ld_altivec" 1>&6
if
test
x
"
$ac_cv_ld_altivec
"
!=
x
"no"
;
then
LIB_IDCTALTIVEC
=
"
${
LIB_IDCTALTIVEC
}
-framework vecLib"
LIB_MOTIONALTIVEC
=
"
${
LIB_MOTIONALTIVEC
}
-framework vecLib"
LIB_MEMCPYALTIVEC
=
"
${
LIB_MEMCPYALTIVEC
}
-framework vecLib"
LIB_VLC
=
"
${
LIB_VLC
}
-framework vecLib"
fi
fi
# end if mingw32
...
...
@@ -5980,17 +5982,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:598
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:598
6
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
89
"configure"
#line 59
91
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:599
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:599
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6021,7 +6023,7 @@ done
else
echo
$ac_n
"checking for libdvdcss.a in
${
with_dvdcss_tree
}
""...
$ac_c
"
1>&6
echo
"configure:602
5
: checking for libdvdcss.a in
${
with_dvdcss_tree
}
"
>
&5
echo
"configure:602
7
: checking for libdvdcss.a in
${
with_dvdcss_tree
}
"
>
&5
real_dvdcss_tree
=
"
`
cd
${
with_dvdcss_tree
}
2>/dev/null
&&
pwd
`
"
if
test
"x
$real_dvdcss_tree
"
=
x
then
...
...
@@ -6047,7 +6049,7 @@ echo "configure:6025: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
;;
*
)
echo
$ac_n
"checking for dvdcss headers in
${
with_dvdcss
}
""...
$ac_c
"
1>&6
echo
"configure:605
1
: checking for dvdcss headers in
${
with_dvdcss
}
"
>
&5
echo
"configure:605
3
: checking for dvdcss headers in
${
with_dvdcss
}
"
>
&5
if
test
-f
${
with_dvdcss
}
/include/dvdcss/dvdcss.h
then
echo
"
$ac_t
""yes"
1>&6
...
...
@@ -6082,17 +6084,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:608
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:608
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 609
1
"configure"
#line 609
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:609
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:609
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6122,7 +6124,7 @@ done
;;
*
)
echo
$ac_n
"checking for dvdread headers in
${
withval
}
""...
$ac_c
"
1>&6
echo
"configure:612
6
: checking for dvdread headers in
${
withval
}
"
>
&5
echo
"configure:612
8
: checking for dvdread headers in
${
withval
}
"
>
&5
if
test
-f
${
withval
}
/include/dvdread/dvd_reader.h
then
echo
"
$ac_t
""yes"
1>&6
...
...
@@ -6147,7 +6149,7 @@ fi
if
test
x
$enable_vcd
!=
xno
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 615
1
"configure"
#line 615
3
"configure"
#include "confdefs.h"
#include <linux/cdrom.h>
EOF
...
...
@@ -6188,12 +6190,12 @@ fi
echo
$ac_n
"checking for inet_pton""...
$ac_c
"
1>&6
echo
"configure:619
2
: checking for inet_pton"
>
&5
echo
"configure:619
4
: checking for inet_pton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_pton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 619
7
"configure"
#line 619
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_pton(); below. */
...
...
@@ -6216,7 +6218,7 @@ inet_pton();
; return 0; }
EOF
if
{
(
eval echo
configure:622
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:622
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_inet_pton=yes"
else
...
...
@@ -6272,17 +6274,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:627
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:627
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 628
1
"configure"
#line 628
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:628
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:628
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6312,7 +6314,7 @@ fi
done
echo
$ac_n
"checking for mad_bit_init in -lmad""...
$ac_c
"
1>&6
echo
"configure:631
6
: checking for mad_bit_init in -lmad"
>
&5
echo
"configure:631
8
: checking for mad_bit_init in -lmad"
>
&5
ac_lib_var
=
`
echo
mad
'_'
mad_bit_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6320,7 +6322,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmad
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 632
4
"configure"
#line 632
6
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6331,7 +6333,7 @@ int main() {
mad_bit_init()
; return 0; }
EOF
if
{
(
eval echo
configure:633
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:633
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6383,17 +6385,17 @@ if test "x$enableval" != "xno" -a x$SYS != xmingw32
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:638
7
: checking for
$ac_hdr
"
>
&5
echo
"configure:638
9
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 639
2
"configure"
#line 639
4
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:639
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:639
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6436,17 +6438,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:644
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:644
2
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 644
5
"configure"
#line 644
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:645
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:645
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6505,17 +6507,17 @@ if test x$enable_x11 != xno &&
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:65
09
: checking for
$ac_hdr
"
>
&5
echo
"configure:65
11
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 651
4
"configure"
#line 651
6
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:65
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:65
21
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6568,17 +6570,17 @@ if test x$enable_xvideo != xno &&
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:657
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:657
4
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 657
7
"configure"
#line 657
9
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:658
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:658
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6602,7 +6604,7 @@ EOF
saved_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-L
$x_libraries
-lX11 -lXext"
echo
$ac_n
"checking for XvSetPortAttribute in -lXv_pic""...
$ac_c
"
1>&6
echo
"configure:660
6
: checking for XvSetPortAttribute in -lXv_pic"
>
&5
echo
"configure:660
8
: checking for XvSetPortAttribute in -lXv_pic"
>
&5
ac_lib_var
=
`
echo
Xv_pic
'_'
XvSetPortAttribute |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6610,7 +6612,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXv_pic
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 661
4
"configure"
#line 661
6
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6621,7 +6623,7 @@ int main() {
XvSetPortAttribute()
; return 0; }
EOF
if
{
(
eval echo
configure:662
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:662
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6679,7 +6681,7 @@ fi
# Extract the first word of "sdl12-config", so it can be a program name with args.
set
dummy sdl12-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:668
3
: checking for
$ac_word
"
>
&5
echo
"configure:668
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_SDL12_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6719,7 +6721,7 @@ fi
# Extract the first word of "sdl11-config", so it can be a program name with args.
set
dummy sdl11-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:672
3
: checking for
$ac_word
"
>
&5
echo
"configure:672
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_SDL11_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6760,7 +6762,7 @@ fi
# Extract the first word of "sdl-config", so it can be a program name with args.
set
dummy sdl-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:676
4
: checking for
$ac_word
"
>
&5
echo
"configure:676
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_SDL_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6806,17 +6808,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:681
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:681
2
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 681
5
"configure"
#line 681
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:682
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:682
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6886,17 +6888,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:689
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:689
2
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 689
5
"configure"
#line 689
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:690
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:690
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6925,7 +6927,7 @@ done
else
echo
$ac_n
"checking for directX headers in
${
withval
}
""...
$ac_c
"
1>&6
echo
"configure:69
29
: checking for directX headers in
${
withval
}
"
>
&5
echo
"configure:69
31
: checking for directX headers in
${
withval
}
"
>
&5
if
test
-f
${
withval
}
/ddraw.h
then
PLUGINS
=
"
${
PLUGINS
}
directx"
...
...
@@ -6952,17 +6954,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:695
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:695
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 696
1
"configure"
#line 696
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:696
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:696
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7057,17 +7059,17 @@ if test x$enable_aa = xyes
then
ac_safe
=
`
echo
"aalib.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for aalib.h""...
$ac_c
"
1>&6
echo
"configure:706
1
: checking for aalib.h"
>
&5
echo
"configure:706
3
: checking for aalib.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 706
6
"configure"
#line 706
8
"configure"
#include "confdefs.h"
#include <aalib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:707
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:707
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7118,17 +7120,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:712
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:712
4
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 712
7
"configure"
#line 712
9
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:713
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:713
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7151,7 +7153,7 @@ EOF
PLUGINS
=
"
${
PLUGINS
}
dsp"
echo
$ac_n
"checking for main in -lossaudio""...
$ac_c
"
1>&6
echo
"configure:715
5
: checking for main in -lossaudio"
>
&5
echo
"configure:715
7
: checking for main in -lossaudio"
>
&5
ac_lib_var
=
`
echo
ossaudio
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7159,14 +7161,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lossaudio
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 716
3
"configure"
#line 716
5
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:717
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:717
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7202,7 +7204,7 @@ if test "${enable_esd+set}" = set; then
# Extract the first word of "esd-config", so it can be a program name with args.
set
dummy esd-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:720
6
: checking for
$ac_word
"
>
&5
echo
"configure:720
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ESD_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7253,7 +7255,7 @@ if test "${enable_arts+set}" = set; then
# Extract the first word of "artsc-config", so it can be a program name with args.
set
dummy artsc-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:725
7
: checking for
$ac_word
"
>
&5
echo
"configure:725
9
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ARTS_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7303,17 +7305,17 @@ if test "${enable_alsa+set}" = set; then
then
ac_safe
=
`
echo
"alsa/asoundlib.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for alsa/asoundlib.h""...
$ac_c
"
1>&6
echo
"configure:730
7
: checking for alsa/asoundlib.h"
>
&5
echo
"configure:730
9
: checking for alsa/asoundlib.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 731
2
"configure"
#line 731
4
"configure"
#include "confdefs.h"
#include <alsa/asoundlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:731
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:731
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7330,7 +7332,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking for main in -lasound""...
$ac_c
"
1>&6
echo
"configure:733
4
: checking for main in -lasound"
>
&5
echo
"configure:733
6
: checking for main in -lasound"
>
&5
ac_lib_var
=
`
echo
asound
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7338,14 +7340,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 734
2
"configure"
#line 734
4
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:73
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7422,7 +7424,7 @@ fi
# Extract the first word of "gtk12-config", so it can be a program name with args.
set
dummy gtk12-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:742
6
: checking for
$ac_word
"
>
&5
echo
"configure:742
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GTK12_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7461,7 +7463,7 @@ fi
# Extract the first word of "gtk-config", so it can be a program name with args.
set
dummy gtk-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:746
5
: checking for
$ac_word
"
>
&5
echo
"configure:746
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GTK_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7511,17 +7513,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:751
5
: checking for
$ac_hdr
"
>
&5
echo
"configure:751
7
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 752
0
"configure"
#line 752
2
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:752
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:752
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7567,7 +7569,7 @@ if test "${enable_gnome+set}" = set; then
# Extract the first word of "gnome-config", so it can be a program name with args.
set
dummy gnome-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:757
1
: checking for
$ac_word
"
>
&5
echo
"configure:757
3
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GNOME_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7612,17 +7614,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:761
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:761
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 762
1
"configure"
#line 762
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:762
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:762
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7712,17 +7714,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:771
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:771
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 772
1
"configure"
#line 772
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:772
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:772
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7767,17 +7769,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:777
1
: checking for
$ac_hdr
"
>
&5
echo
"configure:777
3
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 777
6
"configure"
#line 777
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:778
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:778
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7838,17 +7840,17 @@ if test x$enable_lirc = xyes
then
ac_safe
=
`
echo
"lirc/lirc_client.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for lirc/lirc_client.h""...
$ac_c
"
1>&6
echo
"configure:784
2
: checking for lirc/lirc_client.h"
>
&5
echo
"configure:784
4
: checking for lirc/lirc_client.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 784
7
"configure"
#line 784
9
"configure"
#include "confdefs.h"
#include <lirc/lirc_client.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:785
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:785
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7865,7 +7867,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking for lirc_init in -llirc_client""...
$ac_c
"
1>&6
echo
"configure:78
69
: checking for lirc_init in -llirc_client"
>
&5
echo
"configure:78
71
: checking for lirc_init in -llirc_client"
>
&5
ac_lib_var
=
`
echo
lirc_client
'_'
lirc_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7873,7 +7875,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llirc_client
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 787
7
"configure"
#line 787
9
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7884,7 +7886,7 @@ int main() {
lirc_init()
; return 0; }
EOF
if
{
(
eval echo
configure:78
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:78
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7941,7 +7943,7 @@ fi
;;
*
)
echo
$ac_n
"checking whether the byte order is big-endian""...
$ac_c
"
1>&6
echo
"configure:794
5
: checking whether the byte order is big-endian"
>
&5
echo
"configure:794
7
: checking whether the byte order is big-endian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8026,7 +8028,7 @@ if test "${enable_pth+set}" = set; then
enableval
=
"
$enable_pth
"
if
test
x
$enableval
=
xyes
;
then
echo
$ac_n
"checking for pth_init in -lpth""...
$ac_c
"
1>&6
echo
"configure:803
0
: checking for pth_init in -lpth"
>
&5
echo
"configure:803
2
: checking for pth_init in -lpth"
>
&5
ac_lib_var
=
`
echo
pth
'_'
pth_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -8034,7 +8036,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpth
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 80
38
"configure"
#line 80
40
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -8045,7 +8047,7 @@ int main() {
pth_init()
; return 0; }
EOF
if
{
(
eval echo
configure:80
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:80
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -8073,7 +8075,7 @@ else
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 807
7
"configure"
#line 807
9
"configure"
#include "confdefs.h"
#include <pth.h>
EOF
...
...
@@ -8099,7 +8101,7 @@ if test "${enable_st+set}" = set; then
enableval
=
"
$enable_st
"
if
test
x
$enableval
=
xyes
;
then
echo
$ac_n
"checking for st_init in -lst""...
$ac_c
"
1>&6
echo
"configure:810
3
: checking for st_init in -lst"
>
&5
echo
"configure:810
5
: checking for st_init in -lst"
>
&5
ac_lib_var
=
`
echo
st
'_'
st_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -8107,7 +8109,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lst
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 811
1
"configure"
#line 811
3
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -8118,7 +8120,7 @@ int main() {
st_init()
; return 0; }
EOF
if
{
(
eval echo
configure:812
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:812
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -8146,7 +8148,7 @@ else
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 815
0
"configure"
#line 815
2
"configure"
#include "confdefs.h"
#include <st.h>
EOF
...
...
@@ -8300,6 +8302,8 @@ PLUGIN_PATH="${ac_tool_prefix}/share/videolan"
...
...
@@ -8539,6 +8543,7 @@ s%@LIB_KDE@%$LIB_KDE%g
s%@LIB_LIRC@%
$LIB_LIRC
%g
s%@LIB_MACOSX@%
$LIB_MACOSX
%g
s%@LIB_MAD@%
$LIB_MAD
%g
s%@LIB_MEMCPYALTIVEC@%
$LIB_MEMCPYALTIVEC
%g
s%@LIB_MOTIONALTIVEC@%
$LIB_MOTIONALTIVEC
%g
s%@LIB_MPEG_TS@%
$LIB_MPEG_TS
%g
s%@LIB_NCURSES@%
$LIB_NCURSES
%g
...
...
@@ -8565,6 +8570,7 @@ s%@CFLAGS_KDE@%$CFLAGS_KDE%g
s%@CFLAGS_IDCTALTIVEC@%
$CFLAGS_IDCTALTIVEC
%g
s%@CFLAGS_MACOSX@%
$CFLAGS_MACOSX
%g
s%@CFLAGS_MAD@%
$CFLAGS_MAD
%g
s%@CFLAGS_MEMCPYALTIVEC@%
$CFLAGS_MEMCPYALTIVEC
%g
s%@CFLAGS_MOTIONALTIVEC@%
$CFLAGS_MOTIONALTIVEC
%g
s%@CFLAGS_OPTIM@%
$CFLAGS_OPTIM
%g
s%@CFLAGS_OPTIM_NODEBUG@%
$CFLAGS_OPTIM_NODEBUG
%g
...
...
configure.in
View file @
928d731d
...
...
@@ -383,7 +383,7 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
if test x$SYS != xmingw32; then
SSE_MODULES="imdctsse downmixsse"
fi
ALTIVEC_MODULES="idctaltivec motionaltivec
memcpyaltivec
"
ALTIVEC_MODULES="idctaltivec motionaltivec"
AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
[ac_cv_mmx_inline],
...
...
@@ -461,8 +461,9 @@ if test x"$ac_cv_c_altivec" != x"no"; then
AC_DEFINE(CAN_COMPILE_C_ALTIVEC, 1, Define if your compiler groks C altivec extensions.)
CFLAGS_IDCTALTIVEC="$CFLAGS_IDCTALTIVEC $ac_cv_c_altivec"
CFLAGS_MOTIONALTIVEC="$CFLAGS_MOTIONALTIVEC $ac_cv_c_altivec"
CFLAGS_MEMCPYALTIVEC="$CFLAGS_MEMCPYALTIVEC $ac_cv_c_altivec"
CFLAGS_VLC="$CFLAGS_VLC $ac_cv_c_altivec"
ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}
memcpyaltivec
"
fi
AC_CACHE_CHECK([if linker needs -framework vecLib],
...
...
@@ -475,6 +476,7 @@ AC_CACHE_CHECK([if linker needs -framework vecLib],
if test x"$ac_cv_ld_altivec" != x"no"; then
LIB_IDCTALTIVEC="${LIB_IDCTALTIVEC} -framework vecLib"
LIB_MOTIONALTIVEC="${LIB_MOTIONALTIVEC} -framework vecLib"
LIB_MEMCPYALTIVEC="${LIB_MEMCPYALTIVEC} -framework vecLib"
LIB_VLC="${LIB_VLC} -framework vecLib"
fi
fi # end if mingw32
...
...
@@ -1458,6 +1460,7 @@ AC_SUBST(LIB_KDE)
AC_SUBST(LIB_LIRC)
AC_SUBST(LIB_MACOSX)
AC_SUBST(LIB_MAD)
AC_SUBST(LIB_MEMCPYALTIVEC)
AC_SUBST(LIB_MOTIONALTIVEC)
AC_SUBST(LIB_MPEG_TS)
AC_SUBST(LIB_NCURSES)
...
...
@@ -1486,6 +1489,7 @@ AC_SUBST(CFLAGS_KDE)
AC_SUBST(CFLAGS_IDCTALTIVEC)
AC_SUBST(CFLAGS_MACOSX)
AC_SUBST(CFLAGS_MAD)
AC_SUBST(CFLAGS_MEMCPYALTIVEC)
AC_SUBST(CFLAGS_MOTIONALTIVEC)
AC_SUBST(CFLAGS_OPTIM)
AC_SUBST(CFLAGS_OPTIM_NODEBUG)
...
...
plugins/memcpy/Makefile
View file @
928d731d
...
...
@@ -2,4 +2,4 @@ memcpy_SOURCES = memcpy.c
memcpymmx_SOURCES
=
memcpy.c
memcpymmxext_SOURCES
=
memcpy.c
memcpy3dn_SOURCES
=
memcpy.c
memcpyaltivec_SOURCES
=
memcpy.c
memcpyaltivec_SOURCES
=
memcpy
altivec
.c
plugins/memcpy/fastmemcpy.h
View file @
928d731d
/*****************************************************************************
* fastmemcpy.h : fast memcpy routines
*****************************************************************************
* $Id: fastmemcpy.h,v 1.
2 2002/04/02 22:16:07
massiot Exp $
* $Id: fastmemcpy.h,v 1.
3 2002/04/03 22:36:50
massiot Exp $
*
* Authors: various Linux kernel hackers
* various MPlayer hackers
* Nick Kurshev <nickols_k@mail.ru>
* Christophe Massiot <massiot@via.ecp.fr> (Altivec)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -383,71 +382,3 @@ void * _M( fast_memcpy )(void * to, const void * from, size_t len)
#endif
/* #if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX ) */
#ifdef HAVE_ALTIVEC
# if defined(CAN_COMPILE_C_ALTIVEC) || defined( __BUILD_ALTIVEC_ASM )
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
#define vector_s8_t vector signed char
#define vector_u8_t vector unsigned char
#define vector_s32_t vector signed int
#define vector_u32_t vector unsigned int
#undef MMREG_SIZE
#define MMREG_SIZE 16
void
*
_M
(
fast_memcpy
)(
void
*
_to
,
const
void
*
_from
,
size_t
len
)
{
void
*
retval
=
_to
;
u8
*
to
=
(
u8
*
)
_to
;
u8
*
from
=
(
u8
*
)
_from
;
if
(
len
>
16
)
{
/* Align destination to MMREG_SIZE -boundary */
register
unsigned
long
int
delta
;
delta
=
((
unsigned
long
)
to
)
&
(
MMREG_SIZE
-
1
);
if
(
delta
)
{
delta
=
MMREG_SIZE
-
delta
;
len
-=
delta
;
memcpy
(
to
,
from
,
delta
);
to
+=
delta
;
from
+=
delta
;
}
if
(
len
&
~
(
MMREG_SIZE
-
1
)
)
{
vector_u8_t
perm
,
ref0
,
ref1
,
tmp
;
perm
=
vec_lvsl
(
0
,
from
);
ref0
=
vec_ld
(
0
,
from
);
ref1
=
vec_ld
(
15
,
from
);
from
+=
16
;
len
-=
16
;
tmp
=
vec_perm
(
ref0
,
ref1
,
perm
);
do
{
ref0
=
vec_ld
(
0
,
from
);
ref1
=
vec_ld
(
15
,
from
);
from
+=
16
;
len
-=
16
;
vec_st
(
tmp
,
0
,
to
);
tmp
=
vec_perm
(
ref0
,
ref1
,
perm
);
to
+=
16
;
}
while
(
len
&
~
(
MMREG_SIZE
-
1
)
);
vec_st
(
tmp
,
0
,
to
);
}
}
if
(
len
)
{
memcpy
(
to
,
from
,
len
);
}
return
retval
;
}
# endif
#endif
plugins/memcpy/memcpy.c
View file @
928d731d
...
...
@@ -2,7 +2,7 @@
* memcpy.c : classic memcpy module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: memcpy.c,v 1.
6 2002/04/02 22:16:07
massiot Exp $
* $Id: memcpy.c,v 1.
7 2002/04/03 22:36:50
massiot Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -45,9 +45,6 @@
#elif defined( MODULE_NAME_IS_memcpymmxext )
# define HAVE_MMX2
# include "fastmemcpy.h"
#elif defined( MODULE_NAME_IS_memcpyaltivec )
# define HAVE_ALTIVEC
# include "fastmemcpy.h"
#endif
/*****************************************************************************
...
...
@@ -91,12 +88,6 @@ MODULE_INIT_START
ADD_REQUIREMENT
(
MMXEXT
)
ADD_SHORTCUT
(
"mmxext"
)
ADD_SHORTCUT
(
"memcpymmxext"
)
#elif defined( MODULE_NAME_IS_memcpyaltivec )
SET_DESCRIPTION
(
"Altivec memcpy module"
)
ADD_CAPABILITY
(
MEMCPY
,
100
)
ADD_REQUIREMENT
(
ALTIVEC
)
ADD_SHORTCUT
(
"altivec"
)
ADD_SHORTCUT
(
"memcpyaltivec"
)
#endif
MODULE_INIT_STOP
...
...
plugins/memcpy/memcpyaltivec.c
0 → 100644
View file @
928d731d
/*****************************************************************************
* memcpy.c : classic memcpy module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: memcpyaltivec.c,v 1.1 2002/04/03 22:36:50 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
#ifndef __BUILD_ALTIVEC_ASM__
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <stdlib.h>
#include <string.h>
#include <videolan/vlc.h>
/*****************************************************************************
* Local and extern prototypes.
*****************************************************************************/
static
void
memcpy_getfunctions
(
function_list_t
*
p_function_list
);
void
*
_M
(
fast_memcpy
)
(
void
*
to
,
const
void
*
from
,
size_t
len
);
/*****************************************************************************
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION
(
"Altivec memcpy module"
)
ADD_CAPABILITY
(
MEMCPY
,
100
)
ADD_REQUIREMENT
(
ALTIVEC
)
ADD_SHORTCUT
(
"altivec"
)
ADD_SHORTCUT
(
"memcpyaltivec"
)
MODULE_INIT_STOP
MODULE_ACTIVATE_START
memcpy_getfunctions
(
&
p_module
->
p_functions
->
memcpy
);
MODULE_ACTIVATE_STOP
MODULE_DEACTIVATE_START
MODULE_DEACTIVATE_STOP
/* Following functions are local */
/*****************************************************************************
* Functions exported as capabilities. They are declared as static so that
* we don't pollute the namespace too much.
*****************************************************************************/
static
void
memcpy_getfunctions
(
function_list_t
*
p_function_list
)
{
p_function_list
->
functions
.
memcpy
.
pf_memcpy
=
_M
(
fast_memcpy
);
}
#else
# include <sys/types.h>
# define _M( toto ) toto
#endif
/* __BUILD_ALTIVEC_ASM__ */
#if defined(CAN_COMPILE_C_ALTIVEC) || defined( __BUILD_ALTIVEC_ASM__ )
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
#define vector_s8_t vector signed char
#define vector_u8_t vector unsigned char
#define vector_s32_t vector signed int
#define vector_u32_t vector unsigned int
#define MMREG_SIZE 16
void
*
_M
(
fast_memcpy
)(
void
*
_to
,
const
void
*
_from
,
size_t
len
)
{
void
*
retval
=
_to
;
unsigned
char
*
to
=
(
unsigned
char
*
)
_to
;
unsigned
char
*
from
=
(
unsigned
char
*
)
_from
;
if
(
len
>
16
)
{
/* Align destination to MMREG_SIZE -boundary */
register
unsigned
long
int
delta
;
delta
=
((
unsigned
long
)
to
)
&
(
MMREG_SIZE
-
1
);
if
(
delta
)
{
delta
=
MMREG_SIZE
-
delta
;
len
-=
delta
;
memcpy
(
to
,
from
,
delta
);
to
+=
delta
;
from
+=
delta
;
}
if
(
len
&
~
(
MMREG_SIZE
-
1
)
)
{
vector_u8_t
perm
,
ref0
,
ref1
,
tmp
;
perm
=
vec_lvsl
(
0
,
from
);
ref0
=
vec_ld
(
0
,
from
);
ref1
=
vec_ld
(
15
,
from
);
from
+=
16
;
len
-=
16
;
tmp
=
vec_perm
(
ref0
,
ref1
,
perm
);
do
{
ref0
=
vec_ld
(
0
,
from
);
ref1
=
vec_ld
(
15
,
from
);
from
+=
16
;
len
-=
16
;
vec_st
(
tmp
,
0
,
to
);
tmp
=
vec_perm
(
ref0
,
ref1
,
perm
);
to
+=
16
;
}
while
(
len
&
~
(
MMREG_SIZE
-
1
)
);
vec_st
(
tmp
,
0
,
to
);
}
}
if
(
len
)
{
memcpy
(
to
,
from
,
len
);
}
return
retval
;
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment