Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
9e00d135
Commit
9e00d135
authored
May 03, 2002
by
Sam Hocevar
Browse files
* ./configure.in: we check support for variadic macros (screw Borland!).
parent
5e5229b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure
View file @
9e00d135
...
...
@@ -5234,8 +5234,43 @@ if test x"$ac_cv_ld_plugins" != x"no"; then
plugins_LDFLAGS
=
"
${
plugins_LDFLAGS
}
-shared"
fi
echo
$ac_n
"checking for variadic cpp macros""...
$ac_c
"
1>&6
echo
"configure:5239: checking for variadic cpp macros"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_variadic_macros
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
CFLAGS
=
"
${
save_CFLAGS
}
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5245 "configure"
#include "confdefs.h"
#include <stdio.h>
#define a(b,c...) printf(b,##c)
int main() {
a("foo");a("%s","bar");a("%s%s","baz","quux");
; return 0; }
EOF
if
{
(
eval echo
configure:5253:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_cpp_variadic_macros
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
ac_cv_cpp_variadic_macros
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_cpp_variadic_macros
"
1>&6
if
test
x
"
$ac_cv_cpp_variadic_macros
"
!=
x
"no"
;
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_VARIADIC_MACROS 1
EOF
fi
echo
$ac_n
"checking __attribute__ ((aligned ())) support""...
$ac_c
"
1>&6
echo
"configure:52
39
: checking __attribute__ ((aligned ())) support"
>
&5
echo
"configure:52
74
: 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
...
...
@@ -5243,14 +5278,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 52
47
"configure"
#line 52
82
"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:52
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
89
:
\"
$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
...
...
@@ -5274,19 +5309,19 @@ CPPFLAGS="${save_CPPFLAGS}"
LDFLAGS
=
"
${
save_LDFLAGS
}
"
echo
$ac_n
"checking for boolean_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:5
278
: checking for boolean_t in sys/types.h"
>
&5
echo
"configure:5
313
: 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
283
"configure"
#line 5
318
"configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:5
290
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
325
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_sys_types_h
=
yes
else
...
...
@@ -5307,19 +5342,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in pthread.h""...
$ac_c
"
1>&6
echo
"configure:53
11
: checking for boolean_t in pthread.h"
>
&5
echo
"configure:53
46
: 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 531
6
"configure"
#line 53
5
1 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:53
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
58
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_pthread_h
=
yes
else
...
...
@@ -5340,19 +5375,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in cthreads.h""...
$ac_c
"
1>&6
echo
"configure:53
44
: checking for boolean_t in cthreads.h"
>
&5
echo
"configure:53
79
: 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 534
9
"configure"
#line 53
8
4 "configure"
#include "confdefs.h"
#include <cthreads.h>
int main() {
boolean_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:53
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_cthreads_h
=
yes
else
...
...
@@ -5391,19 +5426,19 @@ SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec memcpyaltivec"
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
"configure:5
395
: checking if
\$
CC groks MMX inline assembly"
>
&5
echo
"configure:5
430
: 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 54
00
"configure"
#line 54
35
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:54
07
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmx_inline
=
yes
else
...
...
@@ -5421,19 +5456,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:54
25
: checking if
\$
CC groks MMX EXT inline assembly"
>
&5
echo
"configure:54
60
: 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 54
30
"configure"
#line 54
65
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:54
3
7:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:547
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmxext_inline
=
yes
else
...
...
@@ -5451,19 +5486,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:54
55
: checking if
\$
CC groks 3D Now! inline assembly"
>
&5
echo
"configure:54
90
: 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 54
60
"configure"
#line 54
95
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:5
467
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
502
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_3dnow_inline
=
yes
else
...
...
@@ -5485,19 +5520,19 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC groks SSE inline assembly""...
$ac_c
"
1>&6
echo
"configure:5
489
: checking if
\$
CC groks SSE inline assembly"
>
&5
echo
"configure:5
524
: 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
494
"configure"
#line 5
529
"configure"
#include "confdefs.h"
int main() {
void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
; return 0; }
EOF
if
{
(
eval echo
configure:55
01
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_sse_inline
=
yes
else
...
...
@@ -5522,19 +5557,19 @@ fi
# we should be able to remove this test with future versions of mingw32
if
test
x
$SYS
!=
xmingw32
;
then
echo
$ac_n
"checking if
\$
CC groks Altivec inline assembly""...
$ac_c
"
1>&6
echo
"configure:55
2
6: checking if
\$
CC groks Altivec inline assembly"
>
&5
echo
"configure:556
1
: 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 55
31
"configure"
#line 55
66
"configure"
#include "confdefs.h"
int main() {
asm volatile("vperm 0,1,2,3");
; return 0; }
EOF
if
{
(
eval echo
configure:553
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
7
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_altivec_inline
=
yes
else
...
...
@@ -5544,14 +5579,14 @@ else
save_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wa,-m7400"
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
4
8 "configure"
#line 558
3
"configure"
#include "confdefs.h"
int main() {
asm volatile("vperm 0,1,2,3");
; return 0; }
EOF
if
{
(
eval echo
configure:55
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
90
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_altivec_inline
=
"-Wa,-m7400"
else
...
...
@@ -5583,7 +5618,7 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC groks Altivec C extensions""...
$ac_c
"
1>&6
echo
"configure:5
587
: checking if
\$
CC groks Altivec C extensions"
>
&5
echo
"configure:5
622
: checking if
\$
CC groks Altivec C extensions"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_altivec
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5591,14 +5626,14 @@ else
CFLAGS
=
"
$CFLAGS
-faltivec"
# Darwin test
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
595
"configure"
#line 5
630
"configure"
#include "confdefs.h"
int main() {
vec_mtvscr((vector unsigned int)(0));
; return 0; }
EOF
if
{
(
eval echo
configure:56
02
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_altivec
=
-faltivec
else
...
...
@@ -5609,14 +5644,14 @@ else
# Linux/PPC test
CFLAGS
=
"
$save_CFLAGS
$idctaltivec_CFLAGS
-fvec"
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
13
"configure"
#line 56
48
"configure"
#include "confdefs.h"
int main() {
vec_mtvscr((vector unsigned int)(0));
; return 0; }
EOF
if
{
(
eval echo
configure:56
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_altivec
=
"-fvec"
else
...
...
@@ -5647,21 +5682,21 @@ EOF
fi
echo
$ac_n
"checking if linker needs -framework vecLib""...
$ac_c
"
1>&6
echo
"configure:56
51
: checking if linker needs -framework vecLib"
>
&5
echo
"configure:56
86
: 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 56
58
"configure"
#line 56
93
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
665
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
700
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_ld_altivec
=
yes
else
...
...
@@ -5793,17 +5828,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:5
797
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
832
: 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 58
02
"configure"
#line 58
37
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:58
07
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:58
42
:
\"
$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
*
...
...
@@ -5834,7 +5869,7 @@ done
else
echo
$ac_n
"checking for libdvdcss.a in
${
with_dvdcss_tree
}
""...
$ac_c
"
1>&6
echo
"configure:583
8
: checking for libdvdcss.a in
${
with_dvdcss_tree
}
"
>
&5
echo
"configure:58
7
3: 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
...
...
@@ -5860,7 +5895,7 @@ echo "configure:5838: 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:58
64
: checking for dvdcss headers in
${
with_dvdcss
}
"
>
&5
echo
"configure:58
99
: checking for dvdcss headers in
${
with_dvdcss
}
"
>
&5
if
test
-f
${
with_dvdcss
}
/include/dvdcss/dvdcss.h
then
echo
"
$ac_t
""yes"
1>&6
...
...
@@ -5902,17 +5937,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:59
06
: checking for
$ac_hdr
"
>
&5
echo
"configure:59
41
: 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
11
"configure"
#line 59
46
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:591
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:59
5
1:
\"
$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
*
...
...
@@ -5934,14 +5969,14 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 593
8
"configure"
#line 59
7
3 "configure"
#include "confdefs.h"
#include <dvdread/dvd_reader.h>
int main() {
void foo() { int i=DVD_VIDEO_LB_LEN; }
; return 0; }
EOF
if
{
(
eval echo
configure:59
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
PLUGINS
=
"
${
PLUGINS
}
dvdread"
...
...
@@ -6004,17 +6039,17 @@ fi
CPPFLAGS
=
"
$save_CPPFLAGS
$test_CFLAGS
"
ac_safe
=
`
echo
"dvbpsi/dvbpsi.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for dvbpsi/dvbpsi.h""...
$ac_c
"
1>&6
echo
"configure:60
08
: checking for dvbpsi/dvbpsi.h"
>
&5
echo
"configure:60
43
: checking for dvbpsi/dvbpsi.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 60
13
"configure"
#line 60
48
"configure"
#include "confdefs.h"
#include <dvbpsi/dvbpsi.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:60
18
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:60
53
:
\"
$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
*
...
...
@@ -6058,7 +6093,7 @@ fi
if
test
x
$enable_vcd
!=
xno
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
62
"configure"
#line 60
97
"configure"
#include "confdefs.h"
#include <linux/cdrom.h>
EOF
...
...
@@ -6073,7 +6108,7 @@ rm -f conftest*
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
077
"configure"
#line 6
112
"configure"
#include "confdefs.h"
#include <sys/cdio.h>
EOF
...
...
@@ -6114,12 +6149,12 @@ fi
echo
$ac_n
"checking for inet_pton""...
$ac_c
"
1>&6
echo
"configure:61
18
: checking for inet_pton"
>
&5
echo
"configure:61
53
: 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 61
23
"configure"
#line 61
58
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_pton(); below. */
...
...
@@ -6142,7 +6177,7 @@ inet_pton();
; return 0; }
EOF
if
{
(
eval echo
configure:61
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
81
:
\"
$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
...
...
@@ -6209,17 +6244,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:62
13
: checking for
$ac_hdr
"
>
&5
echo
"configure:62
48
: 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 62
18
"configure"
#line 62
53
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:62
23
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:62
58
:
\"
$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
*
...
...
@@ -6249,7 +6284,7 @@ fi
done
echo
$ac_n
"checking for mad_bit_init in -lmad""...
$ac_c
"
1>&6
echo
"configure:62
53
: checking for mad_bit_init in -lmad"
>
&5
echo
"configure:62
88
: 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
...
...
@@ -6257,7 +6292,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmad
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 626
1
"configure"
#line 62
9
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
...
...
@@ -6268,7 +6303,7 @@ int main() {
mad_bit_init()
; return 0; }
EOF
if
{
(
eval echo
configure:6
272
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
307
:
\"
$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
...
...
@@ -6321,7 +6356,7 @@ fi
{
echo
"configure: error: cannot find
${
real_ffmpeg_tree
}
/libavcodec/libavcodec.a"
1>&2
;
exit
1
;
}
else
echo
$ac_n
"checking for libavcodec.a in
${
with_ffmpeg_tree
}
""...
$ac_c
"
1>&6
echo
"configure:63
25
: checking for libavcodec.a in
${
with_ffmpeg_tree
}
"
>
&5
echo
"configure:63
60
: checking for libavcodec.a in
${
with_ffmpeg_tree
}
"
>
&5
real_ffmpeg_tree
=
"
`
cd
${
with_ffmpeg_tree
}
2>/dev/null
&&
pwd
`
"
if
test
"x
$real_ffmpeg_tree
"
=
x
then
...
...
@@ -6370,7 +6405,7 @@ fi
{
echo
"configure: error:
${
with_a52_tree
}
directory doesn't exist"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking for a52.h in
${
real_a52_tree
}
/include""...
$ac_c
"
1>&6
echo
"configure:6
374
: checking for a52.h in
${
real_a52_tree
}
/include"
>
&5
echo
"configure:6
409
: checking for a52.h in
${
real_a52_tree
}
/include"
>
&5
if
test
-f
${
real_a52_tree
}
/include/a52.h
then
echo
"
$ac_t
""yes"
1>&6
...
...
@@ -6379,7 +6414,7 @@ echo "configure:6374: checking for a52.h in ${real_a52_tree}/include" >&5
save_LDFLAGS
=
$LDFLAGS
LDFLAGS
=
"
$a52_LDFLAGS
$LDFLAGS
"
echo
$ac_n
"checking for a52_free in -la52""...
$ac_c
"
1>&6
echo
"configure:6
383
: checking for a52_free in -la52"
>
&5
echo
"configure:6
418
: checking for a52_free in -la52"
>
&5
ac_lib_var
=
`
echo
a52
'_'
a52_free |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6387,7 +6422,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-la52 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
391
"configure"
#line 6
426
"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
...
...
@@ -6398,7 +6433,7 @@ int main() {
a52_free()
; return 0; }
EOF
if
{
(
eval echo
configure:64
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
37
:
\"
$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
...
...
@@ -6435,19 +6470,21 @@ fi
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: the specified tree doesn't have a52.h"
1>&2
;
exit
1
;
}
fi
else
ac_safe
=
`
echo
"a52dec/a52.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for a52dec/a52.h""...
$ac_c
"
1>&6
echo
"configure:6441: checking for a52dec/a52.h"
>
&5
else for
ac_hdr
in
a52dec/a52.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:6478: 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 64
46
"configure"
#line 64
83
"configure"
#include "confdefs.h"
#include <
a52dec/a52.h
>
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:64
51
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:64
88
:
\"
$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
*
...
...
@@ -6463,9 +6500,13 @@ 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
echo
$ac_n
"checking for a52_free in -la52""...
$ac_c
"
1>&6
echo
"configure:6
469
: checking for a52_free in -la52"
>
&5
echo
"configure:6
510
: checking for a52_free in -la52"
>
&5
ac_lib_var
=
`
echo
a52
'_'
a52_free |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6473,7 +6514,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-la52 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
477
"configure"
#line 6
518
"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
...
...
@@ -6484,7 +6525,7 @@ int main() {
a52_free()
; return 0; }
EOF
if
{
(
eval echo
configure:6
488
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
529
:
\"
$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
...
...
@@ -6512,6 +6553,7 @@ fi
else
echo
"
$ac_t
""no"
1>&6
fi
done
fi
fi
...
...
@@ -6528,17 +6570,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:65
32
: checking for
$ac_hdr
"
>
&5
echo
"configure:65
74
: 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 65
3
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"