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
b1daa215
Commit
b1daa215
authored
Jul 12, 1998
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerate.
From-SVN: r21083
parent
b53c05f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
275 additions
and
1065 deletions
+275
-1065
libf2c/configure
+196
-976
libf2c/libU77/configure
+79
-89
No files found.
libf2c/configure
View file @
b1daa215
...
@@ -699,1012 +699,252 @@ test "$AR" || AR=ar
...
@@ -699,1012 +699,252 @@ test "$AR" || AR=ar
if
test
"
$RANLIB
"
;
then
:
if
test
"
$RANLIB
"
;
then
:
if
test
-z
"
$RANLIB_TEST
"
;
then
RANLIB_TEST
=
true
fi
else
else
RANLIB_TEST
=
true
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
11
: checking for
$ac_word
"
>
&5
echo
"configure:7
07
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$RANLIB
"
;
then
if
test
-n
"
$RANLIB
"
;
then
ac_cv_prog_RANLIB
=
"
$RANLIB
"
# Let the user override the test.
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
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_RANLIB
=
"ranlib"
break
fi
done
IFS
=
"
$ac_save_ifs
"
test
-z
"
$ac_cv_prog_RANLIB
"
&&
ac_cv_prog_RANLIB
=
":"
fi
fi
RANLIB
=
"
$ac_cv_prog_RANLIB
"
if
test
-n
"
$RANLIB
"
;
then
echo
"
$ac_t
""
$RANLIB
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
fi
# Sanity check for the cross-compilation case:
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:744: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
fi
if
test
-z
"
$CPP
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CPP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
# This must be in double quotes, not single quotes, because CPP may get
# substituted into the Makefile and "${CC-cc}" will confuse make.
CPP
=
"
${
CC
-cc
}
-E"
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 759 "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:765:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
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
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 776 "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:782:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
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
=
/lib/cpp
fi
rm
-f
conftest
*
fi
rm
-f
conftest
*
ac_cv_prog_CPP
=
"
$CPP
"
fi
CPP
=
"
$ac_cv_prog_CPP
"
else
ac_cv_prog_CPP
=
"
$CPP
"
fi
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:806: 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 811 "configure"
#include "confdefs.h"
#include <stdio.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:816:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
:
else
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: Can't find stdio.h.
You must have a usable C system for the target already installed, at least
including headers and, preferably, the library, before you can configure
the G77 runtime system. If necessary, install gcc now with
\`
LANGUAGES=c',
then the target library, then build with
\`
LANGUAGES=f77'."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:844: 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 849 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:857:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
ac_cv_header_stdc
=
yes
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
ac_cv_header_stdc
=
no
fi
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 874 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"memchr"
>
/dev/null 2>&1
;
then
:
else
rm
-rf
conftest
*
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
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 892 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"free"
>
/dev/null 2>&1
;
then
:
else
rm
-rf
conftest
*
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if
test
"
$cross_compiling
"
=
yes
;
then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 913 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:924:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-fr
conftest
*
ac_cv_header_stdc
=
no
fi
rm
-fr
conftest
*
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_header_stdc
"
1>&6
if
test
$ac_cv_header_stdc
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
#define STDC_HEADERS 1
EOF
fi
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
"configure:950: 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 955 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <unistd.h>
#ifdef _POSIX_VERSION
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
g77_cv_header_posix
=
yes
else
rm
-rf
conftest
*
g77_cv_header_posix
=
no
fi
rm
-f
conftest
*
fi
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:981: 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 986 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef __GNU_LIBRARY__
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
g77_cv_lib_gnu
=
yes
else
rm
-rf
conftest
*
g77_cv_lib_gnu
=
no
fi
rm
-f
conftest
*
fi
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:1010: 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 1015 "configure"
#include "confdefs.h"
#ifdef __CYGWIN32__
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
g77_cv_sys_cygwin32
=
yes
else
rm
-rf
conftest
*
g77_cv_sys_cygwin32
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$g77_cv_sys_cygwin32
"
1>&6
# ditto for mingw32.
echo
$ac_n
"checking for mingw32""...
$ac_c
"
1>&6
echo
"configure:1038: 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 1043 "configure"
#include "confdefs.h"
#ifdef __MINGW32__
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
g77_cv_sys_mingw32
=
yes
else
rm
-rf
conftest
*
g77_cv_sys_mingw32
=
no
fi
rm
-f
conftest
*
fi
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:1067: 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 1072 "configure"
#include "confdefs.h"
#include <fcntl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1077:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
test
$g77_cv_header_posix
=
yes
&&
cat
>>
confdefs.h
<<
\
EOF
#define _POSIX_SOURCE 1
EOF
else
echo
"
$ac_t
""no"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define NO_FCNTL 1
EOF
cat
>>
confdefs.h
<<
\
EOF
#define OPEN_DECL 1
EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:1110: 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 1115 "configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
*t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
int x[] = {25, 17};
const int *foo = &x[0];
++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
typedef const int *iptr;
iptr p = 0;
++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10;
}
; return 0; }
EOF
if
{
(
eval echo
configure:1164:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
ac_cv_c_const
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_c_const
"
1>&6
if
test
$ac_cv_c_const
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
#define const
EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:1185: 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 1190 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"size_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
ac_cv_type_size_t
=
yes
else
rm
-rf
conftest
*
ac_cv_type_size_t
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_type_size_t
"
1>&6
if
test
$ac_cv_type_size_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
#define size_t unsigned
EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:1219: 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 1224 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
#ifdef signal
#undef signal
#endif
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif
int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:1241:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
ac_cv_type_signal
=
int
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_type_signal
"
1>&6
cat
>>
confdefs.h
<<
EOF
#define RETSIGTYPE
$ac_cv_type_signal
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:1262: 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 1267 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char atexit();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_atexit) || defined (__stub___atexit)
choke me
#else
atexit();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:1290:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
atexit
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define onexit atexit
EOF
else
echo
"
$ac_t
""no"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define NO_ONEXIT 1
EOF
echo
$ac_n
"checking for onexit""...
$ac_c
"
1>&6
echo
"configure:1315: 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 1320 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char onexit(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char onexit();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_onexit) || defined (__stub___onexit)
choke me
#else
onexit();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:1343:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_onexit=yes"
else
else
echo
"configure: failed program was:"
>
&5
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
cat
conftest.
$ac_ext
>
&5
for
ac_dir
in
$PATH
;
do
rm
-rf
conftest
*
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
eval
"ac_cv_func_onexit=no"
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_RANLIB
=
"ranlib"
break
fi
done
IFS
=
"
$ac_save_ifs
"
test
-z
"
$ac_cv_prog_RANLIB
"
&&
ac_cv_prog_RANLIB
=
":"
fi
fi
rm
-f
conftest
*
fi
fi
RANLIB
=
"
$ac_cv_prog_RANLIB
"
if
eval
"test
\"
`
echo
'$ac_cv_func_'
onexit
`
\"
= yes"
;
then
if
test
-n
"
$RANLIB
"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""
$RANLIB
"
1>&6
:
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for on_exit""...
$ac_c
"
1>&6
fi
echo
"configure:1361: 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 1366 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char on_exit(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char on_exit();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_on_exit) || defined (__stub___on_exit)
choke me
#else
on_exit();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:1389:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_on_exit=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_on_exit=no"
fi
fi
rm
-f
conftest
*
ac_aux_dir
=
for
ac_dir
in
$srcdir
$srcdir
/..
$srcdir
/../..
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$srcdir
$srcdir
/..
$srcdir
/../.."
1>&2
;
exit
1
;
}
fi
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
if
eval
"test
\"
`
echo
'$ac_cv_func_'
on_exit
`
\"
= yes"
;
then
# Find a good install program. We prefer a C program (faster),
echo
"
$ac_t
""yes"
1>&6
# so one script is as good as another. But avoid the broken or
cat
>>
confdefs.h
<<
\
EOF
# incompatible versions:
#define onexit on_exit
# SysV /etc/install, /usr/sbin/install
EOF
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# 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:765: 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
else
else
echo
"
$ac_t
""no"
1>&6
IFS
=
"
${
IFS
=
}
"
;
ac_save_IFS
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
fi
for
ac_dir
in
$PATH
;
do
# Account for people who put trailing slashes in PATH elements.
case
"
$ac_dir
/"
in
/|./|.//|/etc/
*
|
/usr/sbin/
*
|
/usr/etc/
*
|
/sbin/
*
|
/usr/afsws/bin/
*
|
/usr/ucb/
*
)
;;
*
)
# OSF1 and SCO ODT 3.0 have their own names for install.
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for
ac_prog
in
ginstall scoinst install
;
do
if
test
-f
$ac_dir
/
$ac_prog
;
then
if
test
$ac_prog
=
install
&&
grep
dspmsg
$ac_dir
/
$ac_prog
>
/dev/null 2>&1
;
then
# AIX install. It has an incompatible calling convention.
:
else
ac_cv_path_install
=
"
$ac_dir
/
$ac_prog
-c"
break
2
fi
fi
done
;;
esac
done
IFS
=
"
$ac_save_IFS
"
fi
fi
if
test
"
${
ac_cv_path_install
+set
}
"
=
set
;
then
INSTALL
=
"
$ac_cv_path_install
"
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
INSTALL
=
"
$ac_install_sh
"
fi
fi
fi
echo
"
$ac_t
""
$INSTALL
"
1>&6
else
true
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
fi
# It thinks the first close brace ends the variable substitution.
test
-z
"
$INSTALL_PROGRAM
"
&&
INSTALL_PROGRAM
=
'${INSTALL}'
# This should always succeed on unix.
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
# Apparently positive result on cygwin loses re. NON_UNIX_STDIO
# (as of cygwin b18). Likewise on mingw.
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
$ac_n
"checking for fstat""...
$ac_c
"
1>&6
echo
"configure:816: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:1422: checking for fstat"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_
func_fsta
t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_
prog_make_
${
ac_make
}
_se
t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftestmake
<<
\
EOF
#line 1427 "configure"
all:
#include "confdefs.h"
@echo 'ac_maketemp="
${
MAKE
}
"'
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fstat(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fstat();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_fstat) || defined (__stub___fstat)
choke me
#else
fstat();
#endif
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1450:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
rm
-rf
conftest
*
eval
`
${
MAKE
-make
}
-f
conftestmake 2>/dev/null |
grep
temp
=
`
eval
"ac_cv_func_fstat=yes"
if
test
-n
"
$ac_maketemp
"
;
then
eval
ac_cv_prog_make_
${
ac_make
}
_set
=
yes
else
else
echo
"configure: failed program was:"
>
&5
eval
ac_cv_prog_make_
${
ac_make
}
_set
=
no
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_fstat=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
make
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_prog_make_'
${
ac_make
}
_set
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
fstat
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
:
SET_MAKE
=
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
SET_MAKE
=
"MAKE=
${
MAKE
-make
}
"
fi
fi
echo
$ac_n
"checking need for NON_UNIX_STDIO""...
$ac_c
"
1>&6
echo
"configure:1470: 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
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define NON_UNIX_STDIO 1
EOF
else
# Sanity check for the cross-compilation case:
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:845: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
fi
fi
if
test
-z
"
$CPP
"
;
then
# This is necessary for e.g. Linux:
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CPP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"checking for necessary members of struct FILE""...
$ac_c
"
1>&6
echo
"configure:1485: 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
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
# This must be in double quotes, not single quotes, because CPP may get
# substituted into the Makefile and "${CC-cc}" will confuse make.
CPP
=
"
${
CC
-cc
}
-E"
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
149
0 "configure"
#line
86
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <assert.h>
int main() {
Syntax Error
FILE s; s._ptr; s._base; s._flag;
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1497:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
rm
-rf
conftest
*
{
(
eval echo
configure:866:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
g77_cv_struct_FILE
=
yes
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
else
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
g77_cv_struct_FILE
=
no
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
fi
cat
>
conftest.
$ac_ext
<<
EOF
rm
-f
conftest
*
#line 877 "configure"
fi
echo
"
$ac_t
""
$g77_cv_struct_FILE
"
1>&6
if
test
$g77_cv_struct_FILE
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
#define MISSING_FILE_ELEMS 1
EOF
fi
echo
$ac_n
"checking for drem in -lm""...
$ac_c
"
1>&6
echo
"configure:1517: 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
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1525 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#include <assert.h>
/* We use char because int might match the return type of a gcc2
Syntax Error
builtin and then its argument prototype would still apply. */
char drem();
int main() {
drem()
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1536:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
rm
-rf
conftest
*
{
(
eval echo
configure:883:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
eval
"ac_cv_lib_
$ac_lib_var
=yes"
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
else
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
CPP
=
/lib/cpp
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
rm
-f
conftest
*
echo
"
$ac_t
""yes"
1>&6
ac_cv_prog_CPP
=
"
$CPP
"
cat
>>
confdefs.h
<<
\
EOF
fi
#define IEEE_drem 1
CPP
=
"
$ac_cv_prog_CPP
"
EOF
else
else
echo
"
$ac_t
""no"
1>&6
ac_cv_prog_CPP
=
"
$CPP
"
fi
fi
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
for
ac_func
in
tempnam
echo
"configure:907: checking for stdio.h"
>
&5
do
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1564: 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
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1569
"configure"
#line
912
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
#include <stdio.h>
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char
$ac_func
();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
#else
$ac_func
();
#endif
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1592:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:917:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_
func_
$ac_func
=yes"
eval
"ac_cv_
header_
$ac_safe
=yes"
else
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_
func_
$ac_func
=no"
eval
"ac_cv_
header_
$ac_safe
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
ac_tr_func
=
HAVE_
`
echo
$ac_func
| tr
'abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
`
:
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: Can't find stdio.h.
You must have a usable C system for the target already installed, at least
including headers and, preferably, the library, before you can configure
the G77 runtime system. If necessary, install gcc now with
\`
LANGUAGES=c',
then the target library, then build with
\`
LANGUAGES=f77'."
1>&2
;
exit
1
;
}
fi
fi
done
# posix will guarantee the right behaviour for sprintf, else we can't be
# sure; HEADER_STDC wouldn't be the right check in sunos4, for instance.
# 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:1622: 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 1627 "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:1634:
\"
$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
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-fr
conftest
*
g77_cv_sys_sprintf_ansi
=
no
fi
rm
-fr
conftest
*
fi
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_sprintf_ansi
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
g77_cv_sys_sprintf_ansi
=
$g77_cv_sys_sprintf_ansi
fi
echo
"
$ac_t
""
$g77_cv_sys_sprintf_ansi
"
1>&6
# The cygwin patch takes steps to avoid defining USE_STRLEN here -- I don't
# understand why.
if
test
$g77_cv_sys_sprintf_ansi
!=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
#define USE_STRLEN 1
EOF
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:1665: checking NON_ANSI_RW_MODES"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 1667 "configure"
#include "confdefs.h"
#ifdef unix
yes
#endif
#ifdef __unix
yes
#endif
#ifdef __unix__
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
is_unix
=
yes
else
rm
-rf
conftest
*
is_unix
=
no
fi
rm
-f
conftest
*
if
test
$g77_cv_sys_cygwin32
=
yes
||
test
$g77_cv_sys_mingw32
=
yes
;
then
echo
"
$ac_t
""no"
1>&6
else
if
test
$is_unix
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
#define NON_ANSI_RW_MODES 1
EOF
echo
"
$ac_t
""yes"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
fi
# We have to firkle with the info in hconfig.h to figure out suitable types
# We have to firkle with the info in hconfig.h to figure out suitable types
# (via com.h). proj.h and com.h are in $srcdir/.., config.h which they need
# (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.
# is in ../.. and the config files are in $srcdir/../../config.
echo
$ac_n
"checking f2c integer type""...
$ac_c
"
1>&6
echo
$ac_n
"checking f2c integer type""...
$ac_c
"
1>&6
echo
"configure:
170
8: checking f2c integer type"
>
&5
echo
"configure:
94
8: checking f2c integer type"
>
&5
late_ac_cpp
=
$ac_cpp
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I../../gcc/f -I../../gcc -I../../gcc/config"
ac_cpp
=
"
$late_ac_cpp
-I../../gcc/f -I../../gcc -I../../gcc/config"
if
test
"
$subdir
"
!=
.
;
then
if
test
"
$subdir
"
!=
.
;
then
...
@@ -1713,9 +953,9 @@ fi
...
@@ -1713,9 +953,9 @@ fi
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2cinteger
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2cinteger
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
echo
"configure:
171
7: using
$ac_cpp
"
>
&5
echo
"configure:
95
7: using
$ac_cpp
"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
171
9 "configure"
#line
95
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1737,9 +977,9 @@ fi
...
@@ -1737,9 +977,9 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
if
test
"
$g77_cv_sys_f2cinteger
"
=
""
;
then
if
test
"
$g77_cv_sys_f2cinteger
"
=
""
;
then
echo
"configure:
174
1: using
$ac_cpp
"
>
&5
echo
"configure:
98
1: using
$ac_cpp
"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
174
3 "configure"
#line
98
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1774,7 +1014,7 @@ ac_cpp=$late_ac_cpp
...
@@ -1774,7 +1014,7 @@ ac_cpp=$late_ac_cpp
echo
$ac_n
"checking f2c long int type""...
$ac_c
"
1>&6
echo
$ac_n
"checking f2c long int type""...
$ac_c
"
1>&6
echo
"configure:1
77
8: checking f2c long int type"
>
&5
echo
"configure:1
01
8: checking f2c long int type"
>
&5
late_ac_cpp
=
$ac_cpp
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I../../gcc/f -I../../gcc -I../../gcc/config"
ac_cpp
=
"
$late_ac_cpp
-I../../gcc/f -I../../gcc -I../../gcc/config"
if
test
"
$subdir
"
!=
.
;
then
if
test
"
$subdir
"
!=
.
;
then
...
@@ -1783,9 +1023,9 @@ fi
...
@@ -1783,9 +1023,9 @@ fi
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2clongint
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2clongint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
echo
"configure:1
78
7: using
$ac_cpp
"
>
&5
echo
"configure:1
02
7: using
$ac_cpp
"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
78
9 "configure"
#line 1
02
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1807,9 +1047,9 @@ fi
...
@@ -1807,9 +1047,9 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
if
test
"
$g77_cv_sys_f2clongint
"
=
""
;
then
if
test
"
$g77_cv_sys_f2clongint
"
=
""
;
then
echo
"configure:1
81
1: using
$ac_cpp
"
>
&5
echo
"configure:1
05
1: using
$ac_cpp
"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
81
3 "configure"
#line 1
05
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1843,18 +1083,6 @@ F2C_LONGINT=$g77_cv_sys_f2clongint
...
@@ -1843,18 +1083,6 @@ F2C_LONGINT=$g77_cv_sys_f2clongint
ac_cpp
=
$late_ac_cpp
ac_cpp
=
$late_ac_cpp
# This EOF_CHAR is a misfeature on unix.
cat
>>
confdefs.h
<<
\
EOF
#define NO_EOF_CHAR_CHECK 1
EOF
cat
>>
confdefs.h
<<
\
EOF
#define Skip_f2c_Undefs 1
EOF
# avoid confusion in case the `makefile's from the f2c distribution have
# avoid confusion in case the `makefile's from the f2c distribution have
# got put here
# got put here
test
-f
libF77/makefile
&&
mv libF77/makefile libF77/makefile.ori
test
-f
libF77/makefile
&&
mv libF77/makefile libF77/makefile.ori
...
@@ -1872,25 +1100,6 @@ fi
...
@@ -1872,25 +1100,6 @@ fi
ac_aux_dir
=
for
ac_dir
in
$srcdir
$srcdir
/..
$srcdir
/../..
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$srcdir
$srcdir
/..
$srcdir
/../.."
1>&2
;
exit
1
;
}
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# Do some error checking and defaulting for the host and target type.
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# The inputs are:
...
@@ -1919,7 +1128,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
...
@@ -1919,7 +1128,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:1
923
: checking host system type"
>
&5
echo
"configure:1
132
: checking host system type"
>
&5
host_alias
=
$host
host_alias
=
$host
case
"
$host_alias
"
in
case
"
$host_alias
"
in
...
@@ -1940,7 +1149,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
...
@@ -1940,7 +1149,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking target system type""...
$ac_c
"
1>&6
echo
$ac_n
"checking target system type""...
$ac_c
"
1>&6
echo
"configure:1
944
: checking target system type"
>
&5
echo
"configure:1
153
: checking target system type"
>
&5
target_alias
=
$target
target_alias
=
$target
case
"
$target_alias
"
in
case
"
$target_alias
"
in
...
@@ -1958,7 +1167,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
...
@@ -1958,7 +1167,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$target
"
1>&6
echo
"
$ac_t
""
$target
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:1
962
: checking build system type"
>
&5
echo
"configure:1
171
: checking build system type"
>
&5
build_alias
=
$build
build_alias
=
$build
case
"
$build_alias
"
in
case
"
$build_alias
"
in
...
@@ -1982,7 +1191,7 @@ test "$host_alias" != "$target_alias" &&
...
@@ -1982,7 +1191,7 @@ test "$host_alias" != "$target_alias" &&
subdirs
=
"libU77"
subdirs
=
"libU77
libI77 libF77
"
trap
''
1 2 15
trap
''
1 2 15
cat
>
confcache
<<
\
EOF
cat
>
confcache
<<
\
EOF
...
@@ -2095,8 +1304,9 @@ do
...
@@ -2095,8 +1304,9 @@ do
done
done
ac_given_srcdir=
$srcdir
ac_given_srcdir=
$srcdir
ac_given_INSTALL="
$INSTALL
"
trap 'rm -fr `echo "Makefile g2c.h
libI77/Makefile libF77/Makefile
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
trap 'rm -fr `echo "Makefile g2c.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
...
@@ -2130,7 +1340,9 @@ s%@mandir@%$mandir%g
...
@@ -2130,7 +1340,9 @@ s%@mandir@%$mandir%g
s%@CC@%
$CC
%g
s%@CC@%
$CC
%g
s%@AR@%
$AR
%g
s%@AR@%
$AR
%g
s%@RANLIB@%
$RANLIB
%g
s%@RANLIB@%
$RANLIB
%g
s%@RANLIB_TEST@%
$RANLIB_TEST
%g
s%@INSTALL_PROGRAM@%
$INSTALL_PROGRAM
%g
s%@INSTALL_DATA@%
$INSTALL_DATA
%g
s%@SET_MAKE@%
$SET_MAKE
%g
s%@CPP@%
$CPP
%g
s%@CPP@%
$CPP
%g
s%@F2C_INTEGER@%
$F2C_INTEGER
%g
s%@F2C_INTEGER@%
$F2C_INTEGER
%g
s%@F2C_LONGINT@%
$F2C_LONGINT
%g
s%@F2C_LONGINT@%
$F2C_LONGINT
%g
...
@@ -2193,7 +1405,7 @@ EOF
...
@@ -2193,7 +1405,7 @@ EOF
cat
>>
$CONFIG_STATUS
<<
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
CONFIG_FILES=\
${
CONFIG_FILES
-
"Makefile g2c.h
libI77/Makefile libF77/Makefile
"
}
CONFIG_FILES=\
${
CONFIG_FILES
-
"Makefile g2c.h"
}
EOF
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
for ac_file in ..
$CONFIG_FILES
; do if test "x
$ac_file
" != x..; then
for ac_file in ..
$CONFIG_FILES
; do if test "x
$ac_file
" != x..; then
...
@@ -2228,6 +1440,10 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
...
@@ -2228,6 +1440,10 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
top_srcdir="
$ac_dots$ac_given_srcdir
" ;;
top_srcdir="
$ac_dots$ac_given_srcdir
" ;;
esac
esac
case "
$ac_given_INSTALL
" in
[/
$]
*) INSTALL="
$ac_given_INSTALL
" ;;
*) INSTALL="
$ac_dots$ac_given_INSTALL
" ;;
esac
echo creating "
$ac_file
"
echo creating "
$ac_file
"
rm -f "
$ac_file
"
rm -f "
$ac_file
"
...
@@ -2243,6 +1459,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
...
@@ -2243,6 +1459,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
s%@configure_input@%
$configure_input
%g
s%@configure_input@%
$configure_input
%g
s%@srcdir@%
$srcdir
%g
s%@srcdir@%
$srcdir
%g
s%@top_srcdir@%
$top_srcdir
%g
s%@top_srcdir@%
$top_srcdir
%g
s%@INSTALL@%
$INSTALL
%g
"
$ac_file_inputs
| (eval "
$ac_sed_cmds
") >
$ac_file
"
$ac_file_inputs
| (eval "
$ac_sed_cmds
") >
$ac_file
fi; done
fi; done
rm -f conftest.s*
rm -f conftest.s*
...
@@ -2284,7 +1501,7 @@ if test "$no_recursion" != yes; then
...
@@ -2284,7 +1501,7 @@ if test "$no_recursion" != yes; then
esac
esac
done
done
for
ac_config_dir
in
libU77
;
do
for
ac_config_dir
in
libU77
libI77 libF77
;
do
# Do not complain, so a configure script can configure whichever
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
# parts of a large source tree are present.
...
@@ -2338,6 +1555,10 @@ if test "$no_recursion" != yes; then
...
@@ -2338,6 +1555,10 @@ if test "$no_recursion" != yes; then
*
)
# Relative path.
*
)
# Relative path.
ac_sub_cache_file
=
"
$ac_dots$cache_file
"
;;
ac_sub_cache_file
=
"
$ac_dots$cache_file
"
;;
esac
esac
case
"
$ac_given_INSTALL
"
in
[
/
$]
*
)
INSTALL
=
"
$ac_given_INSTALL
"
;;
*
)
INSTALL
=
"
$ac_dots$ac_given_INSTALL
"
;;
esac
echo
"running
${
CONFIG_SHELL
-/bin/sh
}
$ac_sub_configure
$ac_sub_configure_args
--cache-file=
$ac_sub_cache_file
--srcdir=
$ac_sub_srcdir
"
echo
"running
${
CONFIG_SHELL
-/bin/sh
}
$ac_sub_configure
$ac_sub_configure_args
--cache-file=
$ac_sub_cache_file
--srcdir=
$ac_sub_srcdir
"
# The eval makes quoting arguments work.
# The eval makes quoting arguments work.
...
@@ -2353,4 +1574,3 @@ if test "$no_recursion" != yes; then
...
@@ -2353,4 +1574,3 @@ if test "$no_recursion" != yes; then
fi
fi
libf2c/libU77/configure
View file @
b1daa215
...
@@ -699,10 +699,40 @@ else
...
@@ -699,10 +699,40 @@ else
ac_cv_c_cross
=
no
ac_cv_c_cross
=
no
fi
fi
test
"
$AR
"
||
AR
=
ar
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:706: 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
else
cat
>
conftestmake
<<
\
EOF
all:
@echo 'ac_maketemp="
${
MAKE
}
"'
EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval
`
${
MAKE
-make
}
-f
conftestmake 2>/dev/null |
grep
temp
=
`
if
test
-n
"
$ac_maketemp
"
;
then
eval
ac_cv_prog_make_
${
ac_make
}
_set
=
yes
else
eval
ac_cv_prog_make_
${
ac_make
}
_set
=
no
fi
rm
-f
conftestmake
fi
if
eval
"test
\"
`
echo
'$ac_cv_prog_make_'
${
ac_make
}
_set
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
SET_MAKE
=
else
echo
"
$ac_t
""no"
1>&6
SET_MAKE
=
"MAKE=
${
MAKE
-make
}
"
fi
# Extract the first word of "chmod", so it can be a program name with args.
# Extract the first word of "chmod", so it can be a program name with args.
set
dummy chmod
;
ac_word
=
$2
set
dummy chmod
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
0
6: checking for
$ac_word
"
>
&5
echo
"configure:7
3
6: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ac_cv_prog_chmod
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ac_cv_prog_chmod
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -744,48 +774,8 @@ else
...
@@ -744,48 +774,8 @@ else
MAYBES
=
""
MAYBES
=
""
fi
fi
if
test
"
$ac_cv_c_cross
"
=
yes
;
then
RANLIB
=
$RANLIB_FOR_TARGET
AR
=
$AR_FOR_TARGET
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:756: 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
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_RANLIB
=
"ranlib"
break
fi
done
IFS
=
"
$ac_save_ifs
"
test
-z
"
$ac_cv_prog_RANLIB
"
&&
ac_cv_prog_RANLIB
=
":"
fi
fi
RANLIB
=
"
$ac_cv_prog_RANLIB
"
if
test
-n
"
$RANLIB
"
;
then
echo
"
$ac_t
""
$RANLIB
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
AR
=
ar
RANLIB_TEST
=
true
fi
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:7
8
9: checking how to run the C preprocessor"
>
&5
echo
"configure:7
7
9: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
CPP
=
...
@@ -800,13 +790,13 @@ else
...
@@ -800,13 +790,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
80
4 "configure"
#line
79
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
1
0:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
0
0:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -817,13 +807,13 @@ else
...
@@ -817,13 +807,13 @@ else
rm
-rf
conftest
*
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
2
1 "configure"
#line 8
1
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
2
7:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
1
7:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -846,12 +836,12 @@ fi
...
@@ -846,12 +836,12 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
echo
"
$ac_t
""
$CPP
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:8
5
0: checking for ANSI C header files"
>
&5
echo
"configure:8
4
0: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
5
5 "configure"
#line 8
4
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -859,7 +849,7 @@ else
...
@@ -859,7 +849,7 @@ else
#include <float.h>
#include <float.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
6
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
5
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -876,7 +866,7 @@ rm -f conftest*
...
@@ -876,7 +866,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
8
0 "configure"
#line 8
7
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -894,7 +884,7 @@ fi
...
@@ -894,7 +884,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
9
8 "configure"
#line 8
8
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -915,7 +905,7 @@ if test "$cross_compiling" = yes; then
...
@@ -915,7 +905,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
1
9 "configure"
#line 9
0
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h>
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
@@ -926,7 +916,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -926,7 +916,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:9
3
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
2
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -951,12 +941,12 @@ fi
...
@@ -951,12 +941,12 @@ fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:9
5
5: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:9
4
5: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
6
0 "configure"
#line 9
5
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -965,7 +955,7 @@ int main() {
...
@@ -965,7 +955,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:9
6
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:9
5
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_time
=
yes
ac_cv_header_time
=
yes
else
else
...
@@ -990,17 +980,17 @@ for ac_hdr in limits.h unistd.h sys/time.h string.h stdlib.h \
...
@@ -990,17 +980,17 @@ for ac_hdr in limits.h unistd.h sys/time.h string.h stdlib.h \
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:9
9
4: checking for
$ac_hdr
"
>
&5
echo
"configure:9
8
4: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
9
9 "configure"
#line 9
8
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
100
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
99
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1028,12 +1018,12 @@ done
...
@@ -1028,12 +1018,12 @@ done
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:10
3
2: checking for working const"
>
&5
echo
"configure:10
2
2: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
3
7 "configure"
#line 10
2
7 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -1082,7 +1072,7 @@ ccp = (char const *const *) p;
...
@@ -1082,7 +1072,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:10
8
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:10
7
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_const
=
yes
ac_cv_c_const
=
yes
else
else
...
@@ -1103,12 +1093,12 @@ EOF
...
@@ -1103,12 +1093,12 @@ EOF
fi
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:1
10
7: checking for size_t"
>
&5
echo
"configure:1
09
7: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
1
2 "configure"
#line 11
0
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1136,12 +1126,12 @@ EOF
...
@@ -1136,12 +1126,12 @@ EOF
fi
fi
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:11
4
0: checking for mode_t"
>
&5
echo
"configure:11
3
0: checking for mode_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
4
5 "configure"
#line 11
3
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1170,12 +1160,12 @@ fi
...
@@ -1170,12 +1160,12 @@ fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:11
7
4: checking for pid_t"
>
&5
echo
"configure:11
6
4: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
7
9 "configure"
#line 11
6
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1203,12 +1193,12 @@ EOF
...
@@ -1203,12 +1193,12 @@ EOF
fi
fi
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
"configure:1
20
7: checking for st_blksize in struct stat"
>
&5
echo
"configure:1
19
7: checking for st_blksize in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
1
2 "configure"
#line 12
0
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1216,7 +1206,7 @@ int main() {
...
@@ -1216,7 +1206,7 @@ int main() {
struct stat s; s.st_blksize;
struct stat s; s.st_blksize;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
2
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
1
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_blksize
=
yes
ac_cv_struct_st_blksize
=
yes
else
else
...
@@ -1237,12 +1227,12 @@ EOF
...
@@ -1237,12 +1227,12 @@ EOF
fi
fi
echo
$ac_n
"checking for st_blocks in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_blocks in struct stat""...
$ac_c
"
1>&6
echo
"configure:12
4
1: checking for st_blocks in struct stat"
>
&5
echo
"configure:12
3
1: checking for st_blocks in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blocks
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blocks
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
4
6 "configure"
#line 12
3
6 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1250,7 +1240,7 @@ int main() {
...
@@ -1250,7 +1240,7 @@ int main() {
struct stat s; s.st_blocks;
struct stat s; s.st_blocks;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
5
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
4
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_blocks
=
yes
ac_cv_struct_st_blocks
=
yes
else
else
...
@@ -1273,12 +1263,12 @@ else
...
@@ -1273,12 +1263,12 @@ else
fi
fi
echo
$ac_n
"checking for st_rdev in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_rdev in struct stat""...
$ac_c
"
1>&6
echo
"configure:12
7
7: checking for st_rdev in struct stat"
>
&5
echo
"configure:12
6
7: checking for st_rdev in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_rdev
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_rdev
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
8
2 "configure"
#line 12
7
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1286,7 +1276,7 @@ int main() {
...
@@ -1286,7 +1276,7 @@ int main() {
struct stat s; s.st_rdev;
struct stat s; s.st_rdev;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
9
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
8
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_rdev
=
yes
ac_cv_struct_st_rdev
=
yes
else
else
...
@@ -1307,12 +1297,12 @@ EOF
...
@@ -1307,12 +1297,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:13
1
1: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:13
0
1: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
1
6 "configure"
#line 13
0
6 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -1320,7 +1310,7 @@ int main() {
...
@@ -1320,7 +1310,7 @@ int main() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:13
2
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:13
1
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
ac_cv_struct_tm
=
time.h
else
else
...
@@ -1342,7 +1332,7 @@ fi
...
@@ -1342,7 +1332,7 @@ fi
echo
$ac_n
"checking for gethostname in -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gethostname in -lsocket""...
$ac_c
"
1>&6
echo
"configure:13
4
6: checking for gethostname in -lsocket"
>
&5
echo
"configure:13
3
6: checking for gethostname in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
gethostname | sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
socket
'_'
gethostname | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -1350,7 +1340,7 @@ else
...
@@ -1350,7 +1340,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
5
4 "configure"
#line 13
4
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1361,7 +1351,7 @@ int main() {
...
@@ -1361,7 +1351,7 @@ int main() {
gethostname()
gethostname()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:13
6
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
5
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1388,12 +1378,12 @@ for ac_func in symlink getcwd getwd lstat gethostname strerror clock \
...
@@ -1388,12 +1378,12 @@ for ac_func in symlink getcwd getwd lstat gethostname strerror clock \
gettimeofday
gettimeofday
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:13
9
2: checking for
$ac_func
"
>
&5
echo
"configure:13
8
2: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
9
7 "configure"
#line 13
8
7 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -1416,7 +1406,7 @@ $ac_func();
...
@@ -1416,7 +1406,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:14
2
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
1
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -1450,7 +1440,6 @@ test $ac_cv_func_clock = yes && MAYBES="$MAYBES mclock_.o"
...
@@ -1450,7 +1440,6 @@ test $ac_cv_func_clock = yes && MAYBES="$MAYBES mclock_.o"
trap
''
1 2 15
trap
''
1 2 15
cat
>
confcache
<<
\
EOF
cat
>
confcache
<<
\
EOF
# This file is a shell script that caches the results of configure
# This file is a shell script that caches the results of configure
...
@@ -1583,13 +1572,14 @@ s%@oldincludedir@%$oldincludedir%g
...
@@ -1583,13 +1572,14 @@ s%@oldincludedir@%$oldincludedir%g
s%@infodir@%
$infodir
%g
s%@infodir@%
$infodir
%g
s%@mandir@%
$mandir
%g
s%@mandir@%
$mandir
%g
s%@CC@%
$CC
%g
s%@CC@%
$CC
%g
s%@ac_cv_prog_chmod@%
$ac_cv_prog_chmod
%g
s%@RANLIB@%
$RANLIB
%g
s%@AR@%
$AR
%g
s%@AR@%
$AR
%g
s%@SET_MAKE@%
$SET_MAKE
%g
s%@ac_cv_prog_chmod@%
$ac_cv_prog_chmod
%g
s%@CPP@%
$CPP
%g
s%@CPP@%
$CPP
%g
s%@LIBOBJS@%
$LIBOBJS
%g
s%@LIBOBJS@%
$LIBOBJS
%g
s%@MAYBES@%
$MAYBES
%g
s%@MAYBES@%
$MAYBES
%g
s%@CROSS@%
$CROSS
%g
s%@CROSS@%
$CROSS
%g
s%@RANLIB@%
$RANLIB
%g
s%@RANLIB_TEST@%
$RANLIB_TEST
%g
s%@RANLIB_TEST@%
$RANLIB_TEST
%g
CEOF
CEOF
...
...
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