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
b762a9e9
Commit
b762a9e9
authored
Oct 24, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test for <netinet/tcp.h> IRIX-proof.
parent
9cbb5fcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
257 additions
and
175 deletions
+257
-175
configure
configure
+244
-174
configure.in
configure.in
+13
-1
No files found.
configure
View file @
b762a9e9
...
...
@@ -3,7 +3,7 @@
# $Header: /cvsroot/pgsql/configure,v 1.6
7 2000/10/23 21:43:53 petere
Exp $
# $Header: /cvsroot/pgsql/configure,v 1.6
8 2000/10/24 14:55:28 tgl
Exp $
# PGAC_PATH_FLEX
...
...
@@ -17,7 +17,7 @@
#
# Autoconf macros for configuring the build of Python extension modules
#
# $Header: /cvsroot/pgsql/configure,v 1.6
7 2000/10/23 21:43:53 petere
Exp $
# $Header: /cvsroot/pgsql/configure,v 1.6
8 2000/10/24 14:55:28 tgl
Exp $
#
# PGAC_PROG_PYTHON
...
...
@@ -36,7 +36,7 @@
# the build of the shared module. Future project.
# PGAC_PATH_PYTHONDIR
# $Header: /cvsroot/pgsql/configure,v 1.6
7 2000/10/23 21:43:53 petere
Exp $
# $Header: /cvsroot/pgsql/configure,v 1.6
8 2000/10/24 14:55:28 tgl
Exp $
# Autoconf macros to check for Tcl related things
...
...
@@ -2625,7 +2625,7 @@ INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
for
ac_prog
in
gawk m
awk nawk
awk
for
ac_prog
in
mawk g
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
...
...
@@ -4547,7 +4547,7 @@ fi
##
## Header files
##
for
ac_hdr
in
crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h
netinet/tcp.h
pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/types.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
for
ac_hdr
in
crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/types.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
...
@@ -4588,7 +4588,7 @@ fi
done
for
ac_hdr
in
readline/readline.h readline
.h
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
...
...
@@ -4621,6 +4621,76 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
echo
$ac_n
"checking for netinet/tcp.h""...
$ac_c
"
1>&6
echo
"configure:4633: checking for netinet/tcp.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 4635 "configure"
#include "confdefs.h"
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <netinet/tcp.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4645:
\"
$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
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_NETINET_TCP_H 1
EOF
echo
"
$ac_t
""yes"
1>&6
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
fi
rm
-f
conftest
*
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:4666: 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 4671 "configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4676:
\"
$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
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
EOF
break
else
...
...
@@ -4632,17 +4702,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:4
63
6: checking for
$ac_hdr
"
>
&5
echo
"configure:4
70
6: 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
64
1 "configure"
#line 4
71
1 "configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
64
6:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
71
6:
\"
$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
*
...
...
@@ -4672,17 +4742,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:4
67
6: checking for krb.h"
>
&5
echo
"configure:4
74
6: 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 4
68
1 "configure"
#line 4
75
1 "configure"
#include "confdefs.h"
#include <krb.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
68
6:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
75
6:
\"
$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
*
...
...
@@ -4709,17 +4779,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:47
1
3: checking for krb5.h"
>
&5
echo
"configure:47
8
3: 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 47
1
8 "configure"
#line 47
8
8 "configure"
#include "confdefs.h"
#include <krb5.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:47
2
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:47
9
3:
\"
$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
*
...
...
@@ -4743,17 +4813,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:4
74
7: checking for com_err.h"
>
&5
echo
"configure:4
81
7: 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 4
75
2 "configure"
#line 4
82
2 "configure"
#include "confdefs.h"
#include <com_err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
75
7:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
82
7:
\"
$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
*
...
...
@@ -4780,17 +4850,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
78
4: checking for openssl/ssl.h"
>
&5
echo
"configure:4
85
4: 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
78
9 "configure"
#line 4
85
9 "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
79
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
86
4:
\"
$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
*
...
...
@@ -4814,17 +4884,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:48
1
8: checking for openssl/err.h"
>
&5
echo
"configure:48
8
8: 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 48
2
3 "configure"
#line 48
9
3 "configure"
#include "confdefs.h"
#include <openssl/err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:48
2
8:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:48
9
8:
\"
$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
*
...
...
@@ -4853,12 +4923,12 @@ fi
## Types, structures, compiler characteristics
##
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:4
85
7: checking for working const"
>
&5
echo
"configure:4
92
7: 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 4
86
2 "configure"
#line 4
93
2 "configure"
#include "confdefs.h"
int main() {
...
...
@@ -4907,7 +4977,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:49
1
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
8
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -4928,21 +4998,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:
493
2: checking for inline"
>
&5
echo
"configure:
500
2: 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
493
9 "configure"
#line
500
9 "configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:
494
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
501
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -4970,12 +5040,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:
497
4: checking for preprocessor stringizing operator"
>
&5
echo
"configure:
504
4: 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
497
9 "configure"
#line
504
9 "configure"
#include "confdefs.h"
#define x(y) #y
...
...
@@ -5005,19 +5075,19 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:50
0
9: checking for signed types"
>
&5
echo
"configure:50
7
9: 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 50
1
4 "configure"
#line 50
8
4 "configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:50
2
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
9
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
else
...
...
@@ -5037,19 +5107,19 @@ EOF
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:5
04
1: checking for volatile"
>
&5
echo
"configure:5
11
1: 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 5
04
6 "configure"
#line 5
11
6 "configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:5
05
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
12
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
else
...
...
@@ -5069,12 +5139,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:5
07
3: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:5
14
3: 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 5
07
8 "configure"
#line 5
14
8 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5082,7 +5152,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:5
08
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
15
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5103,12 +5173,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:51
0
7: checking for tm_zone in struct tm"
>
&5
echo
"configure:51
7
7: 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 51
1
2 "configure"
#line 51
8
2 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5116,7 +5186,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:51
2
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
9
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5136,12 +5206,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:5
14
0: checking for tzname"
>
&5
echo
"configure:5
21
0: 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 5
14
5 "configure"
#line 5
21
5 "configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5151,7 +5221,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:5
15
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
22
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5173,12 +5243,12 @@ EOF
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:5
17
7: checking for union semun"
>
&5
echo
"configure:5
24
7: 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 5
18
2 "configure"
#line 5
25
2 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -5187,7 +5257,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:5
19
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
26
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
else
...
...
@@ -5207,12 +5277,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:52
1
1: checking for struct sockaddr_un"
>
&5
echo
"configure:52
8
1: 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 52
1
6 "configure"
#line 52
8
6 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_SYS_UN_H
...
...
@@ -5222,7 +5292,7 @@ int main() {
struct sockaddr_un un;
; return 0; }
EOF
if
{
(
eval echo
configure:52
2
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
9
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockaddr_un
=
yes
else
...
...
@@ -5246,19 +5316,19 @@ fi
## Functions, global variables
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:5
25
0: checking for int timezone"
>
&5
echo
"configure:5
32
0: 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 5
25
5 "configure"
#line 5
32
5 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
int res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:5
26
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
33
2:
\"
$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
...
...
@@ -5278,7 +5348,7 @@ EOF
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:5
28
2: checking types of arguments for accept()"
>
&5
echo
"configure:5
35
2: 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
...
...
@@ -5292,7 +5362,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
29
6 "configure"
#line 5
36
6 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
...
...
@@ -5305,7 +5375,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:53
0
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
7
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
else
...
...
@@ -5342,12 +5412,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:5
34
6: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:5
41
6: 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 5
35
1 "configure"
#line 5
42
1 "configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
...
...
@@ -5356,7 +5426,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:5
36
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
43
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
else
...
...
@@ -5377,12 +5447,12 @@ EOF
fi
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
"configure:5
38
1: checking for fcntl(F_SETLK)"
>
&5
echo
"configure:5
45
1: 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
38
6 "configure"
#line 5
45
6 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <fcntl.h>
...
...
@@ -5394,7 +5464,7 @@ lck.l_type = F_WRLCK;
fcntl(0, F_SETLK, &lck);
; return 0; }
EOF
if
{
(
eval echo
configure:5
39
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
46
8:
\"
$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
...
...
@@ -5413,12 +5483,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:54
1
7: checking for
$ac_func
"
>
&5
echo
"configure:54
8
7: 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 54
2
2 "configure"
#line 54
9
2 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5441,7 +5511,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:5
44
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
51
5:
\"
$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
...
...
@@ -5467,12 +5537,12 @@ done
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:5
47
1: checking for PS_STRINGS"
>
&5
echo
"configure:5
54
1: 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 5
47
6 "configure"
#line 5
54
6 "configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>
...
...
@@ -5482,7 +5552,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
EOF
if
{
(
eval echo
configure:5
48
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
55
6:
\"
$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
...
...
@@ -5504,12 +5574,12 @@ fi
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:55
0
8: checking for snprintf"
>
&5
echo
"configure:55
7
8: 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 55
1
3 "configure"
#line 55
8
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -5532,7 +5602,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:5
53
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
60
6:
\"
$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
...
...
@@ -5556,12 +5626,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:5
56
0: checking for vsnprintf"
>
&5
echo
"configure:5
63
0: 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 5
56
5 "configure"
#line 5
63
5 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -5584,7 +5654,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:5
58
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
65
8:
\"
$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
...
...
@@ -5609,7 +5679,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
1
3 "configure"
#line 56
8
3 "configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5624,7 +5694,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
2
8 "configure"
#line 56
9
8 "configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5641,12 +5711,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:5
64
5: checking for isinf"
>
&5
echo
"configure:5
71
5: 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 5
65
0 "configure"
#line 5
72
0 "configure"
#include "confdefs.h"
#include <math.h>
...
...
@@ -5654,7 +5724,7 @@ int main() {
double x = 0.0; int res = isinf(x);
; return 0; }
EOF
if
{
(
eval echo
configure:5
65
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
72
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
else
...
...
@@ -5680,12 +5750,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
68
4: checking for
$ac_func
"
>
&5
echo
"configure:5
75
4: 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
68
9 "configure"
#line 5
75
9 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5708,7 +5778,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:57
1
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
8
2:
\"
$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
...
...
@@ -5736,12 +5806,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:5
74
0: checking for getrusage"
>
&5
echo
"configure:5
81
0: 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 5
74
5 "configure"
#line 5
81
5 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -5764,7 +5834,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:5
76
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
83
8:
\"
$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
...
...
@@ -5789,12 +5859,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:5
79
3: checking for srandom"
>
&5
echo
"configure:5
86
3: 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
79
8 "configure"
#line 5
86
8 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -5817,7 +5887,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:58
2
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
9
1:
\"
$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
...
...
@@ -5842,12 +5912,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:5
84
6: checking for gethostname"
>
&5
echo
"configure:5
91
6: 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 5
85
1 "configure"
#line 5
92
1 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -5870,7 +5940,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:5
87
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
94
4:
\"
$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
...
...
@@ -5895,12 +5965,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:5
89
9: checking for random"
>
&5
echo
"configure:5
96
9: 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 59
0
4 "configure"
#line 59
7
4 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -5923,7 +5993,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:59
2
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
9
7:
\"
$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
...
...
@@ -5948,12 +6018,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:
595
2: checking for inet_aton"
>
&5
echo
"configure:
602
2: 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
595
7 "configure"
#line
602
7 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -5976,7 +6046,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:
598
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
605
0:
\"
$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
...
...
@@ -6001,12 +6071,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:60
0
5: checking for strerror"
>
&5
echo
"configure:60
7
5: 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 60
1
0 "configure"
#line 60
8
0 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -6029,7 +6099,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:6
03
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
10
3:
\"
$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
...
...
@@ -6055,12 +6125,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:6
05
9: checking for strdup"
>
&5
echo
"configure:6
12
9: 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 6
06
4 "configure"
#line 6
13
4 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -6083,7 +6153,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:6
08
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
15
7:
\"
$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
...
...
@@ -6108,12 +6178,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:61
1
2: checking for strtol"
>
&5
echo
"configure:61
8
2: 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 61
1
7 "configure"
#line 61
8
7 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -6136,7 +6206,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:6
14
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
21
0:
\"
$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
...
...
@@ -6161,12 +6231,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:6
16
5: checking for strtoul"
>
&5
echo
"configure:6
23
5: 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 6
17
0 "configure"
#line 6
24
0 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -6189,7 +6259,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:6
19
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
26
3:
\"
$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
...
...
@@ -6214,12 +6284,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:62
1
8: checking for strcasecmp"
>
&5
echo
"configure:62
8
8: 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 62
2
3 "configure"
#line 62
9
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -6242,7 +6312,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:6
24
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
31
6:
\"
$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
...
...
@@ -6267,12 +6337,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:6
27
1: checking for cbrt"
>
&5
echo
"configure:6
34
1: 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 6
27
6 "configure"
#line 6
34
6 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -6295,7 +6365,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:6
29
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
36
9:
\"
$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
...
...
@@ -6316,7 +6386,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:63
2
0: checking for cbrt in -lm"
>
&5
echo
"configure:63
9
0: 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
...
...
@@ -6324,7 +6394,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
2
8 "configure"
#line 63
9
8 "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
...
...
@@ -6335,7 +6405,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:6
33
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
40
9:
\"
$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
...
...
@@ -6373,12 +6443,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:6
37
7: checking for rint"
>
&5
echo
"configure:6
44
7: 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 6
38
2 "configure"
#line 6
45
2 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -6401,7 +6471,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:64
0
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
7
5:
\"
$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
...
...
@@ -6422,7 +6492,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:64
2
6: checking for rint in -lm"
>
&5
echo
"configure:64
9
6: 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
...
...
@@ -6430,7 +6500,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
43
4 "configure"
#line 6
50
4 "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
...
...
@@ -6441,7 +6511,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:6
44
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
51
5:
\"
$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
...
...
@@ -6470,9 +6540,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:6
47
4: checking for rl_completion_append_character"
>
&5
echo
"configure:6
54
4: checking for rl_completion_append_character"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
47
6 "configure"
#line 6
54
6 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_H
...
...
@@ -6485,7 +6555,7 @@ int main() {
rl_completion_append_character = 'x';
; return 0; }
EOF
if
{
(
eval echo
configure:6
48
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
55
9:
\"
$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
...
...
@@ -6506,7 +6576,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:65
1
0: checking whether filename_completion_function is declared"
>
&5
echo
"configure:65
8
0: 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
...
...
@@ -6515,7 +6585,7 @@ else
_readline_header
=
'xxx'
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
1
9 "configure"
#line 65
8
9 "configure"
#include "confdefs.h"
#include <
$_readline_header
>
EOF
...
...
@@ -6537,16 +6607,16 @@ rm -f conftest*
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:6
54
1: checking for finite"
>
&5
echo
"configure:6
61
1: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
54
3 "configure"
#line 6
61
3 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:6
55
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
62
0:
\"
$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
...
...
@@ -6561,16 +6631,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:6
56
5: checking for sigsetjmp"
>
&5
echo
"configure:6
63
5: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
56
7 "configure"
#line 6
63
7 "configure"
#include "confdefs.h"
#include <setjmp.h>
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
EOF
if
{
(
eval echo
configure:6
57
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
64
4:
\"
$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
...
...
@@ -6590,12 +6660,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
59
4: checking for syslog"
>
&5
echo
"configure:6
66
4: 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
59
9 "configure"
#line 6
66
9 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
...
...
@@ -6618,7 +6688,7 @@ syslog();
; return 0; }
EOF
if
{
(
eval echo
configure:66
2
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
9
2:
\"
$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
...
...
@@ -6658,7 +6728,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:6
66
2: checking whether long int is 64 bits"
>
&5
echo
"configure:6
73
2: 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
...
...
@@ -6667,7 +6737,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
67
1 "configure"
#line 6
74
1 "configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -6696,7 +6766,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:67
0
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:67
7
0:
\"
$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
...
...
@@ -6723,7 +6793,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:67
2
7: checking whether long long int is 64 bits"
>
&5
echo
"configure:67
9
7: 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
...
...
@@ -6732,7 +6802,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
73
6 "configure"
#line 6
80
6 "configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -6761,7 +6831,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:6
76
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
83
5:
\"
$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
...
...
@@ -6792,7 +6862,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
79
6: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:6
86
6: 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
...
...
@@ -6801,7 +6871,7 @@ echo "configure:6796: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
0
5 "configure"
#line 68
7
5 "configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6828,7 +6898,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:6
83
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
90
2:
\"
$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"'
...
...
@@ -6839,7 +6909,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:6
84
3: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:6
91
3: 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
...
...
@@ -6848,7 +6918,7 @@ echo "configure:6843: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
85
2 "configure"
#line 6
92
2 "configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6875,7 +6945,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:6
87
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
94
9:
\"
$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"'
...
...
@@ -6914,7 +6984,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:69
1
8: checking alignment of short"
>
&5
echo
"configure:69
8
8: 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
...
...
@@ -6922,7 +6992,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
2
6 "configure"
#line 69
9
6 "configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -6934,7 +7004,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:
693
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
700
8:
\"
$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
...
...
@@ -6954,7 +7024,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:
695
8: checking alignment of int"
>
&5
echo
"configure:
702
8: 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
...
...
@@ -6962,7 +7032,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
696
6 "configure"
#line
703
6 "configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -6974,7 +7044,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:
697
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
704
8:
\"
$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
...
...
@@ -6994,7 +7064,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:
699
8: checking alignment of long"
>
&5
echo
"configure:
706
8: 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
...
...
@@ -7002,7 +7072,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
0
6 "configure"
#line 70
7
6 "configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -7014,7 +7084,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:70
1
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
8
8:
\"
$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
...
...
@@ -7035,7 +7105,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:7
03
9: checking alignment of long long int"
>
&5
echo
"configure:7
10
9: 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
...
...
@@ -7043,7 +7113,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
04
7 "configure"
#line 7
11
7 "configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -7055,7 +7125,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:7
05
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
12
9:
\"
$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
...
...
@@ -7076,7 +7146,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:7
08
0: checking alignment of double"
>
&5
echo
"configure:7
15
0: 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
...
...
@@ -7084,7 +7154,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
08
8 "configure"
#line 7
15
8 "configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -7096,7 +7166,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:71
0
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:71
7
0:
\"
$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
...
...
@@ -7134,12 +7204,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:7
13
8: checking for POSIX signal interface"
>
&5
echo
"configure:7
20
8: 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 7
14
3 "configure"
#line 7
21
3 "configure"
#include "confdefs.h"
#include <signal.h>
...
...
@@ -7150,7 +7220,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:7
15
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
22
4:
\"
$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
...
...
@@ -7180,7 +7250,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
18
4: checking for
$ac_word
"
>
&5
echo
"configure:7
25
4: 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
...
...
@@ -7216,7 +7286,7 @@ test -n "$TCLSH" && break
done
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:72
2
0: checking for tclConfig.sh"
>
&5
echo
"configure:72
9
0: checking for tclConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tclconfig
"
...
...
@@ -7249,7 +7319,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:7
25
3: checking for tkConfig.sh"
>
&5
echo
"configure:7
32
3: 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 @
b762a9e9
...
...
@@ -663,7 +663,19 @@ fi
## Header files
##
dnl sys/socket.h and sys/types.h are required by AC_FUNC_ACCEPT_ARGTYPES
AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h netinet/tcp.h pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/types.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h])
AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/types.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h])
dnl At least on IRIX, cpp test for netinet/tcp.h will fail unless netinet/in.h
dnl is included first. So can't just use AC_CHECK_HEADERS; do it this way:
AC_CHECK_HEADERS([netinet/in.h])
AC_MSG_CHECKING([for netinet/tcp.h])
AC_TRY_CPP([
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <netinet/tcp.h>
], [AC_DEFINE(HAVE_NETINET_TCP_H) AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
AC_CHECK_HEADERS([readline/readline.h readline.h], [break])
AC_CHECK_HEADERS([readline/history.h history.h], [break])
...
...
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