Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
ed4fe964
Commit
ed4fe964
authored
Jan 25, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/x11/xcommon.c: we don't use DPMS functions if they are not available.
parent
595d7684
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
287 additions
and
205 deletions
+287
-205
configure
configure
+244
-190
configure.in
configure.in
+27
-11
plugins/x11/xcommon.c
plugins/x11/xcommon.c
+16
-4
No files found.
configure
View file @
ed4fe964
...
...
@@ -4644,21 +4644,92 @@ fi
done
if
test
x
$SYS
!=
xmingw32
then
if
test
x
$x_includes
=
xNONE
;
then
x_includes
=
/usr/X11R6/include
fi
if
test
x
$x_libraries
=
xNONE
;
then
x_libraries
=
/usr/X11R6/lib
fi
saved_CPPFLAGS
=
$CPPFLAGS
CPPFLAGS
=
"
$CPPFLAGS
-I
$x_includes
"
for
ac_hdr
in
X11/extensions/dpms.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4662: 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 4667 "configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4672:
\"
$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
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4694 "configure"
#include "confdefs.h"
#include <X11/extensions/dpms.h>
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"DPMSInfo"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define DPMSINFO_IN_DPMS_H 1
EOF
fi
rm
-f
conftest
*
else
echo
"
$ac_t
""no"
1>&6
fi
done
CPPFLAGS
=
$saved_CPPFLAGS
fi
echo
$ac_n
"checking for ntohl in sys/param.h""...
$ac_c
"
1>&6
echo
"configure:4
649
: checking for ntohl in sys/param.h"
>
&5
echo
"configure:4
720
: checking for ntohl in sys/param.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ntohl_sys_param_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-Wall -Werror"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
655
"configure"
#line 4
726
"configure"
#include "confdefs.h"
#include <sys/param.h>
int main() {
void foo() { int meuh; ntohl(meuh); }
; return 0; }
EOF
if
{
(
eval echo
configure:4
662
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
733
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ntohl_sys_param_h
=
yes
else
...
...
@@ -4679,20 +4750,20 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC accepts -finline-limit""...
$ac_c
"
1>&6
echo
"configure:4
683
: checking if
\$
CC accepts -finline-limit"
>
&5
echo
"configure:4
754
: checking if
\$
CC accepts -finline-limit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline_limit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-finline-limit-30000"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
689
"configure"
#line 4
760
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
696
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
767
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline_limit
=
yes
else
...
...
@@ -4710,20 +4781,20 @@ if test x"$ac_cv_c_inline_limit" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -Wall -Winline""...
$ac_c
"
1>&6
echo
"configure:47
14
: checking if
\$
CC accepts -Wall -Winline"
>
&5
echo
"configure:47
85
: checking if
\$
CC accepts -Wall -Winline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_Wall_Winline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-Wall -Winline"
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
20
"configure"
#line 47
91
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:47
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
98
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_Wall_Winline
=
yes
else
...
...
@@ -4740,20 +4811,20 @@ if test x"$ac_cv_c_Wall_Winline" != x"no"; then
save_CFLAGS
=
"
${
save_CFLAGS
}
-Wall -Winline"
else
echo
$ac_n
"checking if
\$
CC accepts -wall -winline""...
$ac_c
"
1>&6
echo
"configure:4
744
: checking if
\$
CC accepts -wall -winline"
>
&5
echo
"configure:4
815
: checking if
\$
CC accepts -wall -winline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_wall_winline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-wall -winline"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
750
"configure"
#line 4
821
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
757
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
828
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_wall_winline
=
yes
else
...
...
@@ -4772,20 +4843,20 @@ echo "$ac_t""$ac_cv_c_wall_winline" 1>&6
fi
echo
$ac_n
"checking if
\$
CC accepts -pipe""...
$ac_c
"
1>&6
echo
"configure:4
776
: checking if
\$
CC accepts -pipe"
>
&5
echo
"configure:4
847
: checking if
\$
CC accepts -pipe"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_pipe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-pipe"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
782
"configure"
#line 4
853
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
789
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
860
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_pipe
=
yes
else
...
...
@@ -4803,20 +4874,20 @@ if test x"$ac_cv_c_pipe" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -O3""...
$ac_c
"
1>&6
echo
"configure:48
0
7: checking if
\$
CC accepts -O3"
>
&5
echo
"configure:487
8
: checking if
\$
CC accepts -O3"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_o3
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-O3"
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
13
"configure"
#line 48
84
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:48
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_o3
=
yes
else
...
...
@@ -4833,20 +4904,20 @@ if test x"$ac_cv_c_o3" != x"no"; then
CFLAGS_OPTIM
=
"
${
CFLAGS_OPTIM
}
-O3"
else
echo
$ac_n
"checking if
\$
CC accepts -O2""...
$ac_c
"
1>&6
echo
"configure:4
837
: checking if
\$
CC accepts -O2"
>
&5
echo
"configure:4
908
: checking if
\$
CC accepts -O2"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_o2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-O2"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
843
"configure"
#line 4
914
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
850
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
921
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_o2
=
yes
else
...
...
@@ -4863,20 +4934,20 @@ echo "$ac_t""$ac_cv_c_o2" 1>&6
CFLAGS_OPTIM
=
"
${
CFLAGS_OPTIM
}
-O2"
else
echo
$ac_n
"checking if
\$
CC accepts -O""...
$ac_c
"
1>&6
echo
"configure:4
867
: checking if
\$
CC accepts -O"
>
&5
echo
"configure:4
938
: checking if
\$
CC accepts -O"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_o
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-O"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
873
"configure"
#line 4
944
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
880
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
951
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_o
=
yes
else
...
...
@@ -4896,20 +4967,20 @@ echo "$ac_t""$ac_cv_c_o" 1>&6
fi
echo
$ac_n
"checking if
\$
CC accepts -ffast-math""...
$ac_c
"
1>&6
echo
"configure:49
00
: checking if
\$
CC accepts -ffast-math"
>
&5
echo
"configure:49
71
: checking if
\$
CC accepts -ffast-math"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_fast_math
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-ffast-math"
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
06
"configure"
#line 49
77
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:49
13
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
84
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_fast_math
=
yes
else
...
...
@@ -4927,20 +4998,20 @@ if test x"$ac_cv_c_fast_math" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -funroll-loops""...
$ac_c
"
1>&6
echo
"configure:
4931
: checking if
\$
CC accepts -funroll-loops"
>
&5
echo
"configure:
5002
: checking if
\$
CC accepts -funroll-loops"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_unroll_loops
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-funroll-loops"
cat
>
conftest.
$ac_ext
<<
EOF
#line
4937
"configure"
#line
5008
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
4944
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
5015
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_unroll_loops
=
yes
else
...
...
@@ -4958,20 +5029,20 @@ if test x"$ac_cv_c_unroll_loops" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -fomit-frame-pointer""...
$ac_c
"
1>&6
echo
"configure:
4962
: checking if
\$
CC accepts -fomit-frame-pointer"
>
&5
echo
"configure:
5033
: checking if
\$
CC accepts -fomit-frame-pointer"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_omit_frame_pointer
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-fomit-frame-pointer"
cat
>
conftest.
$ac_ext
<<
EOF
#line
4968
"configure"
#line
5039
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
4975
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
5046
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_omit_frame_pointer
=
yes
else
...
...
@@ -4989,20 +5060,20 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -bundle -undefined error""...
$ac_c
"
1>&6
echo
"configure:
4993
: checking if
\$
CC accepts -bundle -undefined error"
>
&5
echo
"configure:
5064
: checking if
\$
CC accepts -bundle -undefined error"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_ld_darwin
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-bundle -undefined error"
cat
>
conftest.
$ac_ext
<<
EOF
#line
4999
"configure"
#line
5070
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:50
06
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
77
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_ld_darwin
=
yes
else
...
...
@@ -5020,20 +5091,20 @@ if test x"$ac_cv_ld_darwin" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -shared""...
$ac_c
"
1>&6
echo
"configure:50
24
: checking if
\$
CC accepts -shared"
>
&5
echo
"configure:50
95
: checking if
\$
CC accepts -shared"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_ld_plugins
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
-shared"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
030
"configure"
#line 5
101
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
037
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
108
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_ld_plugins
=
yes
else
...
...
@@ -5052,7 +5123,7 @@ fi
if
test
x
"
${
SOFLAGS
}
"
=
x
;
then
echo
$ac_n
"checking for soname setting""...
$ac_c
"
1>&6
echo
"configure:5
056
: checking for soname setting"
>
&5
echo
"configure:5
127
: checking for soname setting"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_ld_soname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5061,14 +5132,14 @@ else
try_SOFLAGS
=
"-Wl,-soname -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
065
"configure"
#line 5
136
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
072
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
143
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_ld_soname
=
"
${
try_SOFLAGS
}
"
else
...
...
@@ -5080,14 +5151,14 @@ else
try_SOFLAGS
=
"-Wl,-h -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
084
"configure"
#line 5
155
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
091
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
162
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_ld_soname
=
"
${
try_SOFLAGS
}
"
else
...
...
@@ -5116,7 +5187,7 @@ have problems using libdvdcss.
fi
echo
$ac_n
"checking __attribute__ ((aligned ())) support""...
$ac_c
"
1>&6
echo
"configure:51
20
: checking __attribute__ ((aligned ())) support"
>
&5
echo
"configure:51
91
: checking __attribute__ ((aligned ())) support"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_attribute_aligned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5124,14 +5195,14 @@ else
CFLAGS
=
"
${
save_CFLAGS
}
-Werror"
for
ac_cv_c_attr_align_try
in
2 4 8 16 32 64
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
28
"configure"
#line 51
99
"configure"
#include "confdefs.h"
int main() {
static char c __attribute__ ((aligned(
$ac_cv_c_attr_align_try
))) = 0; return c;
; return 0; }
EOF
if
{
(
eval echo
configure:5
135
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
206
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_attribute_aligned
=
$ac_cv_c_attr_align_try
else
...
...
@@ -5154,19 +5225,19 @@ CFLAGS="${save_CFLAGS}"
LDFLAGS
=
"
${
save_LDFLAGS
}
"
echo
$ac_n
"checking for boolean_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:5
158
: checking for boolean_t in sys/types.h"
>
&5
echo
"configure:5
229
: checking for boolean_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_boolean_t_sys_types_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
163
"configure"
#line 5
234
"configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:5
170
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
241
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_sys_types_h
=
yes
else
...
...
@@ -5187,19 +5258,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in pthread.h""...
$ac_c
"
1>&6
echo
"configure:5
191
: checking for boolean_t in pthread.h"
>
&5
echo
"configure:5
262
: checking for boolean_t in pthread.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_boolean_t_pthread_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
196
"configure"
#line 5
267
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:52
03
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_pthread_h
=
yes
else
...
...
@@ -5220,19 +5291,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in cthreads.h""...
$ac_c
"
1>&6
echo
"configure:52
24
: checking for boolean_t in cthreads.h"
>
&5
echo
"configure:52
95
: checking for boolean_t in cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_boolean_t_cthreads_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
229
"configure"
#line 5
300
"configure"
#include "confdefs.h"
#include <cthreads.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:5
236
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
307
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_cthreads_h
=
yes
else
...
...
@@ -5271,19 +5342,19 @@ SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec"
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
"configure:5
275
: checking if
\$
CC groks MMX inline assembly"
>
&5
echo
"configure:5
346
: checking if
\$
CC groks MMX inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmx_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
280
"configure"
#line 5
351
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:5
287
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
358
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmx_inline
=
yes
else
...
...
@@ -5301,19 +5372,19 @@ if test x"$ac_cv_mmx_inline" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC groks MMX EXT inline assembly""...
$ac_c
"
1>&6
echo
"configure:53
05
: checking if
\$
CC groks MMX EXT inline assembly"
>
&5
echo
"configure:53
76
: checking if
\$
CC groks MMX EXT inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmxext_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 531
0
"configure"
#line 53
8
1 "configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:53
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmxext_inline
=
yes
else
...
...
@@ -5331,19 +5402,19 @@ if test x"$ac_cv_mmxext_inline" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC groks 3D Now! inline assembly""...
$ac_c
"
1>&6
echo
"configure:5
335
: checking if
\$
CC groks 3D Now! inline assembly"
>
&5
echo
"configure:5
406
: checking if
\$
CC groks 3D Now! inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_3dnow_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
340
"configure"
#line 5
411
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:5
347
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
418
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_3dnow_inline
=
yes
else
...
...
@@ -5365,19 +5436,19 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC groks SSE inline assembly""...
$ac_c
"
1>&6
echo
"configure:5
369
: checking if
\$
CC groks SSE inline assembly"
>
&5
echo
"configure:5
440
: checking if
\$
CC groks SSE inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sse_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
374
"configure"
#line 5
445
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:5
381
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
452
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_sse_inline
=
yes
else
...
...
@@ -5399,19 +5470,19 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC groks Altivec inline assembly""...
$ac_c
"
1>&6
echo
"configure:54
03
: checking if
\$
CC groks Altivec inline assembly"
>
&5
echo
"configure:54
74
: checking if
\$
CC groks Altivec inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_altivec_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
08
"configure"
#line 54
79
"configure"
#include "confdefs.h"
int main() {
asm volatile("vperm 0,1,2,3");
; return 0; }
EOF
if
{
(
eval echo
configure:54
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
86
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_altivec_inline
=
yes
else
...
...
@@ -5421,14 +5492,14 @@ else
save_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wa,-m7400"
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
25
"configure"
#line 54
96
"configure"
#include "confdefs.h"
int main() {
asm volatile("vperm 0,1,2,3");
; return 0; }