Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8ed3168e
Commit
8ed3168e
authored
Sep 14, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Miscellaneous updates to configure, especially for cross-compilation.
parent
b1c218b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
437 additions
and
310 deletions
+437
-310
configure
configure
+400
-288
configure.in
configure.in
+37
-22
No files found.
configure
View file @
8ed3168e
...
...
@@ -609,13 +609,34 @@ ac_config_sub=$ac_aux_dir/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
#
# The rules are:
# 1. You are not allowed to specify --host, --target, and nonopt at the
# same time.
# 2. Host defaults to nonopt.
# 3. If nonopt is not specified, then host defaults to the current host,
# as determined by config.guess.
# 4. Target and build default to nonopt.
# 5. If nonopt is not specified, then target and build default to host.
# The aliases save the names the user supplied, while $host etc.
# will get canonicalized.
case
$host
---
$target
---
$nonopt
in
NONE---
*
---
*
|
*
---NONE---
*
|
*
---
*
---NONE
)
;;
*
)
{
echo
"configure: error: can only configure for one host and one target at a time"
1>&2
;
exit
1
;
}
;;
esac
# Make sure we can run config.sub.
if
${
CONFIG_SHELL
-/bin/sh
}
$ac_config_sub
sun4
>
/dev/null 2>&1
;
then
:
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:6
19
: checking host system type"
>
&5
echo
"configure:6
40
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -635,6 +656,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
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:661: checking target system type"
>
&5
target_alias
=
$target
case
"
$target_alias
"
in
NONE
)
case
$nonopt
in
NONE
)
target_alias
=
$host_alias
;;
*
)
target_alias
=
$nonopt
;;
esac
;;
esac
target
=
`
${
CONFIG_SHELL
-/bin/sh
}
$ac_config_sub
$target_alias
`
target_cpu
=
`
echo
$target
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
`
target_vendor
=
`
echo
$target
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
`
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:679: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
NONE
)
case
$nonopt
in
NONE
)
build_alias
=
$host_alias
;;
*
)
build_alias
=
$nonopt
;;
esac
;;
esac
build
=
`
${
CONFIG_SHELL
-/bin/sh
}
$ac_config_sub
$build_alias
`
build_cpu
=
`
echo
$build
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
`
build_vendor
=
`
echo
$build
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
`
build_os
=
`
echo
$build
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'
`
echo
"
$ac_t
""
$build
"
1>&6
test
"
$host_alias
"
!=
"
$target_alias
"
&&
test
"
$program_prefix$program_suffix$program_transform_name
"
=
\
NONENONEs,x,x,
&&
program_prefix
=
${
target_alias
}
-
HAVE_VLC
=
0
if
test
-r
src/interface/main.c
;
then
...
...
@@ -656,7 +718,7 @@ save_CFLAGS="${CFLAGS}"
save_LDFLAGS
=
"
${
LDFLAGS
}
"
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:
660
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:
722
: 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
...
...
@@ -685,7 +747,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:
689
: checking for
$ac_word
"
>
&5
echo
"configure:
751
: 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
...
...
@@ -715,7 +777,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:7
19
: checking for
$ac_word
"
>
&5
echo
"configure:7
81
: 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
...
...
@@ -766,7 +828,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:
770
: checking for
$ac_word
"
>
&5
echo
"configure:
832
: 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
...
...
@@ -798,7 +860,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:8
02
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:8
64
: 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.
...
...
@@ -809,12 +871,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
13
"configure"
#line 8
75
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:8
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:8
80
:
\"
$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
...
...
@@ -840,12 +902,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:
844
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:
906
: 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:
849
: checking whether we are using GNU C"
>
&5
echo
"configure:
911
: 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
...
...
@@ -854,7 +916,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:
858
:
\"
$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:
920
:
\"
$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
...
...
@@ -873,7 +935,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:
877
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:
939
: 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
...
...
@@ -905,7 +967,7 @@ else
fi
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:9
09
: checking how to run the C preprocessor"
>
&5
echo
"configure:9
71
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -920,13 +982,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 9
24
"configure"
#line 9
86
"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:9
30
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:9
92
:
\"
$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
:
...
...
@@ -937,13 +999,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line
941
"configure"
#line
1003
"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:
947
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
1009
:
\"
$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
:
...
...
@@ -954,13 +1016,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line
958
"configure"
#line
1020
"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:
964
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
1026
:
\"
$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
:
...
...
@@ -987,7 +1049,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:
991
: checking for
$ac_word
"
>
&5
echo
"configure:
1053
: 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
...
...
@@ -1027,7 +1089,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:10
31
: checking for a BSD compatible install"
>
&5
echo
"configure:10
93
: 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
...
...
@@ -1082,14 +1144,14 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
if
test
x
${
cross_compiling
}
!=
xyes
;
then
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:1
086
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:1
148
: 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 1
093
"configure"
#line 1
155
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -1100,11 +1162,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:11
04
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:11
66
:
\"
$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 11
08
"configure"
#line 11
70
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -1115,7 +1177,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:11
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:11
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -1135,7 +1197,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 1
139
"configure"
#line 1
201
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -1148,7 +1210,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:1
152
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:1
214
:
\"
$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
...
...
@@ -1176,12 +1238,12 @@ 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
180
: checking for
$ac_func
"
>
&5
echo
"configure:1
242
: 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
185
"configure"
#line 1
247
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1204,7 +1266,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:12
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:12
70
:
\"
$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
...
...
@@ -1231,12 +1293,12 @@ done
for
ac_func
in
setenv putenv
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:12
35
: checking for
$ac_func
"
>
&5
echo
"configure:12
97
: 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
240
"configure"
#line 1
302
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1259,7 +1321,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
263
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
325
:
\"
$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
...
...
@@ -1284,12 +1346,12 @@ fi
done
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:1
288
: checking for connect"
>
&5
echo
"configure:1
350
: 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
293
"configure"
#line 1
355
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -1312,7 +1374,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:13
16
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:13
78
:
\"
$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
...
...
@@ -1331,7 +1393,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:13
35
: checking for connect in -lsocket"
>
&5
echo
"configure:13
97
: 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
...
...
@@ -1339,7 +1401,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
343
"configure"
#line 1
405
"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
...
...
@@ -1350,7 +1412,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:1
354
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
416
:
\"
$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
...
...
@@ -1374,12 +1436,12 @@ fi
fi
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:1
378
: checking for gethostbyname"
>
&5
echo
"configure:1
440
: 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
383
"configure"
#line 1
445
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -1402,7 +1464,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:14
06
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:14
68
:
\"
$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
...
...
@@ -1421,7 +1483,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:14
25
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:14
87
: 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
...
...
@@ -1429,7 +1491,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
33
"configure"
#line 14
95
"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
...
...
@@ -1440,7 +1502,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:1
444
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
506
:
\"
$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
...
...
@@ -1464,12 +1526,12 @@ fi
fi
echo
$ac_n
"checking for nanosleep""...
$ac_c
"
1>&6
echo
"configure:1
468
: checking for nanosleep"
>
&5
echo
"configure:1
530
: 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 1
473
"configure"
#line 1
535
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char nanosleep(); below. */
...
...
@@ -1492,7 +1554,7 @@ nanosleep();
; return 0; }
EOF
if
{
(
eval echo
configure:1
496
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
558
:
\"
$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
...
...
@@ -1511,7 +1573,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for nanosleep in -lrt""...
$ac_c
"
1>&6
echo
"configure:15
15
: checking for nanosleep in -lrt"
>
&5
echo
"configure:15
77
: 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
...
...
@@ -1519,7 +1581,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
23
"configure"
#line 15
85
"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
...
...
@@ -1530,7 +1592,7 @@ int main() {
nanosleep()
; return 0; }
EOF
if
{
(
eval echo
configure:15
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:15
96
:
\"
$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
...
...
@@ -1550,7 +1612,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for nanosleep in -lposix4""...
$ac_c
"
1>&6
echo
"configure:1
554
: checking for nanosleep in -lposix4"
>
&5
echo
"configure:1
616
: 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
...
...
@@ -1558,7 +1620,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
562
"configure"
#line 1
624
"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
...
...
@@ -1569,7 +1631,7 @@ int main() {
nanosleep()
; return 0; }
EOF
if
{
(
eval echo
configure:1
573
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
635
:
\"
$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
...
...
@@ -1598,12 +1660,12 @@ fi
for
ac_func
in
usleep
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:16
02
: checking for
$ac_func
"
>
&5
echo
"configure:16
64
: 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 16
07
"configure"
#line 16
69
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1626,7 +1688,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:16
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:16
92
:
\"
$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
...
...
@@ -1651,12 +1713,12 @@ fi
done
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:1
655
: checking for inet_aton"
>
&5
echo
"configure:1
717
: 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 1
660
"configure"
#line 1
722
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -1679,7 +1741,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:1
683
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
745
:
\"
$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
...
...
@@ -1698,7 +1760,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for inet_aton in -lresolv""...
$ac_c
"
1>&6
echo
"configure:17
02
: checking for inet_aton in -lresolv"
>
&5
echo
"configure:17
64
: 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
...
...
@@ -1706,7 +1768,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lresolv
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
10
"configure"
#line 17
72
"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
...
...
@@ -1717,7 +1779,7 @@ int main() {
inet_aton()
; return 0; }
EOF
if
{
(
eval echo
configure:17
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:17
83
:
\"
$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
...
...
@@ -1743,12 +1805,12 @@ fi
for
ac_func
in
vasprintf
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1
747
: checking for
$ac_func
"
>
&5
echo
"configure:1
809
: 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
752
"configure"
#line 1
814
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1771,7 +1833,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
775
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
837
:
\"
$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
...
...
@@ -1798,12 +1860,12 @@ done
for
ac_func
in
swab
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:18
02
: checking for
$ac_func
"
>
&5
echo
"configure:18
64
: 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
07
"configure"
#line 18
69
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1826,7 +1888,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:18
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:18
92
:
\"
$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
...
...
@@ -1854,12 +1916,12 @@ done
for
ac_func
in
sigrelse
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1
858
: checking for
$ac_func
"
>
&5
echo
"configure:1
920
: 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
863
"configure"
#line 1
925
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -1882,7 +1944,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:1
886
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
948
:
\"
$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
...
...
@@ -1909,12 +1971,12 @@ done
NEED_GETOPT
=
0
echo
$ac_n
"checking for getopt_long""...
$ac_c
"
1>&6
echo
"configure:19
13
: checking for getopt_long"
>
&5
echo
"configure:19
75
: 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 19
18
"configure"
#line 19
80
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getopt_long(); below. */
...
...
@@ -1937,7 +1999,7 @@ getopt_long();
; return 0; }
EOF
if
{
(
eval echo
configure:
1941
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
2003
:
\"
$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
...
...
@@ -1959,7 +2021,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:
1963
: checking for getopt_long in -lgnugetopt"
>
&5
echo
"configure:
2025
: 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
...
...
@@ -1967,7 +2029,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgnugetopt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line
1971
"configure"
#line
2033
"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
...
...
@@ -1978,7 +2040,7 @@ int main() {
getopt_long()
; return 0; }
EOF
if
{
(
eval echo
configure:
1982
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
2044
:
\"
$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
...
...
@@ -2009,17 +2071,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:20
13
: checking for
$ac_hdr
"
>
&5
echo
"configure:20
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 20
18
"configure"
#line 20
80
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:20
23
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:20
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
*
...
...
@@ -2048,12 +2110,12 @@ done
for
ac_func
in
getpagesize
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
052
: checking for
$ac_func
"
>
&5
echo
"configure:2
114
: 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
057
"configure"
#line 2
119
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2076,7 +2138,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:2
080
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
142
:
\"
$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
...
...
@@ -2101,7 +2163,7 @@ fi
done
echo
$ac_n
"checking for working mmap""...
$ac_c
"
1>&6
echo
"configure:21
05
: checking for working mmap"
>
&5
echo
"configure:21
67
: 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
...
...
@@ -2109,7 +2171,7 @@ else
ac_cv_func_mmap_fixed_mapped
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
13
"configure"
#line 21
75
"configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
...
...
@@ -2252,7 +2314,7 @@ main()
}
EOF
if
{
(
eval echo
configure:2
256
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
318
:
\"
$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
...
...
@@ -2275,12 +2337,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:2
279
: checking return type of signal handlers"
>
&5
echo
"configure:2
341
: 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 2
284
"configure"
#line 2
346
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -2297,7 +2359,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:23
01
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -2316,7 +2378,7 @@ EOF
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:23
20
: checking for dlopen in -ldl"
>
&5
echo
"configure:23
82
: 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
...
...
@@ -2324,7 +2386,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
28
"configure"
#line 23
90
"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
...
...
@@ -2335,7 +2397,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:2
339
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
401
:
\"
$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
...
...
@@ -2356,7 +2418,7 @@ else
fi
echo
$ac_n
"checking for pow in -lm""...
$ac_c
"
1>&6
echo
"configure:2
360
: checking for pow in -lm"
>
&5
echo
"configure:2
422
: 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
...
...
@@ -2364,7 +2426,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
368
"configure"
#line 2
430
"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
...
...
@@ -2375,7 +2437,7 @@ int main() {
pow()
; return 0; }
EOF
if
{
(
eval echo
configure:2
379
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
441
:
\"
$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
...
...
@@ -2399,7 +2461,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:24
03
: checking for pthread_attr_init in -lpthread"
>
&5
echo
"configure:24
65
: 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
...
...
@@ -2407,7 +2469,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
11
"configure"
#line 24
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
...
...
@@ -2418,7 +2480,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:24
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:24
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
...
...
@@ -2441,7 +2503,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
445
: checking for pthread_attr_init in -lpthreads"
>
&5
echo
"configure:2
507
: 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
...
...
@@ -2449,7 +2511,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
453
"configure"
#line 2
515
"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
...
...
@@ -2460,7 +2522,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:2
464
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
526
:
\"
$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
...
...
@@ -2483,7 +2545,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:2
487
: checking for pthread_attr_init in -lc_r"
>
&5
echo
"configure:2
549
: 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
...
...
@@ -2491,7 +2553,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
495
"configure"
#line 2
557
"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
...
...
@@ -2502,7 +2564,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if
{
(
eval echo
configure:25
06
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:25
68
:
\"
$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
...
...
@@ -2525,12 +2587,12 @@ fi
fi
if
test
"x
${
THREAD_LIB
}
"
=
xerror
;
then
echo
$ac_n
"checking for pthread_attr_init""...
$ac_c
"
1>&6
echo
"configure:25
29
: checking for pthread_attr_init"
>
&5
echo
"configure:25
91
: 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 25
34
"configure"
#line 25
96
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_attr_init(); below. */
...
...
@@ -2553,7 +2615,7 @@ pthread_attr_init();
; return 0; }
EOF
if
{
(
eval echo
configure:2
557
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
619
:
\"
$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
...
...
@@ -2576,7 +2638,7 @@ fi
fi
echo
$ac_n
"checking for cthread_fork in -lthreads""...
$ac_c
"
1>&6
echo
"configure:2
580
: checking for cthread_fork in -lthreads"
>
&5
echo
"configure:2
642
: 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
...
...
@@ -2584,7 +2646,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
588
"configure"
#line 2
650
"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
...
...
@@ -2595,7 +2657,7 @@ int main() {
cthread_fork()
; return 0; }
EOF
if
{
(
eval echo
configure:2
599
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
661
:
\"
$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
...
...
@@ -2617,7 +2679,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
21
"configure"
#line 26
83
"configure"
#include "confdefs.h"
#include <pthread.h>
EOF
...
...
@@ -2633,7 +2695,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
37
"configure"
#line 26
99
"configure"
#include "confdefs.h"
#include <strings.h>
EOF
...
...
@@ -2653,17 +2715,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
657
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
719
: 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
662
"configure"
#line 2
724
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
667
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
729
:
\"
$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
*
...
...
@@ -2693,17 +2755,17 @@ for ac_hdr in sys/sockio.h fcntl.h sys/time.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:2
697
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
759
: 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 27
02
"configure"
#line 27
64
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:27
07
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:27
69
:
\"
$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
*
...
...
@@ -2733,17 +2795,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:27
37
: checking for
$ac_hdr
"
>
&5
echo
"configure:27
99
: 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
742
"configure"
#line 2
804
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
747
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
809
:
\"
$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
*
...
...
@@ -2773,17 +2835,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
777
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
839
: 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
782
"configure"
#line 2
844
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
787
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
849
:
\"
$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
*
...
...
@@ -2813,17 +2875,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:28
17
: checking for
$ac_hdr
"
>
&5
echo
"configure:28
79
: 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
22
"configure"
#line 28
84
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:28
27
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:28
89
:
\"
$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
*
...
...
@@ -2853,17 +2915,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:2
857
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
919
: 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
862
"configure"
#line 2
924
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
867
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
929
:
\"
$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
*
...
...
@@ -2894,17 +2956,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:2
898
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
960
: 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
03
"configure"
#line 29
65
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:29
08
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
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
*
...
...
@@ -2933,9 +2995,9 @@ done
CFLAGS
=
"
${
save_CFLAGS
}
-Wall -Werror"
echo
$ac_n
"checking for ntohl in sys/param.h""...
$ac_c
"
1>&6
echo
"configure:29
37
: checking for ntohl in sys/param.h"
>
&5
echo
"configure:29
99
: checking for ntohl in sys/param.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
2939
"configure"
#line
3001
"configure"
#include "confdefs.h"
#include <sys/param.h>
void foo() { int meuh; ntohl(meuh); }
...
...
@@ -2943,7 +3005,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
2947
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
3009
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define NTOHL_IN_SYS_PARAM_H 1
...
...
@@ -2960,16 +3022,16 @@ rm -f conftest*
CFLAGS
=
"
${
save_CFLAGS
}
-finline-limit-20000"
echo
$ac_n
"checking if
\$
CC accepts -finline-limit""...
$ac_c
"
1>&6
echo
"configure:
2964
: checking if
\$
CC accepts -finline-limit"
>
&5
echo
"configure:
3026
: checking if
\$
CC accepts -finline-limit"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
2966
"configure"
#line
3028
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
2973
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
3035
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
save_CFLAGS
=
"
${
save_CFLAGS
}
-finline-limit-20000"
;
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -2982,16 +3044,16 @@ rm -f conftest*
CFLAGS
=
"
${
save_CFLAGS
}
-bundle -undefined suppress"
echo
$ac_n
"checking if
\$
CC accepts -bundle -undefined suppress""...
$ac_c
"
1>&6
echo
"configure:
2986
: checking if
\$
CC accepts -bundle -undefined suppress"
>
&5
echo
"configure:
3048
: checking if
\$
CC accepts -bundle -undefined suppress"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
2988
"configure"
#line
3050
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
2995
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
3057
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
PLCFLAGS
=
"
${
PLCFLAGS
}
-bundle -undefined suppress"
;
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -3004,16 +3066,16 @@ rm -f conftest*
CFLAGS
=
"
${
save_CFLAGS
}
-shared"
echo
$ac_n
"checking if
\$
CC accepts -shared""...
$ac_c
"
1>&6
echo
"configure:30
08
: checking if
\$
CC accepts -shared"
>
&5
echo
"configure:30
70
: checking if
\$
CC accepts -shared"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
10
"configure"
#line 30
72
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:30
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:30
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
PLCFLAGS
=
"
${
PLCFLAGS
}
-shared"
;
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -3028,16 +3090,16 @@ if test x"${SOFLAGS}" = x; then
try_SOFLAGS
=
"-Wl,-soname -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
echo
$ac_n
"checking if linker accepts
${
try_SOFLAGS
}
foo.so.0""...
$ac_c
"
1>&6
echo
"configure:30
32
: checking if linker accepts
${
try_SOFLAGS
}
foo.so.0"
>
&5
echo
"configure:30
94
: checking if linker accepts
${
try_SOFLAGS
}
foo.so.0"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
34
"configure"
#line 30
96
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
041
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
103
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
SOFLAGS
=
"
${
try_SOFLAGS
}
"
;
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -3053,16 +3115,16 @@ if test x"${SOFLAGS}" = x; then
try_SOFLAGS
=
"-Wl,-h -Wl,"
LDFLAGS
=
"
${
save_LDFLAGS
}
${
try_SOFLAGS
}
foo.so.0"
echo
$ac_n
"checking if linker accepts
${
try_SOFLAGS
}
foo.so.0""...
$ac_c
"
1>&6
echo
"configure:3
057
: checking if linker accepts
${
try_SOFLAGS
}
foo.so.0"
>
&5
echo
"configure:3
119
: checking if linker accepts
${
try_SOFLAGS
}
foo.so.0"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
059
"configure"
#line 3
121
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
066
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
128
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
SOFLAGS
=
"
${
try_SOFLAGS
}
"
;
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -3078,9 +3140,9 @@ CFLAGS="${save_CFLAGS}"
LDFLAGS
=
"
${
save_LDFLAGS
}
"
echo
$ac_n
"checking for boolean_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:3
082
: checking for boolean_t in sys/types.h"
>
&5
echo
"configure:3
144
: checking for boolean_t in sys/types.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
084
"configure"
#line 3
146
"configure"
#include "confdefs.h"
#include <sys/types.h>
void quux() { boolean_t foo; }
...
...
@@ -3088,7 +3150,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
092
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
154
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define BOOLEAN_T_IN_SYS_TYPES_H 1
...
...
@@ -3103,9 +3165,9 @@ else
fi
rm
-f
conftest
*
echo
$ac_n
"checking for boolean_t in pthread.h""...
$ac_c
"
1>&6
echo
"configure:31
07
: checking for boolean_t in pthread.h"
>
&5
echo
"configure:31
69
: checking for boolean_t in pthread.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
09
"configure"
#line 31
71
"configure"
#include "confdefs.h"
#include <pthread.h>
void quux() { boolean_t foo; }
...
...
@@ -3113,7 +3175,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:31
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define BOOLEAN_T_IN_PTHREAD_H 1
...
...
@@ -3128,9 +3190,9 @@ else
fi
rm
-f
conftest
*
echo
$ac_n
"checking for boolean_t in cthreads.h""...
$ac_c
"
1>&6
echo
"configure:31
32
: checking for boolean_t in cthreads.h"
>
&5
echo
"configure:31
94
: checking for boolean_t in cthreads.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
34
"configure"
#line 31
96
"configure"
#include "confdefs.h"
#include <cthreads.h>
void quux() { boolean_t foo; }
...
...
@@ -3138,7 +3200,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
142
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
204
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define BOOLEAN_T_IN_CTHREADS_H 1
...
...
@@ -3154,12 +3216,12 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:3
158
: checking for working const"
>
&5
echo
"configure:3
220
: 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
163
"configure"
#line 3
225
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -3208,7 +3270,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:32
12
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:32
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -3229,12 +3291,12 @@ EOF
fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:32
33
: checking for ANSI C header files"
>
&5
echo
"configure:32
95
: 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 3
238
"configure"
#line 3
300
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -3242,7 +3304,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
246
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
308
:
\"
$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
*
...
...
@@ -3259,7 +3321,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
263
"configure"
#line 3
325
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -3277,7 +3339,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
281
"configure"
#line 3
343
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -3298,7 +3360,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
02
"configure"
#line 33
64
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -3309,7 +3371,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:33
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:33
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -3333,12 +3395,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:33
37
: checking for size_t"
>
&5
echo
"configure:33
99
: 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 3
342
"configure"
#line 3
404
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -3366,12 +3428,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
370
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:3
432
: 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
375
"configure"
#line 3
437
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -3380,7 +3442,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:3
384
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
446
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -3402,21 +3464,21 @@ fi
echo
$ac_n
"checking __attribute__ ((aligned ())) support""...
$ac_c
"
1>&6
echo
"configure:34
06
: checking __attribute__ ((aligned ())) support"
>
&5
echo
"configure:34
68
: 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 34
13
"configure"
#line 34
75
"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:34
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:34
82
:
\"
$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
...
...
@@ -3437,7 +3499,7 @@ fi
ARCH
=
${
hos
t_cpu
}
ARCH
=
${
targe
t_cpu
}
BUILTINS
=
"
${
BUILTINS
}
es ps ts yuv idct idctclassic motion imdct downmix"
PLUGINS
=
"
${
PLUGINS
}
"
...
...
@@ -3449,114 +3511,154 @@ SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec"
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
"configure:3453: checking if
\$
CC groks MMX inline assembly"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3455 "configure"
echo
"configure:3515: 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 3520 "configure"
#include "confdefs.h"
void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
462
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
527
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
MMX_MODULES
}
"
echo
"
$ac_t
""yes"
1>&6
ac_cv_mmx_inline
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ac_cv_mmx_inline
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_mmx_inline
"
1>&6
if
test
x
"
$ac_cv_mmx_inline
"
!=
x
"no"
;
then
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
MMX_MODULES
}
"
fi
echo
$ac_n
"checking if
\$
CC groks MMX EXT inline assembly""...
$ac_c
"
1>&6
echo
"configure:3475: checking if
\$
CC groks MMX EXT inline assembly"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3477 "configure"
echo
"configure:3545: 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 3550 "configure"
#include "confdefs.h"
void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
484
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
557
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
MMXEXT_MODULES
}
"
echo
"
$ac_t
""yes"
1>&6
ac_cv_mmxext_inline
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ac_cv_mmxext_inline
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_mmxext_inline
"
1>&6
if
test
x
"
$ac_cv_mmxext_inline
"
!=
x
"no"
;
then
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
MMXEXT_MODULES
}
"
fi
echo
$ac_n
"checking if
\$
CC groks 3D Now! inline assembly""...
$ac_c
"
1>&6
echo
"configure:3497: checking if
\$
CC groks 3D Now! inline assembly"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3499 "configure"
echo
"configure:3575: 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 3580 "configure"
#include "confdefs.h"
void quux(){void *p;asm("pfadd %%mm1,%%mm2"::"r"(p));}
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:35
06
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:35
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
THREEDNOW_MODULES
}
"
echo
"
$ac_t
""yes"
1>&6
ac_cv_3dnow_inline
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ac_cv_3dnow_inline
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_3dnow_inline
"
1>&6
if
test
x
"
$ac_cv_3dnow_inline
"
!=
x
"no"
;
then
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
THREEDNOW_MODULES
}
"
fi
echo
$ac_n
"checking if
\$
CC groks SSE inline assembly""...
$ac_c
"
1>&6
echo
"configure:3519: checking if
\$
CC groks SSE inline assembly"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3521 "configure"
echo
"configure:3605: 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 3610 "configure"
#include "confdefs.h"
void quux(){void *p;asm("xorps %%xmm1,%%xmm2"::"r"(p));}
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
528
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
617
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
SSE_MODULES
}
"
echo
"
$ac_t
""yes"
1>&6
ac_cv_sse_inline
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ac_cv_sse_inline
=
no
fi
rm
-f
conftest
*
fi
echo
$ac_n
"checking if
\$
CC groks Altivec code""...
$ac_c
"
1>&6
echo
"configure:3541: checking if
\$
CC groks Altivec code"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3543 "configure"
echo
"
$ac_t
""
$ac_cv_sse_inline
"
1>&6
if
test
x
"
$ac_cv_sse_inline
"
!=
x
"no"
;
then
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
SSE_MODULES
}
"
fi
echo
$ac_n
"checking if
\$
CC groks Altivec inline assembly""...
$ac_c
"
1>&6
echo
"configure:3635: 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 3640 "configure"
#include "confdefs.h"
void quux(){
vec_mtvscr( (vector unsigned int)(0)
);}
void quux(){
asm("mtspr 256,%0"::"r"(-1)
);}
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
550
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
647
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
ALTIVEC_MODULES
}
"
echo
"
$ac_t
""yes"
1>&6
ac_cv_altivec_inline
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ac_cv_altivec_inline
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_altivec_inline
"
1>&6
if
test
x
"
$ac_cv_altivec_inline
"
!=
x
"no"
;
then
ACCEL_MODULES
=
"
${
ACCEL_MODULES
}
${
ALTIVEC_MODULES
}
"
fi
CAN_BUILD_LIBDVDCSS
=
0
...
...
@@ -3565,17 +3667,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:3
569
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
671
: 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 3
574
"configure"
#line 3
676
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
579
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
681
:
\"
$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
*
...
...
@@ -3608,17 +3710,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:3
612
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
714
: 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 3
617
"configure"
#line 3
719
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
622
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
724
:
\"
$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
*
...
...
@@ -3644,17 +3746,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
648
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
750
: 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 3
653
"configure"
#line 3
755
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
658
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
760
:
\"
$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
*
...
...
@@ -3683,7 +3785,7 @@ done
BSD_DVD_STRUCT
=
0
LINUX_DVD_STRUCT
=
0
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
687
"configure"
#line 3
789
"configure"
#include "confdefs.h"
#include <sys/dvdio.h>
EOF
...
...
@@ -3701,7 +3803,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
705
"configure"
#line 3
807
"configure"
#include "confdefs.h"
#include <sys/cdio.h>
EOF
...
...
@@ -3719,7 +3821,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
723
"configure"
#line 3
825
"configure"
#include "confdefs.h"
#include <linux/cdrom.h>
EOF
...
...
@@ -3738,7 +3840,7 @@ rm -f conftest*
NEED_BSDI_LIBDVD
=
0
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
742
"configure"
#line 3
844
"configure"
#include "confdefs.h"
#include <dvd.h>
EOF
...
...
@@ -3760,17 +3862,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
764
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
866
: 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 3
769
"configure"
#line 3
871
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
774
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
876
:
\"
$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
*
...
...
@@ -3810,17 +3912,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:3
814
: checking for sys/scsi/scsi_types.h"
>
&5
echo
"configure:3
916
: 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 3
819
"configure"
#line 3
921
"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:3
824
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
926
:
\"
$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
*
...
...
@@ -3839,17 +3941,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:3
843
: checking for sys/scsi/impl/uscsi.h"
>
&5
echo
"configure:3
945
: 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 3
848
"configure"
#line 3
950
"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:3
853
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
955
:
\"
$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
*
...
...
@@ -3901,7 +4003,7 @@ done
case
${
host
_os
}
in
case
${
_os
}
in
bsdi
*
)
SYS
=
bsdi
;;
...
...
@@ -3909,7 +4011,7 @@ case ${host_os} in
SYS
=
darwin
;;
*
)
SYS
=
${
hos
t_os
}
SYS
=
${
targe
t_os
}
;;
esac
...
...
@@ -3918,7 +4020,7 @@ if test "${enable_ppro+set}" = set; then
enableval
=
"
$enable_ppro
"
if
test
x
$enableval
=
xyes
;
then
ARCH
=
"
${
ARCH
}
ppro"
;
fi
else
if
test
x
$
{
host_cpu
}
=
xi686
;
then
ARCH
=
"
${
ARCH
}
ppro"
;
fi
if
test
x
$
ARCH
=
xi686
;
then
ARCH
=
"
${
ARCH
}
ppro"
;
fi
fi
...
...
@@ -3928,7 +4030,7 @@ if test "${enable_mmx+set}" = set; then
if
test
x
$enableval
=
xyes
;
then
ARCH
=
"
${
ARCH
}
mmx"
;
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
else
if
test
x
${
host_cpu
}
=
xi686
-o
x
${
host_cpu
}
=
xi586
-o
x
${
host_cpu
}
=
xx86
-o
x
${
hos
t_cpu
}
=
xi386
;
then
ARCH
=
"
${
ARCH
}
mmx"
;
if
test
x
${
target_cpu
}
=
xi686
-o
x
${
target_cpu
}
=
xi586
-o
x
${
target_cpu
}
=
xx86
-o
x
${
targe
t_cpu
}
=
xi386
;
then
ARCH
=
"
${
ARCH
}
mmx"
;
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
fi
...
...
@@ -3939,7 +4041,7 @@ if test "${enable_altivec+set}" = set; then
if
test
x
$enableval
=
xyes
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
else
if
test
x
${
hos
t_cpu
}
=
xpowerpc
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
if
test
x
${
targe
t_cpu
}
=
xpowerpc
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
fi
...
...
@@ -4003,7 +4105,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
007
: checking for pth_init in -lpth"
>
&5
echo
"configure:4
109
: 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
...
...
@@ -4011,7 +4113,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpth
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
015
"configure"
#line 4
117
"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
...
...
@@ -4022,7 +4124,7 @@ int main() {
pth_init()
; return 0; }
EOF
if
{
(
eval echo
configure:4
026
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
128
:
\"
$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
...
...
@@ -4050,7 +4152,7 @@ else
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
054
"configure"
#line 4
156
"configure"
#include "confdefs.h"
#include <pth.h>
EOF
...
...
@@ -4214,7 +4316,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
218
: checking for
$ac_word
"
>
&5
echo
"configure:4
320
: 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
...
...
@@ -4282,17 +4384,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
286
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
388
: 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
291
"configure"
#line 4
393
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
296
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
398
:
\"
$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
*
...
...
@@ -4338,17 +4440,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
342
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
444
: 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
347
"configure"
#line 4
449
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
352
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
454
:
\"
$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
*
...
...
@@ -4426,7 +4528,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
430
: checking for
$ac_word
"
>
&5
echo
"configure:4
532
: 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
...
...
@@ -4466,7 +4568,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:4
470
: checking for
$ac_word
"
>
&5
echo
"configure:4
572
: 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
...
...
@@ -4507,7 +4609,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
511
: checking for
$ac_word
"
>
&5
echo
"configure:4
613
: 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
...
...
@@ -4553,17 +4655,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
557
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
659
: 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
562
"configure"
#line 4
664
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
567
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
669
:
\"
$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
*
...
...
@@ -4626,17 +4728,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:4
630
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
732
: 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
635
"configure"
#line 4
737
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
640
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
742
:
\"
$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
*
...
...
@@ -4675,17 +4777,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
679
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
781
: 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
684
"configure"
#line 4
786
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
689
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
791
:
\"
$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
*
...
...
@@ -4782,7 +4884,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:4
786
: checking for
$ac_word
"
>
&5
echo
"configure:4
888
: 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
...
...
@@ -4827,17 +4929,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
831
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
933
: 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
836
"configure"
#line 4
938
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
841
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
943
:
\"
$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
*
...
...
@@ -4887,7 +4989,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:4
891
: checking for
$ac_word
"
>
&5
echo
"configure:4
993
: 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
...
...
@@ -4932,17 +5034,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
4936
: checking for
$ac_hdr
"
>
&5
echo
"configure:
5038
: 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
4941
"configure"
#line
5043
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
4946
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
5048
:
\"
$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
*
...
...
@@ -4993,17 +5095,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:
4997
: checking for
$ac_hdr
"
>
&5
echo
"configure:
5099
: 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
002
"configure"
#line 5
104
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
007
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
109
:
\"
$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
*
...
...
@@ -5055,17 +5157,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:5
059
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
161
: 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
064
"configure"
#line 5
166
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
069
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
171
:
\"
$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
*
...
...
@@ -5105,17 +5207,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
109
: checking for sys/asoundlib.h"
>
&5
echo
"configure:5
211
: 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
114
"configure"
#line 5
216
"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
119
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
221
:
\"
$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
*
...
...
@@ -5132,7 +5234,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
136
: checking for main in -lasound"
>
&5
echo
"configure:5
238
: 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
...
...
@@ -5140,14 +5242,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
144
"configure"
#line 5
246
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:5
151
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
253
:
\"
$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
...
...
@@ -5381,6 +5483,16 @@ s%@host_alias@%$host_alias%g
s%@host_cpu@%
$host_cpu
%g
s%@host_vendor@%
$host_vendor
%g
s%@host_os@%
$host_os
%g
s%@target@%
$target
%g
s%@target_alias@%
$target_alias
%g
s%@target_cpu@%
$target_cpu
%g
s%@target_vendor@%
$target_vendor
%g
s%@target_os@%
$target_os
%g
s%@build@%
$build
%g
s%@build_alias@%
$build_alias
%g
s%@build_cpu@%
$build_cpu
%g
s%@build_vendor@%
$build_vendor
%g
s%@build_os@%
$build_os
%g
s%@VLC_VERSION@%
$VLC_VERSION
%g
s%@VLC_CODENAME@%
$VLC_CODENAME
%g
s%@LIBDVDCSS_VERSION@%
$LIBDVDCSS_VERSION
%g
...
...
configure.in
View file @
8ed3168e
...
...
@@ -2,7 +2,7 @@ dnl Autoconf settings for vlc and libdvdcss
AC_INIT(include/common.h)
AC_CONFIG_HEADER(include/defs.h)
AC_CANONICAL_
HOST
AC_CANONICAL_
SYSTEM
HAVE_VLC=0
if test -r src/interface/main.c; then
...
...
@@ -203,7 +203,7 @@ fi
ARCH=${
hos
t_cpu}
ARCH=${
targe
t_cpu}
dnl
dnl default modules
...
...
@@ -220,30 +220,45 @@ THREEDNOW_MODULES="imdct3dn downmix3dn"
SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES="idctaltivec motionaltivec"
AC_MSG_CHECKING([if \$CC groks MMX inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}],,
AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
[ac_cv_mmx_inline],
[AC_TRY_COMPILE([void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}],,
ac_cv_mmx_inline=yes, ac_cv_mmx_inline=no)])
if test x"$ac_cv_mmx_inline" != x"no"; then
ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
fi
AC_MSG_CHECKING([if \$CC groks MMX EXT inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}],,
AC_CACHE_CHECK([if \$CC groks MMX EXT inline assembly],
[ac_cv_mmxext_inline],
[AC_TRY_COMPILE([void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}],,
ac_cv_mmxext_inline=yes, ac_cv_mmxext_inline=no)])
if test x"$ac_cv_mmxext_inline" != x"no"; then
ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
fi
AC_MSG_CHECKING([if \$CC groks 3D Now! inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("pfadd %%mm1,%%mm2"::"r"(p));}],,
AC_CACHE_CHECK([if \$CC groks 3D Now! inline assembly],
[ac_cv_3dnow_inline],
[AC_TRY_COMPILE([void quux(){void *p;asm("pfadd %%mm1,%%mm2"::"r"(p));}],,
ac_cv_3dnow_inline=yes, ac_cv_3dnow_inline=no)])
if test x"$ac_cv_3dnow_inline" != x"no"; then
ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
fi
AC_MSG_CHECKING([if \$CC groks SSE inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("xorps %%xmm1,%%xmm2"::"r"(p));}],,
AC_CACHE_CHECK([if \$CC groks SSE inline assembly],
[ac_cv_sse_inline],
[AC_TRY_COMPILE([void quux(){void *p;asm("xorps %%xmm1,%%xmm2"::"r"(p));}],,
ac_cv_sse_inline=yes, ac_cv_sse_inline=no)])
if test x"$ac_cv_sse_inline" != x"no"; then
ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
fi
AC_MSG_CHECKING([if \$CC groks Altivec code])
AC_TRY_COMPILE([void quux(){vec_mtvscr( (vector unsigned int)(0) );}],,
AC_CACHE_CHECK([if \$CC groks Altivec inline assembly],
[ac_cv_altivec_inline],
[AC_TRY_COMPILE([void quux(){asm("mtspr 256,%0"::"r"(-1));}],,
ac_cv_altivec_inline=yes, ac_cv_altivec_inline=no)])
if test x"$ac_cv_altivec_inline" != x"no"; then
ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
fi
dnl
dnl libdvdcss: check for DVD ioctls
...
...
@@ -334,7 +349,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
dnl
dnl Check the operating system
dnl
case ${
host
_os} in
case ${_os} in
bsdi*)
SYS=bsdi
;;
...
...
@@ -342,7 +357,7 @@ case ${host_os} in
SYS=darwin
;;
*)
SYS=${
hos
t_os}
SYS=${
targe
t_os}
;;
esac
...
...
@@ -352,7 +367,7 @@ dnl
AC_ARG_ENABLE(ppro,
[ --disable-ppro Disable PentiumPro optimizations (default enabled for x86)],
[ if test x$enableval = xyes; then ARCH="${ARCH} ppro"; fi ],
[ if test x$
{host_cpu}
= xi686; then ARCH="${ARCH} ppro"; fi ])
[ if test x$
ARCH
= xi686; then ARCH="${ARCH} ppro"; fi ])
dnl
dnl MMX acceleration
...
...
@@ -361,7 +376,7 @@ AC_ARG_ENABLE(mmx,
[ --disable-mmx Disable MMX optimizations (default enabled for x86)],
[ if test x$enableval = xyes; then ARCH="${ARCH} mmx";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ],
[ if test x${
host_cpu} = xi686 -o x${host_cpu} = xi586 -o x${host_cpu} = xx86 -o x${hos
t_cpu} = xi386; then ARCH="${ARCH} mmx";
[ if test x${
target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xx86 -o x${targe
t_cpu} = xi386; then ARCH="${ARCH} mmx";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ])
dnl
...
...
@@ -371,7 +386,7 @@ AC_ARG_ENABLE(altivec,
[ --disable-altivec Disable altivec optimizations (default enabled on PPC)],
[ if test x$enableval = xyes; then ARCH="${ARCH} altivec";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ],
[ if test x${
hos
t_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
[ if test x${
targe
t_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ])
dnl
...
...
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