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
8d02e5c5
Commit
8d02e5c5
authored
Mar 17, 1998
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerate.
From-SVN: r18648
parent
297dcfb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
80 deletions
+85
-80
libf2c/configure
+85
-80
No files found.
libf2c/configure
View file @
8d02e5c5
...
...
@@ -522,12 +522,20 @@ fi
# From configure.in 1.10
# For g77 we'll set CC to point at the built gcc, but this will get it into
# the makefiles
# Extract the first word of "gcc", so it can be a program name with args.
if
test
"
$CROSS
"
;
then
if
test
"
$CC_FOR_TARGET
"
;
then
CC
=
"
$CC_FOR_TARGET
"
else
CC
=
"../../xgcc -B../../xgcc/"
fi
ac_cv_c_cross
=
yes
else
# For g77 we'll set CC to point at the built gcc, but this will get it into
# the makefiles
# 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:53
1
: checking for
$ac_word
"
>
&5
echo
"configure:53
9
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -556,7 +564,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:56
0
: checking for
$ac_word
"
>
&5
echo
"configure:56
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
...
...
@@ -604,7 +612,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
08
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
16
: 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.
...
...
@@ -614,11 +622,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
18
"configure"
#line 6
26
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:6
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
...
@@ -638,12 +646,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
42
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
50
: 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:6
47
: checking whether we are using GNU C"
>
&5
echo
"configure:6
55
: 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
...
...
@@ -652,7 +660,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:6
56
:
\"
$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:6
64
:
\"
$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
...
...
@@ -667,7 +675,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:67
1
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:67
9
: 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
...
...
@@ -694,9 +702,6 @@ else
test
"
${
CFLAGS
+set
}
"
=
set
||
CFLAGS
=
"-g"
fi
if
test
"
$CROSS
"
;
then
ac_cv_c_cross
=
yes
else
ac_cv_c_cross
=
no
fi
...
...
@@ -712,7 +717,7 @@ else
# 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:7
16
: checking for
$ac_word
"
>
&5
echo
"configure:7
21
: 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
...
...
@@ -745,7 +750,7 @@ fi
# Sanity check for the cross-compilation case:
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:7
49
: checking how to run the C preprocessor"
>
&5
echo
"configure:7
54
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -760,13 +765,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
4
"configure"
#line 76
9
"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:77
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:77
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -777,13 +782,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 78
1
"configure"
#line 78
6
"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:7
87
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
92
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -807,17 +812,17 @@ echo "$ac_t""$CPP" 1>&6
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
"configure:81
1
: checking for stdio.h"
>
&5
echo
"configure:81
6
: checking for stdio.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 8
16
"configure"
#line 8
21
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:82
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:82
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -845,12 +850,12 @@ fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:8
49
: checking for ANSI C header files"
>
&5
echo
"configure:8
54
: 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 85
4
"configure"
#line 85
9
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -858,7 +863,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:86
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:86
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -875,7 +880,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 8
79
"configure"
#line 8
84
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -893,7 +898,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
897
"configure"
#line
902
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -914,7 +919,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
18
"configure"
#line 9
23
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -925,7 +930,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:9
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -951,12 +956,12 @@ fi
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
"configure:9
55
: checking for posix"
>
&5
echo
"configure:9
60
: checking for posix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_header_posix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 96
0
"configure"
#line 96
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <unistd.h>
...
...
@@ -982,12 +987,12 @@ echo "$ac_t""$g77_cv_header_posix" 1>&6
# We can rely on the GNU library being posix-ish. I guess checking the
# header isn't actually like checking the functions, though...
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
"configure:9
86
: checking for GNU library"
>
&5
echo
"configure:9
91
: checking for GNU library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_lib_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 99
1
"configure"
#line 99
6
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef __GNU_LIBRARY__
...
...
@@ -1011,12 +1016,12 @@ echo "$ac_t""$g77_cv_lib_gnu" 1>&6
# Apparently cygwin needs to be special-cased.
echo
$ac_n
"checking for cyg
\`
win'32""...
$ac_c
"
1>&6
echo
"configure:10
15
: checking for cyg
\`
win'32"
>
&5
echo
"configure:10
20
: checking for cyg
\`
win'32"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_cygwin32
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 102
0
"configure"
#line 102
5
"configure"
#include "confdefs.h"
#ifdef __CYGWIN32__
yes
...
...
@@ -1039,12 +1044,12 @@ echo "$ac_t""$g77_cv_sys_cygwin32" 1>&6
# ditto for mingw32.
echo
$ac_n
"checking for mingw32""...
$ac_c
"
1>&6
echo
"configure:104
3
: checking for mingw32"
>
&5
echo
"configure:104
8
: checking for mingw32"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_mingw32
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
48
"configure"
#line 10
53
"configure"
#include "confdefs.h"
#ifdef __MINGW32__
yes
...
...
@@ -1068,17 +1073,17 @@ echo "$ac_t""$g77_cv_sys_mingw32" 1>&6
ac_safe
=
`
echo
"fcntl.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for fcntl.h""...
$ac_c
"
1>&6
echo
"configure:107
2
: checking for fcntl.h"
>
&5
echo
"configure:107
7
: checking for fcntl.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 10
77
"configure"
#line 10
82
"configure"
#include "confdefs.h"
#include <fcntl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:108
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:108
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1111,12 +1116,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:11
15
: checking for working const"
>
&5
echo
"configure:11
20
: 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 112
0
"configure"
#line 112
5
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -1165,7 +1170,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:11
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:11
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -1186,12 +1191,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:119
0
: checking for size_t"
>
&5
echo
"configure:119
5
: 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 1
195
"configure"
#line 1
200
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1220,12 +1225,12 @@ fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:122
4
: checking return type of signal handlers"
>
&5
echo
"configure:122
9
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
29
"configure"
#line 12
34
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1242,7 +1247,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:12
46
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1263,12 +1268,12 @@ EOF
# we'll get atexit by default
if
test
$ac_cv_header_stdc
!=
yes
;
then
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:12
67
: checking for atexit"
>
&5
echo
"configure:12
72
: checking for atexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 127
2
"configure"
#line 127
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
...
...
@@ -1291,7 +1296,7 @@ atexit();
; return 0; }
EOF
if
{
(
eval echo
configure:1
295
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
300
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
else
...
...
@@ -1316,12 +1321,12 @@ else
EOF
echo
$ac_n
"checking for onexit""...
$ac_c
"
1>&6
echo
"configure:132
0
: checking for onexit"
>
&5
echo
"configure:132
5
: checking for onexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_onexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
25
"configure"
#line 13
30
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char onexit(); below. */
...
...
@@ -1344,7 +1349,7 @@ onexit();
; return 0; }
EOF
if
{
(
eval echo
configure:13
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_onexit=yes"
else
...
...
@@ -1362,12 +1367,12 @@ if eval "test \"`echo '$ac_cv_func_'onexit`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for on_exit""...
$ac_c
"
1>&6
echo
"configure:13
66
: checking for on_exit"
>
&5
echo
"configure:13
71
: checking for on_exit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_on_exit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 137
1
"configure"
#line 137
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char on_exit(); below. */
...
...
@@ -1390,7 +1395,7 @@ on_exit();
; return 0; }
EOF
if
{
(
eval echo
configure:139
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:139
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_on_exit=yes"
else
...
...
@@ -1423,12 +1428,12 @@ fi
# Apparently positive result on cygwin loses re. NON_UNIX_STDIO
# (as of cygwin b18). Likewise on mingw.
echo
$ac_n
"checking for fstat""...
$ac_c
"
1>&6
echo
"configure:14
27
: checking for fstat"
>
&5
echo
"configure:14
32
: checking for fstat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_fstat
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 143
2
"configure"
#line 143
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fstat(); below. */
...
...
@@ -1451,7 +1456,7 @@ fstat();
; return 0; }
EOF
if
{
(
eval echo
configure:14
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_fstat=yes"
else
...
...
@@ -1471,7 +1476,7 @@ else
fi
echo
$ac_n
"checking need for NON_UNIX_STDIO""...
$ac_c
"
1>&6
echo
"configure:14
75
: checking need for NON_UNIX_STDIO"
>
&5
echo
"configure:14
80
: checking need for NON_UNIX_STDIO"
>
&5
if
test
$g77_cv_sys_cygwin32
=
yes
\
||
test
$g77_cv_sys_mingw32
=
yes
\
||
test
$ac_cv_func_fstat
=
no
;
then
...
...
@@ -1486,19 +1491,19 @@ fi
# This is necessary for e.g. Linux:
echo
$ac_n
"checking for necessary members of struct FILE""...
$ac_c
"
1>&6
echo
"configure:149
0
: checking for necessary members of struct FILE"
>
&5
echo
"configure:149
5
: checking for necessary members of struct FILE"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_struct_FILE
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
495
"configure"
#line 1
500
"configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
FILE s; s._ptr; s._base; s._flag;
; return 0; }
EOF
if
{
(
eval echo
configure:150
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:150
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
g77_cv_struct_FILE
=
yes
else
...
...
@@ -1518,7 +1523,7 @@ EOF
fi
echo
$ac_n
"checking for drem in -lm""...
$ac_c
"
1>&6
echo
"configure:152
2
: checking for drem in -lm"
>
&5
echo
"configure:152
7
: checking for drem in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
drem | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1526,7 +1531,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 153
0
"configure"
#line 153
5
"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
...
...
@@ -1537,7 +1542,7 @@ int main() {
drem()
; return 0; }
EOF
if
{
(
eval echo
configure:154
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:154
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1567,19 +1572,19 @@ fi
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# we're posix-conformant, so always do the test.
echo
$ac_n
"checking for ansi/posix sprintf result""...
$ac_c
"
1>&6
echo
"configure:157
1
: checking for ansi/posix sprintf result"
>
&5
echo
"configure:157
6
: checking for ansi/posix sprintf result"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
g77_cv_sys_sprintf_ansi
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
76
"configure"
#line 15
81
"configure"
#include "confdefs.h"
#include <stdio.h>
/* does sprintf return the number of chars transferred? */
main () {char foo[2]; (sprintf(foo, "1") == 1) ? exit(0) : exit(1);}
EOF
if
{
(
eval echo
configure:158
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:158
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
g77_cv_sys_sprintf_ansi
=
yes
else
...
...
@@ -1613,9 +1618,9 @@ fi
# define NON_ANSI_RW_MODES on unix (can't hurt)
echo
$ac_n
"checking NON_ANSI_RW_MODES""...
$ac_c
"
1>&6
echo
"configure:16
17
: checking NON_ANSI_RW_MODES"
>
&5
echo
"configure:16
22
: checking NON_ANSI_RW_MODES"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
19
"configure"
#line 16
24
"configure"
#include "confdefs.h"
#ifdef unix
yes
...
...
@@ -1656,14 +1661,14 @@ fi
# (via com.h). proj.h and com.h are in $srcdir/.., config.h which they need
# is in ../.. and the config files are in $srcdir/../../config.
echo
$ac_n
"checking f2c integer type""...
$ac_c
"
1>&6
echo
"configure:166
0
: checking f2c integer type"
>
&5
echo
"configure:166
5
: checking f2c integer type"
>
&5
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2cinteger
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
67
"configure"
#line 16
72
"configure"
#include "confdefs.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
...
...
@@ -1686,7 +1691,7 @@ rm -f conftest*
if
test
"
$g77_cv_sys_f2cinteger
"
=
""
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 169
0
"configure"
#line 169
5
"configure"
#include "confdefs.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
...
...
@@ -1721,14 +1726,14 @@ ac_cpp=$late_ac_cpp
echo
$ac_n
"checking f2c long int type""...
$ac_c
"
1>&6
echo
"configure:17
25
: checking f2c long int type"
>
&5
echo
"configure:17
30
: checking f2c long int type"
>
&5
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2clongint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 173
2
"configure"
#line 173
7
"configure"
#include "confdefs.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
...
...
@@ -1751,7 +1756,7 @@ rm -f conftest*
if
test
"
$g77_cv_sys_f2clongint
"
=
""
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
55
"configure"
#line 17
60
"configure"
#include "confdefs.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
...
...
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