Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e736ca31
Commit
e736ca31
authored
Jan 24, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slowly building up config.h so that it is pretty much generated by
configure, thereby reducing the ports dependencies in it :)
parent
ef239de0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
348 additions
and
140 deletions
+348
-140
src/configure
src/configure
+300
-109
src/configure.in
src/configure.in
+4
-1
src/include/config.h.in
src/include/config.h.in
+44
-30
No files found.
src/configure
View file @
e736ca31
...
@@ -519,10 +519,11 @@ fi
...
@@ -519,10 +519,11 @@ 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:52
6
: checking for
$ac_word
"
>
&5
echo
"configure:52
7
: 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
...
@@ -551,7 +552,7 @@ if test -z "$CC"; then
...
@@ -551,7 +552,7 @@ 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:55
5
: checking for
$ac_word
"
>
&5
echo
"configure:55
6
: 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
...
@@ -599,7 +600,7 @@ fi
...
@@ -599,7 +600,7 @@ fi
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:60
3
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:60
4
: 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.
...
@@ -609,11 +610,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
...
@@ -609,11 +610,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
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 61
3
"configure"
#line 61
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:61
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:61
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -633,12 +634,12 @@ if test $ac_cv_prog_cc_works = no; then
...
@@ -633,12 +634,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
{
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:63
7
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:63
8
: 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:64
2
: checking whether we are using GNU C"
>
&5
echo
"configure:64
3
: 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
...
@@ -647,7 +648,7 @@ else
...
@@ -647,7 +648,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:65
1
:
\"
$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:65
2
:
\"
$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,7 +663,7 @@ if test $ac_cv_prog_gcc = yes; then
...
@@ -662,7 +663,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:66
6
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:66
7
: 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
...
@@ -690,7 +691,7 @@ else
...
@@ -690,7 +691,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:69
4
: checking how to run the C preprocessor"
>
&5
echo
"configure:69
5
: 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
=
...
@@ -705,13 +706,13 @@ else
...
@@ -705,13 +706,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
09
"configure"
#line 7
10
"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:71
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:71
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -722,13 +723,13 @@ else
...
@@ -722,13 +723,13 @@ else
rm
-rf
conftest
*
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
6
"configure"
#line 72
7
"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:73
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:73
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -755,7 +756,7 @@ do
...
@@ -755,7 +756,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
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
59
: checking for
$ac_word
"
>
&5
echo
"configure:7
60
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -786,7 +787,7 @@ test -n "$CXX" || CXX="gcc"
...
@@ -786,7 +787,7 @@ test -n "$CXX" || CXX="gcc"
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:79
0
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:79
1
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
C
ac_ext
=
C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
@@ -796,11 +797,11 @@ ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $L
...
@@ -796,11 +797,11 @@ ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $L
cross_compiling
=
$ac_cv_prog_cxx_cross
cross_compiling
=
$ac_cv_prog_cxx_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 80
0
"configure"
#line 80
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:80
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:80
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cxx_works
=
yes
ac_cv_prog_cxx_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
...
@@ -826,12 +827,12 @@ if test $ac_cv_prog_cxx_works = no; then
...
@@ -826,12 +827,12 @@ if test $ac_cv_prog_cxx_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 (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:83
0
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:83
1
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cxx_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cxx_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cxx_cross
cross_compiling
=
$ac_cv_prog_cxx_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:83
5
: checking whether we are using GNU C++"
>
&5
echo
"configure:83
6
: checking whether we are using GNU C++"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -840,7 +841,7 @@ else
...
@@ -840,7 +841,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:84
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:84
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gxx
=
yes
ac_cv_prog_gxx
=
yes
else
else
ac_cv_prog_gxx
=
no
ac_cv_prog_gxx
=
no
...
@@ -855,7 +856,7 @@ if test $ac_cv_prog_gxx = yes; then
...
@@ -855,7 +856,7 @@ if test $ac_cv_prog_gxx = yes; then
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
CXXFLAGS
=
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:8
59
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
echo
"configure:8
60
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -892,7 +893,7 @@ fi
...
@@ -892,7 +893,7 @@ fi
# Extract the first word of "install", so it can be a program name with args.
# Extract the first word of "install", so it can be a program name with args.
set
dummy
install
;
ac_word
=
$2
set
dummy
install
;
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:89
6
: checking for
$ac_word
"
>
&5
echo
"configure:89
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_INSTALL
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_INSTALL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -924,7 +925,7 @@ fi
...
@@ -924,7 +925,7 @@ fi
# Extract the first word of "bsdinst", so it can be a program name with args.
# Extract the first word of "bsdinst", so it can be a program name with args.
set
dummy bsdinst
;
ac_word
=
$2
set
dummy bsdinst
;
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:92
8
: checking for
$ac_word
"
>
&5
echo
"configure:92
9
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_BSDINST
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_BSDINST
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -987,7 +988,7 @@ fi
...
@@ -987,7 +988,7 @@ fi
# Extract the first word of "flex", so it can be a program name with args.
# Extract the first word of "flex", so it can be a program name with args.
set
dummy flex
;
ac_word
=
$2
set
dummy flex
;
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:99
1
: checking for
$ac_word
"
>
&5
echo
"configure:99
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1020,7 +1021,7 @@ then
...
@@ -1020,7 +1021,7 @@ then
*
)
ac_lib
=
l
;;
*
)
ac_lib
=
l
;;
esac
esac
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
"configure:102
4
: checking for yywrap in -l
$ac_lib
"
>
&5
echo
"configure:102
5
: checking for yywrap in -l
$ac_lib
"
>
&5
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
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
...
@@ -1028,7 +1029,7 @@ else
...
@@ -1028,7 +1029,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 103
2
"configure"
#line 103
3
"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
...
@@ -1039,7 +1040,7 @@ int main() {
...
@@ -1039,7 +1040,7 @@ int main() {
yywrap()
yywrap()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:104
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:104
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1062,7 +1063,7 @@ fi
...
@@ -1062,7 +1063,7 @@ fi
fi
fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:106
6
: checking whether ln -s works"
>
&5
echo
"configure:106
7
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1083,7 +1084,7 @@ else
...
@@ -1083,7 +1084,7 @@ else
fi
fi
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:108
7
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:108
8
: 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
...
@@ -1112,7 +1113,7 @@ fi
...
@@ -1112,7 +1113,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:111
6
: checking for
$ac_word
"
>
&5
echo
"configure:111
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1141,7 +1142,7 @@ fi
...
@@ -1141,7 +1142,7 @@ fi
# Extract the first word of "find", so it can be a program name with args.
# Extract the first word of "find", so it can be a program name with args.
set
dummy find
;
ac_word
=
$2
set
dummy find
;
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:114
5
: checking for
$ac_word
"
>
&5
echo
"configure:114
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1172,7 +1173,7 @@ fi
...
@@ -1172,7 +1173,7 @@ fi
# Extract the first word of "tar", so it can be a program name with args.
# Extract the first word of "tar", so it can be a program name with args.
set
dummy
tar
;
ac_word
=
$2
set
dummy
tar
;
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:117
6
: checking for
$ac_word
"
>
&5
echo
"configure:117
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1203,7 +1204,7 @@ fi
...
@@ -1203,7 +1204,7 @@ fi
# Extract the first word of "split", so it can be a program name with args.
# Extract the first word of "split", so it can be a program name with args.
set
dummy
split
;
ac_word
=
$2
set
dummy
split
;
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:120
7
: checking for
$ac_word
"
>
&5
echo
"configure:120
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1234,7 +1235,7 @@ fi
...
@@ -1234,7 +1235,7 @@ fi
# Extract the first word of "etags", so it can be a program name with args.
# Extract the first word of "etags", so it can be a program name with args.
set
dummy etags
;
ac_word
=
$2
set
dummy etags
;
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:123
8
: checking for
$ac_word
"
>
&5
echo
"configure:123
9
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1265,7 +1266,7 @@ fi
...
@@ -1265,7 +1266,7 @@ fi
# Extract the first word of "xargs", so it can be a program name with args.
# Extract the first word of "xargs", so it can be a program name with args.
set
dummy xargs
;
ac_word
=
$2
set
dummy xargs
;
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:12
69
: checking for
$ac_word
"
>
&5
echo
"configure:12
70
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1296,7 +1297,7 @@ fi
...
@@ -1296,7 +1297,7 @@ fi
# Extract the first word of "ipcs", so it can be a program name with args.
# Extract the first word of "ipcs", so it can be a program name with args.
set
dummy ipcs
;
ac_word
=
$2
set
dummy ipcs
;
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:130
0
: checking for
$ac_word
"
>
&5
echo
"configure:130
1
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1327,7 +1328,7 @@ fi
...
@@ -1327,7 +1328,7 @@ fi
# Extract the first word of "ipcrm", so it can be a program name with args.
# Extract the first word of "ipcrm", so it can be a program name with args.
set
dummy ipcrm
;
ac_word
=
$2
set
dummy ipcrm
;
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:133
1
: checking for
$ac_word
"
>
&5
echo
"configure:133
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1357,7 +1358,7 @@ fi
...
@@ -1357,7 +1358,7 @@ fi
echo
$ac_n
"checking for readline in -lreadline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for readline in -lreadline""...
$ac_c
"
1>&6
echo
"configure:136
1
: checking for readline in -lreadline"
>
&5
echo
"configure:136
2
: checking for readline in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
readline |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
readline
'_'
readline |
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
...
@@ -1365,7 +1366,7 @@ else
...
@@ -1365,7 +1366,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
69
"configure"
#line 13
70
"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
...
@@ -1376,7 +1377,7 @@ int main() {
...
@@ -1376,7 +1377,7 @@ int main() {
readline()
readline()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:138
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:138
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1398,7 +1399,7 @@ fi
...
@@ -1398,7 +1399,7 @@ fi
echo
$ac_n
"checking for history in -lhistory""...
$ac_c
"
1>&6
echo
$ac_n
"checking for history in -lhistory""...
$ac_c
"
1>&6
echo
"configure:140
2
: checking for history in -lhistory"
>
&5
echo
"configure:140
3
: checking for history in -lhistory"
>
&5
ac_lib_var
=
`
echo history
'_'
history
|
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo history
'_'
history
|
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
...
@@ -1406,7 +1407,7 @@ else
...
@@ -1406,7 +1407,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 141
0
"configure"
#line 141
1
"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
...
@@ -1417,7 +1418,7 @@ int main() {
...
@@ -1417,7 +1418,7 @@ int main() {
history()
history()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:142
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:142
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1446,12 +1447,12 @@ fi
...
@@ -1446,12 +1447,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:145
0
: checking for ANSI C header files"
>
&5
echo
"configure:145
1
: 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 145
5
"configure"
#line 145
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -1459,7 +1460,7 @@ else
...
@@ -1459,7 +1460,7 @@ else
#include <float.h>
#include <float.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:146
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:146
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1476,7 +1477,7 @@ rm -f conftest*
...
@@ -1476,7 +1477,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 148
0
"configure"
#line 148
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -1494,7 +1495,7 @@ fi
...
@@ -1494,7 +1495,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 149
8
"configure"
#line 149
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -1515,7 +1516,7 @@ if test "$cross_compiling" = yes; then
...
@@ -1515,7 +1516,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
19
"configure"
#line 15
20
"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')
...
@@ -1526,7 +1527,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -1526,7 +1527,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:153
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:153
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -1550,12 +1551,12 @@ EOF
...
@@ -1550,12 +1551,12 @@ EOF
fi
fi
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:155
4
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:155
5
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+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 15
59
"configure"
#line 15
60
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/wait.h>
...
@@ -1571,7 +1572,7 @@ wait (&s);
...
@@ -1571,7 +1572,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:157
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:157
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
ac_cv_header_sys_wait_h
=
yes
else
else
...
@@ -1595,17 +1596,57 @@ for ac_hdr in fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.h
...
@@ -1595,17 +1596,57 @@ for ac_hdr in fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.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:1599: checking for
$ac_hdr
"
>
&5
echo
"configure:1600: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1605 "configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1610:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
for
ac_hdr
in
termios.h values.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:1640: 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 16
04
"configure"
#line 16
45
"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:16
09
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:16
50
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1633,12 +1674,12 @@ done
...
@@ -1633,12 +1674,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:16
37
: checking for working const"
>
&5
echo
"configure:16
78
: 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 16
42
"configure"
#line 16
83
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -1687,7 +1728,7 @@ ccp = (char const *const *) p;
...
@@ -1687,7 +1728,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
691
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
732
:
\"
$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
...
@@ -1708,12 +1749,12 @@ EOF
...
@@ -1708,12 +1749,12 @@ EOF
fi
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:17
12
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:17
53
: checking for uid_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_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 17
17
"configure"
#line 17
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1742,21 +1783,21 @@ EOF
...
@@ -1742,21 +1783,21 @@ EOF
fi
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:17
46
: checking for inline"
>
&5
echo
"configure:17
87
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_inline
=
no
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
53
"configure"
#line 17
94
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
}
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
760
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
801
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
ac_cv_c_inline
=
$ac_kw
;
break
else
else
...
@@ -1782,12 +1823,12 @@ EOF
...
@@ -1782,12 +1823,12 @@ EOF
esac
esac
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
786
: checking for mode_t"
>
&5
echo
"configure:1
827
: 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
791
"configure"
#line 1
832
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1815,12 +1856,12 @@ EOF
...
@@ -1815,12 +1856,12 @@ EOF
fi
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:18
19
: checking for off_t"
>
&5
echo
"configure:18
60
: checking for off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_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 18
24
"configure"
#line 18
65
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1848,12 +1889,12 @@ EOF
...
@@ -1848,12 +1889,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:18
52
: checking for size_t"
>
&5
echo
"configure:18
93
: 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 18
57
"configure"
#line 18
98
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1881,12 +1922,12 @@ EOF
...
@@ -1881,12 +1922,12 @@ EOF
fi
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:1
885
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:1
926
: 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 1
890
"configure"
#line 1
931
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -1895,7 +1936,7 @@ int main() {
...
@@ -1895,7 +1936,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
899
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
940
:
\"
$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
...
@@ -1916,12 +1957,12 @@ EOF
...
@@ -1916,12 +1957,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:19
20
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:19
61
: 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 19
25
"configure"
#line 19
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -1929,7 +1970,7 @@ int main() {
...
@@ -1929,7 +1970,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:19
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:19
74
:
\"
$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
...
@@ -1952,13 +1993,13 @@ fi
...
@@ -1952,13 +1993,13 @@ fi
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
"configure:19
56
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
echo
"configure:19
97
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_pattern
=
"Autoconf.*'x'"
ac_pattern
=
"Autoconf.*'x'"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1962
"configure"
#line
2003
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sgtty.h>
#include <sgtty.h>
Autoconf TIOCGETP
Autoconf TIOCGETP
...
@@ -1976,7 +2017,7 @@ rm -f conftest*
...
@@ -1976,7 +2017,7 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1980
"configure"
#line
2021
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <termio.h>
#include <termio.h>
Autoconf TCGETA
Autoconf TCGETA
...
@@ -1998,7 +2039,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
...
@@ -1998,7 +2039,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:20
02
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:20
43
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -2006,7 +2047,7 @@ else
...
@@ -2006,7 +2047,7 @@ else
ac_cv_func_memcmp_clean
=
no
ac_cv_func_memcmp_clean
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
10
"configure"
#line 20
51
"configure"
#include "confdefs.h"
#include "confdefs.h"
main()
main()
...
@@ -2016,7 +2057,7 @@ main()
...
@@ -2016,7 +2057,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:20
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:20
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_func_memcmp_clean
=
yes
ac_cv_func_memcmp_clean
=
yes
else
else
...
@@ -2034,12 +2075,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
...
@@ -2034,12 +2075,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
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:20
38
: checking return type of signal handlers"
>
&5
echo
"configure:20
79
: 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 20
43
"configure"
#line 20
84
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -2056,7 +2097,7 @@ int main() {
...
@@ -2056,7 +2097,7 @@ int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
060
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
101
:
\"
$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
...
@@ -2075,12 +2116,12 @@ EOF
...
@@ -2075,12 +2116,12 @@ EOF
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:2
079
: checking for vprintf"
>
&5
echo
"configure:2
120
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+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 2
084
"configure"
#line 2
125
"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 vprintf(); below. */
which can conflict with char vprintf(); below. */
...
@@ -2103,7 +2144,7 @@ vprintf();
...
@@ -2103,7 +2144,7 @@ vprintf();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:21
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:21
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
eval
"ac_cv_func_vprintf=yes"
else
else
...
@@ -2127,12 +2168,12 @@ fi
...
@@ -2127,12 +2168,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:21
31
: checking for _doprnt"
>
&5
echo
"configure:21
72
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+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 21
36
"configure"
#line 21
77
"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 _doprnt(); below. */
which can conflict with char _doprnt(); below. */
...
@@ -2155,7 +2196,7 @@ _doprnt();
...
@@ -2155,7 +2196,7 @@ _doprnt();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
159
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
200
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
eval
"ac_cv_func__doprnt=yes"
else
else
...
@@ -2182,12 +2223,67 @@ fi
...
@@ -2182,12 +2223,67 @@ fi
for
ac_func
in
ftime getcwd gethostname gettimeofday putenv regcomp
select
socket strcspn strdup strerror strftime strspn strtod strtol
for
ac_func
in
ftime getcwd gethostname gettimeofday putenv regcomp
select
socket strcspn strdup strerror strftime strspn strtod strtol
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:2186: checking for
$ac_func
"
>
&5
echo
"configure:2227: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2232 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char
$ac_func
();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
#else
$ac_func
();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:2255:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
for
ac_func
in
isinf tzset cbrt
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2282: 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 2
191
"configure"
#line 2
287
"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. */
...
@@ -2210,7 +2306,7 @@ $ac_func();
...
@@ -2210,7 +2306,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
214
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
310
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2300,19 +2396,7 @@ fi
...
@@ -2300,19 +2396,7 @@ fi
trap
'rm -f $CONFIG_STATUS conftest*; exit 1'
1 2 15
trap
'rm -f $CONFIG_STATUS conftest*; exit 1'
1 2 15
# Transform confdefs.h into DEFS.
DEFS
=
-DHAVE_CONFIG_H
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat
>
conftest.defs
<<
\
EOF
s%#define
\(
[A-Za-z_][A-Za-z0-9_]*
\)
*
\(
.*
\)
%-D
\1
=
\2
%g
s%[ `~#
$^
&*(){}
\\
|;'"<>?]%
\\
&%g
s%
\[
%
\\
&%g
s%
\]
%
\\
&%g
s%
\$
%
$$
%g
EOF
DEFS
=
`
sed
-f
conftest.defs confdefs.h |
tr
'\012'
' '
`
rm
-f
conftest.defs
# Without the "./", some shells look in PATH for config.status.
# Without the "./", some shells look in PATH for config.status.
:
${
CONFIG_STATUS
=./config.status
}
:
${
CONFIG_STATUS
=./config.status
}
...
@@ -2445,7 +2529,7 @@ EOF
...
@@ -2445,7 +2529,7 @@ EOF
cat
>>
$CONFIG_STATUS
<<
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
CONFIG_FILES=
\$
{CONFIG_FILES-"GNUmakefile Makefile.global
include/config.h
"}
CONFIG_FILES=
\$
{CONFIG_FILES-"GNUmakefile Makefile.global"}
EOF
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
for ac_file in ..
$CONFIG_FILES
; do if test "x
$ac_file
" != x..; then
for ac_file in ..
$CONFIG_FILES
; do if test "x
$ac_file
" != x..; then
...
@@ -2499,6 +2583,113 @@ s%@top_srcdir@%$top_srcdir%g
...
@@ -2499,6 +2583,113 @@ s%@top_srcdir@%$top_srcdir%g
fi; done
fi; done
rm -f conftest.s*
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^
\(
[ ]*
\)
#
\(
[ ]*define[ ][ ]*
\)
'
ac_dB='
\(
[ ][ ]*
\)
[^ ]*%
\1
#
\2
'
ac_dC='
\3
'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^
\(
[ ]*
\)
#
\(
[ ]*
\)
undef
\(
[ ][ ]*
\)
'
ac_uB='
\(
[ ]
\)
%
\1
#
\2
define
\3
'
ac_uC=' '
ac_uD='
\4
%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^
\(
[ ]*
\)
#
\(
[ ]*
\)
undef
\(
[ ][ ]*
\)
'
ac_eB='
$%
\1
#
\2
define
\3
'
ac_eC=' '
ac_eD='%g'
if test "
${
CONFIG_HEADERS
+set
}
" != set; then
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
CONFIG_HEADERS="include/config.h"
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
fi
for ac_file in ..
$CONFIG_HEADERS
; do if test "x
$ac_file
" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "
$ac_file
" in
*:*) ac_file_in=`echo "
$ac_file
"|sed 's%[^:]*:%%'`
ac_file=`echo "
$ac_file
"|sed 's%:.*%%'` ;;
*) ac_file_in="
${
ac_file
}
.in" ;;
esac
echo creating
$ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo
$ac_file_in
|sed -e "s%^%
$ac_given_srcdir
/%" -e "s%:%
$ac_given_srcdir
/%g"`
cat
$ac_file_inputs
> conftest.in
EOF
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
rm
-f
conftest.vals
cat
>
conftest.hdr
<<
\
EOF
s/[
\\
&%]/
\\
&/g
s%[
\\
$`
]%
\\
&%g
s%#define
\(
[A-Za-z_][A-Za-z0-9_]*
\)
*
\(
.*
\)
%
${
ac_dA
}
\1
${
ac_dB
}
\1
${
ac_dC
}
\2
${
ac_dD
}
%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed
-n
-f
conftest.hdr confdefs.h
>
conftest.vals
rm
-f
conftest.hdr
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat
>>
conftest.vals
<<
\
EOF
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
EOF
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.
rm
-f
conftest.tail
while
:
do
ac_lines
=
`
grep
-c
.
conftest.vals
`
# grep -c gives empty output for an empty file on some AIX systems.
if
test
-z
"
$ac_lines
"
||
test
"
$ac_lines
"
-eq
0
;
then
break
;
fi
# Write a limited-size here document to conftest.frag.
echo
' cat > conftest.frag <<CEOF'
>>
$CONFIG_STATUS
sed
${
ac_max_here_lines
}
q conftest.vals
>>
$CONFIG_STATUS
echo
'CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
'
>>
$CONFIG_STATUS
sed
1,
${
ac_max_here_lines
}
d conftest.vals
>
conftest.tail
rm
-f
conftest.vals
mv
conftest.tail conftest.vals
done
rm
-f
conftest.vals
cat
>>
$CONFIG_STATUS
<<
\
EOF
rm -f conftest.frag conftest.h
echo "/*
$ac_file
. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s
$ac_file
conftest.h 2>/dev/null; then
echo "
$ac_file
is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo
$ac_file
|sed 's%/[^/][^/]*
$%
%'`
if test "
$ac_dir
" != "
$ac_file
" && test "
$ac_dir
" != .; then
# The file is in a subdirectory.
test ! -d "
$ac_dir
" && mkdir "
$ac_dir
"
fi
rm -f
$ac_file
mv conftest.h
$ac_file
fi
fi; done
EOF
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
...
...
src/configure.in
View file @
e736ca31
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
AC_INIT(backend/access/common/heaptuple.c)
AC_INIT(backend/access/common/heaptuple.c)
AC_CONFIG_HEADER(include/config.h)
dnl Checks for programs.
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CC
...
@@ -75,6 +76,7 @@ dnl Checks for header files.
...
@@ -75,6 +76,7 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.h)
AC_CHECK_HEADERS(fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.h)
AC_CHECK_HEADERS(termios.h values.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_CONST
...
@@ -92,7 +94,8 @@ AC_FUNC_MEMCMP
...
@@ -92,7 +94,8 @@ AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(ftime getcwd gethostname gettimeofday putenv regcomp select socket strcspn strdup strerror strftime strspn strtod strtol)
AC_CHECK_FUNCS(ftime getcwd gethostname gettimeofday putenv regcomp select socket strcspn strdup strerror strftime strspn strtod strtol)
AC_CHECK_FUNCS(isinf tzset cbrt)
#AC_OUTPUT(backend/optimizer/path/Makefile libpq++/man/Makefile backend/port/sparc_solaris/Makefile backend/utils/misc/Makefile backend/port/ultrix4/Makefile bin/psql/Makefile backend/utils/init/Makefile tutorial/C-code/Makefile test/examples/Makefile backend/utils/adt/Makefile bin/destroyuser/Makefile Makefile tutorial/Makefile bin/pg_dump/Makefile bin/cleardbdir/Makefile backend/optimizer/plan/Makefile backend/access/heap/Makefile backend/storage/page/Makefile backend/port/svr4/Makefile backend/optimizer/Makefile backend/utils/hash/Makefile backend/storage/large_object/Makefile backend/access/hash/Makefile test/Makefile backend/optimizer/prep/Makefile bin/initdb/Makefile bin/pg_version/Makefile bin/ipcclean/Makefile bin/pg4_dump/Makefile backend/postmaster/Makefile backend/access/Makefile test/regress/Makefile backend/storage/Makefile backend/port/bsdi/Makefile libpq++/Makefile backend/lib/Makefile backend/libpq/Makefile backend/access/gist/Makefile backend/nodes/Makefile libpgtcl/Makefile libpq/Makefile bin/destroydb/Makefile backend/access/nbtree/Makefile bin/Makefile bin/createuser/Makefile backend/port/Makefile backend/port/irix5/Makefile backend/utils/sort/Makefile backend/utils/error/Makefile backend/utils/time/Makefile backend/Makefile backend/utils/Makefile backend/commands/Makefile bin/pg_id/Makefile backend/tioga/Makefile backend/utils/cache/Makefile backend/port/aix/Makefile backend/storage/lmgr/Makefile test/bench/Makefile bin/monitor/Makefile backend/access/index/Makefile backend/port/hpux/Makefile utils/Makefile backend/port/i386_solaris/Makefile backend/catalog/Makefile backend/storage/smgr/Makefile backend/bootstrap/Makefile backend/storage/buffer/Makefile backend/storage/ipc/Makefile backend/rewrite/Makefile backend/access/rtree/Makefile backend/port/linux/Makefile backend/storage/file/Makefile man/Makefile libpq++/examples/Makefile backend/main/Makefile bin/pgtclsh/Makefile backend/access/common/Makefile bin/createdb/Makefile backend/port/dgux/Makefile backend/utils/fmgr/Makefile backend/parser/Makefile backend/port/sparc/Makefile backend/executor/Makefile backend/optimizer/util/Makefile tools/mkldexport/Makefile backend/utils/mmgr/Makefile backend/tcop/Makefile backend/port/BSD44_derived/Makefile backend/access/transam/Makefile backend/port/alpha/Makefile backend/regex/Makefile)
#AC_OUTPUT(backend/optimizer/path/Makefile libpq++/man/Makefile backend/port/sparc_solaris/Makefile backend/utils/misc/Makefile backend/port/ultrix4/Makefile bin/psql/Makefile backend/utils/init/Makefile tutorial/C-code/Makefile test/examples/Makefile backend/utils/adt/Makefile bin/destroyuser/Makefile Makefile tutorial/Makefile bin/pg_dump/Makefile bin/cleardbdir/Makefile backend/optimizer/plan/Makefile backend/access/heap/Makefile backend/storage/page/Makefile backend/port/svr4/Makefile backend/optimizer/Makefile backend/utils/hash/Makefile backend/storage/large_object/Makefile backend/access/hash/Makefile test/Makefile backend/optimizer/prep/Makefile bin/initdb/Makefile bin/pg_version/Makefile bin/ipcclean/Makefile bin/pg4_dump/Makefile backend/postmaster/Makefile backend/access/Makefile test/regress/Makefile backend/storage/Makefile backend/port/bsdi/Makefile libpq++/Makefile backend/lib/Makefile backend/libpq/Makefile backend/access/gist/Makefile backend/nodes/Makefile libpgtcl/Makefile libpq/Makefile bin/destroydb/Makefile backend/access/nbtree/Makefile bin/Makefile bin/createuser/Makefile backend/port/Makefile backend/port/irix5/Makefile backend/utils/sort/Makefile backend/utils/error/Makefile backend/utils/time/Makefile backend/Makefile backend/utils/Makefile backend/commands/Makefile bin/pg_id/Makefile backend/tioga/Makefile backend/utils/cache/Makefile backend/port/aix/Makefile backend/storage/lmgr/Makefile test/bench/Makefile bin/monitor/Makefile backend/access/index/Makefile backend/port/hpux/Makefile utils/Makefile backend/port/i386_solaris/Makefile backend/catalog/Makefile backend/storage/smgr/Makefile backend/bootstrap/Makefile backend/storage/buffer/Makefile backend/storage/ipc/Makefile backend/rewrite/Makefile backend/access/rtree/Makefile backend/port/linux/Makefile backend/storage/file/Makefile man/Makefile libpq++/examples/Makefile backend/main/Makefile bin/pgtclsh/Makefile backend/access/common/Makefile bin/createdb/Makefile backend/port/dgux/Makefile backend/utils/fmgr/Makefile backend/parser/Makefile backend/port/sparc/Makefile backend/executor/Makefile backend/optimizer/util/Makefile tools/mkldexport/Makefile backend/utils/mmgr/Makefile backend/tcop/Makefile backend/port/BSD44_derived/Makefile backend/access/transam/Makefile backend/port/alpha/Makefile backend/regex/Makefile)
AC_OUTPUT(GNUmakefile Makefile.global
include/config.h
)
AC_OUTPUT(GNUmakefile Makefile.global)
src/include/config.h.in
View file @
e736ca31
...
@@ -8,25 +8,63 @@
...
@@ -8,25 +8,63 @@
#define BLCKSZ 8192
#define BLCKSZ 8192
#if defined(aix)
/*
#define TERMIOS_H_LOCATION <termios.h>
* The following is set using configure.
*/
/* Set to 1 if you have <termios.h> */
#define HAVE_TERMIOS_H 0
/* Set to 1 if you have <limits.h> */
#define HAVE_LIMITS_H 0
/* Set to 1 if you have <values.h> */
#define HAVE_VALUES_H 0
/* Set to 1 if you have isinf() */
#define HAVE_ISINF 0
/* Set to 1 if you have tzset() */
#define HAVE_TZSET 0
/* Set to 1 if you have cbrt() */
#define HAVE_CBRT 0
/*
* Code below this point should not require changes
*/
#if defined(HAVE_TERMIOS_H)
# define TERMIOS_H_LOCATION <termios.h>
#else
#else
#define TERMIOS_H_LOCATION <sys/termios.h>
#
define TERMIOS_H_LOCATION <sys/termios.h>
#endif
#endif
#if !defined(nextstep)
/* Temporary: Need to change source files from USE_VALUES_H to HAVE_VALUES_H */
#if defined(HAVE_VALUES_H)
#define USE_VALUES_H
#define USE_VALUES_H
#endif
#endif
/* Temporary: Need to change source files from USE_LIMITS_H to HAVE_LIMITS_H */
#if defined(HAVE_LIMITS_H)
# define USE_LIMITS_H
#endif
#if !defined(HAVE_ISINF)
# define NEED_ISINF
#endif
#if !defined(HAVE_CBRT)
# define NEED_CBRT
#endif
#define HAVE_MEMMOVE
#define HAVE_MEMMOVE
#if defined(aix)
#if defined(aix)
# define CLASS_CONFLICT
# define CLASS_CONFLICT
# define DISABLE_XOPEN_NLS
# define DISABLE_XOPEN_NLS
# define NEED_ISINF
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define NEED_SYS_SELECT_H
# define NEED_SYS_SELECT_H
# define HAVE_TZSET
# define HAVE_ANSI_CPP
# define HAVE_ANSI_CPP
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
typedef unsigned int slock_t;
typedef unsigned int slock_t;
...
@@ -36,7 +74,6 @@
...
@@ -36,7 +74,6 @@
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define USE_POSIX_SIGNALS
# define DISABLE_XOPEN_NLS
# define DISABLE_XOPEN_NLS
# define NEED_ISINF
# define HAS_LONG_LONG
# define HAS_LONG_LONG
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
...
@@ -45,9 +82,7 @@
...
@@ -45,9 +82,7 @@
#endif
#endif
#if defined(BSD44_derived)
#if defined(BSD44_derived)
# define USE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define NEED_CBRT
# define NEED_I386_TAS_ASM
# define NEED_I386_TAS_ASM
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
# if defined(__mips__)
# if defined(__mips__)
...
@@ -66,9 +101,7 @@
...
@@ -66,9 +101,7 @@
# if defined(PRE_BSDI_2_1)
# if defined(PRE_BSDI_2_1)
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# endif
# endif
# define USE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define NEED_CBRT
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
typedef unsigned char slock_t;
typedef unsigned char slock_t;
#endif
#endif
...
@@ -83,8 +116,6 @@
...
@@ -83,8 +116,6 @@
#if defined(hpux)
#if defined(hpux)
# define JMP_BUF
# define JMP_BUF
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define HAVE_TZSET
# define NEED_CBRT
# define NEED_RINT
# define NEED_RINT
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
...
@@ -92,13 +123,10 @@
...
@@ -92,13 +123,10 @@
#endif
#endif
#if defined(i386_solaris)
#if defined(i386_solaris)
# define USE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define USE_POSIX_SIGNALS
# define NEED_ISINF
# define NEED_RUSAGE
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
...
@@ -108,10 +136,8 @@
...
@@ -108,10 +136,8 @@
#if defined(irix5)
#if defined(irix5)
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define USE_POSIX_SIGNALS
# define NEED_ISINF
# define NO_EMPTY_STMTS
# define NO_EMPTY_STMTS
# define NO_VFORK
# define NO_VFORK
# define HAVE_TZSET
# define SYSV_DIRENT
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
# include <abi_mutex.h>
# include <abi_mutex.h>
...
@@ -127,8 +153,6 @@
...
@@ -127,8 +153,6 @@
*/
*/
# define JMP_BUF
# define JMP_BUF
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define HAVE_TZSET
# define NEED_CBRT
# define NEED_I386_TAS_ASM
# define NEED_I386_TAS_ASM
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
typedef unsigned char slock_t;
typedef unsigned char slock_t;
...
@@ -152,7 +176,6 @@
...
@@ -152,7 +176,6 @@
# define NEED_SIG_JMP
# define NEED_SIG_JMP
# endif
# endif
# define USE_LIMITS_H
# define JMP_BUF
# define JMP_BUF
# define NO_WAITPID
# define NO_WAITPID
typedef struct mutex slock_t;
typedef struct mutex slock_t;
...
@@ -163,14 +186,11 @@
...
@@ -163,14 +186,11 @@
#endif
#endif
#if defined(sparc_solaris)
#if defined(sparc_solaris)
# define USE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define USE_POSIX_SIGNALS
# define NEED_ISINF
# define NEED_RUSAGE
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define NO_EMPTY_STMTS
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define HAVE_TZSET
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# define HAS_TEST_AND_SET
...
@@ -185,10 +205,8 @@ typedef unsigned char slock_t;
...
@@ -185,10 +205,8 @@ typedef unsigned char slock_t;
#if defined(svr4)
#if defined(svr4)
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define USE_POSIX_SIGNALS
# define NEED_ISINF
# define NEED_RUSAGE
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
# define SYSV_DIRENT
#endif
#endif
...
@@ -200,16 +218,12 @@ typedef unsigned char slock_t;
...
@@ -200,16 +218,12 @@ typedef unsigned char slock_t;
# define USES_WINSOCK
# define USES_WINSOCK
# define NOFILE 100
# define NOFILE 100
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define HAVE_TZSET
# define NEED_CBRT
# define NEED_ISINF
# ifndef MAXPATHLEN
# ifndef MAXPATHLEN
# define MAXPATHLEN 250
# define MAXPATHLEN 250
# endif
# endif
#endif /* WIN32 */
#endif /* WIN32 */
#if defined(ultrix4)
#if defined(ultrix4)
# define NEED_ISINF
# define USE_POSIX_TIME
# define USE_POSIX_TIME
# define NEED_UNION_SEMUN
# define NEED_UNION_SEMUN
# define NEED_STRDUP
# define NEED_STRDUP
...
...
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