Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
87f48fcc
Commit
87f48fcc
authored
Jun 19, 2001
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jun 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for autoconf 2.50.
parent
8f750d5c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3045 additions
and
374 deletions
+3045
-374
configure
configure
+311
-373
configure.in
configure.in
+0
-1
config.guess
tools/config.guess
+1359
-0
config.sub
tools/config.sub
+1375
-0
No files found.
configure
View file @
87f48fcc
...
...
@@ -1937,72 +1937,10 @@ then
echo
" Please install the 'flex' package."
exit
1
fi
echo
$ac_n
"checking lex output file root""...
$ac_c
"
1>&6
echo
"configure:1942: checking lex output file root"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_lex_root
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
# The minimal lex program is just a single line: %%. But some broken lexes
# (Solaris, I think it was) want two %% lines, so accommodate them.
echo
'%%
%%'
|
$LEX
if
test
-f
lex.yy.c
;
then
ac_cv_prog_lex_root
=
lex.yy
elif
test
-f
lexyy.c
;
then
ac_cv_prog_lex_root
=
lexyy
else
{
echo
"configure: error: cannot find output from
$LEX
; giving up"
1>&2
;
exit
1
;
}
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_lex_root
"
1>&6
LEX_OUTPUT_ROOT
=
$ac_cv_prog_lex_root
echo
$ac_n
"checking whether yytext is a pointer""...
$ac_c
"
1>&6
echo
"configure:1963: checking whether yytext is a pointer"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_lex_yytext_pointer
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
# POSIX says lex can declare yytext either as a pointer or an array; the
# default is implementation-dependent. Figure out which it is, since
# not all implementations provide the %pointer and %array declarations.
ac_cv_prog_lex_yytext_pointer
=
no
echo
'extern char *yytext;'
>>
$LEX_OUTPUT_ROOT
.c
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$LEXLIB
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1975 "configure"
#include "confdefs.h"
`cat
$LEX_OUTPUT_ROOT
.c`
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:1982:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_prog_lex_yytext_pointer
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
rm
-f
"
${
LEX_OUTPUT_ROOT
}
.c"
fi
echo
"
$ac_t
""
$ac_cv_prog_lex_yytext_pointer
"
1>&6
if
test
$ac_cv_prog_lex_yytext_pointer
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
#define YYTEXT_POINTER 1
EOF
fi
# 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:
2006
: checking for
$ac_word
"
>
&5
echo
"configure:
1944
: 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
...
...
@@ -2041,7 +1979,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:
2045
: checking for a BSD compatible install"
>
&5
echo
"configure:
1983
: 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
...
...
@@ -2094,7 +2032,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:20
98
: checking whether ln -s works"
>
&5
echo
"configure:20
36
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2117,7 +2055,7 @@ fi
# Extract the first word of "c2man", so it can be a program name with args.
set
dummy c2man
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
121
: checking for
$ac_word
"
>
&5
echo
"configure:2
059
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_C2MAN
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2147,7 +2085,7 @@ fi
# Extract the first word of "ldconfig", so it can be a program name with args.
set
dummy ldconfig
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
151
: checking for
$ac_word
"
>
&5
echo
"configure:2
089
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_LDCONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2181,12 +2119,12 @@ else
fi
echo
$ac_n
"checking for Cygwin environment""...
$ac_c
"
1>&6
echo
"configure:21
85
: checking for Cygwin environment"
>
&5
echo
"configure:21
23
: checking for Cygwin environment"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cygwin
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
90
"configure"
#line 21
28
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -2197,7 +2135,7 @@ int main() {
return __CYGWIN__;
; return 0; }
EOF
if
{
(
eval echo
configure:2
201
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
139
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_cygwin
=
yes
else
...
...
@@ -2216,7 +2154,7 @@ test "$ac_cv_cygwin" = yes && CYGWIN=yes
# Extract the first word of "dllwrap", so it can be a program name with args.
set
dummy dllwrap
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
220
: checking for
$ac_word
"
>
&5
echo
"configure:2
158
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_DLLWRAP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2249,7 +2187,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
253
: checking for
$ac_word
"
>
&5
echo
"configure:2
191
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LINT
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2295,7 +2233,7 @@ fi
echo
$ac_n
"checking for sqrt in -lm""...
$ac_c
"
1>&6
echo
"configure:22
99
: checking for sqrt in -lm"
>
&5
echo
"configure:22
37
: checking for sqrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
sqrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2303,7 +2241,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
307
"configure"
#line 2
245
"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
...
...
@@ -2314,7 +2252,7 @@ int main() {
sqrt()
; return 0; }
EOF
if
{
(
eval echo
configure:2
318
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
256
:
\"
$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
...
...
@@ -2342,7 +2280,7 @@ else
fi
echo
$ac_n
"checking for i386_set_ldt in -li386""...
$ac_c
"
1>&6
echo
"configure:2
346
: checking for i386_set_ldt in -li386"
>
&5
echo
"configure:2
284
: checking for i386_set_ldt in -li386"
>
&5
ac_lib_var
=
`
echo
i386
'_'
i386_set_ldt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2350,7 +2288,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-li386
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
354
"configure"
#line 2
292
"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
...
...
@@ -2361,7 +2299,7 @@ int main() {
i386_set_ldt()
; return 0; }
EOF
if
{
(
eval echo
configure:23
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:23
03
:
\"
$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
...
...
@@ -2389,7 +2327,7 @@ else
fi
echo
$ac_n
"checking for _oss_ioctl in -lossaudio""...
$ac_c
"
1>&6
echo
"configure:23
93
: checking for _oss_ioctl in -lossaudio"
>
&5
echo
"configure:23
31
: checking for _oss_ioctl in -lossaudio"
>
&5
ac_lib_var
=
`
echo
ossaudio
'_'
_oss_ioctl |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2397,7 +2335,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lossaudio
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
401
"configure"
#line 2
339
"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
...
...
@@ -2408,7 +2346,7 @@ int main() {
_oss_ioctl()
; return 0; }
EOF
if
{
(
eval echo
configure:2
412
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
350
:
\"
$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
...
...
@@ -2438,12 +2376,12 @@ fi
for
ac_func
in
iswalnum
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
442
: checking for
$ac_func
"
>
&5
echo
"configure:2
380
: 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
447
"configure"
#line 2
385
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2466,7 +2404,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:24
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:24
08
:
\"
$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
...
...
@@ -2488,7 +2426,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for iswalnum in -lw""...
$ac_c
"
1>&6
echo
"configure:24
92
: checking for iswalnum in -lw"
>
&5
echo
"configure:24
30
: checking for iswalnum in -lw"
>
&5
ac_lib_var
=
`
echo
w
'_'
iswalnum |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2496,7 +2434,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lw
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
500
"configure"
#line 2
438
"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
...
...
@@ -2507,7 +2445,7 @@ int main() {
iswalnum()
; return 0; }
EOF
if
{
(
eval echo
configure:2
511
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
449
:
\"
$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
...
...
@@ -2540,12 +2478,12 @@ done
for
ac_func
in
gethostbyname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
544
: checking for
$ac_func
"
>
&5
echo
"configure:2
482
: 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
549
"configure"
#line 2
487
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2568,7 +2506,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:25
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:25
10
:
\"
$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
...
...
@@ -2590,7 +2528,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:25
94
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:25
32
: 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
...
...
@@ -2598,7 +2536,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
602
"configure"
#line 2
540
"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
...
...
@@ -2609,7 +2547,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:2
613
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
551
:
\"
$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
...
...
@@ -2642,12 +2580,12 @@ done
for
ac_func
in
connect
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
646
: checking for
$ac_func
"
>
&5
echo
"configure:2
584
: 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
651
"configure"
#line 2
589
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2670,7 +2608,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:26
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:26
12
:
\"
$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
...
...
@@ -2692,7 +2630,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:26
96
: checking for connect in -lsocket"
>
&5
echo
"configure:26
34
: 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
...
...
@@ -2700,7 +2638,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
704
"configure"
#line 2
642
"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
...
...
@@ -2711,7 +2649,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:2
715
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
653
:
\"
$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
...
...
@@ -2742,7 +2680,7 @@ fi
done
echo
$ac_n
"checking for _xpg4_setrunelocale in -lxpg4""...
$ac_c
"
1>&6
echo
"configure:2
746
: checking for _xpg4_setrunelocale in -lxpg4"
>
&5
echo
"configure:2
684
: checking for _xpg4_setrunelocale in -lxpg4"
>
&5
ac_lib_var
=
`
echo
xpg4
'_'
_xpg4_setrunelocale |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2750,7 +2688,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lxpg4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
754
"configure"
#line 2
692
"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
...
...
@@ -2761,7 +2699,7 @@ int main() {
_xpg4_setrunelocale()
; return 0; }
EOF
if
{
(
eval echo
configure:27
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
03
:
\"
$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
...
...
@@ -2789,7 +2727,7 @@ else
fi
echo
$ac_n
"checking for mmap in -lmmap""...
$ac_c
"
1>&6
echo
"configure:27
93
: checking for mmap in -lmmap"
>
&5
echo
"configure:27
31
: checking for mmap in -lmmap"
>
&5
ac_lib_var
=
`
echo
mmap
'_'
mmap |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2797,7 +2735,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmmap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
801
"configure"
#line 2
739
"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
...
...
@@ -2808,7 +2746,7 @@ int main() {
mmap()
; return 0; }
EOF
if
{
(
eval echo
configure:2
812
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
750
:
\"
$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
...
...
@@ -2838,12 +2776,12 @@ fi
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
842
: checking for
$ac_func
"
>
&5
echo
"configure:2
780
: 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
847
"configure"
#line 2
785
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2866,7 +2804,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:28
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:28
08
:
\"
$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
...
...
@@ -2888,7 +2826,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:28
92
: checking for openpty in -lutil"
>
&5
echo
"configure:28
30
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2896,7 +2834,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
900
"configure"
#line 2
838
"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
...
...
@@ -2907,7 +2845,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:2
911
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
849
:
\"
$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
...
...
@@ -2940,17 +2878,17 @@ for ac_hdr in dlfcn.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:2
944
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
882
: 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
949
"configure"
#line 2
887
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
954
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
892
:
\"
$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
*
...
...
@@ -2973,12 +2911,12 @@ EOF
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:29
77
: checking for
$ac_func
"
>
&5
echo
"configure:29
15
: 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 29
82
"configure"
#line 29
20
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3001,7 +2939,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
3005
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
2943
:
\"
$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
...
...
@@ -3026,7 +2964,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:
3030
: checking for dlopen in -ldl"
>
&5
echo
"configure:
2968
: 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
...
...
@@ -3034,7 +2972,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line
3038
"configure"
#line
2976
"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
...
...
@@ -3045,7 +2983,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:
3049
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
2987
:
\"
$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
...
...
@@ -3105,17 +3043,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
109
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
047
: 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
114
"configure"
#line 3
052
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
119
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
057
:
\"
$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
*
...
...
@@ -3136,7 +3074,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XpmCreatePixmapFromData in -lXpm""...
$ac_c
"
1>&6
echo
"configure:3
140
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
echo
"configure:3
078
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
ac_lib_var
=
`
echo
Xpm
'_'
XpmCreatePixmapFromData |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3145,7 +3083,7 @@ else
LIBS
=
"-lXpm
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
149
"configure"
#line 3
087
"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
...
...
@@ -3156,7 +3094,7 @@ int main() {
XpmCreatePixmapFromData()
; return 0; }
EOF
if
{
(
eval echo
configure:3
160
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
098
:
\"
$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
...
...
@@ -3201,17 +3139,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
205
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
143
: 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
210
"configure"
#line 3
148
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
215
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
153
:
\"
$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
*
...
...
@@ -3236,17 +3174,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
240
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
178
: 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
245
"configure"
#line 3
183
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
250
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
188
:
\"
$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
*
...
...
@@ -3267,7 +3205,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XkbQueryExtension in -lX11""...
$ac_c
"
1>&6
echo
"configure:32
71
: checking for XkbQueryExtension in -lX11"
>
&5
echo
"configure:32
09
: checking for XkbQueryExtension in -lX11"
>
&5
ac_lib_var
=
`
echo
X11
'_'
XkbQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3275,7 +3213,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lX11
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
79
"configure"
#line 32
17
"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
...
...
@@ -3286,7 +3224,7 @@ int main() {
XkbQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:32
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
28
:
\"
$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
...
...
@@ -3322,17 +3260,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
326
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
264
: 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
331
"configure"
#line 3
269
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
336
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
274
:
\"
$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
*
...
...
@@ -3353,7 +3291,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XShmQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
"configure:3
357
: checking for XShmQueryExtension in -lXext"
>
&5
echo
"configure:3
295
: checking for XShmQueryExtension in -lXext"
>
&5
ac_lib_var
=
`
echo
Xext
'_'
XShmQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3361,7 +3299,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
65
"configure"
#line 33
03
"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
...
...
@@ -3372,7 +3310,7 @@ int main() {
XShmQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:33
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
14
:
\"
$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
...
...
@@ -3408,17 +3346,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
412
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
350
: 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
417
"configure"
#line 3
355
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
422
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
360
:
\"
$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
*
...
...
@@ -3439,7 +3377,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XShapeQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
"configure:3
443
: checking for XShapeQueryExtension in -lXext"
>
&5
echo
"configure:3
381
: checking for XShapeQueryExtension in -lXext"
>
&5
ac_lib_var
=
`
echo
Xext
'_'
XShapeQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3447,7 +3385,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
451
"configure"
#line 3
389
"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
...
...
@@ -3458,7 +3396,7 @@ int main() {
XShapeQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:34
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
00
:
\"
$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
...
...
@@ -3494,17 +3432,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:34
98
: checking for
$ac_hdr
"
>
&5
echo
"configure:34
36
: 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
503
"configure"
#line 3
441
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
508
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
446
:
\"
$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
*
...
...
@@ -3525,7 +3463,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XDGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:3
529
: checking for XDGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:3
467
: checking for XDGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XDGAQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3534,7 +3472,7 @@ else
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
538
"configure"
#line 3
476
"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
...
...
@@ -3545,7 +3483,7 @@ int main() {
XDGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:3
549
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
487
:
\"
$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
...
...
@@ -3573,7 +3511,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:35
77
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:35
15
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XF86DGAQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3582,7 +3520,7 @@ else
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
86
"configure"
#line 35
24
"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
...
...
@@ -3593,7 +3531,7 @@ int main() {
XF86DGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:35
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
35
:
\"
$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
...
...
@@ -3634,17 +3572,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
638
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
576
: 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
643
"configure"
#line 3
581
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
648
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
586
:
\"
$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
*
...
...
@@ -3665,7 +3603,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XF86VidModeQueryExtension in -lXxf86vm""...
$ac_c
"
1>&6
echo
"configure:36
69
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
echo
"configure:36
07
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
ac_lib_var
=
`
echo
Xxf86vm
'_'
XF86VidModeQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3674,7 +3612,7 @@ else
LIBS
=
"-lXxf86vm
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
78
"configure"
#line 36
16
"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
...
...
@@ -3685,7 +3623,7 @@ int main() {
XF86VidModeQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:36
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
27
:
\"
$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
...
...
@@ -3723,17 +3661,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
727
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
665
: 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
732
"configure"
#line 3
670
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
737
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
675
:
\"
$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
*
...
...
@@ -3754,7 +3692,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XvShmCreateImage in -lXv""...
$ac_c
"
1>&6
echo
"configure:3
758
: checking for XvShmCreateImage in -lXv"
>
&5
echo
"configure:3
696
: checking for XvShmCreateImage in -lXv"
>
&5
ac_lib_var
=
`
echo
Xv
'_'
XvShmCreateImage |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3763,7 +3701,7 @@ else
LIBS
=
"-lXv
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
67
"configure"
#line 37
05
"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
...
...
@@ -3774,7 +3712,7 @@ int main() {
XvShmCreateImage()
; return 0; }
EOF
if
{
(
eval echo
configure:37
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
16
:
\"
$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
...
...
@@ -3821,17 +3759,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
825
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
763
: 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
830
"configure"
#line 3
768
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
835
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
773
:
\"
$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
*
...
...
@@ -3860,19 +3798,19 @@ done
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_glx_h
"
=
"yes"
then
echo
$ac_n
"checking "
for
up-to-date OpenGL version
"""...
$ac_c
"
1>&6
echo
"configure:38
64
: checking "
for
up-to-date OpenGL version
""
>
&5
echo
"configure:38
02
: checking "
for
up-to-date OpenGL version
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_OK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
69
"configure"
#line 38
07
"configure"
#include "confdefs.h"
#include <GL/gl.h>
int main() {
GLenum test = GL_UNSIGNED_SHORT_5_6_5;
; return 0; }
EOF
if
{
(
eval echo
configure:38
76
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_OK
=
"yes"
else
...
...
@@ -3889,21 +3827,21 @@ fi
echo
"
$ac_t
""
$wine_cv_opengl_version_OK
"
1>&6
echo
$ac_n
"checking "
for
thread-safe OpenGL version
"""...
$ac_c
"
1>&6
echo
"configure:38
93
: checking "
for
thread-safe OpenGL version
""
>
&5
echo
"configure:38
31
: checking "
for
thread-safe OpenGL version
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_threadsafe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_libs
=
$LIBS
LIBS
=
"
$X_LIBS
-lGL"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
900
"configure"
#line 3
838
"configure"
#include "confdefs.h"
int main() {
pthread_getspecific();
; return 0; }
EOF
if
{
(
eval echo
configure:3
907
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
845
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_threadsafe
=
"yes"
else
...
...
@@ -3922,7 +3860,7 @@ echo "$ac_t""$wine_cv_opengl_version_threadsafe" 1>&6
if
test
"
$wine_cv_opengl_version_OK
"
=
"yes"
-a
\(
"
$wine_cv_opengl_version_threadsafe
"
=
"no"
-o
$OPENGL
=
"yes"
\)
then
echo
$ac_n
"checking for glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:3
926
: checking for glXCreateContext in -lGL"
>
&5
echo
"configure:3
864
: checking for glXCreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3930,7 +3868,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
934
"configure"
#line 3
872
"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
...
...
@@ -3941,7 +3879,7 @@ int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:3
945
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
883
:
\"
$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
...
...
@@ -3973,7 +3911,7 @@ EOF
echo
$ac_n
"checking for glXGetProcAddressARB in -lGL""...
$ac_c
"
1>&6
echo
"configure:39
77
: checking for glXGetProcAddressARB in -lGL"
>
&5
echo
"configure:39
15
: checking for glXGetProcAddressARB in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXGetProcAddressARB |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3981,7 +3919,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
85
"configure"
#line 39
23
"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
...
...
@@ -3992,7 +3930,7 @@ int main() {
glXGetProcAddressARB()
; return 0; }
EOF
if
{
(
eval echo
configure:39
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
34
:
\"
$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
...
...
@@ -4019,12 +3957,12 @@ fi
if
test
$ac_cv_lib_GL_glXGetProcAddressARB
=
"yes"
then
echo
$ac_n
"checking "
for
OpenGL extension functions prototypes
"""...
$ac_c
"
1>&6
echo
"configure:
4023
: checking "
for
OpenGL extension functions prototypes
""
>
&5
echo
"configure:
3961
: checking "
for
OpenGL extension functions prototypes
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_extension_prototypes
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
4028
"configure"
#line
3966
"configure"
#include "confdefs.h"
#include <GL/gl.h>
#ifdef HAVE_GL_GLEXT_H
...
...
@@ -4035,7 +3973,7 @@ int main() {
PFNGLCOLORTABLEEXTPROC test_proc;
; return 0; }
EOF
if
{
(
eval echo
configure:
4039
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
3977
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_extension_prototypes
=
"yes"
else
...
...
@@ -4065,17 +4003,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:40
69
: checking for
$ac_hdr
"
>
&5
echo
"configure:40
07
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
74
"configure"
#line 40
12
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:40
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:40
17
:
\"
$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
*
...
...
@@ -4096,7 +4034,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for OSMesaCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:4
100
: checking for OSMesaCreateContext in -lGL"
>
&5
echo
"configure:4
038
: checking for OSMesaCreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
OSMesaCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4105,7 +4043,7 @@ else
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
109
"configure"
#line 4
047
"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
...
...
@@ -4116,7 +4054,7 @@ int main() {
OSMesaCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:4
120
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
058
:
\"
$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
...
...
@@ -4138,7 +4076,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for OSMesaCreateContext in -lOSMesa""...
$ac_c
"
1>&6
echo
"configure:4
142
: checking for OSMesaCreateContext in -lOSMesa"
>
&5
echo
"configure:4
080
: checking for OSMesaCreateContext in -lOSMesa"
>
&5
ac_lib_var
=
`
echo
OSMesa
'_'
OSMesaCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4146,7 +4084,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lOSMesa -lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
150
"configure"
#line 4
088
"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
...
...
@@ -4157,7 +4095,7 @@ int main() {
OSMesaCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:4
161
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
099
:
\"
$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
...
...
@@ -4193,7 +4131,7 @@ done
fi
echo
$ac_n
"checking for glBegin in -lGLU""...
$ac_c
"
1>&6
echo
"configure:41
97
: checking for glBegin in -lGLU"
>
&5
echo
"configure:41
35
: checking for glBegin in -lGLU"
>
&5
ac_lib_var
=
`
echo
GLU
'_'
glBegin |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4202,7 +4140,7 @@ else
LIBS
=
"-lGLU
$X_LIBS
$X_PRE_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
206
"configure"
#line 4
144
"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
...
...
@@ -4213,7 +4151,7 @@ int main() {
glBegin()
; return 0; }
EOF
if
{
(
eval echo
configure:4
217
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
155
:
\"
$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
...
...
@@ -4255,17 +4193,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
259
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
197
: 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 42
64
"configure"
#line 42
02
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:42
69
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:42
07
:
\"
$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
*
...
...
@@ -4294,7 +4232,7 @@ done
if
test
"
$ac_cv_header_ncurses_h
"
=
"yes"
then
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
"configure:42
98
: checking for waddch in -lncurses"
>
&5
echo
"configure:42
36
: checking for waddch in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4302,7 +4240,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
306
"configure"
#line 4
244
"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
...
...
@@ -4313,7 +4251,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:4
317
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
255
:
\"
$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
...
...
@@ -4344,7 +4282,7 @@ fi
if
test
"
$ac_cv_lib_ncurses_waddch
"
=
"yes"
then
echo
$ac_n
"checking for resizeterm in -lncurses""...
$ac_c
"
1>&6
echo
"configure:4
348
: checking for resizeterm in -lncurses"
>
&5
echo
"configure:4
286
: checking for resizeterm in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4352,7 +4290,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
356
"configure"
#line 4
294
"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
...
...
@@ -4363,7 +4301,7 @@ int main() {
resizeterm()
; return 0; }
EOF
if
{
(
eval echo
configure:43
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
05
:
\"
$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
...
...
@@ -4387,7 +4325,7 @@ else
fi
echo
$ac_n
"checking for getbkgd in -lncurses""...
$ac_c
"
1>&6
echo
"configure:43
91
: checking for getbkgd in -lncurses"
>
&5
echo
"configure:43
29
: checking for getbkgd in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4395,7 +4333,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
99
"configure"
#line 43
37
"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
...
...
@@ -4406,7 +4344,7 @@ int main() {
getbkgd()
; return 0; }
EOF
if
{
(
eval echo
configure:4
410
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
348
:
\"
$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
...
...
@@ -4434,17 +4372,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
438
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
376
: 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
443
"configure"
#line 4
381
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
448
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
386
:
\"
$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
*
...
...
@@ -4473,7 +4411,7 @@ done
if
test
"
$ac_cv_header_curses_h
"
=
"yes"
then
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
"configure:44
77
: checking for waddch in -lcurses"
>
&5
echo
"configure:44
15
: checking for waddch in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4481,7 +4419,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
85
"configure"
#line 44
23
"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
...
...
@@ -4492,7 +4430,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:44
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
34
:
\"
$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
...
...
@@ -4522,7 +4460,7 @@ fi
if
test
"
$ac_cv_lib_curses_waddch
"
=
"yes"
then
echo
$ac_n
"checking for resizeterm in -lcurses""...
$ac_c
"
1>&6
echo
"configure:4
526
: checking for resizeterm in -lcurses"
>
&5
echo
"configure:4
464
: checking for resizeterm in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4530,7 +4468,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
534
"configure"
#line 4
472
"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
...
...
@@ -4541,7 +4479,7 @@ int main() {
resizeterm()
; return 0; }
EOF
if
{
(
eval echo
configure:4
545
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
483
:
\"
$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
...
...
@@ -4565,7 +4503,7 @@ else
fi
echo
$ac_n
"checking for getbkgd in -lcurses""...
$ac_c
"
1>&6
echo
"configure:45
69
: checking for getbkgd in -lcurses"
>
&5
echo
"configure:45
07
: checking for getbkgd in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4573,7 +4511,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
77
"configure"
#line 45
15
"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
...
...
@@ -4584,7 +4522,7 @@ int main() {
getbkgd()
; return 0; }
EOF
if
{
(
eval echo
configure:45
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
26
:
\"
$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
...
...
@@ -4615,7 +4553,7 @@ fi
CUPSLIBS
=
""
wine_cv_warn_cups_h
=
no
echo
$ac_n
"checking for cupsGetPPD in -lcups""...
$ac_c
"
1>&6
echo
"configure:4
619
: checking for cupsGetPPD in -lcups"
>
&5
echo
"configure:4
557
: checking for cupsGetPPD in -lcups"
>
&5
ac_lib_var
=
`
echo
cups
'_'
cupsGetPPD |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4623,7 +4561,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcups
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
627
"configure"
#line 4
565
"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
...
...
@@ -4634,7 +4572,7 @@ int main() {
cupsGetPPD()
; return 0; }
EOF
if
{
(
eval echo
configure:4
638
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
576
:
\"
$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
...
...
@@ -4651,17 +4589,17 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo
"
$ac_t
""yes"
1>&6
ac_safe
=
`
echo
"cups/cups.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for cups/cups.h""...
$ac_c
"
1>&6
echo
"configure:4
655
: checking for cups/cups.h"
>
&5
echo
"configure:4
593
: checking for cups/cups.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
660
"configure"
#line 4
598
"configure"
#include "confdefs.h"
#include <cups/cups.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
03
:
\"
$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
*
...
...
@@ -4695,7 +4633,7 @@ fi
echo
$ac_n
"checking for FT_Init_FreeType in -lfreetype""...
$ac_c
"
1>&6
echo
"configure:46
99
: checking for FT_Init_FreeType in -lfreetype"
>
&5
echo
"configure:46
37
: checking for FT_Init_FreeType in -lfreetype"
>
&5
ac_lib_var
=
`
echo
freetype
'_'
FT_Init_FreeType |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4703,7 +4641,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lfreetype
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
707
"configure"
#line 4
645
"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
...
...
@@ -4714,7 +4652,7 @@ int main() {
FT_Init_FreeType()
; return 0; }
EOF
if
{
(
eval echo
configure:4
718
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
656
:
\"
$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
...
...
@@ -4744,7 +4682,7 @@ else
# Extract the first word of "freetype-config", so it can be a program name with args.
set
dummy freetype-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:4
748
: checking for
$ac_word
"
>
&5
echo
"configure:4
686
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4776,7 +4714,7 @@ fi
# Extract the first word of "freetype2-config", so it can be a program name with args.
set
dummy freetype2-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:47
80
: checking for
$ac_word
"
>
&5
echo
"configure:47
18
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4831,17 +4769,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
835
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
773
: 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
840
"configure"
#line 4
778
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
845
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
783
:
\"
$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
*
...
...
@@ -4875,12 +4813,12 @@ fi
echo
$ac_n
"checking "
for
GNU style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:48
79
: checking "
for
GNU style IPX support
""
>
&5
echo
"configure:48
17
: checking "
for
GNU style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
84
"configure"
#line 48
22
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <netipx/ipx.h>
...
...
@@ -4888,7 +4826,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:48
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_gnu
=
"yes"
else
...
...
@@ -4913,12 +4851,12 @@ fi
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
$ac_n
"checking "
for
linux style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:4
917
: checking "
for
linux style IPX support
""
>
&5
echo
"configure:4
855
: checking "
for
linux style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
922
"configure"
#line 4
860
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <asm/types.h>
...
...
@@ -4927,7 +4865,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:4
931
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
869
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_linux
=
"yes"
else
...
...
@@ -4954,17 +4892,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
958
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
896
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
63
"configure"
#line 49
01
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:49
68
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:49
06
:
\"
$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
*
...
...
@@ -4992,12 +4930,12 @@ done
echo
$ac_n
"checking "
for
Open Sound System
"""...
$ac_c
"
1>&6
echo
"configure:49
96
: checking "
for
Open Sound System
""
>
&5
echo
"configure:49
34
: checking "
for
Open Sound System
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
5001
"configure"
#line
4939
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -5018,7 +4956,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
5022
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
4960
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -5041,12 +4979,12 @@ EOF
fi
echo
$ac_n
"checking "
for
Open Sound System/MIDI interface
"""...
$ac_c
"
1>&6
echo
"configure:
5045
: checking "
for
Open Sound System/MIDI interface
""
>
&5
echo
"configure:
4983
: checking "
for
Open Sound System/MIDI interface
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem_midi
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
5050
"configure"
#line
4988
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -5067,7 +5005,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:50
71
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
else
...
...
@@ -5093,7 +5031,7 @@ if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
echo
$ac_n
"checking "
whether mmap64 works defined as mmap
"""...
$ac_c
"
1>&6
echo
"configure:50
97
: checking "
whether mmap64 works defined as mmap
""
>
&5
echo
"configure:50
35
: checking "
whether mmap64 works defined as mmap
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmap64_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5101,7 +5039,7 @@ else
ac_cv_mmap64_works
=
"no"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
105
"configure"
#line 5
043
"configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
...
...
@@ -5131,7 +5069,7 @@ else
EOF
if
{
(
eval echo
configure:5
135
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
073
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_mmap64_works
=
"yes"
else
...
...
@@ -5160,7 +5098,7 @@ if test "x${GCC}" = "xyes"
then
CFLAGS
=
"
$CFLAGS
-Wall"
echo
$ac_n
"checking "
for
gcc strength-reduce bug
"""...
$ac_c
"
1>&6
echo
"configure:51
64
: checking "
for
gcc strength-reduce bug
""
>
&5
echo
"configure:51
02
: checking "
for
gcc strength-reduce bug
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_strength_bug
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5168,7 +5106,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
72
"configure"
#line 51
10
"configure"
#include "confdefs.h"
int L[4] = {0,1,2,3};
...
...
@@ -5183,7 +5121,7 @@ int main(void) {
exit( Array[1] != -2 || L[2] != 3);
}
EOF
if
{
(
eval echo
configure:51
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:51
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_gcc_strength_bug
=
"no"
else
...
...
@@ -5204,21 +5142,21 @@ echo "$ac_t""$ac_cv_c_gcc_strength_bug" 1>&6
fi
echo
$ac_n
"checking "
for
gcc
-mpreferred-stack-boundary
=
2 support
"""...
$ac_c
"
1>&6
echo
"configure:5
208
: checking "
for
gcc
-mpreferred-stack-boundary
=
2 support
""
>
&5
echo
"configure:5
146
: checking "
for
gcc
-mpreferred-stack-boundary
=
2 support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_stack_boundary
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-mpreferred-stack-boundary=2"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
215
"configure"
#line 5
153
"configure"
#include "confdefs.h"
int main() {
return 0
; return 0; }
EOF
if
{
(
eval echo
configure:5
222
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
160
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_gcc_stack_boundary
=
"yes"
else
...
...
@@ -5241,7 +5179,7 @@ fi
echo
$ac_n
"checking "
whether .type must sit inside a .def directive
"""...
$ac_c
"
1>&6
echo
"configure:5
245
: checking "
whether .type must sit inside a .def directive
""
>
&5
echo
"configure:5
183
: checking "
whether .type must sit inside a .def directive
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_type_in_def
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5254,14 +5192,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
258
"configure"
#line 5
196
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_type_in_def
=
"yes"
else
...
...
@@ -5285,7 +5223,7 @@ fi
echo
$ac_n
"checking "
whether external symbols need an underscore prefix
"""...
$ac_c
"
1>&6
echo
"configure:52
89
: checking "
whether external symbols need an underscore prefix
""
>
&5
echo
"configure:52
27
: checking "
whether external symbols need an underscore prefix
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_extern_prefix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5297,14 +5235,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
301
"configure"
#line 5
239
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:5
308
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
246
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
else
...
...
@@ -5328,7 +5266,7 @@ fi
echo
$ac_n
"checking "
whether assembler accepts .string
"""...
$ac_c
"
1>&6
echo
"configure:5
332
: checking "
whether assembler accepts .string
""
>
&5
echo
"configure:5
270
: checking "
whether assembler accepts .string
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_asm_string
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5338,14 +5276,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
342
"configure"
#line 5
280
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
349
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
287
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
else
...
...
@@ -5373,21 +5311,21 @@ LDDLLFLAGS=""
if
test
"
$LIBEXT
"
=
"so"
then
echo
$ac_n
"checking "
whether we can build a GNU style ELF dll
"""...
$ac_c
"
1>&6
echo
"configure:53
77
: checking "
whether we can build a GNU style ELF dll
""
>
&5
echo
"configure:53
15
: checking "
whether we can build a GNU style ELF dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_gnuelf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
84
"configure"
#line 53
22
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:53
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_gnuelf
=
"yes"
else
...
...
@@ -5408,21 +5346,21 @@ echo "$ac_t""$ac_cv_c_dll_gnuelf" 1>&6
LDDLLFLAGS
=
"-Wl,-Bsymbolic"
else
echo
$ac_n
"checking whether we can build a UnixWare (Solaris) dll""...
$ac_c
"
1>&6
echo
"configure:5
412
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
echo
"configure:5
350
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_unixware
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
419
"configure"
#line 5
357
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:5
426
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
364
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_unixware
=
"yes"
else
...
...
@@ -5477,21 +5415,21 @@ elif test "$LIBEXT" = "dll"; then
else
DLL_LINK
=
"-L
\$
(DLLDIR)
\$
(DLLS:%=-l%)
\$
(LIBWINE)
\$
(LIBUNICODE)
\$
(X_LIBS)
\$
(XLIB)"
echo
$ac_n
"checking whether the linker supports --[no]-whole-archive (Linux)""...
$ac_c
"
1>&6
echo
"configure:54
81
: checking whether the linker supports --[no]-whole-archive (Linux)"
>
&5
echo
"configure:54
19
: checking whether the linker supports --[no]-whole-archive (Linux)"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_whole_archive
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wl,--whole-archive -Wl,--no-whole-archive"
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
88
"configure"
#line 54
26
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:54
95
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_whole_archive
=
"yes"
else
...
...
@@ -5511,21 +5449,21 @@ echo "$ac_t""$ac_cv_c_whole_archive" 1>&6
DLL_LINK
=
"-Wl,--whole-archive
$DLL_LINK
-Wl,--no-whole-archive"
else
echo
$ac_n
"checking whether the linker supports -z {all,default}extract (Linux)""...
$ac_c
"
1>&6
echo
"configure:5
515
: checking whether the linker supports -z {all,default}extract (Linux)"
>
&5
echo
"configure:5
453
: checking whether the linker supports -z {all,default}extract (Linux)"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_allextract
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wl,-z,allextract -Wl,-z,defaultextract"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
522
"configure"
#line 5
460
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:5
529
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
467
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_allextract
=
"yes"
else
...
...
@@ -5560,7 +5498,7 @@ fi
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking for reentrant libc: __errno_location""...
$ac_c
"
1>&6
echo
"configure:55
64
: checking for reentrant libc: __errno_location"
>
&5
echo
"configure:55
02
: checking for reentrant libc: __errno_location"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno_location
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5568,14 +5506,14 @@ else
wine_cv_libc_r___errno_location
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
72
"configure"
#line 55
10
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno_location(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:55
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:55
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno_location
=
yes
else
...
...
@@ -5598,7 +5536,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __error""...
$ac_c
"
1>&6
echo
"configure:5
602
: checking for reentrant libc: __error"
>
&5
echo
"configure:5
540
: checking for reentrant libc: __error"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___error
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5606,14 +5544,14 @@ else
wine_cv_libc_r___error
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
610
"configure"
#line 5
548
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__error(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:5
617
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
555
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___error
=
yes
else
...
...
@@ -5636,7 +5574,7 @@ fi
echo
$ac_n
"checking for reentrant libc: ___errno""...
$ac_c
"
1>&6
echo
"configure:5
640
: checking for reentrant libc: ___errno"
>
&5
echo
"configure:5
578
: checking for reentrant libc: ___errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r____errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5644,14 +5582,14 @@ else
wine_cv_libc_r____errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
648
"configure"
#line 5
586
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *___errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:5
655
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
593
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r____errno
=
yes
else
...
...
@@ -5674,7 +5612,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __thr_errno""...
$ac_c
"
1>&6
echo
"configure:56
78
: checking for reentrant libc: __thr_errno"
>
&5
echo
"configure:56
16
: checking for reentrant libc: __thr_errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___thr_errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5682,14 +5620,14 @@ else
wine_cv_libc_r___thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
86
"configure"
#line 56
24
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__thr_errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:56
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:56
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___thr_errno
=
yes
else
...
...
@@ -5712,7 +5650,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __errno""...
$ac_c
"
1>&6
echo
"configure:5
716
: checking for reentrant libc: __errno"
>
&5
echo
"configure:5
654
: checking for reentrant libc: __errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5720,14 +5658,14 @@ else
wine_cv_libc_r___errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
724
"configure"
#line 5
662
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:5
731
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
669
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno
=
yes
else
...
...
@@ -5761,7 +5699,7 @@ fi
if
test
"
$have_x
"
=
"yes"
-a
"
$wine_cv_libc_reentrant
"
!=
"no"
then
echo
$ac_n
"checking "
for
reentrant X libraries
"""...
$ac_c
"
1>&6
echo
"configure:57
65
: checking "
for
reentrant X libraries
""
>
&5
echo
"configure:57
03
: checking "
for
reentrant X libraries
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_x_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5810,19 +5748,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
"configure:5
814
: checking for working alloca.h"
>
&5
echo
"configure:5
752
: checking for working alloca.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
819
"configure"
#line 5
757
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
void
*p = alloca(2 * sizeof(int));
char
*p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:5
826
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
764
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
else
...
...
@@ -5843,12 +5781,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:5
847
: checking for alloca"
>
&5
echo
"configure:5
785
: checking for alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
852
"configure"
#line 5
790
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -5876,7 +5814,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:58
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
else
...
...
@@ -5908,12 +5846,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:5
912
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:5
850
: checking whether alloca needs Cray hooks"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
917
"configure"
#line 5
855
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -5938,12 +5876,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if
test
$ac_cv_os_cray
=
yes
;
then
for
ac_func
in
_getb67 GETB67 getb67
;
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
942
: checking for
$ac_func
"
>
&5
echo
"configure:5
880
: 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 5
947
"configure"
#line 5
885
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5966,7 +5904,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:59
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
08
:
\"
$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
...
...
@@ -5993,7 +5931,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:59
97
: checking stack direction for C alloca"
>
&5
echo
"configure:59
35
: checking stack direction for C alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6001,7 +5939,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
6005
"configure"
#line
5943
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -6020,7 +5958,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:
6024
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
5962
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_stack_direction
=
1
else
...
...
@@ -6080,12 +6018,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:60
84
: checking for
$ac_func
"
>
&5
echo
"configure:60
22
: 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 60
89
"configure"
#line 60
27
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6108,7 +6046,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:6
112
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
050
:
\"
$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
...
...
@@ -6190,17 +6128,17 @@ for ac_hdr in \
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:61
94
: checking for
$ac_hdr
"
>
&5
echo
"configure:61
32
: 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 61
99
"configure"
#line 61
37
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:6
204
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:6
142
:
\"
$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
*
...
...
@@ -6227,12 +6165,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:6
231
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:6
169
: checking whether stat file-mode macros are broken"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
236
"configure"
#line 6
174
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -6285,18 +6223,18 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:62
89
: checking for working const"
>
&5
echo
"configure:62
27
: 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 62
94
"configure"
#line 62
32
"configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x
= {0,0}
;
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
...
...
@@ -6339,7 +6277,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:6
343
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
281
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -6360,21 +6298,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:63
64
: checking for inline"
>
&5
echo
"configure:63
02
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
71
"configure"
#line 63
09
"configure"
#include "confdefs.h"
int main() {
}
int
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:63
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -6400,12 +6338,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:6
404
: checking for ANSI C header files"
>
&5
echo
"configure:6
342
: 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 6
409
"configure"
#line 6
347
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -6413,7 +6351,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:6
417
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:6
355
:
\"
$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
*
...
...
@@ -6430,7 +6368,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 6
434
"configure"
#line 6
372
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -6448,7 +6386,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 6
452
"configure"
#line 6
390
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -6469,7 +6407,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
73
"configure"
#line 64
11
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -6480,7 +6418,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:64
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:64
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -6504,12 +6442,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:6
508
: checking for size_t"
>
&5
echo
"configure:6
446
: 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 6
513
"configure"
#line 6
451
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -6537,7 +6475,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:6
541
: checking size of long long"
>
&5
echo
"configure:6
479
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6545,9 +6483,10 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
549
"configure"
#line 6
487
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -6556,7 +6495,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:6
560
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
499
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -6577,12 +6516,12 @@ EOF
echo
$ac_n
"checking "
whether linux/input.h is
for
real
"""...
$ac_c
"
1>&6
echo
"configure:65
81
: checking "
whether linux/input.h is
for
real
""
>
&5
echo
"configure:65
20
: checking "
whether linux/input.h is
for
real
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_input_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
86
"configure"
#line 65
25
"configure"
#include "confdefs.h"
#include <linux/input.h>
...
...
@@ -6595,7 +6534,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:65
99
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:65
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_input_h
=
yes
else
...
...
@@ -6619,12 +6558,12 @@ EOF
echo
$ac_n
"checking "
whether we can use re-entrant gethostbyname_r Linux style
"""...
$ac_c
"
1>&6
echo
"configure:6
623
: checking "
whether we can use re-entrant gethostbyname_r Linux style
""
>
&5
echo
"configure:6
562
: checking "
whether we can use re-entrant gethostbyname_r Linux style
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_gethostbyname_r_6
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
628
"configure"
#line 6
567
"configure"
#include "confdefs.h"
#include <netdb.h>
...
...
@@ -6645,7 +6584,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
649
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
588
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_gethostbyname_r_6
=
yes
else
...
...
@@ -6671,12 +6610,12 @@ EOF
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether linux/joystick.h uses the Linux 2.2+ API
"""...
$ac_c
"
1>&6
echo
"configure:66
75
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
echo
"configure:66
14
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_joystick_22_api
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
80
"configure"
#line 66
19
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -6691,7 +6630,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:66
95
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:66
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -6718,12 +6657,12 @@ fi
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:6
722
: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:6
661
: checking "
whether sys/vfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
727
"configure"
#line 6
666
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6740,7 +6679,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
744
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
683
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -6767,12 +6706,12 @@ fi
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:67
71
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:67
10
: checking "
whether sys/statfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
76
"configure"
#line 67
15
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6787,7 +6726,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:67
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -6814,12 +6753,12 @@ fi
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:6
818
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:6
757
: checking "
whether sys/mount.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
823
"configure"
#line 6
762
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6834,7 +6773,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
838
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
777
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -6860,7 +6799,7 @@ fi
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
"configure:68
64
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:68
03
: checking "
for
statfs.f_bfree
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6869,7 +6808,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
73
"configure"
#line 68
12
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6896,7 +6835,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
900
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
839
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -6920,7 +6859,7 @@ EOF
fi
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
"configure:6
924
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:6
863
: checking "
for
statfs.f_bavail
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6929,7 +6868,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
933
"configure"
#line 6
872
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6956,7 +6895,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
960
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
899
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -6981,12 +6920,12 @@ fi
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
"configure:69
85
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:69
24
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
90
"configure"
#line 69
29
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6994,7 +6933,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:69
98
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:69
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -7017,12 +6956,12 @@ fi
echo
$ac_n
"checking "
for
sun_len
in
struct sockaddr_un
"""...
$ac_c
"
1>&6
echo
"configure:
7021
: checking "
for
sun_len
in
struct sockaddr_un
""
>
&5
echo
"configure:
6960
: checking "
for
sun_len
in
struct sockaddr_un
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_sun_len
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
7026
"configure"
#line
6965
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -7031,7 +6970,7 @@ int main() {
static struct sockaddr_un addr; addr.sun_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:
7035
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6974
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sun_len
=
"yes"
else
...
...
@@ -7054,12 +6993,12 @@ fi
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
"configure:
7058
: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:
6997
: checking "
whether we need to define __i386__
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
63
"configure"
#line 70
02
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
@@ -7379,7 +7318,6 @@ s%@YACC@%$YACC%g
s%@LEX@%
$LEX
%g
s%@LEXLIB@%
$LEXLIB
%g
s%@XLEX@%
$XLEX
%g
s%@LEX_OUTPUT_ROOT@%
$LEX_OUTPUT_ROOT
%g
s%@RANLIB@%
$RANLIB
%g
s%@INSTALL_PROGRAM@%
$INSTALL_PROGRAM
%g
s%@INSTALL_SCRIPT@%
$INSTALL_SCRIPT
%g
...
...
configure.in
View file @
87f48fcc
...
...
@@ -62,7 +62,6 @@ then
echo " Please install the 'flex' package."
exit 1
fi
AC_DECL_YYTEXT
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LN_S
...
...
tools/config.guess
0 → 100755
View file @
87f48fcc
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp
=
'2001-06-12'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Written by Per Bothner <bothner@cygnus.com>.
# Please send patches to <config-patches@gnu.org>.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit build system type.
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
usage
=
"
\
Usage:
$0
[OPTION]
Output the configuration name of the system
\`
$me
' is run on.
Operation modes:
-h, --help print this help, then exit
-t, --time-stamp print date of last modification, then exit
-v, --version print version number, then exit
Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
GNU config.guess (
$timestamp
)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help
=
"
Try
\`
$me
--help' for more information."
# Parse command line
while
test
$#
-gt
0
;
do
case
$1
in
--time-stamp
|
--time
*
|
-t
)
echo
"
$timestamp
"
;
exit
0
;;
--version
|
-v
)
echo
"
$version
"
;
exit
0
;;
--help
|
--h
*
|
-h
)
echo
"
$usage
"
;
exit
0
;;
--
)
# Stop option processing
shift
;
break
;;
-
)
# Use stdin as input.
break
;;
-
*
)
echo
"
$me
: invalid option
$1$help
"
>
&2
exit
1
;;
*
)
break
;;
esac
done
if
test
$#
!=
0
;
then
echo
"
$me
: too many arguments
$help
"
>
&2
exit
1
fi
dummy
=
dummy-
$$
trap
'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1'
1 2 15
# CC_FOR_BUILD -- compiler used by this script.
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
# use `HOST_CC' if defined, but it is deprecated.
case
$CC_FOR_BUILD
,
$HOST_CC
,
$CC
in
,,
)
echo
"int dummy(){}"
>
$dummy
.c
for
c
in
cc gcc c89
;
do
(
$c
$dummy
.c
-c
-o
$dummy
.o
)
>
/dev/null 2>&1
if
test
$?
=
0
;
then
CC_FOR_BUILD
=
"
$c
"
;
break
fi
done
rm
-f
$dummy
.c
$dummy
.o
$dummy
.rel
if
test
x
"
$CC_FOR_BUILD
"
=
x
;
then
CC_FOR_BUILD
=
no_compiler_found
fi
;;
,,
*
)
CC_FOR_BUILD
=
$CC
;;
,
*
,
*
)
CC_FOR_BUILD
=
$HOST_CC
;;
esac
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 8/24/94.)
if
(
test
-f
/.attbin/uname
)
>
/dev/null 2>&1
;
then
PATH
=
$PATH
:/.attbin
;
export
PATH
fi
UNAME_MACHINE
=
`
(
uname
-m
)
2>/dev/null
`
||
UNAME_MACHINE
=
unknown
UNAME_RELEASE
=
`
(
uname
-r
)
2>/dev/null
`
||
UNAME_RELEASE
=
unknown
UNAME_SYSTEM
=
`
(
uname
-s
)
2>/dev/null
`
||
UNAME_SYSTEM
=
unknown
UNAME_VERSION
=
`
(
uname
-v
)
2>/dev/null
`
||
UNAME_VERSION
=
unknown
# Note: order is significant - the case branches are not exclusive.
case
"
${
UNAME_MACHINE
}
:
${
UNAME_SYSTEM
}
:
${
UNAME_RELEASE
}
:
${
UNAME_VERSION
}
"
in
*
:NetBSD:
*
:
*
)
# Netbsd (nbsd) targets should (where applicable) match one or
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
# compatibility and a consistent mechanism for selecting the
# object file format.
# Determine the machine/vendor (is the vendor relevant).
case
"
${
UNAME_MACHINE
}
"
in
amiga
)
machine
=
m68k-unknown
;;
arm32
)
machine
=
arm-unknown
;;
atari
*
)
machine
=
m68k-atari
;;
sun3
*
)
machine
=
m68k-sun
;;
mac68k
)
machine
=
m68k-apple
;;
macppc
)
machine
=
powerpc-apple
;;
hp3[0-9][05]
)
machine
=
m68k-hp
;;
ibmrt|romp-ibm
)
machine
=
romp-ibm
;;
*
)
machine
=
${
UNAME_MACHINE
}
-unknown
;;
esac
# The Operating System including object format, if it has switched
# to ELF recently, or will in the future.
case
"
${
UNAME_MACHINE
}
"
in
i386|sparc|amiga|arm
*
|
hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3
*
|
x68k
)
if
echo
__ELF__ |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
|
grep
__ELF__
>
/dev/null
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
os
=
netbsd
else
os
=
netbsdelf
fi
;;
*
)
os
=
netbsd
;;
esac
# The OS release
release
=
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-_].*/\./'
`
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo
"
${
machine
}
-
${
os
}${
release
}
"
exit
0
;;
alpha:OSF1:
*
:
*
)
if
test
$UNAME_RELEASE
=
"V4.0"
;
then
UNAME_RELEASE
=
`
/usr/sbin/sizer
-v
|
awk
'{print $3}'
`
fi
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
cat
<<
EOF
>
$dummy
.s
.data
\
$Lformat
:
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
.text
.globl main
.align 4
.ent main
main:
.frame \
$30
,16,\
$26
,0
ldgp \
$29
,0(\
$27
)
.prologue 1
.long 0x47e03d80 # implver \
$0
lda \
$2
,-1
.long 0x47e20c21 # amask \
$2
,\
$1
lda \
$16
,\
$Lformat
mov \
$0
,\
$17
not \
$1
,\
$18
jsr \
$26
,printf
ldgp \
$29
,0(\
$26
)
mov 0,\
$16
jsr \
$26
,exit
.end main
EOF
$CC_FOR_BUILD
$dummy
.s
-o
$dummy
2>/dev/null
if
test
"
$?
"
=
0
;
then
case
`
./
$dummy
`
in
0-0
)
UNAME_MACHINE
=
"alpha"
;;
1-0
)
UNAME_MACHINE
=
"alphaev5"
;;
1-1
)
UNAME_MACHINE
=
"alphaev56"
;;
1-101
)
UNAME_MACHINE
=
"alphapca56"
;;
2-303
)
UNAME_MACHINE
=
"alphaev6"
;;
2-307
)
UNAME_MACHINE
=
"alphaev67"
;;
esac
fi
rm
-f
$dummy
.s
$dummy
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[VTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
exit
0
;;
Alpha
\
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
# of the specific Alpha model?
echo
alpha-pc-interix
exit
0
;;
21064:Windows_NT:50:3
)
echo
alpha-dec-winnt3.5
exit
0
;;
Amiga
*
:UNIX_System_V:4.0:
*
)
echo
m68k-unknown-sysv4
exit
0
;;
amiga:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
*
:[Aa]miga[Oo][Ss]:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-amigaos
exit
0
;;
arc64:OpenBSD:
*
:
*
)
echo
mips64el-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
arc:OpenBSD:
*
:
*
)
echo
mipsel-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
hkmips:OpenBSD:
*
:
*
)
echo
mips-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
pmax:OpenBSD:
*
:
*
)
echo
mipsel-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
sgi:OpenBSD:
*
:
*
)
echo
mips-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
wgrisc:OpenBSD:
*
:
*
)
echo
mipsel-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
*
:OS/390:
*
:
*
)
echo
i370-ibm-openedition
exit
0
;;
arm:RISC
*
:1.[012]
*
:
*
|
arm:riscix:1.[012]
*
:
*
)
echo
arm-acorn-riscix
${
UNAME_RELEASE
}
exit
0
;;
SR2?01:HI-UX/MPP:
*
:
*
|
SR8000:HI-UX/MPP:
*
:
*
)
echo
hppa1.1-hitachi-hiuxmpp
exit
0
;;
Pyramid
*
:OSx
*
:
*
:
*
|
MIS
*
:OSx
*
:
*
:
*
|
MIS
*
:SMP_DC-OSx
*
:
*
:
*
)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
if
test
"
`
(
/bin/universe
)
2>/dev/null
`
"
=
att
;
then
echo
pyramid-pyramid-sysv3
else
echo
pyramid-pyramid-bsd
fi
exit
0
;;
NILE
*
:
*
:
*
:dcosx
)
echo
pyramid-pyramid-svr4
exit
0
;;
sun4H:SunOS:5.
*
:
*
)
echo
sparc-hal-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
sun4
*
:SunOS:5.
*
:
*
|
tadpole
*
:SunOS:5.
*
:
*
)
echo
sparc-sun-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
i86pc:SunOS:5.
*
:
*
)
echo
i386-pc-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
sun4
*
:SunOS:6
*
:
*
)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo
sparc-sun-solaris3
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
sun4
*
:SunOS:
*
:
*
)
case
"
`
/usr/bin/arch
-k
`
"
in
Series
*
|
S4
*
)
UNAME_RELEASE
=
`
uname
-v
`
;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
echo
sparc-sun-sunos
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/-/_/'
`
exit
0
;;
sun3
*
:SunOS:
*
:
*
)
echo
m68k-sun-sunos
${
UNAME_RELEASE
}
exit
0
;;
sun
*
:
*
:4.2BSD:
*
)
UNAME_RELEASE
=
`
(
head
-1
/etc/motd |
awk
'{print substr($5,1,3)}'
)
2>/dev/null
`
test
"x
${
UNAME_RELEASE
}
"
=
"x"
&&
UNAME_RELEASE
=
3
case
"
`
/bin/arch
`
"
in
sun3
)
echo
m68k-sun-sunos
${
UNAME_RELEASE
}
;;
sun4
)
echo
sparc-sun-sunos
${
UNAME_RELEASE
}
;;
esac
exit
0
;;
aushp:SunOS:
*
:
*
)
echo
sparc-auspex-sunos
${
UNAME_RELEASE
}
exit
0
;;
atari
*
:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
# The situation for MiNT is a little confusing. The machine name
# can be virtually everything (everything which is not
# "atarist" or "atariste" at least should have a processor
# > m68000). The system name ranges from "MiNT" over "FreeMiNT"
# to the lowercase version "mint" (or "freemint"). Finally
# the system name "TOS" denotes a system which is actually not
# MiNT. But MiNT is downward compatible to TOS, so this should
# be no problem.
atarist[e]:
*
MiNT:
*
:
*
|
atarist[e]:
*
mint:
*
:
*
|
atarist[e]:
*
TOS:
*
:
*
)
echo
m68k-atari-mint
${
UNAME_RELEASE
}
exit
0
;;
atari
*
:
*
MiNT:
*
:
*
|
atari
*
:
*
mint:
*
:
*
|
atarist[e]:
*
TOS:
*
:
*
)
echo
m68k-atari-mint
${
UNAME_RELEASE
}
exit
0
;;
*
falcon
*
:
*
MiNT:
*
:
*
|
*
falcon
*
:
*
mint:
*
:
*
|
*
falcon
*
:
*
TOS:
*
:
*
)
echo
m68k-atari-mint
${
UNAME_RELEASE
}
exit
0
;;
milan
*
:
*
MiNT:
*
:
*
|
milan
*
:
*
mint:
*
:
*
|
*
milan
*
:
*
TOS:
*
:
*
)
echo
m68k-milan-mint
${
UNAME_RELEASE
}
exit
0
;;
hades
*
:
*
MiNT:
*
:
*
|
hades
*
:
*
mint:
*
:
*
|
*
hades
*
:
*
TOS:
*
:
*
)
echo
m68k-hades-mint
${
UNAME_RELEASE
}
exit
0
;;
*
:
*
MiNT:
*
:
*
|
*
:
*
mint:
*
:
*
|
*
:
*
TOS:
*
:
*
)
echo
m68k-unknown-mint
${
UNAME_RELEASE
}
exit
0
;;
sun3
*
:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
mac68k:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
mvme68k:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
mvme88k:OpenBSD:
*
:
*
)
echo
m88k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
powerpc:machten:
*
:
*
)
echo
powerpc-apple-machten
${
UNAME_RELEASE
}
exit
0
;;
RISC
*
:Mach:
*
:
*
)
echo
mips-dec-mach_bsd4.3
exit
0
;;
RISC
*
:ULTRIX:
*
:
*
)
echo
mips-dec-ultrix
${
UNAME_RELEASE
}
exit
0
;;
VAX
*
:ULTRIX
*
:
*
:
*
)
echo
vax-dec-ultrix
${
UNAME_RELEASE
}
exit
0
;;
2020:CLIX:
*
:
*
|
2430:CLIX:
*
:
*
)
echo
clipper-intergraph-clix
${
UNAME_RELEASE
}
exit
0
;;
mips:
*
:
*
:UMIPS
|
mips:
*
:
*
:RISCos
)
sed
's/^ //'
<<
EOF
>
$dummy
.c
#ifdef __cplusplus
#include <stdio.h> /* for printf() prototype */
int main (int argc, char *argv[]) {
#else
int main (argc, argv) int argc; char *argv[]; {
#endif
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
#endif
#endif
exit (-1);
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
\
&&
./
$dummy
`
echo
"
${
UNAME_RELEASE
}
"
|
sed
-n
's/\([0-9]*\).*/\1/p'
`
\
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
echo
mips-mips-riscos
${
UNAME_RELEASE
}
exit
0
;;
Motorola:PowerMAX_OS:
*
:
*
)
echo
powerpc-motorola-powermax
exit
0
;;
Night_Hawk:Power_UNIX:
*
:
*
)
echo
powerpc-harris-powerunix
exit
0
;;
m88k:CX/UX:7
*
:
*
)
echo
m88k-harris-cxux7
exit
0
;;
m88k:
*
:4
*
:R4
*
)
echo
m88k-motorola-sysv4
exit
0
;;
m88k:
*
:3
*
:R3
*
)
echo
m88k-motorola-sysv3
exit
0
;;
AViiON:dgux:
*
:
*
)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR
=
`
/usr/bin/uname
-p
`
if
[
$UNAME_PROCESSOR
=
mc88100
]
||
[
$UNAME_PROCESSOR
=
mc88110
]
then
if
[
${
TARGET_BINARY_INTERFACE
}
x
=
m88kdguxelfx
]
||
\
[
${
TARGET_BINARY_INTERFACE
}
x
=
x
]
then
echo
m88k-dg-dgux
${
UNAME_RELEASE
}
else
echo
m88k-dg-dguxbcs
${
UNAME_RELEASE
}
fi
else
echo
i586-dg-dgux
${
UNAME_RELEASE
}
fi
exit
0
;;
M88
*
:DolphinOS:
*
:
*
)
# DolphinOS (SVR3)
echo
m88k-dolphin-sysv3
exit
0
;;
M88
*
:
*
:R3
*
:
*
)
# Delta 88k system running SVR3
echo
m88k-motorola-sysv3
exit
0
;;
XD88
*
:
*
:
*
:
*
)
# Tektronix XD88 system running UTekV (SVR3)
echo
m88k-tektronix-sysv3
exit
0
;;
Tek43[0-9][0-9]:UTek:
*
:
*
)
# Tektronix 4300 system running UTek (BSD)
echo
m68k-tektronix-bsd
exit
0
;;
*
:IRIX
*
:
*
:
*
)
echo
mips-sgi-irix
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/-/_/g'
`
exit
0
;;
????????:AIX?:[12].1:2
)
# AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo
romp-ibm-aix
# uname -m gives an 8 hex-code CPU id
exit
0
;;
# Note that: echo "'`uname -s`'" gives 'AIX '
i
*
86:AIX:
*
:
*
)
echo
i386-ibm-aix
exit
0
;;
ia64:AIX:
*
:
*
)
if
[
-x
/usr/bin/oslevel
]
;
then
IBM_REV
=
`
/usr/bin/oslevel
`
else
IBM_REV
=
${
UNAME_VERSION
}
.
${
UNAME_RELEASE
}
fi
echo
${
UNAME_MACHINE
}
-ibm-aix
${
IBM_REV
}
exit
0
;;
*
:AIX:2:3
)
if
grep
bos325 /usr/include/stdio.h
>
/dev/null 2>&1
;
then
sed
's/^ //'
<<
EOF
>
$dummy
.c
#include <sys/systemcfg.h>
main()
{
if (!__power_pc())
exit(1);
puts("powerpc-ibm-aix3.2.5");
exit(0);
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
&&
./
$dummy
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
echo
rs6000-ibm-aix3.2.5
elif
grep
bos324 /usr/include/stdio.h
>
/dev/null 2>&1
;
then
echo
rs6000-ibm-aix3.2.4
else
echo
rs6000-ibm-aix3.2
fi
exit
0
;;
*
:AIX:
*
:[45]
)
IBM_CPU_ID
=
`
/usr/sbin/lsdev
-C
-c
processor
-S
available |
head
-1
|
awk
'{ print $1 }'
`
if
/usr/sbin/lsattr
-El
${
IBM_CPU_ID
}
|
grep
' POWER'
>
/dev/null 2>&1
;
then
IBM_ARCH
=
rs6000
else
IBM_ARCH
=
powerpc
fi
if
[
-x
/usr/bin/oslevel
]
;
then
IBM_REV
=
`
/usr/bin/oslevel
`
else
IBM_REV
=
${
UNAME_VERSION
}
.
${
UNAME_RELEASE
}
fi
echo
${
IBM_ARCH
}
-ibm-aix
${
IBM_REV
}
exit
0
;;
*
:AIX:
*
:
*
)
echo
rs6000-ibm-aix
exit
0
;;
ibmrt:4.4BSD:
*
|
romp-ibm:BSD:
*
)
echo
romp-ibm-bsd4.4
exit
0
;;
ibmrt:
*
BSD:
*
|
romp-ibm:BSD:
*
)
# covers RT/PC BSD and
echo
romp-ibm-bsd
${
UNAME_RELEASE
}
# 4.3 with uname added to
exit
0
;;
# report: romp-ibm BSD 4.3
*
:BOSX:
*
:
*
)
echo
rs6000-bull-bosx
exit
0
;;
DPX/2?00:B.O.S.:
*
:
*
)
echo
m68k-bull-sysv3
exit
0
;;
9000/[34]??:4.3bsd:1.
*
:
*
)
echo
m68k-hp-bsd
exit
0
;;
hp300:4.4BSD:
*
:
*
|
9000/[34]??:4.3bsd:2.
*
:
*
)
echo
m68k-hp-bsd4.4
exit
0
;;
9000/[34678]??:HP-UX:
*
:
*
)
HPUX_REV
=
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*.[0B]*//'
`
case
"
${
UNAME_MACHINE
}
"
in
9000/31?
)
HP_ARCH
=
m68000
;;
9000/[34]??
)
HP_ARCH
=
m68k
;;
9000/[678][0-9][0-9]
)
case
"
${
HPUX_REV
}
"
in
11.[0-9][0-9]
)
if
[
-x
/usr/bin/getconf
]
;
then
sc_cpu_version
=
`
/usr/bin/getconf SC_CPU_VERSION 2>/dev/null
`
sc_kernel_bits
=
`
/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null
`
case
"
${
sc_cpu_version
}
"
in
523
)
HP_ARCH
=
"hppa1.0"
;;
# CPU_PA_RISC1_0
528
)
HP_ARCH
=
"hppa1.1"
;;
# CPU_PA_RISC1_1
532
)
# CPU_PA_RISC2_0
case
"
${
sc_kernel_bits
}
"
in
32
)
HP_ARCH
=
"hppa2.0n"
;;
64
)
HP_ARCH
=
"hppa2.0w"
;;
esac
;;
esac
fi
;;
esac
if
[
"
${
HP_ARCH
}
"
=
""
]
;
then
sed
's/^ //'
<<
EOF
>
$dummy
.c
#define _HPUX_SOURCE
#include <stdlib.h>
#include <unistd.h>
int main ()
{
#if defined(_SC_KERNEL_BITS)
long bits = sysconf(_SC_KERNEL_BITS);
#endif
long cpu = sysconf (_SC_CPU_VERSION);
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
case CPU_PA_RISC2_0:
#if defined(_SC_KERNEL_BITS)
switch (bits)
{
case 64: puts ("hppa2.0w"); break;
case 32: puts ("hppa2.0n"); break;
default: puts ("hppa2.0"); break;
} break;
#else /* !defined(_SC_KERNEL_BITS) */
puts ("hppa2.0"); break;
#endif
default: puts ("hppa1.0"); break;
}
exit (0);
}
EOF
(
CCOPTS
=
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
2>/dev/null
)
&&
HP_ARCH
=
`
./
$dummy
`
if
test
-z
"
$HP_ARCH
"
;
then
HP_ARCH
=
hppa
;
fi
rm
-f
$dummy
.c
$dummy
fi
;;
esac
echo
${
HP_ARCH
}
-hp-hpux
${
HPUX_REV
}
exit
0
;;
ia64:HP-UX:
*
:
*
)
HPUX_REV
=
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*.[0B]*//'
`
echo
ia64-hp-hpux
${
HPUX_REV
}
exit
0
;;
3050
*
:HI-UX:
*
:
*
)
sed
's/^ //'
<<
EOF
>
$dummy
.c
#include <unistd.h>
int
main ()
{
long cpu = sysconf (_SC_CPU_VERSION);
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
results, however. */
if (CPU_IS_PA_RISC (cpu))
{
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
default: puts ("hppa-hitachi-hiuxwe2"); break;
}
}
else if (CPU_IS_HP_MC68K (cpu))
puts ("m68k-hitachi-hiuxwe2");
else puts ("unknown-hitachi-hiuxwe2");
exit (0);
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
&&
./
$dummy
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
echo
unknown-hitachi-hiuxwe2
exit
0
;;
9000/7??:4.3bsd:
*
:
*
|
9000/8?[79]:4.3bsd:
*
:
*
)
echo
hppa1.1-hp-bsd
exit
0
;;
9000/8??:4.3bsd:
*
:
*
)
echo
hppa1.0-hp-bsd
exit
0
;;
*
9??
*
:MPE/iX:
*
:
*
)
echo
hppa1.0-hp-mpeix
exit
0
;;
hp7??:OSF1:
*
:
*
|
hp8?[79]:OSF1:
*
:
*
)
echo
hppa1.1-hp-osf
exit
0
;;
hp8??:OSF1:
*
:
*
)
echo
hppa1.0-hp-osf
exit
0
;;
i
*
86:OSF1:
*
:
*
)
if
[
-x
/usr/sbin/sysversion
]
;
then
echo
${
UNAME_MACHINE
}
-unknown-osf1mk
else
echo
${
UNAME_MACHINE
}
-unknown-osf1
fi
exit
0
;;
parisc
*
:Lites
*
:
*
:
*
)
echo
hppa1.1-hp-lites
exit
0
;;
hppa
*
:OpenBSD:
*
:
*
)
echo
hppa-unknown-openbsd
exit
0
;;
C1
*
:ConvexOS:
*
:
*
|
convex:ConvexOS:C1
*
:
*
)
echo
c1-convex-bsd
exit
0
;;
C2
*
:ConvexOS:
*
:
*
|
convex:ConvexOS:C2
*
:
*
)
if
getsysinfo
-f
scalar_acc
then
echo
c32-convex-bsd
else
echo
c2-convex-bsd
fi
exit
0
;;
C34
*
:ConvexOS:
*
:
*
|
convex:ConvexOS:C34
*
:
*
)
echo
c34-convex-bsd
exit
0
;;
C38
*
:ConvexOS:
*
:
*
|
convex:ConvexOS:C38
*
:
*
)
echo
c38-convex-bsd
exit
0
;;
C4
*
:ConvexOS:
*
:
*
|
convex:ConvexOS:C4
*
:
*
)
echo
c4-convex-bsd
exit
0
;;
CRAY
*
X-MP:
*
:
*
:
*
)
echo
xmp-cray-unicos
exit
0
;;
CRAY
*
Y-MP:
*
:
*
:
*
)
echo
ymp-cray-unicos
${
UNAME_RELEASE
}
exit
0
;;
CRAY
*
[
A-Z]90:
*
:
*
:
*
)
echo
${
UNAME_MACHINE
}
-cray-unicos
${
UNAME_RELEASE
}
\
|
sed
-e
's/CRAY.*\([A-Z]90\)/\1/'
\
-e
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
exit
0
;;
CRAY
*
TS:
*
:
*
:
*
)
echo
t90-cray-unicos
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
CRAY
*
T3D:
*
:
*
:
*
)
echo
alpha-cray-unicosmk
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
CRAY
*
T3E:
*
:
*
:
*
)
echo
alphaev5-cray-unicosmk
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
CRAY
*
SV1:
*
:
*
:
*
)
echo
sv1-cray-unicos
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
CRAY-2:
*
:
*
:
*
)
echo
cray2-cray-unicos
exit
0
;;
F30[01]:UNIX_System_V:
*
:
*
|
F700:UNIX_System_V:
*
:
*
)
FUJITSU_PROC
=
`
uname
-m
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
FUJITSU_SYS
=
`
uname
-p
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/\///'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/ /_/'
`
echo
"
${
FUJITSU_PROC
}
-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
exit
0
;;
hp300:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
i
*
86:BSD/386:
*
:
*
|
i
*
86:BSD/OS:
*
:
*
|
*
:Ascend
\
Embedded/OS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-bsdi
${
UNAME_RELEASE
}
exit
0
;;
sparc
*
:BSD/OS:
*
:
*
)
echo
sparc-unknown-bsdi
${
UNAME_RELEASE
}
exit
0
;;
*
:BSD/OS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-bsdi
${
UNAME_RELEASE
}
exit
0
;;
*
:FreeBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
exit
0
;;
*
:OpenBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-openbsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-_].*/\./'
`
exit
0
;;
i
*
:CYGWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-cygwin
exit
0
;;
i
*
:MINGW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-mingw32
exit
0
;;
i
*
:PW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-pw32
exit
0
;;
i
*
:Windows_NT
*
:
*
|
Pentium
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
# UNAME_MACHINE based on the output of uname instead of i386?
echo
i386-pc-interix
exit
0
;;
i
*
:UWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-uwin
exit
0
;;
p
*
:CYGWIN
*
:
*
)
echo
powerpcle-unknown-cygwin
exit
0
;;
prep
*
:SunOS:5.
*
:
*
)
echo
powerpcle-unknown-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
*
:GNU:
*
:
*
)
echo
`
echo
${
UNAME_MACHINE
}
|sed
-e
's,[-/].*$,,'
`
-unknown-gnu
`
echo
${
UNAME_RELEASE
}
|sed
-e
's,/.*$,,'
`
exit
0
;;
i
*
86:Minix:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-minix
exit
0
;;
arm
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
ia64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux
exit
0
;;
m68
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
mips:Linux:
*
:
*
)
cat
>
$dummy
.c
<<
EOF
#ifdef __cplusplus
#include <stdio.h> /* for printf() prototype */
int main (int argc, char *argv[]) {
#else
int main (argc, argv) int argc; char *argv[]; {
#endif
#ifdef __MIPSEB__
printf ("%s-unknown-linux-gnu\n", argv[1]);
#endif
#ifdef __MIPSEL__
printf ("%sel-unknown-linux-gnu\n", argv[1]);
#endif
return 0;
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
2>/dev/null
&&
./
$dummy
"
${
UNAME_MACHINE
}
"
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
;;
ppc:Linux:
*
:
*
)
# Determine Lib Version
cat
>
$dummy
.c
<<
EOF
#include <features.h>
#if defined(__GLIBC__)
extern char __libc_version[];
extern char __libc_release[];
#endif
main(argc, argv)
int argc;
char *argv[];
{
#if defined(__GLIBC__)
printf("%s %s\n", __libc_version, __libc_release);
#else
printf("unknown\n");
#endif
return 0;
}
EOF
LIBC
=
""
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
2>/dev/null
if
test
"
$?
"
=
0
;
then
./
$dummy
|
grep
1
\.
99
>
/dev/null
if
test
"
$?
"
=
0
;
then
LIBC
=
"libc1"
;
fi
fi
rm
-f
$dummy
.c
$dummy
echo
powerpc-unknown-linux-gnu
${
LIBC
}
exit
0
;;
alpha:Linux:
*
:
*
)
cat
<<
EOF
>
$dummy
.s
.data
\
$Lformat
:
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
.text
.globl main
.align 4
.ent main
main:
.frame \
$30
,16,\
$26
,0
ldgp \
$29
,0(\
$27
)
.prologue 1
.long 0x47e03d80 # implver \
$0
lda \
$2
,-1
.long 0x47e20c21 # amask \
$2
,\
$1
lda \
$16
,\
$Lformat
mov \
$0
,\
$17
not \
$1
,\
$18
jsr \
$26
,printf
ldgp \
$29
,0(\
$26
)
mov 0,\
$16
jsr \
$26
,exit
.end main
EOF
LIBC
=
""
$CC_FOR_BUILD
$dummy
.s
-o
$dummy
2>/dev/null
if
test
"
$?
"
=
0
;
then
case
`
./
$dummy
`
in
0-0
)
UNAME_MACHINE
=
"alpha"
;;
1-0
)
UNAME_MACHINE
=
"alphaev5"
;;
1-1
)
UNAME_MACHINE
=
"alphaev56"
;;
1-101
)
UNAME_MACHINE
=
"alphapca56"
;;
2-303
)
UNAME_MACHINE
=
"alphaev6"
;;
2-307
)
UNAME_MACHINE
=
"alphaev67"
;;
esac
objdump
--private-headers
$dummy
|
\
grep
ld.so.1
>
/dev/null
if
test
"
$?
"
=
0
;
then
LIBC
=
"libc1"
fi
fi
rm
-f
$dummy
.s
$dummy
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
${
LIBC
}
exit
0
;;
parisc:Linux:
*
:
*
|
hppa:Linux:
*
:
*
)
# Look for CPU level
case
`
grep
'^cpu[^a-z]*:'
/proc/cpuinfo 2>/dev/null |
cut
-d
' '
-f2
`
in
PA7
*
)
echo
hppa1.1-unknown-linux-gnu
;;
PA8
*
)
echo
hppa2.0-unknown-linux-gnu
;;
*
)
echo
hppa-unknown-linux-gnu
;;
esac
exit
0
;;
parisc64:Linux:
*
:
*
|
hppa64:Linux:
*
:
*
)
echo
hppa64-unknown-linux-gnu
exit
0
;;
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-linux
exit
0
;;
sh
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
sparc:Linux:
*
:
*
|
sparc64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
x86_64:Linux:
*
:
*
)
echo
x86_64-unknown-linux-gnu
exit
0
;;
i
*
86:Linux:
*
:
*
)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
ld_supported_targets
=
`
cd
/
;
ld
--help
2>&1
\
|
sed
-ne
'/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//
s/ .*//
p'
`
case
"
$ld_supported_targets
"
in
elf32-i386
)
TENTATIVE
=
"
${
UNAME_MACHINE
}
-pc-linux-gnu"
;;
a.out-i386-linux
)
echo
"
${
UNAME_MACHINE
}
-pc-linux-gnuaout"
exit
0
;;
coff-i386
)
echo
"
${
UNAME_MACHINE
}
-pc-linux-gnucoff"
exit
0
;;
""
)
# Either a pre-BFD a.out linker (linux-gnuoldld) or
# one that does not give us useful --help.
echo
"
${
UNAME_MACHINE
}
-pc-linux-gnuoldld"
exit
0
;;
esac
# Determine whether the default compiler is a.out or elf
cat
>
$dummy
.c
<<
EOF
#include <features.h>
#ifdef __cplusplus
#include <stdio.h> /* for printf() prototype */
int main (int argc, char *argv[]) {
#else
int main (argc, argv) int argc; char *argv[]; {
#endif
#ifdef __ELF__
# ifdef __GLIBC__
# if __GLIBC__ >= 2
printf ("%s-pc-linux-gnu\n", argv[1]);
# else
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
# endif
# else
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
# endif
#else
printf ("%s-pc-linux-gnuaout\n", argv[1]);
#endif
return 0;
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
2>/dev/null
&&
./
$dummy
"
${
UNAME_MACHINE
}
"
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
test
x
"
${
TENTATIVE
}
"
!=
x
&&
echo
"
${
TENTATIVE
}
"
&&
exit
0
;;
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
# are messed up and put the nodename in both sysname and nodename.
i
*
86:DYNIX/ptx:4
*
:
*
)
echo
i386-sequent-sysv4
exit
0
;;
i
*
86:UNIX_SV:4.2MP:2.
*
)
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
echo
${
UNAME_MACHINE
}
-pc-sysv4
.2uw
${
UNAME_VERSION
}
exit
0
;;
i
*
86:
*
:4.
*
:
*
|
i
*
86:SYSTEM_V:4.
*
:
*
)
UNAME_REL
=
`
echo
${
UNAME_RELEASE
}
|
sed
's/\/MP$//'
`
if
grep
Novell /usr/include/link.h
>
/dev/null 2>/dev/null
;
then
echo
${
UNAME_MACHINE
}
-univel-sysv
${
UNAME_REL
}
else
echo
${
UNAME_MACHINE
}
-pc-sysv
${
UNAME_REL
}
fi
exit
0
;;
i
*
86:
*
:5:[78]
*
)
case
`
/bin/uname
-X
|
grep
^Machine
`
in
*
486
*
)
UNAME_MACHINE
=
i486
;;
*
Pentium
*
)
UNAME_MACHINE
=
i586
;;
*
Pent
*
|
*
Celeron
)
UNAME_MACHINE
=
i686
;;
esac
echo
${
UNAME_MACHINE
}
-unknown-sysv
${
UNAME_RELEASE
}${
UNAME_SYSTEM
}${
UNAME_VERSION
}
exit
0
;;
i
*
86:
*
:3.2:
*
)
if
test
-f
/usr/options/cb.name
;
then
UNAME_REL
=
`
sed
-n
's/.*Version //p'
</usr/options/cb.name
`
echo
${
UNAME_MACHINE
}
-pc-isc
$UNAME_REL
elif
/bin/uname
-X
2>/dev/null
>
/dev/null
;
then
UNAME_REL
=
`
(
/bin/uname
-X
|egrep Release|sed
-e
's/.*= //'
)
`
(
/bin/uname
-X
|egrep i80486
>
/dev/null
)
&&
UNAME_MACHINE
=
i486
(
/bin/uname
-X
|egrep
'^Machine.*Pentium'
>
/dev/null
)
\
&&
UNAME_MACHINE
=
i586
(
/bin/uname
-X
|egrep
'^Machine.*Pent ?II'
>
/dev/null
)
\
&&
UNAME_MACHINE
=
i686
(
/bin/uname
-X
|egrep
'^Machine.*Pentium Pro'
>
/dev/null
)
\
&&
UNAME_MACHINE
=
i686
echo
${
UNAME_MACHINE
}
-pc-sco
$UNAME_REL
else
echo
${
UNAME_MACHINE
}
-pc-sysv32
fi
exit
0
;;
i
*
86:
*
DOS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-msdosdjgpp
exit
0
;;
pc:
*
:
*
:
*
)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i386.
echo
i386-pc-msdosdjgpp
exit
0
;;
Intel:Mach:3
*
:
*
)
echo
i386-pc-mach3
exit
0
;;
paragon:
*
:
*
:
*
)
echo
i860-intel-osf1
exit
0
;;
i860:
*
:4.
*
:
*
)
# i860-SVR4
if
grep
Stardent /usr/include/sys/uadmin.h
>
/dev/null 2>&1
;
then
echo
i860-stardent-sysv
${
UNAME_RELEASE
}
# Stardent Vistra i860-SVR4
else
# Add other i860-SVR4 vendors below as they are discovered.
echo
i860-unknown-sysv
${
UNAME_RELEASE
}
# Unknown i860-SVR4
fi
exit
0
;;
mini
*
:CTIX:SYS
*
5:
*
)
# "miniframe"
echo
m68010-convergent-sysv
exit
0
;;
M68
*
:
*
:R3V[567]
*
:
*
)
test
-r
/sysV68
&&
echo
'm68k-motorola-sysv'
&&
exit
0
;;
3[34]??:
*
:4.0:3.0
|
3[34]??A:
*
:4.0:3.0
|
3[34]??,
*
:
*
:4.0:3.0
|
4850:
*
:4.0:3.0
)
OS_REL
=
''
test
-r
/etc/.relid
\
&&
OS_REL
=
.
`
sed
-n
's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p'
< /etc/.relid
`
/bin/uname
-p
2>/dev/null |
grep
86
>
/dev/null
\
&&
echo
i486-ncr-sysv4.3
${
OS_REL
}
&&
exit
0
/bin/uname
-p
2>/dev/null | /bin/grep entium
>
/dev/null
\
&&
echo
i586-ncr-sysv4.3
${
OS_REL
}
&&
exit
0
;;
3[34]??:
*
:4.0:
*
|
3[34]??,
*
:
*
:4.0:
*
)
/bin/uname
-p
2>/dev/null |
grep
86
>
/dev/null
\
&&
echo
i486-ncr-sysv4
&&
exit
0
;;
m68
*
:LynxOS:2.
*
:
*
|
m68
*
:LynxOS:3.0
*
:
*
)
echo
m68k-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
mc68030:UNIX_System_V:4.
*
:
*
)
echo
m68k-atari-sysv4
exit
0
;;
i
*
86:LynxOS:2.
*
:
*
|
i
*
86:LynxOS:3.[01]
*
:
*
|
i
*
86:LynxOS:4.0
*
:
*
)
echo
i386-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
TSUNAMI:LynxOS:2.
*
:
*
)
echo
sparc-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
rs6000:LynxOS:2.
*
:
*
)
echo
rs6000-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
PowerPC:LynxOS:2.
*
:
*
|
PowerPC:LynxOS:3.[01]
*
:
*
|
PowerPC:LynxOS:4.0
*
:
*
)
echo
powerpc-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
SM[BE]S:UNIX_SV:
*
:
*
)
echo
mips-dde-sysv
${
UNAME_RELEASE
}
exit
0
;;
RM
*
:ReliantUNIX-
*
:
*
:
*
)
echo
mips-sni-sysv4
exit
0
;;
RM
*
:SINIX-
*
:
*
:
*
)
echo
mips-sni-sysv4
exit
0
;;
*
:SINIX-
*
:
*
:
*
)
if
uname
-p
2>/dev/null
>
/dev/null
;
then
UNAME_MACHINE
=
`
(
uname
-p
)
2>/dev/null
`
echo
${
UNAME_MACHINE
}
-sni-sysv4
else
echo
ns32k-sni-sysv
fi
exit
0
;;
PENTIUM:CPunix:4.0
*
:
*
)
# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo
i586-unisys-sysv4
exit
0
;;
*
:UNIX_System_V:4
*
:FTX
*
)
# From Gerald Hewes <hewes@openmarket.com>.
# How about differentiating between stratus architectures? -djm
echo
hppa1.1-stratus-sysv4
exit
0
;;
*
:
*
:
*
:FTX
*
)
# From seanf@swdc.stratus.com.
echo
i860-stratus-sysv4
exit
0
;;
mc68
*
:A/UX:
*
:
*
)
echo
m68k-apple-aux
${
UNAME_RELEASE
}
exit
0
;;
news
*
:NEWS-OS:6
*
:
*
)
echo
mips-sony-newsos6
exit
0
;;
R[34]000:
*
System_V
*
:
*
:
*
|
R4000:UNIX_SYSV:
*
:
*
|
R
*
000:UNIX_SV:
*
:
*
)
if
[
-d
/usr/nec
]
;
then
echo
mips-nec-sysv
${
UNAME_RELEASE
}
else
echo
mips-unknown-sysv
${
UNAME_RELEASE
}
fi
exit
0
;;
BeBox:BeOS:
*
:
*
)
# BeOS running on hardware made by Be, PPC only.
echo
powerpc-be-beos
exit
0
;;
BeMac:BeOS:
*
:
*
)
# BeOS running on Mac or Mac clone, PPC only.
echo
powerpc-apple-beos
exit
0
;;
BePC:BeOS:
*
:
*
)
# BeOS running on Intel PC compatible.
echo
i586-pc-beos
exit
0
;;
SX-4:SUPER-UX:
*
:
*
)
echo
sx4-nec-superux
${
UNAME_RELEASE
}
exit
0
;;
SX-5:SUPER-UX:
*
:
*
)
echo
sx5-nec-superux
${
UNAME_RELEASE
}
exit
0
;;
Power
*
:Rhapsody:
*
:
*
)
echo
powerpc-apple-rhapsody
${
UNAME_RELEASE
}
exit
0
;;
*
:Rhapsody:
*
:
*
)
echo
${
UNAME_MACHINE
}
-apple-rhapsody
${
UNAME_RELEASE
}
exit
0
;;
*
:Darwin:
*
:
*
)
echo
`
uname
-p
`
-apple-darwin
${
UNAME_RELEASE
}
exit
0
;;
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
if
test
"
${
UNAME_MACHINE
}
"
=
"x86pc"
;
then
UNAME_MACHINE
=
pc
fi
echo
`
uname
-p
`
-
${
UNAME_MACHINE
}
-nto-qnx
exit
0
;;
*
:QNX:
*
:4
*
)
echo
i386-pc-qnx
exit
0
;;
NSR-[KW]:NONSTOP_KERNEL:
*
:
*
)
echo
nsr-tandem-nsk
${
UNAME_RELEASE
}
exit
0
;;
*
:NonStop-UX:
*
:
*
)
echo
mips-compaq-nonstopux
exit
0
;;
BS2000:POSIX
*
:
*
:
*
)
echo
bs2000-siemens-sysv
exit
0
;;
DS/
*
:UNIX_System_V:
*
:
*
)
echo
${
UNAME_MACHINE
}
-
${
UNAME_SYSTEM
}
-
${
UNAME_RELEASE
}
exit
0
;;
*
:Plan9:
*
:
*
)
# "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# operating systems.
if
test
"
$cputype
"
=
"386"
;
then
UNAME_MACHINE
=
i386
else
UNAME_MACHINE
=
"
$cputype
"
fi
echo
${
UNAME_MACHINE
}
-unknown-plan9
exit
0
;;
i
*
86:OS/2:
*
:
*
)
# If we were able to find `uname', then EMX Unix compatibility
# is probably installed.
echo
${
UNAME_MACHINE
}
-pc-os2-emx
exit
0
;;
*
:TOPS-10:
*
:
*
)
echo
pdp10-unknown-tops10
exit
0
;;
*
:TENEX:
*
:
*
)
echo
pdp10-unknown-tenex
exit
0
;;
KS10:TOPS-20:
*
:
*
|
KL10:TOPS-20:
*
:
*
|
TYPE4:TOPS-20:
*
:
*
)
echo
pdp10-dec-tops20
exit
0
;;
XKL-1:TOPS-20:
*
:
*
|
TYPE5:TOPS-20:
*
:
*
)
echo
pdp10-xkl-tops20
exit
0
;;
*
:TOPS-20:
*
:
*
)
echo
pdp10-unknown-tops20
exit
0
;;
*
:ITS:
*
:
*
)
echo
pdp10-unknown-its
exit
0
;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
cat
>
$dummy
.c
<<
EOF
#ifdef _SEQUENT_
# include <sys/types.h>
# include <sys/utsname.h>
#endif
main ()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
#include <sys/param.h>
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
#else
""
#endif
); exit (0);
#endif
#endif
#if defined (__arm) && defined (__acorn) && defined (__unix)
printf ("arm-acorn-riscix"); exit (0);
#endif
#if defined (hp300) && !defined (hpux)
printf ("m68k-hp-bsd\n"); exit (0);
#endif
#if defined (NeXT)
#if !defined (__ARCHITECTURE__)
#define __ARCHITECTURE__ "m68k"
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
if (version < 4)
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
else
printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
exit (0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf ("ns32k-encore-sysv\n"); exit (0);
#else
#if defined (CMU)
printf ("ns32k-encore-mach\n"); exit (0);
#else
printf ("ns32k-encore-bsd\n"); exit (0);
#endif
#endif
#endif
#if defined (__386BSD__)
printf ("i386-pc-bsd\n"); exit (0);
#endif
#if defined (sequent)
#if defined (i386)
printf ("i386-sequent-dynix\n"); exit (0);
#endif
#if defined (ns32000)
printf ("ns32k-sequent-dynix\n"); exit (0);
#endif
#endif
#if defined (_SEQUENT_)
struct utsname un;
uname(&un);
if (strncmp(un.version, "V2", 2) == 0) {
printf ("i386-sequent-ptx2\n"); exit (0);
}
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
printf ("i386-sequent-ptx1\n"); exit (0);
}
printf ("i386-sequent-ptx\n"); exit (0);
#endif
#if defined (vax)
# if !defined (ultrix)
# include <sys/param.h>
# if defined (BSD)
# if BSD == 43
printf ("vax-dec-bsd4.3\n"); exit (0);
# else
# if BSD == 199006
printf ("vax-dec-bsd4.3reno\n"); exit (0);
# else
printf ("vax-dec-bsd\n"); exit (0);
# endif
# endif
# else
printf ("vax-dec-bsd\n"); exit (0);
# endif
# else
printf ("vax-dec-ultrix\n"); exit (0);
# endif
#endif
#if defined (alliant) && defined (i860)
printf ("i860-alliant-bsd\n"); exit (0);
#endif
exit (1);
}
EOF
$CC_FOR_BUILD
$dummy
.c
-o
$dummy
2>/dev/null
&&
./
$dummy
&&
rm
-f
$dummy
.c
$dummy
&&
exit
0
rm
-f
$dummy
.c
$dummy
# Apollos put the system type in the environment.
test
-d
/usr/apollo
&&
{
echo
${
ISP
}
-apollo-
${
SYSTYPE
}
;
exit
0
;
}
# Convex versions that predate uname can use getsysinfo(1)
if
[
-x
/usr/convex/getsysinfo
]
then
case
`
getsysinfo
-f
cpu_type
`
in
c1
*
)
echo
c1-convex-bsd
exit
0
;;
c2
*
)
if
getsysinfo
-f
scalar_acc
then
echo
c32-convex-bsd
else
echo
c2-convex-bsd
fi
exit
0
;;
c34
*
)
echo
c34-convex-bsd
exit
0
;;
c38
*
)
echo
c38-convex-bsd
exit
0
;;
c4
*
)
echo
c4-convex-bsd
exit
0
;;
esac
fi
cat
>
&2
<<
EOF
$0
: unable to guess system type
This script, last modified
$timestamp
, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
ftp://ftp.gnu.org/pub/gnu/config/
If the version you run (
$0
) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp =
$timestamp
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
hostinfo = `(hostinfo) 2>/dev/null`
/bin/universe = `(/bin/universe) 2>/dev/null`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
/bin/arch = `(/bin/arch) 2>/dev/null`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
UNAME_MACHINE =
${
UNAME_MACHINE
}
UNAME_RELEASE =
${
UNAME_RELEASE
}
UNAME_SYSTEM =
${
UNAME_SYSTEM
}
UNAME_VERSION =
${
UNAME_VERSION
}
EOF
exit
1
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
tools/config.sub
0 → 100755
View file @
87f48fcc
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp
=
'2001-06-08'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Please send patches to <config-patches@gnu.org>.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
# Each package is responsible for reporting which valid configurations
# it does not support. The user should be able to distinguish
# a failure to support a valid configuration from a meaningless
# configuration.
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
usage
=
"
\
Usage:
$0
[OPTION] CPU-MFR-OPSYS
$0
[OPTION] ALIAS
Canonicalize a configuration name.
Operation modes:
-h, --help print this help, then exit
-t, --time-stamp print date of last modification, then exit
-v, --version print version number, then exit
Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
GNU config.sub (
$timestamp
)
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help
=
"
Try
\`
$me
--help' for more information."
# Parse command line
while
test
$#
-gt
0
;
do
case
$1
in
--time-stamp
|
--time
*
|
-t
)
echo
"
$timestamp
"
;
exit
0
;;
--version
|
-v
)
echo
"
$version
"
;
exit
0
;;
--help
|
--h
*
|
-h
)
echo
"
$usage
"
;
exit
0
;;
--
)
# Stop option processing
shift
;
break
;;
-
)
# Use stdin as input.
break
;;
-
*
)
echo
"
$me
: invalid option
$1$help
"
exit
1
;;
*
local
*
)
# First pass through any local machine types.
echo
$1
exit
0
;;
*
)
break
;;
esac
done
case
$#
in
0
)
echo
"
$me
: missing argument
$help
"
>
&2
exit
1
;;
1
)
;;
*
)
echo
"
$me
: too many arguments
$help
"
>
&2
exit
1
;;
esac
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'
`
case
$maybe_os
in
nto-qnx
*
|
linux-gnu
*
|
storm-chaos
*
|
os2-emx
*
|
windows32-
*
)
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
;;
*
)
basic_machine
=
`
echo
$1
|
sed
's/-[^-]*$//'
`
if
[
$basic_machine
!=
$1
]
then
os
=
`
echo
$1
|
sed
's/.*-/-/'
`
else
os
=
;
fi
;;
esac
### Let's recognize common machines as not being operating systems so
### that things like config.sub decstation-3100 work. We also
### recognize some manufacturers as not being operating systems, so we
### can provide default operating systems below.
case
$os
in
-sun
*
os
*
)
# Prevent following clause from handling this invalid input.
;;
-dec
*
|
-mips
*
|
-sequent
*
|
-encore
*
|
-pc532
*
|
-sgi
*
|
-sony
*
|
\
-att
*
|
-7300
*
|
-3300
*
|
-delta
*
|
-motorola
*
|
-sun
[
234]
*
|
\
-unicom
*
|
-ibm
*
|
-next
|
-hp
|
-isi
*
|
-apollo
|
-altos
*
|
\
-convergent
*
|
-ncr
*
|
-news
|
-32
*
|
-3600
*
|
-3100
*
|
-hitachi
*
|
\
-c
[
123]
*
|
-convex
*
|
-sun
|
-crds
|
-omron
*
|
-dg
|
-ultra
|
-tti
*
|
\
-harris
|
-dolphin
|
-highlevel
|
-gould
|
-cbm
|
-ns
|
-masscomp
|
\
-apple
|
-axis
)
os
=
basic_machine
=
$1
;;
-sim
|
-cisco
|
-oki
|
-wec
|
-winbond
)
os
=
basic_machine
=
$1
;;
-scout
)
;;
-wrs
)
os
=
-vxworks
basic_machine
=
$1
;;
-chorusos
*
)
os
=
-chorusos
basic_machine
=
$1
;;
-chorusrdb
)
os
=
-chorusrdb
basic_machine
=
$1
;;
-hiux
*
)
os
=
-hiuxwe2
;;
-sco5
)
os
=
-sco3
.2v5
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-sco4
)
os
=
-sco3
.2v4
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-sco3
.2.[4-9]
*
)
os
=
`
echo
$os
|
sed
-e
's/sco3.2./sco3.2v/'
`
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-sco3
.2v[4-9]
*
)
# Don't forget version if it is 3.2v4 or newer.
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-sco
*
)
os
=
-sco3
.2v2
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-udk
*
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-isc
)
os
=
-isc2
.2
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-clix
*
)
basic_machine
=
clipper-intergraph
;;
-isc
*
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-pc/'
`
;;
-lynx
*
)
os
=
-lynxos
;;
-ptx
*
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86-.*/86-sequent/'
`
;;
-windowsnt
*
)
os
=
`
echo
$os
|
sed
-e
's/windowsnt/winnt/'
`
;;
-psos
*
)
os
=
-psos
;;
-mint
|
-mint
[
0-9]
*
)
basic_machine
=
m68k-atari
os
=
-mint
;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
case
$basic_machine
in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
tahoe
|
i860
|
ia64
|
m32r
|
m68k
|
m68000
|
m88k
|
ns32k
|
arc
\
|
arm
|
arme[lb]
|
arm[bl]e
|
armv[2345]
|
armv[345][lb]
|
strongarm
|
xscale
\
|
pyramid
|
mn10200
|
mn10300
|
tron
|
a29k
\
|
580
|
i960
|
h8300
\
|
x86
|
ppcbe
|
mipsbe
|
mipsle
|
shbe
|
shle
\
|
hppa
|
hppa1.0
|
hppa1.1
|
hppa2.0
|
hppa2.0w
|
hppa2.0n
\
|
hppa64
\
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphapca5[67]
\
|
alphaev6[78]
\
|
we32k
|
ns16k
|
clipper
|
i370
|
sh
|
sh[34]
\
|
powerpc
|
powerpcle
\
|
1750a
|
dsp16xx
|
pdp10
|
pdp11
\
|
mips16
|
mips64
|
mipsel
|
mips64el
\
|
mips64orion
|
mips64orionel
|
mipstx39
|
mipstx39el
\
|
mips64vr4300
|
mips64vr4300el
|
mips64vr4100
|
mips64vr4100el
\
|
mips64vr5000
|
miprs64vr5000el
|
mcore
|
s390
|
s390x
\
|
sparc
|
sparclet
|
sparclite
|
sparc64
|
sparcv9
|
sparcv9b
\
|
v850
|
c4x
\
|
thumb
|
d10v
|
d30v
|
fr30
|
avr
|
openrisc
|
tic80
\
|
pj
|
pjl
|
h8500
|
z8k
)
basic_machine
=
$basic_machine
-unknown
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
)
# Motorola 68HC11/12.
basic_machine
=
$basic_machine
-unknown
os
=
-none
;;
m88110
|
m680[12346]0
|
m683?2
|
m68360
|
m5200
|
v70
|
w65
|
z8k
)
;;
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
i
*
86
|
x86_64
)
basic_machine
=
$basic_machine
-pc
;;
# Object if more than one company name word.
*
-
*
-
*
)
echo
Invalid configuration
\`
$1
\'
: machine
\`
$basic_machine
\'
not recognized 1>&2
exit
1
;;
# Recognize the basic CPU types with company name.
# FIXME: clean up the formatting here.
vax-
*
|
tahoe-
*
|
i
*
86-
*
|
i860-
*
|
ia64-
*
|
m32r-
*
|
m68k-
*
|
m68000-
*
\
|
m88k-
*
|
sparc-
*
|
ns32k-
*
|
fx80-
*
|
arc-
*
|
c[123]
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armv
*
-
*
|
strongarm-
*
|
xscale-
*
\
|
mips-
*
|
pyramid-
*
|
tron-
*
|
a29k-
*
|
romp-
*
|
rs6000-
*
\
|
power-
*
|
none-
*
|
580-
*
|
cray2-
*
|
h8300-
*
|
h8500-
*
|
i960-
*
\
|
xmp-
*
|
ymp-
*
\
|
x86-
*
|
ppcbe-
*
|
mipsbe-
*
|
mipsle-
*
|
shbe-
*
|
shle-
*
\
|
hppa-
*
|
hppa1.0-
*
|
hppa1.1-
*
|
hppa2.0-
*
|
hppa2.0w-
*
\
|
hppa2.0n-
*
|
hppa64-
*
\
|
alpha-
*
|
alphaev[4-8]-
*
|
alphaev56-
*
|
alphapca5[67]-
*
\
|
alphaev6[78]-
*
\
|
we32k-
*
|
cydra-
*
|
ns16k-
*
|
pn-
*
|
np1-
*
|
xps100-
*
\
|
clipper-
*
|
orion-
*
\
|
sparclite-
*
|
pdp10-
*
|
pdp11-
*
|
sh-
*
|
sh[34]-
*
|
sh[34]eb-
*
\
|
powerpc-
*
|
powerpcle-
*
|
sparc64-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparc86x-
*
\
|
mips16-
*
|
mips64-
*
|
mipsel-
*
\
|
mips64el-
*
|
mips64orion-
*
|
mips64orionel-
*
\
|
mips64vr4100-
*
|
mips64vr4100el-
*
|
mips64vr4300-
*
|
mips64vr4300el-
*
\
|
mipstx39-
*
|
mipstx39el-
*
|
mcore-
*
\
|
f30[01]-
*
|
f700-
*
|
s390-
*
|
s390x-
*
|
sv1-
*
|
t3e-
*
\
|
[
cjt]90-
*
\
|
m88110-
*
|
m680[01234]0-
*
|
m683?2-
*
|
m68360-
*
|
z8k-
*
|
d10v-
*
\
|
thumb-
*
|
v850-
*
|
d30v-
*
|
tic30-
*
|
tic80-
*
|
c30-
*
|
fr30-
*
\
|
bs2000-
*
|
tic54x-
*
|
c54x-
*
|
x86_64-
*
|
pj-
*
|
pjl-
*
)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd
)
basic_machine
=
i386-unknown
os
=
-bsd
;;
3b1
|
7300
|
7300-att
|
att-7300
|
pc7300
|
safari
|
unixpc
)
basic_machine
=
m68000-att
;;
3b
*
)
basic_machine
=
we32k-att
;;
a29khif
)
basic_machine
=
a29k-amd
os
=
-udi
;;
adobe68k
)
basic_machine
=
m68010-adobe
os
=
-scout
;;
alliant
|
fx80
)
basic_machine
=
fx80-alliant
;;
altos
|
altos3068
)
basic_machine
=
m68k-altos
;;
am29k
)
basic_machine
=
a29k-none
os
=
-bsd
;;
amdahl
)
basic_machine
=
580-amdahl
os
=
-sysv
;;
amiga
|
amiga-
*
)
basic_machine
=
m68k-unknown
;;
amigaos
|
amigados
)
basic_machine
=
m68k-unknown
os
=
-amigaos
;;
amigaunix
|
amix
)
basic_machine
=
m68k-unknown
os
=
-sysv4
;;
apollo68
)
basic_machine
=
m68k-apollo
os
=
-sysv
;;
apollo68bsd
)
basic_machine
=
m68k-apollo
os
=
-bsd
;;
aux
)
basic_machine
=
m68k-apple
os
=
-aux
;;
balance
)
basic_machine
=
ns32k-sequent
os
=
-dynix
;;
convex-c1
)
basic_machine
=
c1-convex
os
=
-bsd
;;
convex-c2
)
basic_machine
=
c2-convex
os
=
-bsd
;;
convex-c32
)
basic_machine
=
c32-convex
os
=
-bsd
;;
convex-c34
)
basic_machine
=
c34-convex
os
=
-bsd
;;
convex-c38
)
basic_machine
=
c38-convex
os
=
-bsd
;;
cray
|
ymp
)
basic_machine
=
ymp-cray
os
=
-unicos
;;
cray2
)
basic_machine
=
cray2-cray
os
=
-unicos
;;
[
cjt]90
)
basic_machine
=
${
basic_machine
}
-cray
os
=
-unicos
;;
crds
|
unos
)
basic_machine
=
m68k-crds
;;
cris
|
cris-
*
|
etrax
*
)
basic_machine
=
cris-axis
;;
da30
|
da30-
*
)
basic_machine
=
m68k-da30
;;
decstation
|
decstation-3100
|
pmax
|
pmax-
*
|
pmin
|
dec3100
|
decstatn
)
basic_machine
=
mips-dec
;;
delta
|
3300
|
motorola-3300
|
motorola-delta
\
|
3300-motorola
|
delta-motorola
)
basic_machine
=
m68k-motorola
;;
delta88
)
basic_machine
=
m88k-motorola
os
=
-sysv3
;;
dpx20
|
dpx20-
*
)
basic_machine
=
rs6000-bull
os
=
-bosx
;;
dpx2
*
|
dpx2
*
-bull
)
basic_machine
=
m68k-bull
os
=
-sysv3
;;
ebmon29k
)
basic_machine
=
a29k-amd
os
=
-ebmon
;;
elxsi
)
basic_machine
=
elxsi-elxsi
os
=
-bsd
;;
encore
|
umax
|
mmax
)
basic_machine
=
ns32k-encore
;;
es1800
|
OSE68k
|
ose68k
|
ose
|
OSE
)
basic_machine
=
m68k-ericsson
os
=
-ose
;;
fx2800
)
basic_machine
=
i860-alliant
;;
genix
)
basic_machine
=
ns32k-ns
;;
gmicro
)
basic_machine
=
tron-gmicro
os
=
-sysv
;;
go32
)
basic_machine
=
i386-pc
os
=
-go32
;;
h3050r
*
|
hiux
*
)
basic_machine
=
hppa1.1-hitachi
os
=
-hiuxwe2
;;
h8300hms
)
basic_machine
=
h8300-hitachi
os
=
-hms
;;
h8300xray
)
basic_machine
=
h8300-hitachi
os
=
-xray
;;
h8500hms
)
basic_machine
=
h8500-hitachi
os
=
-hms
;;
harris
)
basic_machine
=
m88k-harris
os
=
-sysv3
;;
hp300-
*
)
basic_machine
=
m68k-hp
;;
hp300bsd
)
basic_machine
=
m68k-hp
os
=
-bsd
;;
hp300hpux
)
basic_machine
=
m68k-hp
os
=
-hpux
;;
hp3k9[0-9][0-9]
|
hp9[0-9][0-9]
)
basic_machine
=
hppa1.0-hp
;;
hp9k2[0-9][0-9]
|
hp9k31[0-9]
)
basic_machine
=
m68000-hp
;;
hp9k3[2-9][0-9]
)
basic_machine
=
m68k-hp
;;
hp9k6[0-9][0-9]
|
hp6[0-9][0-9]
)
basic_machine
=
hppa1.0-hp
;;
hp9k7[0-79][0-9]
|
hp7[0-79][0-9]
)
basic_machine
=
hppa1.1-hp
;;
hp9k78[0-9]
|
hp78[0-9]
)
# FIXME: really hppa2.0-hp
basic_machine
=
hppa1.1-hp
;;
hp9k8[67]1
|
hp8[67]1
|
hp9k80[24]
|
hp80[24]
|
hp9k8[78]9
|
hp8[78]9
|
hp9k893
|
hp893
)
# FIXME: really hppa2.0-hp
basic_machine
=
hppa1.1-hp
;;
hp9k8[0-9][13679]
|
hp8[0-9][13679]
)
basic_machine
=
hppa1.1-hp
;;
hp9k8[0-9][0-9]
|
hp8[0-9][0-9]
)
basic_machine
=
hppa1.0-hp
;;
hppa-next
)
os
=
-nextstep3
;;
hppaosf
)
basic_machine
=
hppa1.1-hp
os
=
-osf
;;
hppro
)
basic_machine
=
hppa1.1-hp
os
=
-proelf
;;
i370-ibm
*
|
ibm
*
)
basic_machine
=
i370-ibm
;;
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
i
*
86v32
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86.*/86-pc/'
`
os
=
-sysv32
;;
i
*
86v4
*
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86.*/86-pc/'
`
os
=
-sysv4
;;
i
*
86v
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86.*/86-pc/'
`
os
=
-sysv
;;
i
*
86sol2
)
basic_machine
=
`
echo
$1
|
sed
-e
's/86.*/86-pc/'
`
os
=
-solaris2
;;
i386mach
)
basic_machine
=
i386-mach
os
=
-mach
;;
i386-vsta
|
vsta
)
basic_machine
=
i386-unknown
os
=
-vsta
;;
iris
|
iris4d
)
basic_machine
=
mips-sgi
case
$os
in
-irix
*
)
;;
*
)
os
=
-irix4
;;
esac
;;
isi68
|
isi
)
basic_machine
=
m68k-isi
os
=
-sysv
;;
m88k-omron
*
)
basic_machine
=
m88k-omron
;;
magnum
|
m3230
)
basic_machine
=
mips-mips
os
=
-sysv
;;
merlin
)
basic_machine
=
ns32k-utek
os
=
-sysv
;;
mingw32
)
basic_machine
=
i386-pc
os
=
-mingw32
;;
miniframe
)
basic_machine
=
m68000-convergent
;;
*
mint
|
-mint
[
0-9]
*
|
*
MiNT
|
*
MiNT[0-9]
*
)
basic_machine
=
m68k-atari
os
=
-mint
;;
mipsel
*
-linux
*
)
basic_machine
=
mipsel-unknown
os
=
-linux-gnu
;;
mips
*
-linux
*
)
basic_machine
=
mips-unknown
os
=
-linux-gnu
;;
mips3
*
-
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
-e
's/mips3/mips64/'
`
;;
mips3
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
-e
's/mips3/mips64/'
`
-unknown
;;
mmix
*
)
basic_machine
=
mmix-knuth
os
=
-mmixware
;;
monitor
)
basic_machine
=
m68k-rom68k
os
=
-coff
;;
msdos
)
basic_machine
=
i386-pc
os
=
-msdos
;;
mvs
)
basic_machine
=
i370-ibm
os
=
-mvs
;;
ncr3000
)
basic_machine
=
i486-ncr
os
=
-sysv4
;;
netbsd386
)
basic_machine
=
i386-unknown
os
=
-netbsd
;;
netwinder
)
basic_machine
=
armv4l-rebel
os
=
-linux
;;
news
|
news700
|
news800
|
news900
)
basic_machine
=
m68k-sony
os
=
-newsos
;;
news1000
)
basic_machine
=
m68030-sony
os
=
-newsos
;;
news-3600
|
risc-news
)
basic_machine
=
mips-sony
os
=
-newsos
;;
necv70
)
basic_machine
=
v70-nec
os
=
-sysv
;;
next
|
m
*
-next
)
basic_machine
=
m68k-next
case
$os
in
-nextstep
*
)
;;
-ns2
*
)
os
=
-nextstep2
;;
*
)
os
=
-nextstep3
;;
esac
;;
nh3000
)
basic_machine
=
m68k-harris
os
=
-cxux
;;
nh[45]000
)
basic_machine
=
m88k-harris
os
=
-cxux
;;
nindy960
)
basic_machine
=
i960-intel
os
=
-nindy
;;
mon960
)
basic_machine
=
i960-intel
os
=
-mon960
;;
nonstopux
)
basic_machine
=
mips-compaq
os
=
-nonstopux
;;
np1
)
basic_machine
=
np1-gould
;;
nsr-tandem
)
basic_machine
=
nsr-tandem
;;
op50n-
*
|
op60c-
*
)
basic_machine
=
hppa1.1-oki
os
=
-proelf
;;
OSE68000
|
ose68000
)
basic_machine
=
m68000-ericsson
os
=
-ose
;;
os68k
)
basic_machine
=
m68k-none
os
=
-os68k
;;
pa-hitachi
)
basic_machine
=
hppa1.1-hitachi
os
=
-hiuxwe2
;;
paragon
)
basic_machine
=
i860-intel
os
=
-osf
;;
pbd
)
basic_machine
=
sparc-tti
;;
pbb
)
basic_machine
=
m68k-tti
;;
pc532
|
pc532-
*
)
basic_machine
=
ns32k-pc532
;;
pentium
|
p5
|
k5
|
k6
|
nexgen
)
basic_machine
=
i586-pc
;;
pentiumpro
|
p6
|
6x86
|
athlon
)
basic_machine
=
i686-pc
;;
pentiumii
|
pentium2
)
basic_machine
=
i686-pc
;;
pentium-
*
|
p5-
*
|
k5-
*
|
k6-
*
|
nexgen-
*
)
basic_machine
=
i586-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pentiumpro-
*
|
p6-
*
|
6x86-
*
|
athlon-
*
)
basic_machine
=
i686-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pentiumii-
*
|
pentium2-
*
)
basic_machine
=
i686-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pn
)
basic_machine
=
pn-gould
;;
power
)
basic_machine
=
power-ibm
;;
ppc
)
basic_machine
=
powerpc-unknown
;;
ppc-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
ppcle
|
powerpclittle
|
ppc-le
|
powerpc-little
)
basic_machine
=
powerpcle-unknown
;;
ppcle-
*
|
powerpclittle-
*
)
basic_machine
=
powerpcle-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
ps2
)
basic_machine
=
i386-ibm
;;
pw32
)
basic_machine
=
i586-unknown
os
=
-pw32
;;
rom68k
)
basic_machine
=
m68k-rom68k
os
=
-coff
;;
rm
[
46]00
)
basic_machine
=
mips-siemens
;;
rtpc
|
rtpc-
*
)
basic_machine
=
romp-ibm
;;
sa29200
)
basic_machine
=
a29k-amd
os
=
-udi
;;
sequent
)
basic_machine
=
i386-sequent
;;
sh
)
basic_machine
=
sh-hitachi
os
=
-hms
;;
sparclite-wrs
)
basic_machine
=
sparclite-wrs
os
=
-vxworks
;;
sps7
)
basic_machine
=
m68k-bull
os
=
-sysv2
;;
spur
)
basic_machine
=
spur-unknown
;;
st2000
)
basic_machine
=
m68k-tandem
;;
stratus
)
basic_machine
=
i860-stratus
os
=
-sysv4
;;
sun2
)
basic_machine
=
m68000-sun
;;
sun2os3
)
basic_machine
=
m68000-sun
os
=
-sunos3
;;
sun2os4
)
basic_machine
=
m68000-sun
os
=
-sunos4
;;
sun3os3
)
basic_machine
=
m68k-sun
os
=
-sunos3
;;
sun3os4
)
basic_machine
=
m68k-sun
os
=
-sunos4
;;
sun4os3
)
basic_machine
=
sparc-sun
os
=
-sunos3
;;
sun4os4
)
basic_machine
=
sparc-sun
os
=
-sunos4
;;
sun4sol2
)
basic_machine
=
sparc-sun
os
=
-solaris2
;;
sun3
|
sun3-
*
)
basic_machine
=
m68k-sun
;;
sun4
)
basic_machine
=
sparc-sun
;;
sun386
|
sun386i
|
roadrunner
)
basic_machine
=
i386-sun
;;
sv1
)
basic_machine
=
sv1-cray
os
=
-unicos
;;
symmetry
)
basic_machine
=
i386-sequent
os
=
-dynix
;;
t3e
)
basic_machine
=
t3e-cray
os
=
-unicos
;;
tic54x
|
c54x
*
)
basic_machine
=
tic54x-unknown
os
=
-coff
;;
tx39
)
basic_machine
=
mipstx39-unknown
;;
tx39el
)
basic_machine
=
mipstx39el-unknown
;;
tower
|
tower-32
)
basic_machine
=
m68k-ncr
;;
udi29k
)
basic_machine
=
a29k-amd
os
=
-udi
;;
ultra3
)
basic_machine
=
a29k-nyu
os
=
-sym1
;;
v810
|
necv810
)
basic_machine
=
v810-nec
os
=
-none
;;
vaxv
)
basic_machine
=
vax-dec
os
=
-sysv
;;
vms
)
basic_machine
=
vax-dec
os
=
-vms
;;
vpp
*
|
vx|vx-
*
)
basic_machine
=
f301-fujitsu
;;
vxworks960
)
basic_machine
=
i960-wrs
os
=
-vxworks
;;
vxworks68
)
basic_machine
=
m68k-wrs
os
=
-vxworks
;;
vxworks29k
)
basic_machine
=
a29k-wrs
os
=
-vxworks
;;
w65
*
)
basic_machine
=
w65-wdc
os
=
-none
;;
w89k-
*
)
basic_machine
=
hppa1.1-winbond
os
=
-proelf
;;
windows32
)
basic_machine
=
i386-pc
os
=
-windows32-msvcrt
;;
xmp
)
basic_machine
=
xmp-cray
os
=
-unicos
;;
xps
|
xps100
)
basic_machine
=
xps100-honeywell
;;
z8k-
*
-coff
)
basic_machine
=
z8k-unknown
os
=
-sim
;;
none
)
basic_machine
=
none-none
os
=
-none
;;
# Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular.
w89k
)
basic_machine
=
hppa1.1-winbond
;;
op50n
)
basic_machine
=
hppa1.1-oki
;;
op60c
)
basic_machine
=
hppa1.1-oki
;;
mips
)
if
[
x
$os
=
x-linux-gnu
]
;
then
basic_machine
=
mips-unknown
else
basic_machine
=
mips-mips
fi
;;
romp
)
basic_machine
=
romp-ibm
;;
rs6000
)
basic_machine
=
rs6000-ibm
;;
vax
)
basic_machine
=
vax-dec
;;
pdp10
)
# there are many clones, so DEC is not a safe bet
basic_machine
=
pdp10-unknown
;;
pdp11
)
basic_machine
=
pdp11-dec
;;
we32k
)
basic_machine
=
we32k-att
;;
sh3
|
sh4
)
basic_machine
=
sh-unknown
;;
sparc
|
sparcv9
|
sparcv9b
)
basic_machine
=
sparc-sun
;;
cydra
)
basic_machine
=
cydra-cydrome
;;
orion
)
basic_machine
=
orion-highlevel
;;
orion105
)
basic_machine
=
clipper-highlevel
;;
mac
|
mpw
|
mac-mpw
)
basic_machine
=
m68k-apple
;;
pmac
|
pmac-mpw
)
basic_machine
=
powerpc-apple
;;
c4x
*
)
basic_machine
=
c4x-none
os
=
-coff
;;
*
-unknown
)
# Make sure to match an already-canonicalized machine name.
;;
*
)
echo
Invalid configuration
\`
$1
\'
: machine
\`
$basic_machine
\'
not recognized 1>&2
exit
1
;;
esac
# Here we canonicalize certain aliases for manufacturers.
case
$basic_machine
in
*
-digital
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
's/digital.*/dec/'
`
;;
*
-commodore
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
's/commodore.*/cbm/'
`
;;
*
)
;;
esac
# Decode manufacturer-specific aliases for certain operating systems.
if
[
x
"
$os
"
!=
x
""
]
then
case
$os
in
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
-solaris1
|
-solaris1
.
*
)
os
=
`
echo
$os
|
sed
-e
's|solaris1|sunos4|'
`
;;
-solaris
)
os
=
-solaris2
;;
-svr4
*
)
os
=
-sysv4
;;
-unixware
*
)
os
=
-sysv4
.2uw
;;
-gnu
/linux
*
)
os
=
`
echo
$os
|
sed
-e
's|gnu/linux|linux-gnu|'
`
;;
# First accept the basic system types.
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu
*
|
-bsd
*
|
-mach
*
|
-minix
*
|
-genix
*
|
-ultrix
*
|
-irix
*
\
|
-
*
vms
*
|
-sco
*
|
-esix
*
|
-isc
*
|
-aix
*
|
-sunos
|
-sunos
[
34]
*
\
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-solaris
*
|
-sym
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-aos
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-netbsd
*
|
-openbsd
*
|
-freebsd
*
|
-riscix
*
\
|
-lynxos
*
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-chorusos
*
|
-chorusrdb
*
\
|
-cygwin
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-linux-gnu
*
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
\
|
-interix
*
|
-uwin
*
|
-rhapsody
*
|
-darwin
*
|
-opened
*
\
|
-openstep
*
|
-oskit
*
|
-conix
*
|
-pw32
*
|
-nonstopux
*
\
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
|
-os2
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
case
$basic_machine
in
x86-
*
|
i
*
86-
*
)
;;
*
)
os
=
-nto
$os
;;
esac
;;
-nto
*
)
os
=
-nto-qnx
;;
-sim
|
-es1800
*
|
-hms
*
|
-xray
|
-os68k
*
|
-none
*
|
-v88r
*
\
|
-windows
*
|
-osx
|
-abug
|
-netware
*
|
-os9
*
|
-beos
*
\
|
-macos
*
|
-mpw
*
|
-magic
*
|
-mmixware
*
|
-mon960
*
|
-lnews
*
)
;;
-mac
*
)
os
=
`
echo
$os
|
sed
-e
's|mac|macos|'
`
;;
-linux
*
)
os
=
`
echo
$os
|
sed
-e
's|linux|linux-gnu|'
`
;;
-sunos5
*
)
os
=
`
echo
$os
|
sed
-e
's|sunos5|solaris2|'
`
;;
-sunos6
*
)
os
=
`
echo
$os
|
sed
-e
's|sunos6|solaris3|'
`
;;
-opened
*
)
os
=
-openedition
;;
-wince
*
)
os
=
-wince
;;
-osfrose
*
)
os
=
-osfrose
;;
-osf
*
)
os
=
-osf
;;
-utek
*
)
os
=
-bsd
;;
-dynix
*
)
os
=
-bsd
;;
-acis
*
)
os
=
-aos
;;
-386bsd
)
os
=
-bsd
;;
-ctix
*
|
-uts
*
)
os
=
-sysv
;;
-ns2
)
os
=
-nextstep2
;;
-nsk
*
)
os
=
-nsk
;;
# Preserve the version number of sinix5.
-sinix5
.
*
)
os
=
`
echo
$os
|
sed
-e
's|sinix|sysv|'
`
;;
-sinix
*
)
os
=
-sysv4
;;
-triton
*
)
os
=
-sysv3
;;
-oss
*
)
os
=
-sysv3
;;
-svr4
)
os
=
-sysv4
;;
-svr3
)
os
=
-sysv3
;;
-sysvr4
)
os
=
-sysv4
;;
# This must come after -sysvr4.
-sysv
*
)
;;
-ose
*
)
os
=
-ose
;;
-es1800
*
)
os
=
-ose
;;
-xenix
)
os
=
-xenix
;;
-
*
mint
|
-mint
[
0-9]
*
|
-
*
MiNT
|
-MiNT
[
0-9]
*
)
os
=
-mint
;;
-none
)
;;
*
)
# Get rid of the `-' at the beginning of $os.
os
=
`
echo
$os
|
sed
's/[^-]*-//'
`
echo
Invalid configuration
\`
$1
\'
: system
\`
$os
\'
not recognized 1>&2
exit
1
;;
esac
else
# Here we handle the default operating systems that come with various machines.
# The value should be what the vendor currently ships out the door with their
# machine or put another way, the most popular os provided with the machine.
# Note that if you're going to try to match "-MANUFACTURER" here (say,
# "-sun"), then you have to tell the case statement up towards the top
# that MANUFACTURER isn't an operating system. Otherwise, code above
# will signal an error saying that MANUFACTURER isn't an operating
# system, and we'll never get to this point.
case
$basic_machine
in
*
-acorn
)
os
=
-riscix1
.2
;;
arm
*
-rebel
)
os
=
-linux
;;
arm
*
-semi
)
os
=
-aout
;;
pdp10-
*
)
os
=
-tops20
;;
pdp11-
*
)
os
=
-none
;;
*
-dec
|
vax-
*
)
os
=
-ultrix4
.2
;;
m68
*
-apollo
)
os
=
-domain
;;
i386-sun
)
os
=
-sunos4
.0.2
;;
m68000-sun
)
os
=
-sunos3
# This also exists in the configure program, but was not the
# default.
# os=-sunos4
;;
m68
*
-cisco
)
os
=
-aout
;;
mips
*
-cisco
)
os
=
-elf
;;
mips
*
-
*
)
os
=
-elf
;;
*
-tti
)
# must be before sparc entry or we get the wrong os.
os
=
-sysv3
;;
sparc-
*
|
*
-sun
)
os
=
-sunos4
.1.1
;;
*
-be
)
os
=
-beos
;;
*
-ibm
)
os
=
-aix
;;
*
-wec
)
os
=
-proelf
;;
*
-winbond
)
os
=
-proelf
;;
*
-oki
)
os
=
-proelf
;;
*
-hp
)
os
=
-hpux
;;
*
-hitachi
)
os
=
-hiux
;;
i860-
*
|
*
-att
|
*
-ncr
|
*
-altos
|
*
-motorola
|
*
-convergent
)
os
=
-sysv
;;
*
-cbm
)
os
=
-amigaos
;;
*
-dg
)
os
=
-dgux
;;
*
-dolphin
)
os
=
-sysv3
;;
m68k-ccur
)
os
=
-rtu
;;
m88k-omron
*
)
os
=
-luna
;;
*
-next
)
os
=
-nextstep
;;
*
-sequent
)
os
=
-ptx
;;
*
-crds
)
os
=
-unos
;;
*
-ns
)
os
=
-genix
;;
i370-
*
)
os
=
-mvs
;;
*
-next
)
os
=
-nextstep3
;;
*
-gould
)
os
=
-sysv
;;
*
-highlevel
)
os
=
-bsd
;;
*
-encore
)
os
=
-bsd
;;
*
-sgi
)
os
=
-irix
;;
*
-siemens
)
os
=
-sysv4
;;
*
-masscomp
)
os
=
-rtu
;;
f30[01]-fujitsu
|
f700-fujitsu
)
os
=
-uxpv
;;
*
-rom68k
)
os
=
-coff
;;
*
-
*
bug
)
os
=
-coff
;;
*
-apple
)
os
=
-macos
;;
*
-atari
*
)
os
=
-mint
;;
*
)
os
=
-none
;;
esac
fi
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
vendor
=
unknown
case
$basic_machine
in
*
-unknown
)
case
$os
in
-riscix
*
)
vendor
=
acorn
;;
-sunos
*
)
vendor
=
sun
;;
-aix
*
)
vendor
=
ibm
;;
-beos
*
)
vendor
=
be
;;
-hpux
*
)
vendor
=
hp
;;
-mpeix
*
)
vendor
=
hp
;;
-hiux
*
)
vendor
=
hitachi
;;
-unos
*
)
vendor
=
crds
;;
-dgux
*
)
vendor
=
dg
;;
-luna
*
)
vendor
=
omron
;;
-genix
*
)
vendor
=
ns
;;
-mvs
*
|
-opened
*
)
vendor
=
ibm
;;
-ptx
*
)
vendor
=
sequent
;;
-vxsim
*
|
-vxworks
*
)
vendor
=
wrs
;;
-aux
*
)
vendor
=
apple
;;
-hms
*
)
vendor
=
hitachi
;;
-mpw
*
|
-macos
*
)
vendor
=
apple
;;
-
*
mint
|
-mint
[
0-9]
*
|
-
*
MiNT
|
-MiNT
[
0-9]
*
)
vendor
=
atari
;;
esac
basic_machine
=
`
echo
$basic_machine
|
sed
"s/unknown/
$vendor
/"
`
;;
esac
echo
$basic_machine$os
exit
0
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
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