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
7a48ce6d
Commit
7a48ce6d
authored
Feb 24, 1999
by
Craig Burley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
parent
2f5962c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
459 additions
and
236 deletions
+459
-236
libf2c/libF77/configure
+143
-69
libf2c/libI77/configure
+154
-80
libf2c/libU77/configure
+162
-87
No files found.
libf2c/libF77/configure
View file @
7a48ce6d
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.1
2.1
# Generated automatically using autoconf version 2.1
3
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
...
@@ -333,7 +333,7 @@ EOF
...
@@ -333,7 +333,7 @@ EOF
verbose
=
yes
;;
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.1
2.1
"
echo
"configure generated by autoconf version 2.1
3
"
exit
0
;;
exit
0
;;
-with-
*
|
--with-
*
)
-with-
*
|
--with-
*
)
...
@@ -503,9 +503,11 @@ ac_ext=c
...
@@ -503,9 +503,11 @@ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
ac_exeext
=
ac_objext
=
o
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
...
@@ -525,15 +527,16 @@ fi
...
@@ -525,15 +527,16 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
set
dummy gcc
;
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:5
29
: checking for
$ac_word
"
>
&5
echo
"configure:5
31
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"gcc"
ac_cv_prog_CC
=
"gcc"
...
@@ -554,16 +557,17 @@ if test -z "$CC"; then
...
@@ -554,16 +557,17 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
set
dummy cc
;
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:5
58
: checking for
$ac_word
"
>
&5
echo
"configure:5
61
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_prog_rejected
=
no
ac_prog_rejected
=
no
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
...
@@ -598,25 +602,61 @@ else
...
@@ -598,25 +602,61 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
if
test
-z
"
$CC
"
;
then
case
"
`
uname
-s
`
"
in
*
win32
*
|
*
WIN32
*
)
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:612: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"cl"
break
fi
done
IFS
=
"
$ac_save_ifs
"
fi
fi
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
;;
esac
fi
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
06
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
44
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 616 "configure"
#line 655 "configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:6
20:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
60:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
@@ -630,18 +670,24 @@ else
...
@@ -630,18 +670,24 @@ else
ac_cv_prog_cc_works
=
no
ac_cv_prog_cc_works
=
no
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
if
test
$ac_cv_prog_cc_works
=
no
;
then
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
;
}
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
40
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
86
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:6
45
: checking whether we are using GNU C"
>
&5
echo
"configure:6
91
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -650,7 +696,7 @@ else
...
@@ -650,7 +696,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:
654
:
\"
$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:
700
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
ac_cv_prog_gcc
=
yes
else
else
ac_cv_prog_gcc
=
no
ac_cv_prog_gcc
=
no
...
@@ -661,11 +707,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
...
@@ -661,11 +707,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
GCC
=
yes
GCC
=
yes
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
else
ac_save_CFLAGS
=
"
$CFLAGS
"
GCC
=
CFLAGS
=
fi
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:669: checking whether
${
CC
-cc
}
accepts -g"
>
&5
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:719: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -680,23 +730,27 @@ rm -f conftest*
...
@@ -680,23 +730,27 @@ rm -f conftest*
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
CFLAGS
=
"
$ac_save_CFLAGS
"
CFLAGS
=
"
$ac_save_CFLAGS
"
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
CFLAGS
=
"-g -O2"
CFLAGS
=
"-g -O2"
else
else
CFLAGS
=
"-
O2
"
CFLAGS
=
"-
g
"
fi
fi
else
else
GCC
=
if
test
"
$GCC
"
=
yes
;
then
test
"
${
CFLAGS
+set
}
"
=
set
||
CFLAGS
=
"-g"
CFLAGS
=
"-O2"
else
CFLAGS
=
fi
fi
fi
test
"
$AR
"
||
AR
=
ar
test
"
$AR
"
||
AR
=
ar
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:7
00
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:7
54
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -726,7 +780,7 @@ fi
...
@@ -726,7 +780,7 @@ fi
# Sanity check for the cross-compilation case:
# Sanity check for the cross-compilation case:
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
30
: checking how to run the C preprocessor"
>
&5
echo
"configure:7
84
: 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
=
...
@@ -741,14 +795,14 @@ else
...
@@ -741,14 +795,14 @@ 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 7
45
"configure"
#line 7
99
"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:
751
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
805
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -758,14 +812,31 @@ else
...
@@ -758,14 +812,31 @@ 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
762
"configure"
#line
816
"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:768:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:822:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 833 "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:839:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -778,6 +849,8 @@ fi
...
@@ -778,6 +849,8 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
rm
-f
conftest
*
ac_cv_prog_CPP
=
"
$CPP
"
ac_cv_prog_CPP
=
"
$CPP
"
fi
fi
CPP
=
"
$ac_cv_prog_CPP
"
CPP
=
"
$ac_cv_prog_CPP
"
...
@@ -788,18 +861,18 @@ echo "$ac_t""$CPP" 1>&6
...
@@ -788,18 +861,18 @@ echo "$ac_t""$CPP" 1>&6
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
"configure:
792
: checking for stdio.h"
>
&5
echo
"configure:
865
: checking for stdio.h"
>
&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
797
"configure"
#line
870
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.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
02
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
75
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
eval
"ac_cv_header_
$ac_safe
=yes"
...
@@ -826,12 +899,12 @@ fi
...
@@ -826,12 +899,12 @@ fi
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:
830
: checking for ANSI C header files"
>
&5
echo
"configure:
903
: 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
835
"configure"
#line
908
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -839,8 +912,8 @@ else
...
@@ -839,8 +912,8 @@ 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:
843
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
916
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_stdc
=
yes
ac_cv_header_stdc
=
yes
...
@@ -856,7 +929,7 @@ rm -f conftest*
...
@@ -856,7 +929,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
860
"configure"
#line
933
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -874,7 +947,7 @@ fi
...
@@ -874,7 +947,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
878
"configure"
#line
951
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -895,7 +968,7 @@ if test "$cross_compiling" = yes; then
...
@@ -895,7 +968,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
899
"configure"
#line
972
"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')
...
@@ -906,7 +979,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -906,7 +979,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:9
10:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
83:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -931,12 +1004,12 @@ fi
...
@@ -931,12 +1004,12 @@ fi
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
"configure:
935
: checking for posix"
>
&5
echo
"configure:
1008
: checking for posix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_header_posix
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_header_posix
'+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
940
"configure"
#line
1013
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <unistd.h>
#include <unistd.h>
...
@@ -962,12 +1035,12 @@ echo "$ac_t""$g77_cv_header_posix" 1>&6
...
@@ -962,12 +1035,12 @@ echo "$ac_t""$g77_cv_header_posix" 1>&6
# We can rely on the GNU library being posix-ish. I guess checking the
# We can rely on the GNU library being posix-ish. I guess checking the
# header isn't actually like checking the functions, though...
# header isn't actually like checking the functions, though...
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
"configure:
966
: checking for GNU library"
>
&5
echo
"configure:
1039
: checking for GNU library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_lib_gnu
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_lib_gnu
'+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
971
"configure"
#line
1044
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef __GNU_LIBRARY__
#ifdef __GNU_LIBRARY__
...
@@ -990,12 +1063,12 @@ fi
...
@@ -990,12 +1063,12 @@ fi
echo
"
$ac_t
""
$g77_cv_lib_gnu
"
1>&6
echo
"
$ac_t
""
$g77_cv_lib_gnu
"
1>&6
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:
994
: checking return type of signal handlers"
>
&5
echo
"configure:
1067
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+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
999
"configure"
#line
1072
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -1012,7 +1085,7 @@ int main() {
...
@@ -1012,7 +1085,7 @@ int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:10
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:10
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_signal
=
void
ac_cv_type_signal
=
void
else
else
...
@@ -1033,12 +1106,12 @@ EOF
...
@@ -1033,12 +1106,12 @@ EOF
# we'll get atexit by default
# we'll get atexit by default
if
test
$ac_cv_header_stdc
!=
yes
;
then
if
test
$ac_cv_header_stdc
!=
yes
;
then
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:1
037
: checking for atexit"
>
&5
echo
"configure:1
110
: checking for atexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+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 1
042
"configure"
#line 1
115
"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 atexit(); below. */
which can conflict with char atexit(); below. */
...
@@ -1061,7 +1134,7 @@ atexit();
...
@@ -1061,7 +1134,7 @@ atexit();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
065:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
138:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
eval
"ac_cv_func_atexit=yes"
else
else
...
@@ -1086,12 +1159,12 @@ else
...
@@ -1086,12 +1159,12 @@ else
EOF
EOF
echo
$ac_n
"checking for onexit""...
$ac_c
"
1>&6
echo
$ac_n
"checking for onexit""...
$ac_c
"
1>&6
echo
"configure:1
090
: checking for onexit"
>
&5
echo
"configure:1
163
: checking for onexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_onexit
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_onexit
'+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 1
095
"configure"
#line 1
168
"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 onexit(); below. */
which can conflict with char onexit(); below. */
...
@@ -1114,7 +1187,7 @@ onexit();
...
@@ -1114,7 +1187,7 @@ onexit();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:11
18:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:11
91:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_onexit=yes"
eval
"ac_cv_func_onexit=yes"
else
else
...
@@ -1132,12 +1205,12 @@ if eval "test \"`echo '$ac_cv_func_'onexit`\" = yes"; then
...
@@ -1132,12 +1205,12 @@ if eval "test \"`echo '$ac_cv_func_'onexit`\" = yes"; then
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
echo
$ac_n
"checking for on_exit""...
$ac_c
"
1>&6
echo
"configure:1
136
: checking for on_exit"
>
&5
echo
"configure:1
209
: checking for on_exit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_on_exit
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_on_exit
'+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 1
141
"configure"
#line 1
214
"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 on_exit(); below. */
which can conflict with char on_exit(); below. */
...
@@ -1160,7 +1233,7 @@ on_exit();
...
@@ -1160,7 +1233,7 @@ on_exit();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
164:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
237:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_on_exit=yes"
eval
"ac_cv_func_on_exit=yes"
else
else
...
@@ -1190,7 +1263,7 @@ else true
...
@@ -1190,7 +1263,7 @@ else true
fi
fi
echo
$ac_n
"checking for drem in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for drem in -lm""...
$ac_c
"
1>&6
echo
"configure:1
194
: checking for drem in -lm"
>
&5
echo
"configure:1
267
: checking for drem in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
drem | sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
drem | 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
...
@@ -1198,7 +1271,7 @@ else
...
@@ -1198,7 +1271,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
02
"configure"
#line 12
75
"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
...
@@ -1209,7 +1282,7 @@ int main() {
...
@@ -1209,7 +1282,7 @@ int main() {
drem()
drem()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
13:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:12
86:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
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
...
@@ -1261,7 +1334,7 @@ EOF
...
@@ -1261,7 +1334,7 @@ EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
# and sets the high bit in the cache file unless we assign to the vars.
(
set
)
2>&1 |
(
set
)
2>&1 |
case
`
(
ac_space
=
' '
;
set
)
2>&1 |
grep
ac_space
`
in
case
`
(
ac_space
=
' '
;
set
|
grep
ac_space
)
2>&1
`
in
*
ac_space
=
\
*
)
*
ac_space
=
\
*
)
# `set' does not quote correctly, so add quotes (double-quote substitution
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
# turns \\\\ into \\, and sed turns \\ into \).
...
@@ -1340,7 +1413,7 @@ do
...
@@ -1340,7 +1413,7 @@ do
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
2.1
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
3
"
exit 0 ;;
exit 0 ;;
-help | --help | --hel | --he | --h)
-help | --help | --hel | --he | --h)
echo "\
$ac_cs_usage
"; exit 0 ;;
echo "\
$ac_cs_usage
"; exit 0 ;;
...
@@ -1363,6 +1436,7 @@ s%@SHELL@%$SHELL%g
...
@@ -1363,6 +1436,7 @@ s%@SHELL@%$SHELL%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@FFLAGS@%
$FFLAGS
%g
s%@DEFS@%
$DEFS
%g
s%@DEFS@%
$DEFS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LIBS@%
$LIBS
%g
s%@LIBS@%
$LIBS
%g
...
...
libf2c/libI77/configure
View file @
7a48ce6d
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.1
2.1
# Generated automatically using autoconf version 2.1
3
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
...
@@ -333,7 +333,7 @@ EOF
...
@@ -333,7 +333,7 @@ EOF
verbose
=
yes
;;
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.1
2.1
"
echo
"configure generated by autoconf version 2.1
3
"
exit
0
;;
exit
0
;;
-with-
*
|
--with-
*
)
-with-
*
|
--with-
*
)
...
@@ -503,9 +503,11 @@ ac_ext=c
...
@@ -503,9 +503,11 @@ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
ac_exeext
=
ac_objext
=
o
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
...
@@ -525,15 +527,16 @@ fi
...
@@ -525,15 +527,16 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
set
dummy gcc
;
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:5
29
: checking for
$ac_word
"
>
&5
echo
"configure:5
31
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"gcc"
ac_cv_prog_CC
=
"gcc"
...
@@ -554,16 +557,17 @@ if test -z "$CC"; then
...
@@ -554,16 +557,17 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
set
dummy cc
;
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:5
58
: checking for
$ac_word
"
>
&5
echo
"configure:5
61
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_prog_rejected
=
no
ac_prog_rejected
=
no
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
...
@@ -598,25 +602,61 @@ else
...
@@ -598,25 +602,61 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
if
test
-z
"
$CC
"
;
then
case
"
`
uname
-s
`
"
in
*
win32
*
|
*
WIN32
*
)
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:612: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"cl"
break
fi
done
IFS
=
"
$ac_save_ifs
"
fi
fi
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
;;
esac
fi
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
06
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
44
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 616 "configure"
#line 655 "configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:6
20:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
60:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
@@ -630,18 +670,24 @@ else
...
@@ -630,18 +670,24 @@ else
ac_cv_prog_cc_works
=
no
ac_cv_prog_cc_works
=
no
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
if
test
$ac_cv_prog_cc_works
=
no
;
then
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
;
}
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
40
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
86
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:6
45
: checking whether we are using GNU C"
>
&5
echo
"configure:6
91
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -650,7 +696,7 @@ else
...
@@ -650,7 +696,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:
654
:
\"
$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:
700
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
ac_cv_prog_gcc
=
yes
else
else
ac_cv_prog_gcc
=
no
ac_cv_prog_gcc
=
no
...
@@ -661,11 +707,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
...
@@ -661,11 +707,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
GCC
=
yes
GCC
=
yes
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
else
ac_save_CFLAGS
=
"
$CFLAGS
"
GCC
=
CFLAGS
=
fi
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:669: checking whether
${
CC
-cc
}
accepts -g"
>
&5
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:719: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -680,23 +730,27 @@ rm -f conftest*
...
@@ -680,23 +730,27 @@ rm -f conftest*
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
CFLAGS
=
"
$ac_save_CFLAGS
"
CFLAGS
=
"
$ac_save_CFLAGS
"
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
CFLAGS
=
"-g -O2"
CFLAGS
=
"-g -O2"
else
else
CFLAGS
=
"-
O2
"
CFLAGS
=
"-
g
"
fi
fi
else
else
GCC
=
if
test
"
$GCC
"
=
yes
;
then
test
"
${
CFLAGS
+set
}
"
=
set
||
CFLAGS
=
"-g"
CFLAGS
=
"-O2"
else
CFLAGS
=
fi
fi
fi
test
"
$AR
"
||
AR
=
ar
test
"
$AR
"
||
AR
=
ar
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:7
00
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:7
54
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -726,7 +780,7 @@ fi
...
@@ -726,7 +780,7 @@ fi
# Sanity check for the cross-compilation case:
# Sanity check for the cross-compilation case:
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
30
: checking how to run the C preprocessor"
>
&5
echo
"configure:7
84
: 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
=
...
@@ -741,14 +795,14 @@ else
...
@@ -741,14 +795,14 @@ 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 7
45
"configure"
#line 7
99
"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:
751
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
805
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -758,14 +812,31 @@ else
...
@@ -758,14 +812,31 @@ 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
762
"configure"
#line
816
"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:768:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:822:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 833 "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:839:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -778,6 +849,8 @@ fi
...
@@ -778,6 +849,8 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
rm
-f
conftest
*
ac_cv_prog_CPP
=
"
$CPP
"
ac_cv_prog_CPP
=
"
$CPP
"
fi
fi
CPP
=
"
$ac_cv_prog_CPP
"
CPP
=
"
$ac_cv_prog_CPP
"
...
@@ -788,18 +861,18 @@ echo "$ac_t""$CPP" 1>&6
...
@@ -788,18 +861,18 @@ echo "$ac_t""$CPP" 1>&6
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
"configure:
792
: checking for stdio.h"
>
&5
echo
"configure:
865
: checking for stdio.h"
>
&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
797
"configure"
#line
870
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.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
02
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
75
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
eval
"ac_cv_header_
$ac_safe
=yes"
...
@@ -826,12 +899,12 @@ fi
...
@@ -826,12 +899,12 @@ fi
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:
830
: checking for ANSI C header files"
>
&5
echo
"configure:
903
: 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
835
"configure"
#line
908
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -839,8 +912,8 @@ else
...
@@ -839,8 +912,8 @@ 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:
843
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
916
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_stdc
=
yes
ac_cv_header_stdc
=
yes
...
@@ -856,7 +929,7 @@ rm -f conftest*
...
@@ -856,7 +929,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
860
"configure"
#line
933
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -874,7 +947,7 @@ fi
...
@@ -874,7 +947,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
878
"configure"
#line
951
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -895,7 +968,7 @@ if test "$cross_compiling" = yes; then
...
@@ -895,7 +968,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
899
"configure"
#line
972
"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')
...
@@ -906,7 +979,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -906,7 +979,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:9
10:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
83:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -931,12 +1004,12 @@ fi
...
@@ -931,12 +1004,12 @@ fi
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
"configure:
935
: checking for posix"
>
&5
echo
"configure:
1008
: checking for posix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_header_posix
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_header_posix
'+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
940
"configure"
#line
1013
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <unistd.h>
#include <unistd.h>
...
@@ -962,12 +1035,12 @@ echo "$ac_t""$g77_cv_header_posix" 1>&6
...
@@ -962,12 +1035,12 @@ echo "$ac_t""$g77_cv_header_posix" 1>&6
# We can rely on the GNU library being posix-ish. I guess checking the
# We can rely on the GNU library being posix-ish. I guess checking the
# header isn't actually like checking the functions, though...
# header isn't actually like checking the functions, though...
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
"configure:
966
: checking for GNU library"
>
&5
echo
"configure:
1039
: checking for GNU library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_lib_gnu
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_lib_gnu
'+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
971
"configure"
#line
1044
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef __GNU_LIBRARY__
#ifdef __GNU_LIBRARY__
...
@@ -991,12 +1064,12 @@ echo "$ac_t""$g77_cv_lib_gnu" 1>&6
...
@@ -991,12 +1064,12 @@ echo "$ac_t""$g77_cv_lib_gnu" 1>&6
# Apparently cygwin needs to be special-cased.
# Apparently cygwin needs to be special-cased.
echo
$ac_n
"checking for cyg
\`
win'32""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cyg
\`
win'32""...
$ac_c
"
1>&6
echo
"configure:
995
: checking for cyg
\`
win'32"
>
&5
echo
"configure:
1068
: checking for cyg
\`
win'32"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_cygwin32
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_cygwin32
'+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
00
"configure"
#line 10
73
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CYGWIN32__
#ifdef __CYGWIN32__
yes
yes
...
@@ -1019,12 +1092,12 @@ echo "$ac_t""$g77_cv_sys_cygwin32" 1>&6
...
@@ -1019,12 +1092,12 @@ echo "$ac_t""$g77_cv_sys_cygwin32" 1>&6
# ditto for mingw32.
# ditto for mingw32.
echo
$ac_n
"checking for mingw32""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mingw32""...
$ac_c
"
1>&6
echo
"configure:10
23
: checking for mingw32"
>
&5
echo
"configure:10
96
: checking for mingw32"
>
&5
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_mingw32
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_mingw32
'+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 1
028
"configure"
#line 1
101
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __MINGW32__
#ifdef __MINGW32__
yes
yes
...
@@ -1048,18 +1121,18 @@ echo "$ac_t""$g77_cv_sys_mingw32" 1>&6
...
@@ -1048,18 +1121,18 @@ echo "$ac_t""$g77_cv_sys_mingw32" 1>&6
ac_safe
=
`
echo
"fcntl.h"
| sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"fcntl.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for fcntl.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for fcntl.h""...
$ac_c
"
1>&6
echo
"configure:1
052
: checking for fcntl.h"
>
&5
echo
"configure:1
125
: checking for fcntl.h"
>
&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 1
057
"configure"
#line 1
130
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <fcntl.h>
#include <fcntl.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:1
062
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
135
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
eval
"ac_cv_header_
$ac_safe
=yes"
...
@@ -1091,12 +1164,12 @@ fi
...
@@ -1091,12 +1164,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:1
095
: checking for working const"
>
&5
echo
"configure:1
168
: 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 11
00
"configure"
#line 11
73
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -1145,7 +1218,7 @@ ccp = (char const *const *) p;
...
@@ -1145,7 +1218,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
149
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
222
:
\"
$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
...
@@ -1166,12 +1239,12 @@ EOF
...
@@ -1166,12 +1239,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
170
: checking for size_t"
>
&5
echo
"configure:1
243
: 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 1
175
"configure"
#line 1
248
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1180,7 +1253,7 @@ else
...
@@ -1180,7 +1253,7 @@ else
#endif
#endif
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"size_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
egrep
"
(^|[^a-zA-Z_0-9])
size_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_size_t
=
yes
ac_cv_type_size_t
=
yes
else
else
...
@@ -1204,12 +1277,12 @@ fi
...
@@ -1204,12 +1277,12 @@ fi
# Apparently positive result on cygwin loses re. NON_UNIX_STDIO
# Apparently positive result on cygwin loses re. NON_UNIX_STDIO
# (as of cygwin b18). Likewise on mingw.
# (as of cygwin b18). Likewise on mingw.
echo
$ac_n
"checking for fstat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for fstat""...
$ac_c
"
1>&6
echo
"configure:12
08
: checking for fstat"
>
&5
echo
"configure:12
81
: checking for fstat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_fstat
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_fstat
'+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
13
"configure"
#line 12
86
"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 fstat(); below. */
which can conflict with char fstat(); below. */
...
@@ -1232,7 +1305,7 @@ fstat();
...
@@ -1232,7 +1305,7 @@ fstat();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
236:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
309:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_fstat=yes"
eval
"ac_cv_func_fstat=yes"
else
else
...
@@ -1252,7 +1325,7 @@ else
...
@@ -1252,7 +1325,7 @@ else
fi
fi
echo
$ac_n
"checking need for NON_UNIX_STDIO""...
$ac_c
"
1>&6
echo
$ac_n
"checking need for NON_UNIX_STDIO""...
$ac_c
"
1>&6
echo
"configure:1
256
: checking need for NON_UNIX_STDIO"
>
&5
echo
"configure:1
329
: checking need for NON_UNIX_STDIO"
>
&5
if
test
$g77_cv_sys_cygwin32
=
yes
\
if
test
$g77_cv_sys_cygwin32
=
yes
\
||
test
$g77_cv_sys_mingw32
=
yes
\
||
test
$g77_cv_sys_mingw32
=
yes
\
||
test
$ac_cv_func_fstat
=
no
;
then
||
test
$ac_cv_func_fstat
=
no
;
then
...
@@ -1268,12 +1341,12 @@ fi
...
@@ -1268,12 +1341,12 @@ fi
for
ac_func
in
tempnam
for
ac_func
in
tempnam
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:1
272
: checking for
$ac_func
"
>
&5
echo
"configure:1
345
: 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 1
277
"configure"
#line 1
350
"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. */
...
@@ -1296,7 +1369,7 @@ $ac_func();
...
@@ -1296,7 +1369,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:13
00:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
73:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -1326,19 +1399,19 @@ done
...
@@ -1326,19 +1399,19 @@ done
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# we're posix-conformant, so always do the test.
# we're posix-conformant, so always do the test.
echo
$ac_n
"checking for ansi/posix sprintf result""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ansi/posix sprintf result""...
$ac_c
"
1>&6
echo
"configure:1
330
: checking for ansi/posix sprintf result"
>
&5
echo
"configure:1
403
: checking for ansi/posix sprintf result"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
g77_cv_sys_sprintf_ansi
=
no
g77_cv_sys_sprintf_ansi
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
335
"configure"
#line 1
408
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
/* does sprintf return the number of chars transferred? */
/* does sprintf return the number of chars transferred? */
main () {char foo[2]; (sprintf(foo, "1") == 1) ? exit(0) : exit(1);}
main () {char foo[2]; (sprintf(foo, "1") == 1) ? exit(0) : exit(1);}
EOF
EOF
if
{
(
eval echo
configure:1
342:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:1
415:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
g77_cv_sys_sprintf_ansi
=
yes
g77_cv_sys_sprintf_ansi
=
yes
else
else
...
@@ -1369,9 +1442,9 @@ fi
...
@@ -1369,9 +1442,9 @@ fi
# define NON_ANSI_RW_MODES on unix (can't hurt)
# define NON_ANSI_RW_MODES on unix (can't hurt)
echo
$ac_n
"checking NON_ANSI_RW_MODES""...
$ac_c
"
1>&6
echo
$ac_n
"checking NON_ANSI_RW_MODES""...
$ac_c
"
1>&6
echo
"configure:1
373
: checking NON_ANSI_RW_MODES"
>
&5
echo
"configure:1
446
: checking NON_ANSI_RW_MODES"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
375
"configure"
#line 1
448
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef unix
#ifdef unix
yes
yes
...
@@ -1443,7 +1516,7 @@ EOF
...
@@ -1443,7 +1516,7 @@ EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
# and sets the high bit in the cache file unless we assign to the vars.
(
set
)
2>&1 |
(
set
)
2>&1 |
case
`
(
ac_space
=
' '
;
set
)
2>&1 |
grep
ac_space
`
in
case
`
(
ac_space
=
' '
;
set
|
grep
ac_space
)
2>&1
`
in
*
ac_space
=
\
*
)
*
ac_space
=
\
*
)
# `set' does not quote correctly, so add quotes (double-quote substitution
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
# turns \\\\ into \\, and sed turns \\ into \).
...
@@ -1522,7 +1595,7 @@ do
...
@@ -1522,7 +1595,7 @@ do
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
2.1
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
3
"
exit 0 ;;
exit 0 ;;
-help | --help | --hel | --he | --h)
-help | --help | --hel | --he | --h)
echo "\
$ac_cs_usage
"; exit 0 ;;
echo "\
$ac_cs_usage
"; exit 0 ;;
...
@@ -1545,6 +1618,7 @@ s%@SHELL@%$SHELL%g
...
@@ -1545,6 +1618,7 @@ s%@SHELL@%$SHELL%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@FFLAGS@%
$FFLAGS
%g
s%@DEFS@%
$DEFS
%g
s%@DEFS@%
$DEFS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LIBS@%
$LIBS
%g
s%@LIBS@%
$LIBS
%g
...
...
libf2c/libU77/configure
View file @
7a48ce6d
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.1
2.1
# Generated automatically using autoconf version 2.1
3
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
...
@@ -333,7 +333,7 @@ EOF
...
@@ -333,7 +333,7 @@ EOF
verbose
=
yes
;;
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.1
2.1
"
echo
"configure generated by autoconf version 2.1
3
"
exit
0
;;
exit
0
;;
-with-
*
|
--with-
*
)
-with-
*
|
--with-
*
)
...
@@ -503,9 +503,11 @@ ac_ext=c
...
@@ -503,9 +503,11 @@ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
ac_exeext
=
ac_objext
=
o
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
if
(
echo
-n
testing
;
echo
1,2,3
)
| sed s/-n/xn/ |
grep
xn
>
/dev/null
;
then
...
@@ -526,15 +528,16 @@ fi
...
@@ -526,15 +528,16 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
set
dummy gcc
;
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:53
0
: checking for
$ac_word
"
>
&5
echo
"configure:53
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"gcc"
ac_cv_prog_CC
=
"gcc"
...
@@ -555,16 +558,17 @@ if test -z "$CC"; then
...
@@ -555,16 +558,17 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
set
dummy cc
;
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:5
59
: checking for
$ac_word
"
>
&5
echo
"configure:5
62
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_prog_rejected
=
no
ac_prog_rejected
=
no
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
...
@@ -599,25 +603,61 @@ else
...
@@ -599,25 +603,61 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
if
test
-z
"
$CC
"
;
then
case
"
`
uname
-s
`
"
in
*
win32
*
|
*
WIN32
*
)
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:613: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_prog_CC
=
"cl"
break
fi
done
IFS
=
"
$ac_save_ifs
"
fi
fi
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
;;
esac
fi
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
07
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
45
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link
=
'${CC-cc} -o conftest
${ac_exeext}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 617 "configure"
#line 656 "configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:6
21:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
61:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
@@ -631,18 +671,24 @@ else
...
@@ -631,18 +671,24 @@ else
ac_cv_prog_cc_works
=
no
ac_cv_prog_cc_works
=
no
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling
=
$ac_cv_prog_cc_cross
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_works
"
1>&6
if
test
$ac_cv_prog_cc_works
=
no
;
then
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
;
}
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
41
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
87
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:6
46
: checking whether we are using GNU C"
>
&5
echo
"configure:6
92
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -651,7 +697,7 @@ else
...
@@ -651,7 +697,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:
655
:
\"
$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:
701
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
ac_cv_prog_gcc
=
yes
else
else
ac_cv_prog_gcc
=
no
ac_cv_prog_gcc
=
no
...
@@ -662,11 +708,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
...
@@ -662,11 +708,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
GCC
=
yes
GCC
=
yes
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
else
ac_save_CFLAGS
=
"
$CFLAGS
"
GCC
=
CFLAGS
=
fi
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:670: checking whether
${
CC
-cc
}
accepts -g"
>
&5
ac_test_CFLAGS
=
"
${
CFLAGS
+set
}
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:720: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -681,16 +731,20 @@ rm -f conftest*
...
@@ -681,16 +731,20 @@ rm -f conftest*
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_g
"
1>&6
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
if
test
"
$ac_test_CFLAGS
"
=
set
;
then
CFLAGS
=
"
$ac_save_CFLAGS
"
CFLAGS
=
"
$ac_save_CFLAGS
"
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
elif
test
$ac_cv_prog_cc_g
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
CFLAGS
=
"-g -O2"
CFLAGS
=
"-g -O2"
else
else
CFLAGS
=
"-
O2
"
CFLAGS
=
"-
g
"
fi
fi
else
else
GCC
=
if
test
"
$GCC
"
=
yes
;
then
test
"
${
CFLAGS
+set
}
"
=
set
||
CFLAGS
=
"-g"
CFLAGS
=
"-O2"
else
CFLAGS
=
fi
fi
fi
if
test
"
$CROSS
"
;
then
if
test
"
$CROSS
"
;
then
...
@@ -702,7 +756,7 @@ fi
...
@@ -702,7 +756,7 @@ fi
test
"
$AR
"
||
AR
=
ar
test
"
$AR
"
||
AR
=
ar
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:7
06
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:7
60
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -732,7 +786,7 @@ fi
...
@@ -732,7 +786,7 @@ 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
36
: checking for
$ac_word
"
>
&5
echo
"configure:7
90
: 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,8 +798,9 @@ else
...
@@ -744,8 +798,9 @@ else
ac_cv_path_ac_cv_prog_chmod
=
"
$ac_cv_prog_chmod
"
# Let the user override the test with a dos path.
ac_cv_path_ac_cv_prog_chmod
=
"
$ac_cv_prog_chmod
"
# Let the user override the test with a dos path.
;;
;;
*
)
*
)
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
for
ac_dir
in
$PATH
;
do
ac_dummy
=
"
$PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_path_ac_cv_prog_chmod
=
"
$ac_dir
/
$ac_word
"
ac_cv_path_ac_cv_prog_chmod
=
"
$ac_dir
/
$ac_word
"
...
@@ -775,7 +830,7 @@ else
...
@@ -775,7 +830,7 @@ else
fi
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:
779
: checking how to run the C preprocessor"
>
&5
echo
"configure:
834
: 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
=
...
@@ -790,14 +845,14 @@ else
...
@@ -790,14 +845,14 @@ 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
794
"configure"
#line
849
"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
00
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
55
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -807,14 +862,31 @@ else
...
@@ -807,14 +862,31 @@ 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
11
"configure"
#line 8
66
"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:817:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:872:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 883 "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:889:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
else
else
...
@@ -827,6 +899,8 @@ fi
...
@@ -827,6 +899,8 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
rm
-f
conftest
*
ac_cv_prog_CPP
=
"
$CPP
"
ac_cv_prog_CPP
=
"
$CPP
"
fi
fi
CPP
=
"
$ac_cv_prog_CPP
"
CPP
=
"
$ac_cv_prog_CPP
"
...
@@ -836,12 +910,12 @@ fi
...
@@ -836,12 +910,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:
840
: checking for ANSI C header files"
>
&5
echo
"configure:
914
: 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
845
"configure"
#line
919
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -849,8 +923,8 @@ else
...
@@ -849,8 +923,8 @@ 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:
853
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
927
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_stdc
=
yes
ac_cv_header_stdc
=
yes
...
@@ -866,7 +940,7 @@ rm -f conftest*
...
@@ -866,7 +940,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
870
"configure"
#line
944
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -884,7 +958,7 @@ fi
...
@@ -884,7 +958,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
888
"configure"
#line
962
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -905,7 +979,7 @@ if test "$cross_compiling" = yes; then
...
@@ -905,7 +979,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
09
"configure"
#line 9
83
"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')
...
@@ -916,7 +990,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -916,7 +990,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:9
20:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
94:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -941,12 +1015,12 @@ fi
...
@@ -941,12 +1015,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:
945
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:
1019
: 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
950
"configure"
#line
1024
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -955,7 +1029,7 @@ int main() {
...
@@ -955,7 +1029,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
959
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
1033
:
\"
$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
...
@@ -980,18 +1054,18 @@ for ac_hdr in limits.h unistd.h sys/time.h string.h stdlib.h \
...
@@ -980,18 +1054,18 @@ 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:
984
: checking for
$ac_hdr
"
>
&5
echo
"configure:
1058
: 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
989
"configure"
#line
1063
"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:
994
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
1068
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
|
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
eval
"ac_cv_header_
$ac_safe
=yes"
...
@@ -1018,12 +1092,12 @@ done
...
@@ -1018,12 +1092,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
22
: checking for working const"
>
&5
echo
"configure:10
96
: 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 1
027
"configure"
#line 1
101
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -1072,7 +1146,7 @@ ccp = (char const *const *) p;
...
@@ -1072,7 +1146,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
076
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
150
:
\"
$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
...
@@ -1093,12 +1167,12 @@ EOF
...
@@ -1093,12 +1167,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
097
: checking for size_t"
>
&5
echo
"configure:1
171
: 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
02
"configure"
#line 11
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1107,7 +1181,7 @@ else
...
@@ -1107,7 +1181,7 @@ else
#endif
#endif
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"size_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
egrep
"
(^|[^a-zA-Z_0-9])
size_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_size_t
=
yes
ac_cv_type_size_t
=
yes
else
else
...
@@ -1126,12 +1200,12 @@ EOF
...
@@ -1126,12 +1200,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:1
130
: checking for mode_t"
>
&5
echo
"configure:1
204
: 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 1
135
"configure"
#line 1
209
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1140,7 +1214,7 @@ else
...
@@ -1140,7 +1214,7 @@ else
#endif
#endif
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"mode_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
egrep
"
(^|[^a-zA-Z_0-9])
mode_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_mode_t
=
yes
ac_cv_type_mode_t
=
yes
else
else
...
@@ -1160,12 +1234,12 @@ fi
...
@@ -1160,12 +1234,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:1
164
: checking for pid_t"
>
&5
echo
"configure:1
238
: 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 1
169
"configure"
#line 1
243
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1174,7 +1248,7 @@ else
...
@@ -1174,7 +1248,7 @@ else
#endif
#endif
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"pid_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
egrep
"
(^|[^a-zA-Z_0-9])
pid_t[^a-zA-Z_0-9]"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_pid_t
=
yes
ac_cv_type_pid_t
=
yes
else
else
...
@@ -1193,12 +1267,12 @@ EOF
...
@@ -1193,12 +1267,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
197
: checking for st_blksize in struct stat"
>
&5
echo
"configure:1
271
: 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
02
"configure"
#line 12
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1206,7 +1280,7 @@ int main() {
...
@@ -1206,7 +1280,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
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
84
:
\"
$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
...
@@ -1227,12 +1301,12 @@ EOF
...
@@ -1227,12 +1301,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:1
231
: checking for st_blocks in struct stat"
>
&5
echo
"configure:1
305
: 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 1
236
"configure"
#line 1
310
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1240,7 +1314,7 @@ int main() {
...
@@ -1240,7 +1314,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:1
244
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
318
:
\"
$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
...
@@ -1259,16 +1333,16 @@ if test $ac_cv_struct_st_blocks = yes; then
...
@@ -1259,16 +1333,16 @@ if test $ac_cv_struct_st_blocks = yes; then
EOF
EOF
else
else
LIBOBJS
=
"
$LIBOBJS
fileblocks.
o
"
LIBOBJS
=
"
$LIBOBJS
fileblocks.
${
ac_objext
}
"
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:1
267
: checking for st_rdev in struct stat"
>
&5
echo
"configure:1
341
: 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 1
272
"configure"
#line 1
346
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1276,7 +1350,7 @@ int main() {
...
@@ -1276,7 +1350,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:1
280
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
354
:
\"
$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
...
@@ -1297,12 +1371,12 @@ EOF
...
@@ -1297,12 +1371,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
01
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:13
75
: 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
06
"configure"
#line 13
80
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -1310,7 +1384,7 @@ int main() {
...
@@ -1310,7 +1384,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
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:13
88
:
\"
$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
...
@@ -1332,7 +1406,7 @@ fi
...
@@ -1332,7 +1406,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:1
336
: checking for gethostname in -lsocket"
>
&5
echo
"configure:1
410
: 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
...
@@ -1340,7 +1414,7 @@ else
...
@@ -1340,7 +1414,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 1
344
"configure"
#line 1
418
"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
...
@@ -1351,7 +1425,7 @@ int main() {
...
@@ -1351,7 +1425,7 @@ int main() {
gethostname()
gethostname()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
355:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
429:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
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
...
@@ -1378,12 +1452,12 @@ for ac_func in symlink getcwd getwd lstat gethostname strerror clock \
...
@@ -1378,12 +1452,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:1
382
: checking for
$ac_func
"
>
&5
echo
"configure:1
456
: 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 1
387
"configure"
#line 1
461
"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. */
...
@@ -1406,7 +1480,7 @@ $ac_func();
...
@@ -1406,7 +1480,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:14
10:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
84:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -1463,7 +1537,7 @@ EOF
...
@@ -1463,7 +1537,7 @@ EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
# and sets the high bit in the cache file unless we assign to the vars.
(
set
)
2>&1 |
(
set
)
2>&1 |
case
`
(
ac_space
=
' '
;
set
)
2>&1 |
grep
ac_space
`
in
case
`
(
ac_space
=
' '
;
set
|
grep
ac_space
)
2>&1
`
in
*
ac_space
=
\
*
)
*
ac_space
=
\
*
)
# `set' does not quote correctly, so add quotes (double-quote substitution
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
# turns \\\\ into \\, and sed turns \\ into \).
...
@@ -1530,7 +1604,7 @@ do
...
@@ -1530,7 +1604,7 @@ do
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
echo "running \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion"
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
exec \
${
CONFIG_SHELL
-/bin/sh
}
$0
$ac_configure_args
--no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
2.1
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.1
3
"
exit 0 ;;
exit 0 ;;
-help | --help | --hel | --he | --h)
-help | --help | --hel | --he | --h)
echo "\
$ac_cs_usage
"; exit 0 ;;
echo "\
$ac_cs_usage
"; exit 0 ;;
...
@@ -1553,6 +1627,7 @@ s%@SHELL@%$SHELL%g
...
@@ -1553,6 +1627,7 @@ s%@SHELL@%$SHELL%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CFLAGS@%
$CFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CPPFLAGS@%
$CPPFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@CXXFLAGS@%
$CXXFLAGS
%g
s%@FFLAGS@%
$FFLAGS
%g
s%@DEFS@%
$DEFS
%g
s%@DEFS@%
$DEFS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LDFLAGS@%
$LDFLAGS
%g
s%@LIBS@%
$LIBS
%g
s%@LIBS@%
$LIBS
%g
...
...
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