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
19868f14
Commit
19868f14
authored
Oct 03, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added an endianness check for cross-compilations.
* We now check for sys/times.h.
parent
f46ba5d4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
442 additions
and
319 deletions
+442
-319
configure
configure
+345
-289
configure.in
configure.in
+71
-14
include/defs.h.in
include/defs.h.in
+4
-1
src/input/input.c
src/input/input.c
+7
-5
src/video_decoder/video_parser.c
src/video_decoder/video_parser.c
+7
-5
src/video_output/video_output.c
src/video_output/video_output.c
+8
-5
No files found.
configure
View file @
19868f14
...
...
@@ -11,6 +11,8 @@
ac_help
=
ac_default_prefix
=
/usr/local
# Any additions from configure.in:
ac_help
=
"
$ac_help
--with-words=endianness Set endianness (big or little)"
ac_help
=
"
$ac_help
--with-tuning=[arch] Enable special tuning for an architecture
(default i686 on IA-32 and 750 on PPC)"
...
...
@@ -641,7 +643,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:64
5
: checking host system type"
>
&5
echo
"configure:64
7
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -662,7 +664,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking target system type""...
$ac_c
"
1>&6
echo
"configure:66
6
: checking target system type"
>
&5
echo
"configure:66
8
: checking target system type"
>
&5
target_alias
=
$target
case
"
$target_alias
"
in
...
...
@@ -680,7 +682,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$target
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:68
4
: checking build system type"
>
&5
echo
"configure:68
6
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -723,7 +725,7 @@ save_CFLAGS="${CFLAGS}"
save_LDFLAGS
=
"
${
LDFLAGS
}
"
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:72
7
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:72
9
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
|
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -752,7 +754,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:75
6
: checking for
$ac_word
"
>
&5
echo
"configure:75
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -782,7 +784,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:78
6
: checking for
$ac_word
"
>
&5
echo
"configure:78
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -833,7 +835,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:83
7
: checking for
$ac_word
"
>
&5
echo
"configure:83
9
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -865,7 +867,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:8
69
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:8
71
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -876,12 +878,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 88
0
"configure"
#line 88
2
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:88
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:88
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -907,12 +909,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:91
1
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:91
3
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:91
6
: checking whether we are using GNU C"
>
&5
echo
"configure:91
8
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -921,7 +923,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:92
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:92
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -940,7 +942,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:94
4
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:94
6
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -972,7 +974,7 @@ else
fi
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:97
6
: checking how to run the C preprocessor"
>
&5
echo
"configure:97
8
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -987,13 +989,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 99
1
"configure"
#line 99
3
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:99
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:99
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
:
...
...
@@ -1004,13 +1006,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
08
"configure"
#line 10
10
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:101
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:101
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
:
...
...
@@ -1021,13 +1023,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 102
5
"configure"
#line 102
7
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:103
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:103
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
:
...
...
@@ -1054,7 +1056,7 @@ echo "$ac_t""$CPP" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:10
58
: checking for
$ac_word
"
>
&5
echo
"configure:10
60
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1094,7 +1096,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo
$ac_n
"checking for a BSD compatible install""...
$ac_c
"
1>&6
echo
"configure:1
098
: checking for a BSD compatible install"
>
&5
echo
"configure:1
100
: checking for a BSD compatible install"
>
&5
if
test
-z
"
$INSTALL
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_install
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1147,16 +1149,16 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
if
eval
"test
$CC
= gcc"
;
then
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:115
3
: checking whether byte ordering is bigendian"
>
&5
if
test
x
${
cross_compiling
}
!=
xyes
;
then
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:115
5
: checking whether byte ordering is bigendian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_bigendian
=
unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat
>
conftest.
$ac_ext
<<
EOF
#line 116
0
"configure"
#line 116
2
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -1167,11 +1169,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:117
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:117
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat
>
conftest.
$ac_ext
<<
EOF
#line 117
5
"configure"
#line 117
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -1182,7 +1184,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:118
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:118
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -1202,7 +1204,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 120
6
"configure"
#line 120
8
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -1215,7 +1217,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:12
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:12
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_bigendian
=
no
else
...
...
@@ -1238,17 +1240,74 @@ EOF
fi
else
# Check whether --with-words or --without-words was given.
if
test
"
${
with_words
+set
}
"
=
set
;
then
withval
=
"
$with_words
"
:
fi
case
"x
$withval
"
in
xbig
)
ac_cv_c_bigendian
=
yes
;;
xlittle
)
ac_cv_c_bigendian
=
no
;;
*
)
ac_cv_c_bigendian
=
unknown
echo
$ac_n
"checking what the byte order looks to be""...
$ac_c
"
1>&6
echo
"configure:1261: checking what the byte order looks to be"
>
&5
cat
>
conftest.c
<<
EOF
short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
void _a(void) { char*s = (char*)am; s = (char *)ai; }
short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
void _e(void) { char*s = (char*)em; s = (char*)ei; }
int main(void) { _a(); _e(); return 0; }
EOF
if
test
-f
conftest.c
then
if
${
CC
-cc
}
conftest.c
-o
conftest.o
>
config.log 2>&1
\
&&
test
-f
conftest.o
then
if
test
`
grep
-l
BIGenDianSyS conftest.o
`
then
echo
"
$ac_t
"""
big endian
""
1>&6
ac_cv_c_bigendian
=
yes
fi
if
test
`
grep
-l
LiTTleEnDian conftest.o
`
then
echo
"
$ac_t
"""
little endian
""
1>&6
ac_cv_c_bigendian
=
no
fi
fi
fi
if
test
$ac_cv_c_bigendian
=
xunknown
then
{
echo
"configure: error: Could not guess endianness, please use --with-words"
1>&2
;
exit
1
;
}
fi
if
test
$ac_cv_c_bigendian
=
yes
then
cat
>>
confdefs.h
<<
\
EOF
#define WORDS_BIGENDIAN 1
EOF
fi
;;
esac
fi
for
ac_func
in
gettimeofday
select
strerror strtod strtol
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1
247
: checking for
$ac_func
"
>
&5
echo
"configure:1
306
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
252
"configure"
#line 1
311
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1271,7 +1330,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
275
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
334
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1298,12 +1357,12 @@ done
for
ac_func
in
setenv putenv
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:13
02
: checking for
$ac_func
"
>
&5
echo
"configure:13
61
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
07
"configure"
#line 13
66
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1326,7 +1385,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:13
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:13
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1351,12 +1410,12 @@ fi
done
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:1
355
: checking for connect"
>
&5
echo
"configure:1
414
: checking for connect"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_connect
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
360
"configure"
#line 1
419
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -1379,7 +1438,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:1
383
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
442
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_connect=yes"
else
...
...
@@ -1398,7 +1457,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:14
02
: checking for connect in -lsocket"
>
&5
echo
"configure:14
61
: checking for connect in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
connect |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1406,7 +1465,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
10
"configure"
#line 14
69
"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
...
...
@@ -1417,7 +1476,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:14
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:14
80
:
\"
$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
...
...
@@ -1441,12 +1500,12 @@ fi
fi
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:1
445
: checking for gethostbyname"
>
&5
echo
"configure:1
504
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
450
"configure"
#line 1
509
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -1469,7 +1528,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:1
473
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
532
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname=yes"
else
...
...
@@ -1488,7 +1547,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:1
492
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:1
551
: checking for gethostbyname in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
gethostbyname |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1496,7 +1555,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
00
"configure"
#line 15
59
"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
...
...
@@ -1507,7 +1566,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:15
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:15
70
:
\"
$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
...
...
@@ -1531,12 +1590,12 @@ fi
fi
echo
$ac_n
"checking for nanosleep""...
$ac_c
"
1>&6
echo
"configure:15
35
: checking for nanosleep"
>
&5
echo
"configure:15
94
: checking for nanosleep"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_nanosleep
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
40
"configure"
#line 15
99
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char nanosleep(); below. */
...
...
@@ -1559,7 +1618,7 @@ nanosleep();
; return 0; }
EOF
if
{
(
eval echo
configure:1
563
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
622
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_nanosleep=yes"
else
...
...
@@ -1578,7 +1637,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for nanosleep in -lrt""...
$ac_c
"
1>&6
echo
"configure:1
582
: checking for nanosleep in -lrt"
>
&5
echo
"configure:1
641
: checking for nanosleep in -lrt"
>
&5
ac_lib_var
=
`
echo
rt
'_'
nanosleep |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1586,7 +1645,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
590
"configure"
#line 1
649
"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
...
...
@@ -1597,7 +1656,7 @@ int main() {
nanosleep()
; return 0; }
EOF
if
{
(
eval echo
configure:16
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:16
60
:
\"
$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
...
...
@@ -1617,7 +1676,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for nanosleep in -lposix4""...
$ac_c
"
1>&6
echo
"configure:16
21
: checking for nanosleep in -lposix4"
>
&5
echo
"configure:16
80
: checking for nanosleep in -lposix4"
>
&5
ac_lib_var
=
`
echo
posix4
'_'
nanosleep |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1625,7 +1684,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
29
"configure"
#line 16
88
"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
...
...
@@ -1636,7 +1695,7 @@ int main() {
nanosleep()
; return 0; }
EOF
if
{
(
eval echo
configure:16
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:16
99
:
\"
$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
...
...
@@ -1665,12 +1724,12 @@ fi
for
ac_func
in
usleep
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1
669
: checking for
$ac_func
"
>
&5
echo
"configure:1
728
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
674
"configure"
#line 1
733
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1693,7 +1752,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
697
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
756
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1718,12 +1777,12 @@ fi
done
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:17
22
: checking for inet_aton"
>
&5
echo
"configure:17
81
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
27
"configure"
#line 17
86
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -1746,7 +1805,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:1
750
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
809
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_inet_aton=yes"
else
...
...
@@ -1765,7 +1824,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for inet_aton in -lresolv""...
$ac_c
"
1>&6
echo
"configure:1
769
: checking for inet_aton in -lresolv"
>
&5
echo
"configure:1
828
: checking for inet_aton in -lresolv"
>
&5
ac_lib_var
=
`
echo
resolv
'_'
inet_aton |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1773,7 +1832,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lresolv
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
777
"configure"
#line 1
836
"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
...
...
@@ -1784,7 +1843,7 @@ int main() {
inet_aton()
; return 0; }
EOF
if
{
(
eval echo
configure:1
788
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
847
:
\"
$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
...
...
@@ -1810,12 +1869,12 @@ fi
for
ac_func
in
vasprintf
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:18
14
: checking for
$ac_func
"
>
&5
echo
"configure:18
73
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
19
"configure"
#line 18
78
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1838,7 +1897,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
842
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
901
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1865,12 +1924,12 @@ done
for
ac_func
in
swab
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1
869
: checking for
$ac_func
"
>
&5
echo
"configure:1
928
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
874
"configure"
#line 1
933
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1893,7 +1952,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
897
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
956
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1920,12 +1979,12 @@ done
for
ac_func
in
memalign valloc
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:19
24
: checking for
$ac_func
"
>
&5
echo
"configure:19
83
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
29
"configure"
#line 19
88
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1948,7 +2007,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
1952
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
2011
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -1976,12 +2035,12 @@ done
for
ac_func
in
sigrelse
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:
1980
: checking for
$ac_func
"
>
&5
echo
"configure:
2039
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
1985
"configure"
#line
2044
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2004,7 +2063,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:20
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:20
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2031,12 +2090,12 @@ done
NEED_GETOPT
=
0
echo
$ac_n
"checking for getopt_long""...
$ac_c
"
1>&6
echo
"configure:20
35
: checking for getopt_long"
>
&5
echo
"configure:20
94
: checking for getopt_long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
40
"configure"
#line 20
99
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getopt_long(); below. */
...
...
@@ -2059,7 +2118,7 @@ getopt_long();
; return 0; }
EOF
if
{
(
eval echo
configure:2
063
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
122
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getopt_long=yes"
else
...
...
@@ -2081,7 +2140,7 @@ else
echo
"
$ac_t
""no"
1>&6
# FreeBSD has a gnugetopt library for this:
echo
$ac_n
"checking for getopt_long in -lgnugetopt""...
$ac_c
"
1>&6
echo
"configure:2
085
: checking for getopt_long in -lgnugetopt"
>
&5
echo
"configure:2
144
: checking for getopt_long in -lgnugetopt"
>
&5
ac_lib_var
=
`
echo
gnugetopt
'_'
getopt_long |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2089,7 +2148,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgnugetopt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
093
"configure"
#line 2
152
"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
...
...
@@ -2100,7 +2159,7 @@ int main() {
getopt_long()
; return 0; }
EOF
if
{
(
eval echo
configure:21
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:21
63
:
\"
$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
...
...
@@ -2131,17 +2190,17 @@ for ac_hdr in unistd.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:21
35
: checking for
$ac_hdr
"
>
&5
echo
"configure:21
94
: 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 21
40
"configure"
#line 21
99
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
145
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
204
:
\"
$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
*
...
...
@@ -2170,12 +2229,12 @@ done
for
ac_func
in
getpagesize
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
174
: checking for
$ac_func
"
>
&5
echo
"configure:2
233
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
179
"configure"
#line 2
238
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2198,7 +2257,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:22
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:22
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2223,7 +2282,7 @@ fi
done
echo
$ac_n
"checking for working mmap""...
$ac_c
"
1>&6
echo
"configure:22
27
: checking for working mmap"
>
&5
echo
"configure:22
86
: checking for working mmap"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_mmap_fixed_mapped
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2231,7 +2290,7 @@ else
ac_cv_func_mmap_fixed_mapped
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
35
"configure"
#line 22
94
"configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
...
...
@@ -2258,15 +2317,12 @@ else
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
# include <unistd.h>
# endif
/* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H
...
...
@@ -2321,7 +2377,7 @@ main()
/*
* First, make a file with some known garbage in it.
*/
data =
(char*)
malloc(pagesize);
data = malloc(pagesize);
if (!data)
exit(1);
for (i = 0; i < pagesize; ++i)
...
...
@@ -2342,7 +2398,7 @@ main()
fd = open("conftestmmap", O_RDWR);
if (fd < 0)
exit(1);
data2 =
(char*)
malloc(2 * pagesize);
data2 = malloc(2 * pagesize);
if (!data2)
exit(1);
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
...
...
@@ -2360,7 +2416,7 @@ main()
*/
for (i = 0; i < pagesize; ++i)
*(data2 + i) = *(data2 + i) + 1;
data3 =
(char*)
malloc(pagesize);
data3 = malloc(pagesize);
if (!data3)
exit(1);
if (read(fd, data3, pagesize) != pagesize)
...
...
@@ -2374,7 +2430,7 @@ main()
}
EOF
if
{
(
eval echo
configure:2
378
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
434
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_mmap_fixed_mapped
=
yes
else
...
...
@@ -2397,12 +2453,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:24
01
: checking return type of signal handlers"
>
&5
echo
"configure:24
57
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
06
"configure"
#line 24
62
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -2419,7 +2475,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:24
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -2438,7 +2494,7 @@ EOF
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:24
42
: checking for dlopen in -ldl"
>
&5
echo
"configure:24
98
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2446,7 +2502,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
450
"configure"
#line 2
506
"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
...
...
@@ -2457,7 +2513,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:2
461
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
517
:
\"
$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
...
...
@@ -2478,7 +2534,7 @@ else
fi
echo
$ac_n
"checking for pow in -lm""...
$ac_c
"
1>&6
echo
"configure:2
482
: checking for pow in -lm"
>
&5
echo
"configure:2
538
: checking for pow in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
pow |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2486,7 +2542,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
490
"configure"
#line 2
546
"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
...
...
@@ -2497,7 +2553,7 @@ int main() {
pow()
; return 0; }
EOF
if
{
(
eval echo
configure:25
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:25
57
:
\"
$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
...
...
@@ -2521,7 +2577,7 @@ fi
THREAD_LIB
=
error
if
test
"x
${
THREAD_LIB
}
"
=
xerror
;
then
echo
$ac_n
"checking for pthread_attr_init in -lpthread""...
$ac_c
"
1>&6
echo
"configure:25
25
: checking for pthread_attr_init in -lpthread"
>
&5
echo
"configure:25
81
: checking for pthread_attr_init in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_attr_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
...
...
@@ -2529,7 +2585,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
33
"configure"
#line 25
89
"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
...
...
@@ -2540,7 +2596,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:2
544
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
600
:
\"
$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
...
...
@@ -2563,7 +2619,7 @@ fi
fi
if
test
"x
${
THREAD_LIB
}
"
=
xerror
;
then
echo
$ac_n
"checking for pthread_attr_init in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:2
567
: checking for pthread_attr_init in -lpthreads"
>
&5
echo
"configure:2
623
: checking for pthread_attr_init in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_attr_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
...
...
@@ -2571,7 +2627,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
575
"configure"
#line 2
631
"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
...
...
@@ -2582,7 +2638,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:2
586
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
642
:
\"
$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
...
...
@@ -2605,7 +2661,7 @@ fi
fi
if
test
"x
${
THREAD_LIB
}
"
=
xerror
;
then
echo
$ac_n
"checking for pthread_attr_init in -lc_r""...
$ac_c
"
1>&6
echo
"configure:26
09
: checking for pthread_attr_init in -lc_r"
>
&5
echo
"configure:26
65
: checking for pthread_attr_init in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_attr_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
...
...
@@ -2613,7 +2669,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
17
"configure"
#line 26
73
"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
...
...
@@ -2624,7 +2680,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:26
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:26
84
:
\"
$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
...
...
@@ -2647,12 +2703,12 @@ fi
fi
if
test
"x
${
THREAD_LIB
}
"
=
xerror
;
then
echo
$ac_n
"checking for pthread_attr_init""...
$ac_c
"
1>&6
echo
"configure:2
651
: checking for pthread_attr_init"
>
&5
echo
"configure:2
707
: checking for pthread_attr_init"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_attr_init
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
656
"configure"
#line 2
712
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_attr_init(); below. */
...
...
@@ -2675,7 +2731,7 @@ pthread_attr_init();
; return 0; }
EOF
if
{
(
eval echo
configure:2
679
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
735
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_attr_init=yes"
else
...
...
@@ -2698,7 +2754,7 @@ fi
fi
echo
$ac_n
"checking for cthread_fork in -lthreads""...
$ac_c
"
1>&6
echo
"configure:27
02
: checking for cthread_fork in -lthreads"
>
&5
echo
"configure:27
58
: checking for cthread_fork in -lthreads"
>
&5
ac_lib_var
=
`
echo
threads
'_'
cthread_fork |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2706,7 +2762,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
10
"configure"
#line 27
66
"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
...
...
@@ -2717,7 +2773,7 @@ int main() {
cthread_fork()
; return 0; }
EOF
if
{
(
eval echo
configure:27
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
77
:
\"
$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
...
...
@@ -2739,7 +2795,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
43
"configure"
#line 27
99
"configure"
#include "confdefs.h"
#include <pthread.h>
EOF
...
...
@@ -2755,7 +2811,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
759
"configure"
#line 2
815
"configure"
#include "confdefs.h"
#include <strings.h>
EOF
...
...
@@ -2775,17 +2831,17 @@ for ac_hdr in stddef.h getopt.h strings.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:2
779
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
835
: 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 2
784
"configure"
#line 2
840
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
789
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
845
:
\"
$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
*
...
...
@@ -2811,21 +2867,21 @@ else
fi
done
for
ac_hdr
in
sys/sockio.h fcntl.h sys/time.h
for
ac_hdr
in
sys/sockio.h fcntl.h sys/time.h
sys/times.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:28
19
: checking for
$ac_hdr
"
>
&5
echo
"configure:28
75
: 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 28
24
"configure"
#line 28
80
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:28
29
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:28
85
:
\"
$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
*
...
...
@@ -2855,17 +2911,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:2
859
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
915
: 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 2
864
"configure"
#line 2
920
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
869
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
925
:
\"
$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
*
...
...
@@ -2895,17 +2951,17 @@ for ac_hdr in dlfcn.h image.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:2
899
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
955
: 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 29
04
"configure"
#line 29
60
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:29
09
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
65
:
\"
$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
*
...
...
@@ -2935,17 +2991,17 @@ for ac_hdr in arpa/inet.h net/if.h netinet/in.h sys/socket.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:29
39
: checking for
$ac_hdr
"
>
&5
echo
"configure:29
95
: 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
2944
"configure"
#line
3000
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
2949
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
3005
:
\"
$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
*
...
...
@@ -2975,17 +3031,17 @@ for ac_hdr in machine/param.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
2979
: checking for
$ac_hdr
"
>
&5
echo
"configure:
3035
: 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
2984
"configure"
#line
3040
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
2989
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
3045
:
\"
$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
*
...
...
@@ -3016,17 +3072,17 @@ for ac_hdr in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:30
20
: checking for
$ac_hdr
"
>
&5
echo
"configure:30
76
: 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 30
25
"configure"
#line 30
81
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:30
30
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:30
86
:
\"
$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
*
...
...
@@ -3054,20 +3110,20 @@ done
echo
$ac_n
"checking for ntohl in sys/param.h""...
$ac_c
"
1>&6
echo
"configure:3
058
: checking for ntohl in sys/param.h"
>
&5
echo
"configure:3
114
: 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 3
064
"configure"
#line 3
120
"configure"
#include "confdefs.h"
#include <sys/param.h>
int main() {
void foo() { int meuh; ntohl(meuh); }
; return 0; }
EOF
if
{
(
eval echo
configure:3
071
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
127
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ntohl_sys_param_h
=
yes
else
...
...
@@ -3088,20 +3144,20 @@ EOF
fi
echo
$ac_n
"checking if
\$
CC accepts -finline-limit""...
$ac_c
"
1>&6
echo
"configure:3
092
: checking if
\$
CC accepts -finline-limit"
>
&5
echo
"configure:3
148
: 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 3
098
"configure"
#line 3
154
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:31
05
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline_limit
=
yes
else
...
...
@@ -3119,20 +3175,20 @@ if test x"$ac_cv_c_inline_limit" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC accepts -bundle -undefined error""...
$ac_c
"
1>&6
echo
"configure:31
23
: checking if
\$
CC accepts -bundle -undefined error"
>
&5
echo
"configure:31
79
: 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 31
29
"configure"
#line 31
85
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:31
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_ld_darwin
=
yes
else
...
...
@@ -3150,20 +3206,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:3
154
: checking if
\$
CC accepts -shared"
>
&5
echo
"configure:3
210
: 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 3
160
"configure"
#line 3
216
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
167
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
223
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_ld_plugins
=
yes
else
...
...
@@ -3182,7 +3238,7 @@ fi
if
test
x
"
${
SOFLAGS
}
"
=
x
;
then
echo
$ac_n
"checking for soname setting""...
$ac_c
"
1>&6
echo
"configure:3
186
: checking for soname setting"
>
&5
echo
"configure:3
242
: 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
...
...
@@ -3191,14 +3247,14 @@ else
try_SOFLAGS
=
"-Wl,-soname -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
195
"configure"
#line 3
251
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:32
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
58
:
\"
$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
...
...
@@ -3210,14 +3266,14 @@ else
try_SOFLAGS
=
"-Wl,-h -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
14
"configure"
#line 32
70
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:32
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
77
:
\"
$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
...
...
@@ -3249,19 +3305,19 @@ CFLAGS="${save_CFLAGS}"
LDFLAGS
=
"
${
save_LDFLAGS
}
"
echo
$ac_n
"checking for boolean_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:3
253
: checking for boolean_t in sys/types.h"
>
&5
echo
"configure:3
309
: 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 3
258
"configure"
#line 3
314
"configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
void quux() { boolean_t foo; }
; return 0; }
EOF
if
{
(
eval echo
configure:3
265
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
321
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_sys_types_h
=
yes
else
...
...
@@ -3282,19 +3338,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in pthread.h""...
$ac_c
"
1>&6
echo
"configure:3
286
: checking for boolean_t in pthread.h"
>
&5
echo
"configure:3
342
: 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 3
291
"configure"
#line 3
347
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
void quux() { boolean_t foo; }
; return 0; }
EOF
if
{
(
eval echo
configure:3
298
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
354
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_pthread_h
=
yes
else
...
...
@@ -3315,19 +3371,19 @@ EOF
fi
echo
$ac_n
"checking for boolean_t in cthreads.h""...
$ac_c
"
1>&6
echo
"configure:33
19
: checking for boolean_t in cthreads.h"
>
&5
echo
"configure:33
75
: 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 33
24
"configure"
#line 33
80
"configure"
#include "confdefs.h"
#include <cthreads.h>
int main() {
void quux() { boolean_t foo; }
; return 0; }
EOF
if
{
(
eval echo
configure:33
31
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:33
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_boolean_t_cthreads_h
=
yes
else
...
...
@@ -3348,18 +3404,18 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:3
352
: checking for working const"
>
&5
echo
"configure:3
408
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
357
"configure"
#line 3
413
"configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x
= {0,0}
;
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
...
...
@@ -3402,7 +3458,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:34
06
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:34
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -3423,12 +3479,12 @@ EOF
fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:34
27
: checking for ANSI C header files"
>
&5
echo
"configure:34
83
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
32
"configure"
#line 34
88
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -3436,7 +3492,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:34
40
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
96
:
\"
$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
*
...
...
@@ -3453,7 +3509,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
457
"configure"
#line 3
513
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -3471,7 +3527,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
475
"configure"
#line 3
531
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -3492,7 +3548,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
496
"configure"
#line 3
552
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -3503,7 +3559,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:35
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:35
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -3527,12 +3583,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:35
31
: checking for size_t"
>
&5
echo
"configure:35
87
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
36
"configure"
#line 35
92
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -3560,12 +3616,12 @@ EOF
fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:3
564
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:3
620
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
569
"configure"
#line 3
625
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -3574,7 +3630,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:3
578
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
634
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -3596,21 +3652,21 @@ fi
echo
$ac_n
"checking __attribute__ ((aligned ())) support""...
$ac_c
"
1>&6
echo
"configure:36
00
: checking __attribute__ ((aligned ())) support"
>
&5
echo
"configure:36
56
: 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
ac_cv_c_attribute_aligned
=
0
for
ac_cv_c_attr_align_try
in
2 4 8 16 32 64
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
07
"configure"
#line 36
63
"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:36
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
70
:
\"
$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
...
...
@@ -3643,19 +3699,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:3
647
: checking if
\$
CC groks MMX inline assembly"
>
&5
echo
"configure:3
703
: 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 3
652
"configure"
#line 3
708
"configure"
#include "confdefs.h"
int main() {
void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
659
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
715
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmx_inline
=
yes
else
...
...
@@ -3673,19 +3729,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:3
677
: checking if
\$
CC groks MMX EXT inline assembly"
>
&5
echo
"configure:3
733
: 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 3
682
"configure"
#line 3
738
"configure"
#include "confdefs.h"
int main() {
void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
689
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
745
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mmxext_inline
=
yes
else
...
...
@@ -3703,19 +3759,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:37
07
: checking if
\$
CC groks 3D Now! inline assembly"
>
&5
echo
"configure:37
63
: 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 37
12
"configure"
#line 37
68
"configure"
#include "confdefs.h"
int main() {
void quux(){void *p;asm("pfadd %%mm1,%%mm2"::"r"(p));}
; return 0; }
EOF
if
{
(
eval echo
configure:37
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:37
75
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_3dnow_inline
=
yes
else
...
...
@@ -3733,19 +3789,19 @@ if test x"$ac_cv_3dnow_inline" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC groks SSE inline assembly""...
$ac_c
"
1>&6
echo
"configure:37
37
: checking if
\$
CC groks SSE inline assembly"
>
&5
echo
"configure:37
93
: 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 37
42
"configure"
#line 37
98
"configure"
#include "confdefs.h"
int main() {
void quux(){void *p;asm("xorps %%xmm1,%%xmm2"::"r"(p));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
749
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
805
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_sse_inline
=
yes
else
...
...
@@ -3763,19 +3819,19 @@ if test x"$ac_cv_sse_inline" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC groks Altivec inline assembly""...
$ac_c
"
1>&6
echo
"configure:3
767
: checking if
\$
CC groks Altivec inline assembly"
>
&5
echo
"configure:3
823
: 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 3
772
"configure"
#line 3
828
"configure"
#include "confdefs.h"
int main() {
void quux(){asm("mtspr 256,%0"::"r"(-1));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
779
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
835
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_altivec_inline
=
yes
else
...
...
@@ -3785,14 +3841,14 @@ else
save_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wa,-m7400"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
789
"configure"
#line 3
845
"configure"
#include "confdefs.h"
int main() {
void quux(){asm("mtspr 256,%0"::"r"(-1));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
796
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
852
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_altivec_inline
=
yes
;
CFLAGS_ALTIVEC
=
"-Wa,-m7400"
else
...
...
@@ -3814,7 +3870,7 @@ if test x"$ac_cv_altivec_inline" != x"no"; then
fi
echo
$ac_n
"checking if
\$
CC groks Altivec C extensions""...
$ac_c
"
1>&6
echo
"configure:38
18
: checking if
\$
CC groks Altivec C extensions"
>
&5
echo
"configure:38
74
: 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
...
...
@@ -3822,14 +3878,14 @@ else
CFLAGS
=
"
$CFLAGS
-faltivec"
# Darwin test
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
26
"configure"
#line 38
82
"configure"
#include "confdefs.h"
int main() {
void quux(){vec_mtvscr((vector unsigned int)(0));}
; return 0; }
EOF
if
{
(
eval echo
configure:38
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_altivec
=
-faltivec
else
...
...
@@ -3840,14 +3896,14 @@ else
# Linux/PPC test
CFLAGS
=
"
$save_CFLAGS
$CFLAGS_ALTIVEC
-fvec"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
844
"configure"
#line 3
900
"configure"
#include "confdefs.h"
int main() {
void quux(){vec_mtvscr((vector unsigned int)(0));}
; return 0; }
EOF
if
{
(
eval echo
configure:3
851
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
907
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_altivec
=
"-fvec"
else
...
...
@@ -3874,21 +3930,21 @@ EOF
fi
echo
$ac_n
"checking if linker needs -framework vecLib""...
$ac_c
"
1>&6
echo
"configure:3
878
: checking if linker needs -framework vecLib"
>
&5
echo
"configure:3
934
: 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 3
885
"configure"
#line 3
941
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
892
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
948
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_ld_altivec
=
yes
else
...
...
@@ -3914,17 +3970,17 @@ for ac_hdr in winioctl.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:39
18
: checking for
$ac_hdr
"
>
&5
echo
"configure:39
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 39
23
"configure"
#line 39
79
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
28
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
84
:
\"
$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
*
...
...
@@ -3957,17 +4013,17 @@ for ac_hdr in sys/ioctl.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
3961
: checking for
$ac_hdr
"
>
&5
echo
"configure:
4017
: 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
3966
"configure"
#line
4022
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
3971
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
4027
:
\"
$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
*
...
...
@@ -3993,17 +4049,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
3997
: checking for
$ac_hdr
"
>
&5
echo
"configure:
4053
: 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 40
02
"configure"
#line 40
58
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:40
07
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:40
63
:
\"
$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
*
...
...
@@ -4032,7 +4088,7 @@ done
BSD_DVD_STRUCT
=
0
LINUX_DVD_STRUCT
=
0
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
36
"configure"
#line 40
92
"configure"
#include "confdefs.h"
#include <sys/dvdio.h>
EOF
...
...
@@ -4050,7 +4106,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
054
"configure"
#line 4
110
"configure"
#include "confdefs.h"
#include <sys/cdio.h>
EOF
...
...
@@ -4068,7 +4124,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
072
"configure"
#line 4
128
"configure"
#include "confdefs.h"
#include <linux/cdrom.h>
EOF
...
...
@@ -4087,7 +4143,7 @@ rm -f conftest*
NEED_BSDI_LIBDVD
=
0
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
091
"configure"
#line 4
147
"configure"
#include "confdefs.h"
#include <dvd.h>
EOF
...
...
@@ -4109,17 +4165,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:41
13
: checking for
$ac_hdr
"
>
&5
echo
"configure:41
69
: 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 41
18
"configure"
#line 41
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:41
23
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:41
79
:
\"
$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
*
...
...
@@ -4159,17 +4215,17 @@ rm -f conftest*
ac_safe
=
`
echo
"sys/scsi/scsi_types.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for sys/scsi/scsi_types.h""...
$ac_c
"
1>&6
echo
"configure:4
163
: checking for sys/scsi/scsi_types.h"
>
&5
echo
"configure:4
219
: checking for sys/scsi/scsi_types.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 4
168
"configure"
#line 4
224
"configure"
#include "confdefs.h"
#include <sys/scsi/scsi_types.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
173
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
229
:
\"
$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
*
...
...
@@ -4188,17 +4244,17 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
ac_safe
=
`
echo
"sys/scsi/impl/uscsi.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for sys/scsi/impl/uscsi.h""...
$ac_c
"
1>&6
echo
"configure:4
192
: checking for sys/scsi/impl/uscsi.h"
>
&5
echo
"configure:4
248
: checking for sys/scsi/impl/uscsi.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 4
197
"configure"
#line 4
253
"configure"
#include "confdefs.h"
#include <sys/scsi/impl/uscsi.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:42
02
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:42
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
*
...
...
@@ -4350,7 +4406,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:4
354
: checking for pth_init in -lpth"
>
&5
echo
"configure:4
410
: 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
...
...
@@ -4358,7 +4414,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpth
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
362
"configure"
#line 4
418
"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
...
...
@@ -4369,7 +4425,7 @@ int main() {
pth_init()
; return 0; }
EOF
if
{
(
eval echo
configure:4
373
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
429
:
\"
$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
...
...
@@ -4397,7 +4453,7 @@ else
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
01
"configure"
#line 44
57
"configure"
#include "confdefs.h"
#include <pth.h>
EOF
...
...
@@ -4561,7 +4617,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:4
565
: checking for
$ac_word
"
>
&5
echo
"configure:4
621
: 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
...
...
@@ -4628,17 +4684,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:46
32
: checking for
$ac_hdr
"
>
&5
echo
"configure:46
88
: 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 46
37
"configure"
#line 46
93
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
42
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
98
:
\"
$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
*
...
...
@@ -4683,17 +4739,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
687
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
743
: 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 4
692
"configure"
#line 4
748
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
697
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
753
:
\"
$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
*
...
...
@@ -4771,7 +4827,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:4
775
: checking for
$ac_word
"
>
&5
echo
"configure:4
831
: 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
...
...
@@ -4811,7 +4867,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:48
15
: checking for
$ac_word
"
>
&5
echo
"configure:48
71
: 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
...
...
@@ -4852,7 +4908,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:4
856
: checking for
$ac_word
"
>
&5
echo
"configure:4
912
: 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
...
...
@@ -4898,17 +4954,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:49
02
: checking for
$ac_hdr
"
>
&5
echo
"configure:49
58
: 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 49
07
"configure"
#line 49
63
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:49
12
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:49
68
:
\"
$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
*
...
...
@@ -4971,17 +5027,17 @@ if test "${with_directx+set}" = set; then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
4975
: checking for
$ac_hdr
"
>
&5
echo
"configure:
5031
: 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
4980
"configure"
#line
5036
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
4985
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
5041
:
\"
$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
*
...
...
@@ -5020,17 +5076,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:50
24
: checking for
$ac_hdr
"
>
&5
echo
"configure:50
80
: 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 50
29
"configure"
#line 50
85
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:50
34
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:50
90
:
\"
$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
*
...
...
@@ -5127,7 +5183,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:51
31
: checking for
$ac_word
"
>
&5
echo
"configure:51
87
: 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
...
...
@@ -5172,17 +5228,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
176
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
232
: 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 5
181
"configure"
#line 5
237
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
186
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
242
:
\"
$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
*
...
...
@@ -5232,7 +5288,7 @@ then
# 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:52
36
: checking for
$ac_word
"
>
&5
echo
"configure:52
92
: 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
...
...
@@ -5277,17 +5333,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
281
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
337
: 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 5
286
"configure"
#line 5
342
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
291
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
347
:
\"
$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
*
...
...
@@ -5338,17 +5394,17 @@ if test x$enable_x11 != xno; then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:53
42
: checking for
$ac_hdr
"
>
&5
echo
"configure:53
98
: 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 5
347
"configure"
#line 5
403
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
352
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
408
:
\"
$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
*
...
...
@@ -5400,17 +5456,17 @@ if test x$enable_xvideo != xno; then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:54
04
: checking for
$ac_hdr
"
>
&5
echo
"configure:54
60
: 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 54
09
"configure"
#line 54
65
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:54
14
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:54
70
:
\"
$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
*
...
...
@@ -5450,17 +5506,17 @@ if test "${enable_alsa+set}" = set; then
then
ac_safe
=
`
echo
"sys/asoundlib.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for sys/asoundlib.h""...
$ac_c
"
1>&6
echo
"configure:5
454
: checking for sys/asoundlib.h"
>
&5
echo
"configure:5
510
: checking for sys/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 5
459
"configure"
#line 5
515
"configure"
#include "confdefs.h"
#include <sys/asoundlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
464
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
520
:
\"
$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
*
...
...
@@ -5477,7 +5533,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:5
481
: checking for main in -lasound"
>
&5
echo
"configure:5
537
: 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
...
...
@@ -5485,14 +5541,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
489
"configure"
#line 5
545
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:5
496
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
552
:
\"
$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
...
...
configure.in
View file @
19868f14
...
...
@@ -33,11 +33,68 @@ AC_PROG_RANLIB
dnl AM_PROG_LIBTOOL
AC_PROG_INSTALL
dnl Check for endianness
dnl if we cross compile for win32, we don't need to test it.
dnl quick and udly hack. Gonna search the way to do it better.
if eval "test $CC = gcc"; then
AC_C_BIGENDIAN
dnl
dnl Endianness check, with a special test for cross-compilation
dnl
if test x${cross_compiling} != xyes; then
AC_C_BIGENDIAN
else
dnl We are crosscompiling, give the user the opportunity to specify
dnl --with-words=big or --with-words=little ; otherwise, try to guess
AC_ARG_WITH(words,
[ --with-words=endianness Set endianness (big or little)])
case "x$withval" in
xbig)
ac_cv_c_bigendian=yes
;;
xlittle)
ac_cv_c_bigendian=no
;;
*)
dnl Try to guess endianness by matching patterns on a compiled
dnl binary, by looking for an ASCII or EBCDIC string
ac_cv_c_bigendian=unknown
AC_MSG_CHECKING(what the byte order looks to be)[
cat >conftest.c <<EOF
short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
void _a(void) { char*s = (char*)am; s = (char *)ai; }
short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
void _e(void) { char*s = (char*)em; s = (char*)ei; }
int main(void) { _a(); _e(); return 0; }
EOF
]
if test -f conftest.c
then
if ${CC-cc} conftest.c -o conftest.o >config.log 2>&1 \
&& test -f conftest.o
then
if test `grep -l BIGenDianSyS conftest.o`
then
AC_MSG_RESULT("big endian")
ac_cv_c_bigendian=yes
fi
if test `grep -l LiTTleEnDian conftest.o`
then
AC_MSG_RESULT("little endian")
ac_cv_c_bigendian=no
fi
fi
fi
if test $ac_cv_c_bigendian = xunknown
then
AC_MSG_ERROR([Could not guess endianness, please use --with-words])
fi
dnl Now we know what to use for endianness, just put it in the header
if test $ac_cv_c_bigendian = yes
then
cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF
fi
;;
esac
fi
dnl Check for system libs needed
...
...
@@ -106,7 +163,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers
AC_CHECK_HEADERS(stddef.h getopt.h strings.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/time.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/time.h
sys/times.h
)
AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h)
AC_CHECK_HEADERS(dlfcn.h image.h)
AC_CHECK_HEADERS(arpa/inet.h net/if.h netinet/in.h sys/socket.h)
...
...
include/defs.h.in
View file @
19868f14
/* include/defs.h.in. Generated automatically from configure.in by autoheader. */
/* include/defs.h.in. Generated automatically from configure.in by autoheader
2.13
. */
/* Define to empty if the keyword does not work. */
#undef const
...
...
@@ -160,6 +160,9 @@
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
...
...
src/input/input.c
View file @
19868f14
...
...
@@ -4,7 +4,7 @@
* decoders.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.1
39 2001/10/03 12:58:57 massiot
Exp $
* $Id: input.c,v 1.1
40 2001/10/03 13:14:05 sam
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -57,8 +57,8 @@
# include <sys/socket.h>
#endif
#if
ndef WIN32
#include <sys/times.h>
#if
def HAVE_SYS_TIMES_H
#
include <sys/times.h>
#endif
#include "config.h"
...
...
@@ -498,17 +498,19 @@ static void EndThread( input_thread_t * p_input )
if
(
p_main
->
b_stats
)
{
#ifdef HAVE_SYS_TIMES_H
/* Display statistics */
#ifndef WIN32
struct
tms
cpu_usage
;
times
(
&
cpu_usage
);
intf_StatMsg
(
"input stats: %d loops consuming user: %d, system: %d"
,
p_input
->
c_loops
,
cpu_usage
.
tms_utime
,
cpu_usage
.
tms_stime
);
#else
intf_StatMsg
(
"input stats: %d loops"
,
p_input
->
c_loops
);
#endif
input_DumpStream
(
p_input
);
#endif
}
/* Free all ES and destroy all decoder threads */
...
...
src/video_decoder/video_parser.c
View file @
19868f14
...
...
@@ -2,7 +2,7 @@
* video_parser.c : video parser thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: video_parser.c,v 1.
7 2001/10/03 03:32:05 xav
Exp $
* $Id: video_parser.c,v 1.
8 2001/10/03 13:14:05 sam
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
...
...
@@ -36,8 +36,8 @@
#include <errno.h>
#include <string.h>
#if
ndef WIN32
#include <sys/times.h>
#if
def HAVE_SYS_TIMES_H
#
include <sys/times.h>
#endif
#include "config.h"
...
...
@@ -318,15 +318,18 @@ static void EndThread( vpar_thread_t *p_vpar )
if
(
p_main
->
b_stats
)
{
#ifndef WIN32
#ifdef HAVE_SYS_TIMES_H
struct
tms
cpu_usage
;
times
(
&
cpu_usage
);
#endif
intf_StatMsg
(
"vpar stats: %d loops among %d sequence(s)"
,
p_vpar
->
c_loops
,
p_vpar
->
c_sequences
);
#ifdef HAVE_SYS_TIMES_H
intf_StatMsg
(
"vpar stats: cpu usage (user: %d, system: %d)"
,
cpu_usage
.
tms_utime
,
cpu_usage
.
tms_stime
);
#endif
intf_StatMsg
(
"vpar stats: Read %d frames/fields (I %d/P %d/B %d)"
,
p_vpar
->
pc_pictures
[
I_CODING_TYPE
]
...
...
@@ -359,7 +362,6 @@ static void EndThread( vpar_thread_t *p_vpar )
S
.
i_scalable_mode
?
"scalable"
:
"non-scalable"
,
S
.
i_matrix_coefficients
);
#undef S
#endif
}
/* Dispose of matrices if they have been allocated. */
...
...
src/video_output/video_output.c
View file @
19868f14
...
...
@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: video_output.c,v 1.14
2 2001/10/03 03:32:05 xav
Exp $
* $Id: video_output.c,v 1.14
3 2001/10/03 13:14:05 sam
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -34,8 +34,8 @@
#include <stdio.h>
/* sprintf() */
#include <string.h>
/* strerror() */
#if
ndef WIN32
#include <sys/times.h>
#if
def HAVE_SYS_TIMES_H
#
include <sys/times.h>
#endif
#include "config.h"
...
...
@@ -1360,17 +1360,20 @@ static void EndThread( vout_thread_t *p_vout )
if
(
p_main
->
b_stats
)
{
#ifndef WIN32
#ifdef HAVE_SYS_TIMES_H
struct
tms
cpu_usage
;
times
(
&
cpu_usage
);
intf_StatMsg
(
"vout info: %d loops consuming user: %d, system: %d"
,
p_vout
->
c_loops
,
cpu_usage
.
tms_utime
,
cpu_usage
.
tms_stime
);
#else
intf_StatMsg
(
"vout info: %d loops"
,
p_vout
->
c_loops
);
#endif
intf_StatMsg
(
"vout info: %d pictures received, discarded %d"
,
p_vout
->
c_pictures
,
p_vout
->
c_late_pictures
);
intf_StatMsg
(
"vout info: average display jitter of %lld s"
,
p_vout
->
display_jitter
);
#endif
}
/* Destroy all remaining pictures and subpictures */
...
...
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