Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
20fced2c
Commit
20fced2c
authored
Jan 21, 1999
by
Michael Meissner
Committed by
Michael Meissner
Jan 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--with-gnu-ld uses different x- fiile under aix 4.1
From-SVN: r24804
parent
297e73d8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
251 additions
and
143 deletions
+251
-143
gcc/ChangeLog
+9
-0
gcc/config/rs6000/x-aix41-gld
+12
-0
gcc/configure
+225
-142
gcc/configure.in
+5
-1
No files found.
gcc/ChangeLog
View file @
20fced2c
Thu
Jan
21
19
:
44
:
55
1999
Michael
Meissner
<
meissner
@cygnus
.
com
>
*
configure
.
in
({
rs6000
|
powerpc
}
-
ibm
-
aix4
.[
12
]
*
)
:
If
--
with
-
gnu
-
ld
,
use
x
-
aix41
-
gld
instead
of
x
-
aix41
to
suppress
adding
-
Wl
,
-
bbigtoc
to
BOOT_LDFLAGS
.
*
configure
:
Regenerate
.
*
config
/
rs6000
/
x
-
aix41
-
gld
:
New
file
,
don
'
t
set
BOOT_LDFLAGS
.
Thu
Jan
21
15
:
48
:
03
1999
Dave
Brolley
<
brolley
@cygnus
.
com
>
*
cppexp
.
c
(
cpp_lex
)
:
Allocate
token_buffer
dynamically
.
...
...
gcc/config/rs6000/x-aix41-gld
0 → 100644
View file @
20fced2c
# configuration for IBM RS/6000 running AIX 4.1+
# Show we need to use the C version of ALLOCA
ALLOCA=alloca.o
# We need -lld for collect2 (actually this only matters
# for a native compiler, but this is as good a place as any
# to define the symbol).
CLIB=-lld
# f771 and cc1plus overflow the AIX TOC, however gld doesn't support -bbigtoc
# BOOT_LDFLAGS=-Wl,-bbigtoc
gcc/configure
View file @
20fced2c
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.1
2.1
# Generated automatically using autoconf version 2.1
3
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
...
...
@@ -380,7 +380,7 @@ EOF
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.1
2.1
"
echo
"configure generated by autoconf version 2.1
3
"
exit
0
;;
-with-
*
|
--with-
*
)
...
...
@@ -550,9 +550,11 @@ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
ac_exeext
=
ac_objext
=
o
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
...
...
@@ -582,7 +584,7 @@ copy=cp
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo
$ac_n
"checking LIBRARY_PATH variable""...
$ac_c
"
1>&6
echo
"configure:58
6
: checking LIBRARY_PATH variable"
>
&5
echo
"configure:58
8
: checking LIBRARY_PATH variable"
>
&5
case
${
LIBRARY_PATH
}
in
[
:
\;
]
*
|
*
[
:
\;
]
|
*
[
:
\;
][
:
\;
]
*
|
*
[
:
\;
]
.
|
.[:
\;
]
*
|
.
|
*
[
:
\;
]
.[:
\;
]
*
)
library_path_setting
=
"contains current directory"
...
...
@@ -607,7 +609,7 @@ fi
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo
$ac_n
"checking GCC_EXEC_PREFIX variable""...
$ac_c
"
1>&6
echo
"configure:61
1
: checking GCC_EXEC_PREFIX variable"
>
&5
echo
"configure:61
3
: checking GCC_EXEC_PREFIX variable"
>
&5
case
${
GCC_EXEC_PREFIX
}
in
[
:
\;
]
*
|
*
[
:
\;
]
|
*
[
:
\;
][
:
\;
]
*
|
*
[
:
\;
]
.
|
.[:
\;
]
*
|
.
|
*
[
:
\;
]
.[:
\;
]
*
)
gcc_exec_prefix_setting
=
"contains current directory"
...
...
@@ -936,7 +938,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:94
0
: checking host system type"
>
&5
echo
"configure:94
2
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -957,7 +959,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking target system type""...
$ac_c
"
1>&6
echo
"configure:96
1
: checking target system type"
>
&5
echo
"configure:96
3
: checking target system type"
>
&5
target_alias
=
$target
case
"
$target_alias
"
in
...
...
@@ -975,7 +977,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$target
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:9
79
: checking build system type"
>
&5
echo
"configure:9
81
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -1002,15 +1004,16 @@ test "$host_alias" != "$target_alias" &&
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:100
6
: checking for
$ac_word
"
>
&5
echo
"configure:100
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"gcc"
...
...
@@ -1031,16 +1034,17 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:103
5
: checking for
$ac_word
"
>
&5
echo
"configure:103
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_prog_rejected
=
no
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
...
...
@@ -1075,25 +1079,61 @@ else
echo
"
$ac_t
""no"
1>&6
fi
if
test
-z
"
$CC
"
;
then
case
"
`
uname
-s
`
"
in
*
win32
*
|
*
WIN32
*
)
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1089: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"cl"
break
fi
done
IFS
=
"
$ac_save_ifs
"
fi
fi
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
;;
esac
fi
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:1
083
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:1
121
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 1093 "configure"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1132 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:1
097:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
137:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -1107,18 +1147,24 @@ else
ac_cv_prog_cc_works
=
no
fi
rm
-fr
conftest
*
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
if
test
$ac_cv_prog_cc_works
=
no
;
then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:11
17
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:11
63
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:11
22
: checking whether we are using GNU C"
>
&5
echo
"configure:11
68
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1127,7 +1173,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:11
31
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:11
77
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -1138,11 +1184,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if
test
$ac_cv_prog_gcc
=
yes
;
then
GCC
=
yes
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:1146: checking whether
${
CC
-cc
}
accepts -g"
>
&5
else
GCC
=
fi
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:1196: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1157,16 +1207,20 @@ rm -f conftest*
fi
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
CFLAGS
=
"
$ac_save_CFLAGS
"
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
CFLAGS
=
"
$ac_save_CFLAGS
"
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
CFLAGS
=
"-g -O2"
else
CFLAGS
=
"-
O2
"
CFLAGS
=
"-
g
"
fi
else
GCC
=
test
"
${
CFLAGS
+set
}
"
=
set
||
CFLAGS
=
"-g"
if
test
"
$GCC
"
=
yes
;
then
CFLAGS
=
"-O2"
else
CFLAGS
=
fi
fi
...
...
@@ -1181,7 +1235,7 @@ fi
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:1
185
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:1
239
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1209,7 +1263,7 @@ fi
echo
$ac_n
"checking whether a default assembler was specified""...
$ac_c
"
1>&6
echo
"configure:12
13
: checking whether a default assembler was specified"
>
&5
echo
"configure:12
67
: checking whether a default assembler was specified"
>
&5
if
test
x
"
${
DEFAULT_ASSEMBLER
+set
}
"
=
x
"set"
;
then
if
test
x
"
$with_gas
"
=
x
"no"
;
then
echo
"
$ac_t
""yes (
$DEFAULT_ASSEMBLER
)"
1>&6
...
...
@@ -1221,7 +1275,7 @@ else
fi
echo
$ac_n
"checking whether a default linker was specified""...
$ac_c
"
1>&6
echo
"configure:12
25
: checking whether a default linker was specified"
>
&5
echo
"configure:12
79
: checking whether a default linker was specified"
>
&5
if
test
x
"
${
DEFAULT_LINKER
+set
}
"
=
x
"set"
;
then
if
test
x
"
$with_gnu_ld
"
=
x
"no"
;
then
echo
"
$ac_t
""yes (
$DEFAULT_LINKER
)"
1>&6
...
...
@@ -1238,15 +1292,16 @@ 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:12
42
: checking for
$ac_word
"
>
&5
echo
"configure:12
96
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AWK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$AWK
"
;
then
ac_cv_prog_AWK
=
"
$AWK
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_AWK
=
"
$ac_prog
"
...
...
@@ -1269,15 +1324,16 @@ done
# Extract the first word of "flex", so it can be a program name with args.
set
dummy flex
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
273
: checking for
$ac_word
"
>
&5
echo
"configure:1
328
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$LEX
"
;
then
ac_cv_prog_LEX
=
"
$LEX
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_LEX
=
"flex"
...
...
@@ -1302,7 +1358,7 @@ then
*
)
ac_lib
=
l
;;
esac
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
"configure:13
06
: checking for yywrap in -l
$ac_lib
"
>
&5
echo
"configure:13
62
: checking for yywrap in -l
$ac_lib
"
>
&5
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1310,7 +1366,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
14
"configure"
#line 13
70
"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
...
...
@@ -1321,7 +1377,7 @@ int main() {
yywrap()
; return 0; }
EOF
if
{
(
eval echo
configure:13
25:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
81:
\"
$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
...
...
@@ -1344,7 +1400,7 @@ fi
fi
echo
$ac_n
"checking whether ln works""...
$ac_c
"
1>&6
echo
"configure:1
348
: checking whether ln works"
>
&5
echo
"configure:1
404
: checking whether ln works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_prog_LN
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1376,7 +1432,7 @@ else
fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:1
380
: checking whether ln -s works"
>
&5
echo
"configure:1
436
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1408,19 +1464,19 @@ else
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:14
12
: checking for volatile"
>
&5
echo
"configure:14
68
: checking for volatile"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_c_volatile
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
17
"configure"
#line 14
73
"configure"
#include "confdefs.h"
int main() {
volatile int foo;
; return 0; }
EOF
if
{
(
eval echo
configure:14
24
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:14
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
gcc_cv_c_volatile
=
yes
else
...
...
@@ -1443,15 +1499,16 @@ 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:1
447
: checking for
$ac_word
"
>
&5
echo
"configure:1
503
: 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
if
test
-n
"
$RANLIB
"
;
then
ac_cv_prog_RANLIB
=
"
$RANLIB
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_RANLIB
=
"ranlib"
...
...
@@ -1474,15 +1531,16 @@ 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:1
478
: checking for
$ac_word
"
>
&5
echo
"configure:1
535
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_YACC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$YACC
"
;
then
ac_cv_prog_YACC
=
"
$YACC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_YACC
=
"
$ac_prog
"
...
...
@@ -1514,7 +1572,7 @@ test -n "$YACC" || YACC="yacc"
# 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:15
18
: checking for a BSD compatible install"
>
&5
echo
"configure:15
76
: 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
...
...
@@ -1565,7 +1623,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:1
569
: checking how to run the C preprocessor"
>
&5
echo
"configure:1
627
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -1580,14 +1638,14 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
584
"configure"
#line 1
642
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
590
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:1
648
:
\"
$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
:
else
...
...
@@ -1597,14 +1655,31 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
01
"configure"
#line 16
59
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1607:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:1665:
\"
$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
:
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1676 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1682:
\"
$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
:
else
...
...
@@ -1617,6 +1692,8 @@ fi
rm
-f
conftest
*
fi
rm
-f
conftest
*
fi
rm
-f
conftest
*
ac_cv_prog_CPP
=
"
$CPP
"
fi
CPP
=
"
$ac_cv_prog_CPP
"
...
...
@@ -1626,12 +1703,12 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:1
630
: checking for ANSI C header files"
>
&5
echo
"configure:1
707
: 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 1
635
"configure"
#line 1
712
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -1639,8 +1716,8 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
643
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:1
720
:
\"
$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
*
ac_cv_header_stdc
=
yes
...
...
@@ -1656,7 +1733,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 1
660
"configure"
#line 1
737
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -1674,7 +1751,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 1
678
"configure"
#line 1
755
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -1695,7 +1772,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
699
"configure"
#line 1
776
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -1706,7 +1783,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:17
10:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:17
87:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -1730,12 +1807,12 @@ EOF
fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:1
734
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:1
811
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
739
"configure"
#line 1
816
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -1744,7 +1821,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:1
748
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
825
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -1765,12 +1842,12 @@ EOF
fi
echo
$ac_n
"checking whether string.h and strings.h may both be included""...
$ac_c
"
1>&6
echo
"configure:1
769
: checking whether string.h and strings.h may both be included"
>
&5
echo
"configure:1
846
: checking whether string.h and strings.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_header_string
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
774
"configure"
#line 1
851
"configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
...
...
@@ -1778,7 +1855,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:1
782
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
859
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
gcc_cv_header_string
=
yes
else
...
...
@@ -1799,12 +1876,12 @@ EOF
fi
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:18
03
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:18
80
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
08
"configure"
#line 18
85
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
...
...
@@ -1820,7 +1897,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if
{
(
eval echo
configure:1
824
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
901
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
else
...
...
@@ -1844,18 +1921,18 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h fcntl.h unist
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:1
848
: checking for
$ac_hdr
"
>
&5
echo
"configure:1
925
: 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 1
853
"configure"
#line 1
930
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
858
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:1
935
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
...
...
@@ -1884,18 +1961,18 @@ done
# Check for thread headers.
ac_safe
=
`
echo
"thread.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for thread.h""...
$ac_c
"
1>&6
echo
"configure:1
888
: checking for thread.h"
>
&5
echo
"configure:1
965
: checking for thread.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 1
893
"configure"
#line 1
970
"configure"
#include "confdefs.h"
#include <thread.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
898
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:1
975
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
...
...
@@ -1918,18 +1995,18 @@ fi
ac_safe
=
`
echo
"pthread.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for pthread.h""...
$ac_c
"
1>&6
echo
"configure:19
22
: checking for pthread.h"
>
&5
echo
"configure:19
99
: checking for pthread.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
1927
"configure"
#line
2004
"configure"
#include "confdefs.h"
#include <pthread.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
1932
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:
2009
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
...
...
@@ -1955,15 +2032,16 @@ fi
# Extract the first word of "gnatbind", so it can be a program name with args.
set
dummy gnatbind
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
1959
: checking for
$ac_word
"
>
&5
echo
"configure:
2036
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gnat
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$gnat
"
;
then
ac_cv_prog_gnat
=
"
$gnat
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
for
ac_dir
in
$PATH
;
do
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_gnat
=
"yes"
...
...
@@ -1985,12 +2063,12 @@ fi
# See if the system preprocessor understands the ANSI C preprocessor
# stringification operator.
echo
$ac_n
"checking whether cpp understands the stringify operator""...
$ac_c
"
1>&6
echo
"configure:
1989
: checking whether cpp understands the stringify operator"
>
&5
echo
"configure:
2067
: checking whether cpp understands the stringify operator"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_c_have_stringify
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
1994
"configure"
#line
2072
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -1998,7 +2076,7 @@ int main() {
char *test = S(foo);
; return 0; }
EOF
if
{
(
eval echo
configure:20
02
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:20
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
gcc_cv_c_have_stringify
=
yes
else
...
...
@@ -2021,12 +2099,12 @@ fi
# Use <inttypes.h> only if it exists,
# doesn't clash with <sys/types.h>, and declares intmax_t.
echo
$ac_n
"checking for inttypes.h""...
$ac_c
"
1>&6
echo
"configure:2
025
: checking for inttypes.h"
>
&5
echo
"configure:2
103
: checking for inttypes.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_header_inttypes_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
030
"configure"
#line 2
108
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <inttypes.h>
...
...
@@ -2034,7 +2112,7 @@ int main() {
intmax_t i = -1;
; return 0; }
EOF
if
{
(
eval echo
configure:2
038
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
116
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
gcc_cv_header_inttypes_h
=
yes
else
...
...
@@ -2060,12 +2138,12 @@ for ac_func in strtoul bsearch strerror putenv popen bcopy bzero bcmp \
fputs_unlocked
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
064
: checking for
$ac_func
"
>
&5
echo
"configure:2
142
: 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
069
"configure"
#line 2
147
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2088,7 +2166,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:2
092:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
170:
\"
$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
...
...
@@ -2117,12 +2195,12 @@ done
#AC_CHECK_TYPE(wchar_t, unsigned int)
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:21
21
: checking for vprintf"
>
&5
echo
"configure:21
99
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
126
"configure"
#line 2
204
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
...
...
@@ -2145,7 +2223,7 @@ vprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:2
149:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
227:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
else
...
...
@@ -2169,12 +2247,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:2
173
: checking for _doprnt"
>
&5
echo
"configure:2
251
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
178
"configure"
#line 2
256
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
...
...
@@ -2197,7 +2275,7 @@ _doprnt();
; return 0; }
EOF
if
{
(
eval echo
configure:22
01:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:22
79:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
else
...
...
@@ -2233,7 +2311,7 @@ fi
echo
$ac_n
"checking whether the printf functions support %p""...
$ac_c
"
1>&6
echo
"configure:2
237
: checking whether the printf functions support %p"
>
&5
echo
"configure:2
315
: checking whether the printf functions support %p"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_func_printf_ptr
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2241,7 +2319,7 @@ else
gcc_cv_func_printf_ptr
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
245
"configure"
#line 2
323
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -2254,7 +2332,7 @@ main()
exit (p != q);
}
EOF
if
{
(
eval echo
configure:2
258:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
336:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
gcc_cv_func_printf_ptr
=
yes
else
...
...
@@ -2278,12 +2356,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:2
282
: checking for pid_t"
>
&5
echo
"configure:2
360
: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
287
"configure"
#line 2
365
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2292,7 +2370,7 @@ else
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"pid_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
egrep
"
(^|[^a-zA-Z_0-9])
pid_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
ac_cv_type_pid_t
=
yes
else
...
...
@@ -2312,18 +2390,18 @@ fi
ac_safe
=
`
echo
"vfork.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for vfork.h""...
$ac_c
"
1>&6
echo
"configure:23
16
: checking for vfork.h"
>
&5
echo
"configure:23
94
: checking for vfork.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 23
21
"configure"
#line 23
99
"configure"
#include "confdefs.h"
#include <vfork.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
326
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
{
(
eval echo
configure:2
404
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
...
...
@@ -2347,18 +2425,18 @@ else
fi
echo
$ac_n
"checking for working vfork""...
$ac_c
"
1>&6
echo
"configure:2
351
: checking for working vfork"
>
&5
echo
"configure:2
429
: checking for working vfork"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vfork_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
"
$cross_compiling
"
=
yes
;
then
echo
$ac_n
"checking for vfork""...
$ac_c
"
1>&6
echo
"configure:2
357
: checking for vfork"
>
&5
echo
"configure:2
435
: checking for vfork"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vfork
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
362
"configure"
#line 2
440
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
...
...
@@ -2381,7 +2459,7 @@ vfork();
; return 0; }
EOF
if
{
(
eval echo
configure:2
385:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
463:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vfork=yes"
else
...
...
@@ -2403,7 +2481,7 @@ fi
ac_cv_func_vfork_works
=
$ac_cv_func_vfork
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
07
"configure"
#line 24
85
"configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
...
...
@@ -2498,7 +2576,7 @@ main() {
}
}
EOF
if
{
(
eval echo
configure:25
02:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:25
80:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_vfork_works
=
yes
else
...
...
@@ -2526,12 +2604,12 @@ for ac_func in malloc realloc calloc free bcopy bzero bcmp \
strsignal
do
echo
$ac_n
"checking whether
$ac_func
must be declared""...
$ac_c
"
1>&6
echo
"configure:2
530
: checking whether
$ac_func
must be declared"
>
&5
echo
"configure:2
608
: checking whether
$ac_func
must be declared"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_decl_needed_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
535
"configure"
#line 2
613
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -2564,7 +2642,7 @@ int main() {
char *(*pfn) = (char *(*))
$ac_func
; return 0; }
EOF
if
{
(
eval echo
configure:2
568
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
646
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"gcc_cv_decl_needed_
$ac_func
=no"
else
...
...
@@ -2593,12 +2671,12 @@ done
for
ac_func
in
getrlimit setrlimit
do
echo
$ac_n
"checking whether
$ac_func
must be declared""...
$ac_c
"
1>&6
echo
"configure:2
597
: checking whether
$ac_func
must be declared"
>
&5
echo
"configure:2
675
: checking whether
$ac_func
must be declared"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_decl_needed_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
02
"configure"
#line 26
80
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -2635,7 +2713,7 @@ int main() {
char *(*pfn) = (char *(*))
$ac_func
; return 0; }
EOF
if
{
(
eval echo
configure:2
639
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
717
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"gcc_cv_decl_needed_
$ac_func
=no"
else
...
...
@@ -2662,12 +2740,12 @@ done
echo
$ac_n
"checking for sys_siglist declaration in signal.h or unistd.h""...
$ac_c
"
1>&6
echo
"configure:2
666
: checking for sys_siglist declaration in signal.h or unistd.h"
>
&5
echo
"configure:2
744
: checking for sys_siglist declaration in signal.h or unistd.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_decl_sys_siglist
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
671
"configure"
#line 2
749
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -2679,7 +2757,7 @@ int main() {
char *msg = *(sys_siglist + 1);
; return 0; }
EOF
if
{
(
eval echo
configure:2
683
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
761
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_decl_sys_siglist
=
yes
else
...
...
@@ -5040,7 +5118,11 @@ for machine in $build $host $target; do
use_collect2
=
yes
;;
rs6000-ibm-aix4.[12]
*
|
powerpc-ibm-aix4.[12]
*
)
tm_file
=
rs6000/aix41.h
if
test
"
$gnu_ld
"
=
yes
tm_file
=
rs6000/aix41-gld.h
else
tm_file
=
rs6000/aix41.h
fi
if
test
x
$host
!=
x
$target
then
tmake_file
=
rs6000/t-xnewas
...
...
@@ -5929,7 +6011,7 @@ fi
# Figure out what assembler alignment features are present.
echo
$ac_n
"checking assembler alignment features""...
$ac_c
"
1>&6
echo
"configure:
5933
: checking assembler alignment features"
>
&5
echo
"configure:
6015
: checking assembler alignment features"
>
&5
gcc_cv_as
=
gcc_cv_as_alignment_features
=
gcc_cv_as_gas_srcdir
=
`
echo
$srcdir
| sed
-e
's,/gcc$,,'
`
/gas
...
...
@@ -6002,7 +6084,7 @@ fi
echo
"
$ac_t
""
$gcc_cv_as_alignment_features
"
1>&6
echo
$ac_n
"checking assembler subsection support""...
$ac_c
"
1>&6
echo
"configure:60
06
: checking assembler subsection support"
>
&5
echo
"configure:60
88
: checking assembler subsection support"
>
&5
gcc_cv_as_subsections
=
if
test
x
$gcc_cv_as
!=
x
;
then
# Check if we have .subsection
...
...
@@ -6274,7 +6356,7 @@ fi
# Warn if using init_priority.
echo
$ac_n
"checking whether to enable init_priority by default""...
$ac_c
"
1>&6
echo
"configure:6
278
: checking whether to enable init_priority by default"
>
&5
echo
"configure:6
360
: checking whether to enable init_priority by default"
>
&5
if
test
x
$enable_init_priority
!=
xyes
;
then
enable_init_priority
=
no
fi
...
...
@@ -6405,7 +6487,7 @@ EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
set
)
2>&1 |
case
`
(
ac_space
=
' '
;
set
)
2>&1 |
grep
ac_space
`
in
case
`
(
ac_space
=
' '
;
set
|
grep
ac_space
)
2>&1
`
in
*
ac_space
=
\
*
)
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
...
...
@@ -6472,7 +6554,7 @@ do
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
2.1
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
3
"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\
$ac_cs_usage
"; exit 0 ;;
...
...
@@ -6495,6 +6577,7 @@ s%@SHELL@%$SHELL%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@FFLAGS@%
$FFLAGS
%g
s%@DEFS@%
$DEFS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LIBS@%
$LIBS
%g
...
...
gcc/configure.in
View file @
20fced2c
...
...
@@ -2863,7 +2863,11 @@ changequote([,])dnl
changequote(,)dnl
rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
changequote([,])dnl
tm_file=rs6000/aix41.h
if test "$gnu_ld" = yes
tm_file=rs6000/aix41-gld.h
else
tm_file=rs6000/aix41.h
fi
if test x$host != x$target
then
tmake_file=rs6000/t-xnewas
...
...
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