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
dc0f5cb0
Commit
dc0f5cb0
authored
Oct 31, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Determine CXXFLAGS after the C++ compiler was detected. Also honor
--enable-debug and environment variable override.
parent
fae180f4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
363 additions
and
321 deletions
+363
-321
configure
configure
+339
-318
configure.in
configure.in
+21
-0
src/makefiles/Makefile.qnx4
src/makefiles/Makefile.qnx4
+3
-0
src/template/aix
src/template/aix
+0
-1
src/template/osf
src/template/osf
+0
-1
src/template/qnx4
src/template/qnx4
+0
-1
No files found.
configure
View file @
dc0f5cb0
...
...
@@ -2173,12 +2173,17 @@ fi
if
test
"
$with_CXX
"
=
yes
;
then
echo
"
$ac_t
""yes"
1>&6
# If the user has specified CXXFLAGS in the environment, leave it
# alone, else use a default.
has_cmdline_CXXFLAGS
=
"
${
CXXFLAGS
+yes
}
"
for
ac_prog
in
$CCC
c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:218
2
: checking for
$ac_word
"
>
&5
echo
"configure:218
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2210,7 +2215,7 @@ test -n "$CXX" || CXX="gcc"
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:221
4
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:221
9
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -2221,12 +2226,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
25
"configure"
#line 22
30
"configure"
#include "confdefs.h"
int main(){return(0);}
EOF
if
{
(
eval echo
configure:223
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:223
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cxx_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -2252,12 +2257,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
;
}
fi
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:22
56
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:22
61
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cxx_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cxx_cross
echo
$ac_n
"checking whether we are using GNU C++""...
$ac_c
"
1>&6
echo
"configure:226
1
: checking whether we are using GNU C++"
>
&5
echo
"configure:226
6
: checking whether we are using GNU C++"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2266,7 +2271,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:227
0
:
\"
$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:227
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gxx
=
yes
else
ac_cv_prog_gxx
=
no
...
...
@@ -2285,7 +2290,7 @@ ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:22
89
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
echo
"configure:22
94
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2316,8 +2321,24 @@ else
fi
fi
if
test
"
$has_cmdline_CXXFLAGS
"
!=
yes
;
then
if
test
"
$GXX
"
=
yes
;
then
CXXFLAGS
=
-O2
else
case
$template
in
osf
)
CXXFLAGS
=
'-O4 -Olimit 2000'
;;
unixware
)
CXXFLAGS
=
'-O'
;;
*
)
CXXFLAGS
=
;;
esac
fi
fi
if
test
"
$enable_debug
"
=
yes
&&
test
"
$ac_cv_prog_cxx_g
"
=
yes
;
then
CXXFLAGS
=
"
$CXXFLAGS
-g"
fi
echo
"using CXXFLAGS=
$CXXFLAGS
"
echo
$ac_n
"checking how to run the C++ preprocessor""...
$ac_c
"
1>&6
echo
"configure:23
21
: checking how to run the C++ preprocessor"
>
&5
echo
"configure:23
42
: checking how to run the C++ preprocessor"
>
&5
if
test
-z
"
$CXXCPP
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXXCPP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2330,12 +2351,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling
=
$ac_cv_prog_cxx_cross
CXXCPP
=
"
${
CXX
-g++
}
-E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
34
"configure"
#line 23
55
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:23
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:23
60
:
\"
$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
:
...
...
@@ -2370,17 +2391,17 @@ cross_compiling=$ac_cv_prog_cxx_cross
ac_safe
=
`
echo
"string"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for string""...
$ac_c
"
1>&6
echo
"configure:23
74
: checking for string"
>
&5
echo
"configure:23
95
: checking for string"
>
&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 2
379
"configure"
#line 2
400
"configure"
#include "confdefs.h"
#include <string>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:2
384
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
405
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2407,12 +2428,12 @@ fi
if
test
x
"
$ac_cv_header_string
"
!=
xyes
;
then
echo
$ac_n
"checking for class string in <string.h>""...
$ac_c
"
1>&6
echo
"configure:24
11
: checking for class string in <string.h>"
>
&5
echo
"configure:24
32
: checking for class string in <string.h>"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_class_string_in_string_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
16
"configure"
#line 24
37
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <stdlib.h>
...
...
@@ -2422,7 +2443,7 @@ int main() {
string foo = "test"
; return 0; }
EOF
if
{
(
eval echo
configure:24
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
47
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_class_string_in_string_h
=
yes
else
...
...
@@ -2449,7 +2470,7 @@ cross_compiling=$ac_cv_prog_cc_cross
echo
$ac_n
"checking for namespace std in C++""...
$ac_c
"
1>&6
echo
"configure:24
53
: checking for namespace std in C++"
>
&5
echo
"configure:24
74
: checking for namespace std in C++"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_cxx_namespace_std
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2463,7 +2484,7 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling
=
$ac_cv_prog_cxx_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
67
"configure"
#line 24
88
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <stdlib.h>
...
...
@@ -2476,7 +2497,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:2
480
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
501
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_cxx_namespace_std
=
yes
else
...
...
@@ -2531,7 +2552,7 @@ echo "using LDFLAGS=$LDFLAGS"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo
$ac_n
"checking for a BSD compatible install""...
$ac_c
"
1>&6
echo
"configure:25
35
: checking for a BSD compatible install"
>
&5
echo
"configure:25
56
: checking for a BSD compatible install"
>
&5
if
test
-z
"
$INSTALL
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_install
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2604,12 +2625,12 @@ INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
for
ac_prog
in
mawk g
awk nawk
awk
for
ac_prog
in
gawk m
awk nawk
awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:26
13
: checking for
$ac_word
"
>
&5
echo
"configure:26
34
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AWK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2639,7 +2660,7 @@ test -n "$AWK" && break
done
echo
$ac_n
"checking for flex""...
$ac_c
"
1>&6
echo
"configure:26
43
: checking for flex"
>
&5
echo
"configure:26
64
: checking for flex"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_path_flex
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2707,7 +2728,7 @@ fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:27
11
: checking whether ln -s works"
>
&5
echo
"configure:27
32
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2739,7 +2760,7 @@ ac_prog=ld
if
test
"
$ac_cv_prog_gcc
"
=
yes
;
then
# Check if gcc -print-prog-name=ld gives a path.
echo
$ac_n
"checking for ld used by GCC""...
$ac_c
"
1>&6
echo
"configure:27
43
: checking for ld used by GCC"
>
&5
echo
"configure:27
64
: checking for ld used by GCC"
>
&5
case
$host
in
*
-
*
-mingw
*
)
# gcc leaves a trailing carriage return which upsets mingw
...
...
@@ -2769,10 +2790,10 @@ echo "configure:2743: checking for ld used by GCC" >&5
esac
elif
test
"
$with_gnu_ld
"
=
yes
;
then
echo
$ac_n
"checking for GNU ld""...
$ac_c
"
1>&6
echo
"configure:27
73
: checking for GNU ld"
>
&5
echo
"configure:27
94
: checking for GNU ld"
>
&5
else
echo
$ac_n
"checking for non-GNU ld""...
$ac_c
"
1>&6
echo
"configure:27
76
: checking for non-GNU ld"
>
&5
echo
"configure:27
97
: checking for non-GNU ld"
>
&5
fi
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_LD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2807,7 +2828,7 @@ else
fi
test
-z
"
$LD
"
&&
{
echo
"configure: error: no acceptable ld found in
\$
PATH"
1>&2
;
exit
1
;
}
echo
$ac_n
"checking if the linker (
$LD
) is GNU ld""...
$ac_c
"
1>&6
echo
"configure:28
11
: checking if the linker (
$LD
) is GNU ld"
>
&5
echo
"configure:28
32
: checking if the linker (
$LD
) is GNU ld"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gnu_ld
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2828,7 +2849,7 @@ with_gnu_ld=$ac_cv_prog_gnu_ld
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:28
32
: checking for
$ac_word
"
>
&5
echo
"configure:28
53
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2860,7 +2881,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:28
64
: checking for
$ac_word
"
>
&5
echo
"configure:28
85
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LORDER
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2892,7 +2913,7 @@ done
# Extract the first word of "tar", so it can be a program name with args.
set
dummy
tar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
896
: checking for
$ac_word
"
>
&5
echo
"configure:2
917
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TAR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2929,7 +2950,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:29
33
: checking for
$ac_word
"
>
&5
echo
"configure:29
54
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_PERL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2963,7 +2984,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:29
67
: checking for
$ac_word
"
>
&5
echo
"configure:29
88
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_YACC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2998,7 +3019,7 @@ if test "$with_tk" = yes; then
# Extract the first word of "wish", so it can be a program name with args.
set
dummy wish
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:30
02
: checking for
$ac_word
"
>
&5
echo
"configure:30
23
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_WISH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3039,7 +3060,7 @@ fi
##
echo
$ac_n
"checking for main in -lsfio""...
$ac_c
"
1>&6
echo
"configure:30
43
: checking for main in -lsfio"
>
&5
echo
"configure:30
64
: checking for main in -lsfio"
>
&5
ac_lib_var
=
`
echo
sfio
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3047,14 +3068,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsfio
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
51
"configure"
#line 30
72
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:30
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3082,7 +3103,7 @@ else
fi
echo
$ac_n
"checking for main in -lncurses""...
$ac_c
"
1>&6
echo
"configure:3
086
: checking for main in -lncurses"
>
&5
echo
"configure:3
107
: checking for main in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3090,14 +3111,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
094
"configure"
#line 3
115
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:31
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3123,7 +3144,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for main in -lcurses""...
$ac_c
"
1>&6
echo
"configure:31
27
: checking for main in -lcurses"
>
&5
echo
"configure:31
48
: checking for main in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3131,14 +3152,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
35
"configure"
#line 31
56
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:31
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3168,7 +3189,7 @@ fi
fi
echo
$ac_n
"checking for main in -ltermcap""...
$ac_c
"
1>&6
echo
"configure:31
72
: checking for main in -ltermcap"
>
&5
echo
"configure:31
93
: checking for main in -ltermcap"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3176,14 +3197,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
180
"configure"
#line 3
201
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:3
187
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
208
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3211,7 +3232,7 @@ else
fi
echo
$ac_n
"checking for readline in -lreadline""...
$ac_c
"
1>&6
echo
"configure:32
15
: checking for readline in -lreadline"
>
&5
echo
"configure:32
36
: checking for readline in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
readline |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3219,7 +3240,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
23
"configure"
#line 32
44
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3230,7 +3251,7 @@ int main() {
readline()
; return 0; }
EOF
if
{
(
eval echo
configure:32
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3259,14 +3280,14 @@ fi
echo
$ac_n
"checking for library containing using_history""...
$ac_c
"
1>&6
echo
"configure:32
63
: checking for library containing using_history"
>
&5
echo
"configure:32
84
: checking for library containing using_history"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_using_history
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_cv_search_using_history
=
"no"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
70
"configure"
#line 32
91
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3277,7 +3298,7 @@ int main() {
using_history()
; return 0; }
EOF
if
{
(
eval echo
configure:3
281
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
302
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_using_history
=
"none required"
else
...
...
@@ -3288,7 +3309,7 @@ rm -f conftest*
test
"
$ac_cv_search_using_history
"
=
"no"
&&
for
i
in
history
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
292
"configure"
#line 3
313
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3299,7 +3320,7 @@ int main() {
using_history()
; return 0; }
EOF
if
{
(
eval echo
configure:33
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_using_history
=
"-l
$i
"
break
...
...
@@ -3326,7 +3347,7 @@ fi
if
test
"
$PORTNAME
"
!=
"aix"
-a
"
$PORTNAME
"
!=
"alpha"
then
echo
$ac_n
"checking for main in -lbsd""...
$ac_c
"
1>&6
echo
"configure:33
30
: checking for main in -lbsd"
>
&5
echo
"configure:33
51
: checking for main in -lbsd"
>
&5
ac_lib_var
=
`
echo
bsd
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3334,14 +3355,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbsd
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
38
"configure"
#line 33
59
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:33
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3370,7 +3391,7 @@ fi
fi
echo
$ac_n
"checking for setproctitle in -lutil""...
$ac_c
"
1>&6
echo
"configure:33
74
: checking for setproctitle in -lutil"
>
&5
echo
"configure:33
95
: checking for setproctitle in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
setproctitle |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3378,7 +3399,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
382
"configure"
#line 3
403
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3389,7 +3410,7 @@ int main() {
setproctitle()
; return 0; }
EOF
if
{
(
eval echo
configure:3
393
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
414
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3417,7 +3438,7 @@ else
fi
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
"configure:34
21
: checking for main in -lm"
>
&5
echo
"configure:34
42
: checking for main in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3425,14 +3446,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
29
"configure"
#line 34
50
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:34
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3460,7 +3481,7 @@ else
fi
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:34
64
: checking for main in -ldl"
>
&5
echo
"configure:34
85
: checking for main in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3468,14 +3489,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
72
"configure"
#line 34
93
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:3
479
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
500
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3503,7 +3524,7 @@ else
fi
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:35
07
: checking for main in -lsocket"
>
&5
echo
"configure:35
28
: checking for main in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3511,14 +3532,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
15
"configure"
#line 35
36
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:35
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3546,7 +3567,7 @@ else
fi
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:35
50
: checking for main in -lnsl"
>
&5
echo
"configure:35
71
: checking for main in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3554,14 +3575,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
58
"configure"
#line 35
79
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:35
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3589,7 +3610,7 @@ else
fi
echo
$ac_n
"checking for main in -lipc""...
$ac_c
"
1>&6
echo
"configure:3
593
: checking for main in -lipc"
>
&5
echo
"configure:3
614
: checking for main in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3597,14 +3618,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
01
"configure"
#line 36
22
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:36
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3632,7 +3653,7 @@ else
fi
echo
$ac_n
"checking for main in -lIPC""...
$ac_c
"
1>&6
echo
"configure:36
36
: checking for main in -lIPC"
>
&5
echo
"configure:36
57
: checking for main in -lIPC"
>
&5
ac_lib_var
=
`
echo
IPC
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3640,14 +3661,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lIPC
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
44
"configure"
#line 36
65
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:36
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3675,7 +3696,7 @@ else
fi
echo
$ac_n
"checking for main in -llc""...
$ac_c
"
1>&6
echo
"configure:3
679
: checking for main in -llc"
>
&5
echo
"configure:3
700
: checking for main in -llc"
>
&5
ac_lib_var
=
`
echo
lc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3683,14 +3704,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
687
"configure"
#line 3
708
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:3
694
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
715
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3718,7 +3739,7 @@ else
fi
echo
$ac_n
"checking for main in -ldld""...
$ac_c
"
1>&6
echo
"configure:37
22
: checking for main in -ldld"
>
&5
echo
"configure:37
43
: checking for main in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3726,14 +3747,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
30
"configure"
#line 37
51
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:37
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3761,7 +3782,7 @@ else
fi
echo
$ac_n
"checking for main in -lln""...
$ac_c
"
1>&6
echo
"configure:37
65
: checking for main in -lln"
>
&5
echo
"configure:37
86
: checking for main in -lln"
>
&5
ac_lib_var
=
`
echo ln
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3769,14 +3790,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lln
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
73
"configure"
#line 37
94
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:3
780
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
801
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3804,7 +3825,7 @@ else
fi
echo
$ac_n
"checking for main in -lld""...
$ac_c
"
1>&6
echo
"configure:38
08
: checking for main in -lld"
>
&5
echo
"configure:38
29
: checking for main in -lld"
>
&5
ac_lib_var
=
`
echo
ld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3812,14 +3833,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
16
"configure"
#line 38
37
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:38
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3847,7 +3868,7 @@ else
fi
echo
$ac_n
"checking for main in -lcompat""...
$ac_c
"
1>&6
echo
"configure:38
51
: checking for main in -lcompat"
>
&5
echo
"configure:38
72
: checking for main in -lcompat"
>
&5
ac_lib_var
=
`
echo
compat
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3855,14 +3876,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcompat
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
59
"configure"
#line 38
80
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:38
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3890,7 +3911,7 @@ else
fi
echo
$ac_n
"checking for main in -lBSD""...
$ac_c
"
1>&6
echo
"configure:3
894
: checking for main in -lBSD"
>
&5
echo
"configure:3
915
: checking for main in -lBSD"
>
&5
ac_lib_var
=
`
echo
BSD
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3898,14 +3919,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lBSD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
02
"configure"
#line 39
23
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:39
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3933,7 +3954,7 @@ else
fi
echo
$ac_n
"checking for main in -lgen""...
$ac_c
"
1>&6
echo
"configure:39
37
: checking for main in -lgen"
>
&5
echo
"configure:39
58
: checking for main in -lgen"
>
&5
ac_lib_var
=
`
echo
gen
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3941,14 +3962,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgen
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
45
"configure"
#line 39
66
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:39
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3976,7 +3997,7 @@ else
fi
echo
$ac_n
"checking for main in -lPW""...
$ac_c
"
1>&6
echo
"configure:
3980
: checking for main in -lPW"
>
&5
echo
"configure:
4001
: checking for main in -lPW"
>
&5
ac_lib_var
=
`
echo
PW
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3984,14 +4005,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lPW
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line
3988
"configure"
#line
4009
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:
3995
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4016
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4020,14 +4041,14 @@ fi
echo
$ac_n
"checking for library containing crypt""...
$ac_c
"
1>&6
echo
"configure:40
24
: checking for library containing crypt"
>
&5
echo
"configure:40
45
: checking for library containing crypt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_crypt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_cv_search_crypt
=
"no"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
31
"configure"
#line 40
52
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4038,7 +4059,7 @@ int main() {
crypt()
; return 0; }
EOF
if
{
(
eval echo
configure:40
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_crypt
=
"none required"
else
...
...
@@ -4049,7 +4070,7 @@ rm -f conftest*
test
"
$ac_cv_search_crypt
"
=
"no"
&&
for
i
in
crypt
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
53
"configure"
#line 40
74
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4060,7 +4081,7 @@ int main() {
crypt()
; return 0; }
EOF
if
{
(
eval echo
configure:40
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
85
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_crypt
=
"-l
$i
"
break
...
...
@@ -4081,7 +4102,7 @@ else :
fi
echo
$ac_n
"checking for inflate in -lz""...
$ac_c
"
1>&6
echo
"configure:4
085
: checking for inflate in -lz"
>
&5
echo
"configure:4
106
: checking for inflate in -lz"
>
&5
ac_lib_var
=
`
echo
z
'_'
inflate |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4089,7 +4110,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
093
"configure"
#line 4
114
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4100,7 +4121,7 @@ int main() {
inflate()
; return 0; }
EOF
if
{
(
eval echo
configure:41
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4128,7 +4149,7 @@ else
fi
echo
$ac_n
"checking for __inet_ntoa in -lbind""...
$ac_c
"
1>&6
echo
"configure:41
32
: checking for __inet_ntoa in -lbind"
>
&5
echo
"configure:41
53
: checking for __inet_ntoa in -lbind"
>
&5
ac_lib_var
=
`
echo bind
'_'
__inet_ntoa |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4136,7 +4157,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbind
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
40
"configure"
#line 41
61
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4147,7 +4168,7 @@ int main() {
__inet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:41
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4178,7 +4199,7 @@ fi
if
test
"
$with_krb4
"
=
yes
;
then
echo
$ac_n
"checking for des_encrypt in -ldes""...
$ac_c
"
1>&6
echo
"configure:4
182
: checking for des_encrypt in -ldes"
>
&5
echo
"configure:4
203
: checking for des_encrypt in -ldes"
>
&5
ac_lib_var
=
`
echo
des
'_'
des_encrypt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4186,7 +4207,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldes
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
190
"configure"
#line 4
211
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4197,7 +4218,7 @@ int main() {
des_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:42
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4226,7 +4247,7 @@ else
fi
echo
$ac_n
"checking for krb_sendauth in -lkrb""...
$ac_c
"
1>&6
echo
"configure:42
30
: checking for krb_sendauth in -lkrb"
>
&5
echo
"configure:42
51
: checking for krb_sendauth in -lkrb"
>
&5
ac_lib_var
=
`
echo
krb
'_'
krb_sendauth |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4234,7 +4255,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
38
"configure"
#line 42
59
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4245,7 +4266,7 @@ int main() {
krb_sendauth()
; return 0; }
EOF
if
{
(
eval echo
configure:42
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4277,7 +4298,7 @@ fi
if
test
"
$with_krb5
"
=
yes
;
then
echo
$ac_n
"checking for com_err in -lcom_err""...
$ac_c
"
1>&6
echo
"configure:4
281
: checking for com_err in -lcom_err"
>
&5
echo
"configure:4
302
: checking for com_err in -lcom_err"
>
&5
ac_lib_var
=
`
echo
com_err
'_'
com_err |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4285,7 +4306,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcom_err
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
289
"configure"
#line 4
310
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4296,7 +4317,7 @@ int main() {
com_err()
; return 0; }
EOF
if
{
(
eval echo
configure:43
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4325,7 +4346,7 @@ else
fi
echo
$ac_n
"checking for krb5_encrypt in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:43
29
: checking for krb5_encrypt in -lcrypto"
>
&5
echo
"configure:43
50
: checking for krb5_encrypt in -lcrypto"
>
&5
ac_lib_var
=
`
echo
crypto
'_'
krb5_encrypt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4333,7 +4354,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
37
"configure"
#line 43
58
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4344,7 +4365,7 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:43
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4370,7 +4391,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for krb5_encrypt in -lk5crypto""...
$ac_c
"
1>&6
echo
"configure:43
74
: checking for krb5_encrypt in -lk5crypto"
>
&5
echo
"configure:43
95
: checking for krb5_encrypt in -lk5crypto"
>
&5
ac_lib_var
=
`
echo
k5crypto
'_'
krb5_encrypt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4378,7 +4399,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lk5crypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
382
"configure"
#line 4
403
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4389,7 +4410,7 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
393
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
414
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4420,7 +4441,7 @@ fi
fi
echo
$ac_n
"checking for krb5_sendauth in -lkrb5""...
$ac_c
"
1>&6
echo
"configure:44
24
: checking for krb5_sendauth in -lkrb5"
>
&5
echo
"configure:44
45
: checking for krb5_sendauth in -lkrb5"
>
&5
ac_lib_var
=
`
echo
krb5
'_'
krb5_sendauth |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4428,7 +4449,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb5
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
32
"configure"
#line 44
53
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4439,7 +4460,7 @@ int main() {
krb5_sendauth()
; return 0; }
EOF
if
{
(
eval echo
configure:44
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4471,7 +4492,7 @@ fi
if
test
"
$with_openssl
"
=
yes
;
then
echo
$ac_n
"checking for CRYPTO_new_ex_data in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:44
75
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
echo
"configure:44
96
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
ac_lib_var
=
`
echo
crypto
'_'
CRYPTO_new_ex_data |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4479,7 +4500,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
483
"configure"
#line 4
504
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4490,7 +4511,7 @@ int main() {
CRYPTO_new_ex_data()
; return 0; }
EOF
if
{
(
eval echo
configure:4
494
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
515
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4519,7 +4540,7 @@ else
fi
echo
$ac_n
"checking for SSL_library_init in -lssl""...
$ac_c
"
1>&6
echo
"configure:45
23
: checking for SSL_library_init in -lssl"
>
&5
echo
"configure:45
44
: checking for SSL_library_init in -lssl"
>
&5
ac_lib_var
=
`
echo
ssl
'_'
SSL_library_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4527,7 +4548,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lssl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
31
"configure"
#line 45
52
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4538,7 +4559,7 @@ int main() {
SSL_library_init()
; return 0; }
EOF
if
{
(
eval echo
configure:45
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4576,17 +4597,17 @@ for ac_hdr in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ipc.
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
580
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
601
: 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 4
585
"configure"
#line 4
606
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
590
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
611
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4617,17 +4638,17 @@ for ac_hdr in netinet/in.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:46
21
: checking for
$ac_hdr
"
>
&5
echo
"configure:46
42
: 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 46
26
"configure"
#line 46
47
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
31
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
52
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4654,9 +4675,9 @@ fi
done
echo
$ac_n
"checking for netinet/tcp.h""...
$ac_c
"
1>&6
echo
"configure:46
58
: checking for netinet/tcp.h"
>
&5
echo
"configure:46
79
: checking for netinet/tcp.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
60
"configure"
#line 46
81
"configure"
#include "confdefs.h"
#ifdef HAVE_NETINET_IN_H
...
...
@@ -4666,7 +4687,7 @@ cat > conftest.$ac_ext <<EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
70
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
91
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4687,17 +4708,17 @@ for ac_hdr in readline/readline.h readline.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
691
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
712
: 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 4
696
"configure"
#line 4
717
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:47
01
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:47
22
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4727,17 +4748,17 @@ for ac_hdr in readline/history.h history.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:47
31
: checking for
$ac_hdr
"
>
&5
echo
"configure:47
52
: 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 47
36
"configure"
#line 47
57
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:47
41
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:47
62
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4767,17 +4788,17 @@ done
if
test
"
$with_krb4
"
=
yes
;
then
ac_safe
=
`
echo
"krb.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for krb.h""...
$ac_c
"
1>&6
echo
"configure:47
71
: checking for krb.h"
>
&5
echo
"configure:47
92
: checking for krb.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
76
"configure"
#line 47
97
"configure"
#include "confdefs.h"
#include <krb.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
781
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
802
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4804,17 +4825,17 @@ fi
if
test
"
$with_krb5
"
=
yes
;
then
ac_safe
=
`
echo
"krb5.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for krb5.h""...
$ac_c
"
1>&6
echo
"configure:48
08
: checking for krb5.h"
>
&5
echo
"configure:48
29
: checking for krb5.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
13
"configure"
#line 48
34
"configure"
#include "confdefs.h"
#include <krb5.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:48
18
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:48
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4838,17 +4859,17 @@ fi
ac_safe
=
`
echo
"com_err.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for com_err.h""...
$ac_c
"
1>&6
echo
"configure:48
42
: checking for com_err.h"
>
&5
echo
"configure:48
63
: checking for com_err.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
47
"configure"
#line 48
68
"configure"
#include "confdefs.h"
#include <com_err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:48
52
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:48
73
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4875,17 +4896,17 @@ fi
if
test
"
$with_openssl
"
=
yes
;
then
ac_safe
=
`
echo
"openssl/ssl.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for openssl/ssl.h""...
$ac_c
"
1>&6
echo
"configure:4
879
: checking for openssl/ssl.h"
>
&5
echo
"configure:4
900
: checking for openssl/ssl.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
884
"configure"
#line 4
905
"configure"
#include "confdefs.h"
#include <openssl/ssl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
889
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
910
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4909,17 +4930,17 @@ fi
ac_safe
=
`
echo
"openssl/err.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for openssl/err.h""...
$ac_c
"
1>&6
echo
"configure:49
13
: checking for openssl/err.h"
>
&5
echo
"configure:49
34
: checking for openssl/err.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
18
"configure"
#line 49
39
"configure"
#include "confdefs.h"
#include <openssl/err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:49
23
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:49
44
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4948,12 +4969,12 @@ fi
## Types, structures, compiler characteristics
##
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:49
52
: checking for working const"
>
&5
echo
"configure:49
73
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
57
"configure"
#line 49
78
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5002,7 +5023,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:50
06
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5023,21 +5044,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:50
27
: checking for inline"
>
&5
echo
"configure:50
48
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
34
"configure"
#line 50
55
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:50
41
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -5065,12 +5086,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:50
69
: checking for preprocessor stringizing operator"
>
&5
echo
"configure:50
90
: checking for preprocessor stringizing operator"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stringize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
74
"configure"
#line 50
95
"configure"
#include "confdefs.h"
#define x(y) #y
...
...
@@ -5100,19 +5121,19 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:51
04
: checking for signed types"
>
&5
echo
"configure:51
25
: checking for signed types"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_signed
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
09
"configure"
#line 51
30
"configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:51
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
else
...
...
@@ -5132,19 +5153,19 @@ EOF
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:51
36
: checking for volatile"
>
&5
echo
"configure:51
57
: checking for volatile"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_volatile
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
41
"configure"
#line 51
62
"configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:51
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
else
...
...
@@ -5164,12 +5185,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:51
68
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:51
89
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
73
"configure"
#line 51
94
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5177,7 +5198,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:5
181
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
202
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5198,12 +5219,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:52
02
: checking for tm_zone in struct tm"
>
&5
echo
"configure:52
23
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
07
"configure"
#line 52
28
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5211,7 +5232,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:52
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5231,12 +5252,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:52
35
: checking for tzname"
>
&5
echo
"configure:52
56
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
40
"configure"
#line 52
61
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5246,7 +5267,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:52
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5268,12 +5289,12 @@ EOF
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:52
72
: checking for union semun"
>
&5
echo
"configure:52
93
: checking for union semun"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_union_semun
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
77
"configure"
#line 52
98
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -5282,7 +5303,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:5
286
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
307
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
else
...
...
@@ -5302,12 +5323,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:53
06
: checking for struct sockaddr_un"
>
&5
echo
"configure:53
27
: checking for struct sockaddr_un"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_sockaddr_un
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
11
"configure"
#line 53
32
"configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_SYS_UN_H
...
...
@@ -5317,7 +5338,7 @@ int main() {
struct sockaddr_un un;
; return 0; }
EOF
if
{
(
eval echo
configure:53
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockaddr_un
=
yes
else
...
...
@@ -5341,19 +5362,19 @@ fi
## Functions, global variables
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:53
45
: checking for int timezone"
>
&5
echo
"configure:53
66
: checking for int timezone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_timezone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
50
"configure"
#line 53
71
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
int res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:53
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_var_int_timezone
=
yes
else
...
...
@@ -5373,7 +5394,7 @@ EOF
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:53
77
: checking types of arguments for accept()"
>
&5
echo
"configure:53
98
: checking types of arguments for accept()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_accept_arg1
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5387,7 +5408,7 @@ else
for
ac_cv_func_accept_arg2
in
'struct sockaddr *'
'const struct sockaddr *'
'void *'
;
do
for
ac_cv_func_accept_arg3
in
'int'
'size_t'
'socklen_t'
'unsigned int'
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
391
"configure"
#line 5
412
"configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
...
...
@@ -5400,7 +5421,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:54
04
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
else
...
...
@@ -5437,12 +5458,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:54
41
: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:54
62
: checking whether gettimeofday takes only one argument"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_gettimeofday_1arg
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
46
"configure"
#line 54
67
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
...
...
@@ -5451,7 +5472,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:54
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
76
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
else
...
...
@@ -5472,12 +5493,12 @@ EOF
fi
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
"configure:54
76
: checking for fcntl(F_SETLK)"
>
&5
echo
"configure:54
97
: checking for fcntl(F_SETLK)"
>
&5
case
$host_os
in
linux
*
)
echo
"
$ac_t
""broken on Linux"
1>&6
;;
*
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
481
"configure"
#line 5
502
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <fcntl.h>
...
...
@@ -5489,7 +5510,7 @@ lck.l_type = F_WRLCK;
fcntl(0, F_SETLK, &lck);
; return 0; }
EOF
if
{
(
eval echo
configure:5
493
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
514
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FCNTL_SETLK 1
...
...
@@ -5508,12 +5529,12 @@ esac
for
ac_func
in
fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:55
12
: checking for
$ac_func
"
>
&5
echo
"configure:55
33
: 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 55
17
"configure"
#line 55
38
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5536,7 +5557,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:55
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5562,12 +5583,12 @@ done
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:55
66
: checking for PS_STRINGS"
>
&5
echo
"configure:55
87
: checking for PS_STRINGS"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_PS_STRINGS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
71
"configure"
#line 55
92
"configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>
...
...
@@ -5577,7 +5598,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
EOF
if
{
(
eval echo
configure:5
581
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
602
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_var_PS_STRINGS
=
yes
else
...
...
@@ -5599,12 +5620,12 @@ fi
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:56
03
: checking for snprintf"
>
&5
echo
"configure:56
24
: checking for snprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_snprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
08
"configure"
#line 56
29
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -5627,7 +5648,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:56
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_snprintf=yes"
else
...
...
@@ -5651,12 +5672,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:56
55
: checking for vsnprintf"
>
&5
echo
"configure:56
76
: checking for vsnprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vsnprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
60
"configure"
#line 56
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -5679,7 +5700,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:5
683
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
704
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vsnprintf=yes"
else
...
...
@@ -5704,7 +5725,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
08
"configure"
#line 57
29
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5719,7 +5740,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
23
"configure"
#line 57
44
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5736,12 +5757,12 @@ rm -f conftest*
# do this one the hard way in case isinf() is a macro
echo
$ac_n
"checking for isinf""...
$ac_c
"
1>&6
echo
"configure:57
40
: checking for isinf"
>
&5
echo
"configure:57
61
: checking for isinf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_isinf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
45
"configure"
#line 57
66
"configure"
#include "confdefs.h"
#include <math.h>
...
...
@@ -5749,7 +5770,7 @@ int main() {
double x = 0.0; int res = isinf(x);
; return 0; }
EOF
if
{
(
eval echo
configure:57
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
else
...
...
@@ -5775,12 +5796,12 @@ else
for
ac_func
in
fpclass fp_class fp_class_d class
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
779
: checking for
$ac_func
"
>
&5
echo
"configure:5
800
: 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 5
784
"configure"
#line 5
805
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5803,7 +5824,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:58
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5831,12 +5852,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:58
35
: checking for getrusage"
>
&5
echo
"configure:58
56
: checking for getrusage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getrusage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
40
"configure"
#line 58
61
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -5859,7 +5880,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:58
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getrusage=yes"
else
...
...
@@ -5884,12 +5905,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:5
888
: checking for srandom"
>
&5
echo
"configure:5
909
: checking for srandom"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_srandom
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
893
"configure"
#line 5
914
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -5912,7 +5933,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:59
16
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_srandom=yes"
else
...
...
@@ -5937,12 +5958,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:59
41
: checking for gethostname"
>
&5
echo
"configure:59
62
: checking for gethostname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
46
"configure"
#line 59
67
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -5965,7 +5986,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:59
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostname=yes"
else
...
...
@@ -5990,12 +6011,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:
5994
: checking for random"
>
&5
echo
"configure:
6015
: checking for random"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_random
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
5999
"configure"
#line
6020
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -6018,7 +6039,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:60
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_random=yes"
else
...
...
@@ -6043,12 +6064,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:60
47
: checking for inet_aton"
>
&5
echo
"configure:60
68
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
52
"configure"
#line 60
73
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -6071,7 +6092,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:60
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_inet_aton=yes"
else
...
...
@@ -6096,12 +6117,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:61
00
: checking for strerror"
>
&5
echo
"configure:61
21
: checking for strerror"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strerror
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
05
"configure"
#line 61
26
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -6124,7 +6145,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:61
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strerror=yes"
else
...
...
@@ -6150,12 +6171,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:61
54
: checking for strdup"
>
&5
echo
"configure:61
75
: checking for strdup"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strdup
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
59
"configure"
#line 61
80
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -6178,7 +6199,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:6
182
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
203
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strdup=yes"
else
...
...
@@ -6203,12 +6224,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:62
07
: checking for strtol"
>
&5
echo
"configure:62
28
: checking for strtol"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtol
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
12
"configure"
#line 62
33
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -6231,7 +6252,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:62
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strtol=yes"
else
...
...
@@ -6256,12 +6277,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:62
60
: checking for strtoul"
>
&5
echo
"configure:62
81
: checking for strtoul"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtoul
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
65
"configure"
#line 62
86
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -6284,7 +6305,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:6
288
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
309
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strtoul=yes"
else
...
...
@@ -6309,12 +6330,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:63
13
: checking for strcasecmp"
>
&5
echo
"configure:63
34
: checking for strcasecmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
18
"configure"
#line 63
39
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -6337,7 +6358,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:63
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strcasecmp=yes"
else
...
...
@@ -6362,12 +6383,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:63
66
: checking for cbrt"
>
&5
echo
"configure:63
87
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
71
"configure"
#line 63
92
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -6390,7 +6411,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:6
394
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
415
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
else
...
...
@@ -6411,7 +6432,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:64
15
: checking for cbrt in -lm"
>
&5
echo
"configure:64
36
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6419,7 +6440,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
23
"configure"
#line 64
44
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6430,7 +6451,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:64
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6468,12 +6489,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:64
72
: checking for rint"
>
&5
echo
"configure:64
93
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
77
"configure"
#line 64
98
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -6496,7 +6517,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:65
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
else
...
...
@@ -6517,7 +6538,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:65
21
: checking for rint in -lm"
>
&5
echo
"configure:65
42
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6525,7 +6546,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
29
"configure"
#line 65
50
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6536,7 +6557,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:65
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6565,9 +6586,9 @@ fi
# Readline versions < 2.1 don't have rl_completion_append_character
echo
$ac_n
"checking for rl_completion_append_character""...
$ac_c
"
1>&6
echo
"configure:65
69
: checking for rl_completion_append_character"
>
&5
echo
"configure:65
90
: checking for rl_completion_append_character"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
71
"configure"
#line 65
92
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_H
...
...
@@ -6580,7 +6601,7 @@ int main() {
rl_completion_append_character = 'x';
; return 0; }
EOF
if
{
(
eval echo
configure:6
584
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
605
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6601,7 +6622,7 @@ rm -f conftest*
# with earlier Cygwins don't have this declared, although it's in the
# library.
echo
$ac_n
"checking whether filename_completion_function is declared""...
$ac_c
"
1>&6
echo
"configure:66
05
: checking whether filename_completion_function is declared"
>
&5
echo
"configure:66
26
: checking whether filename_completion_function is declared"
>
&5
if
test
"
$ac_cv_header_readline_h
"
=
yes
;
then
_readline_header
=
'readline.h'
elif
test
"
$ac_cv_header_readline_readline_h
"
=
yes
;
then
...
...
@@ -6610,7 +6631,7 @@ else
_readline_header
=
'xxx'
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
14
"configure"
#line 66
35
"configure"
#include "confdefs.h"
#include <
$_readline_header
>
EOF
...
...
@@ -6632,16 +6653,16 @@ rm -f conftest*
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:66
36
: checking for finite"
>
&5
echo
"configure:66
57
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
38
"configure"
#line 66
59
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:66
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FINITE 1
...
...
@@ -6656,16 +6677,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:66
60
: checking for sigsetjmp"
>
&5
echo
"configure:66
81
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
62
"configure"
#line 66
83
"configure"
#include "confdefs.h"
#include <setjmp.h>
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
EOF
if
{
(
eval echo
configure:66
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SIGSETJMP 1
...
...
@@ -6685,12 +6706,12 @@ if test x"${enable_syslog+set}" = xset; then
case
$enable_syslog
in
yes
)
echo
$ac_n
"checking for syslog""...
$ac_c
"
1>&6
echo
"configure:6
689
: checking for syslog"
>
&5
echo
"configure:6
710
: checking for syslog"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_syslog
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
694
"configure"
#line 6
715
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
...
...
@@ -6713,7 +6734,7 @@ syslog();
; return 0; }
EOF
if
{
(
eval echo
configure:67
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_syslog=yes"
else
...
...
@@ -6753,7 +6774,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:67
57
: checking whether long int is 64 bits"
>
&5
echo
"configure:67
78
: checking whether long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6762,7 +6783,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
66
"configure"
#line 67
87
"configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -6791,7 +6812,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:6
795
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
816
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_type_long_int_64
=
yes
else
...
...
@@ -6818,7 +6839,7 @@ fi
if
test
x
"
$HAVE_LONG_INT_64
"
=
x
"no"
;
then
echo
$ac_n
"checking whether long long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:68
22
: checking whether long long int is 64 bits"
>
&5
echo
"configure:68
43
: checking whether long long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6827,7 +6848,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
31
"configure"
#line 68
52
"configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -6856,7 +6877,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:68
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:68
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_type_long_long_int_64
=
yes
else
...
...
@@ -6887,7 +6908,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
$SNPRINTF
=
x
]
;
then
echo
$ac_n
"checking whether snprintf handles 'long long int' as %lld""...
$ac_c
"
1>&6
echo
"configure:6
891
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:6
912
: checking whether snprintf handles 'long long int' as %lld"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
...
@@ -6896,7 +6917,7 @@ echo "configure:6891: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
00
"configure"
#line 69
21
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6923,7 +6944,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:69
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:69
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%lld"'
...
...
@@ -6934,7 +6955,7 @@ else
rm
-fr
conftest
*
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking whether snprintf handles 'long long int' as %qd""...
$ac_c
"
1>&6
echo
"configure:69
38
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:69
59
: checking whether snprintf handles 'long long int' as %qd"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
...
@@ -6943,7 +6964,7 @@ echo "configure:6938: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
47
"configure"
#line 69
68
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6970,7 +6991,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:69
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:69
95
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%qd"'
...
...
@@ -7009,7 +7030,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:70
13
: checking alignment of short"
>
&5
echo
"configure:70
34
: checking alignment of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7017,7 +7038,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
21
"configure"
#line 70
42
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -7029,7 +7050,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:70
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_short
=
`
cat
conftestval
`
else
...
...
@@ -7049,7 +7070,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:70
53
: checking alignment of int"
>
&5
echo
"configure:70
74
: checking alignment of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7057,7 +7078,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
61
"configure"
#line 70
82
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -7069,7 +7090,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:70
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
94
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_int
=
`
cat
conftestval
`
else
...
...
@@ -7089,7 +7110,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:7
093
: checking alignment of long"
>
&5
echo
"configure:7
114
: checking alignment of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7097,7 +7118,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
01
"configure"
#line 71
22
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -7109,7 +7130,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:71
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:71
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_long
=
`
cat
conftestval
`
else
...
...
@@ -7130,7 +7151,7 @@ EOF
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
echo
$ac_n
"checking alignment of long long int""...
$ac_c
"
1>&6
echo
"configure:71
34
: checking alignment of long long int"
>
&5
echo
"configure:71
55
: checking alignment of long long int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long_long_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7138,7 +7159,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
42
"configure"
#line 71
63
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -7150,7 +7171,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:71
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:71
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_long_long_int
=
`
cat
conftestval
`
else
...
...
@@ -7171,7 +7192,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:71
75
: checking alignment of double"
>
&5
echo
"configure:71
96
: checking alignment of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7179,7 +7200,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
183
"configure"
#line 7
204
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -7191,7 +7212,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:7
195
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
216
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_double
=
`
cat
conftestval
`
else
...
...
@@ -7229,12 +7250,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:72
33
: checking for POSIX signal interface"
>
&5
echo
"configure:72
54
: checking for POSIX signal interface"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_posix_signals
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
38
"configure"
#line 72
59
"configure"
#include "confdefs.h"
#include <signal.h>
...
...
@@ -7245,7 +7266,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:72
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_func_posix_signals
=
yes
else
...
...
@@ -7275,7 +7296,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
279
: checking for
$ac_word
"
>
&5
echo
"configure:7
300
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TCLSH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -7311,7 +7332,7 @@ test -n "$TCLSH" && break
done
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:73
15
: checking for tclConfig.sh"
>
&5
echo
"configure:73
36
: checking for tclConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tclconfig
"
...
...
@@ -7344,7 +7365,7 @@ fi
# Check for Tk configuration script tkConfig.sh
if
test
"
$with_tk
"
=
yes
;
then
echo
$ac_n
"checking for tkConfig.sh""...
$ac_c
"
1>&6
echo
"configure:73
48
: checking for tkConfig.sh"
>
&5
echo
"configure:73
69
: checking for tkConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TK_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tkconfig
$with_tclconfig
"
...
...
configure.in
View file @
dc0f5cb0
...
...
@@ -543,7 +543,28 @@ PGAC_ARG_OPTARG(with, CXX, [ --with-CXX build C++ modules (libpq++
[CXX=$withval],
[
AC_MSG_RESULT(yes)
# If the user has specified CXXFLAGS in the environment, leave it
# alone, else use a default.
has_cmdline_CXXFLAGS="${CXXFLAGS+yes}"
AC_PROG_CXX
if test "$has_cmdline_CXXFLAGS" != yes; then
if test "$GXX" = yes; then
CXXFLAGS=-O2
else
case $template in
osf) CXXFLAGS='-O4 -Olimit 2000' ;;
unixware) CXXFLAGS='-O' ;;
*) CXXFLAGS= ;;
esac
fi
fi
if test "$enable_debug" = yes && test "$ac_cv_prog_cxx_g" = yes; then
CXXFLAGS="$CXXFLAGS -g"
fi
echo "using CXXFLAGS=$CXXFLAGS"
AC_PROG_CXXCPP
AC_SUBST(GXX)
PGAC_CLASS_STRING
...
...
src/makefiles/Makefile.qnx4
View file @
dc0f5cb0
...
...
@@ -14,3 +14,6 @@ CFLAGS_SL =
%$(DLSUFFIX)
:
%.o
@
echo
'cannot make shared object $@ from $<'
# Hack alert! Fix your compiler installation...
override
CXXFLAGS
+=
-I
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++
src/template/aix
View file @
dc0f5cb0
if test "$GCC" = yes ; then
CFLAGS=-pipe
CXXFLAGS=-pipe
else # not GCC
case $host_os in
aix3.2.5)
...
...
src/template/osf
View file @
dc0f5cb0
...
...
@@ -5,5 +5,4 @@ else
CC="$CC -std"
CFLAGS='-O4 -Olimit 2000'
CCC=cxx
CXXFLAGS='-O4 -Olimit 2000'
fi
src/template/qnx4
View file @
dc0f5cb0
CFLAGS=
LIBS=-lunix
CXXFLAGS=-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/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