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
a8d47419
Commit
a8d47419
authored
Sep 11, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look for fdatasync() in librt, for Solaris.
partially from Kenji Sugita
parent
0521051b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
353 additions
and
282 deletions
+353
-282
configure
configure
+345
-277
configure.in
configure.in
+8
-5
No files found.
configure
View file @
a8d47419
...
...
@@ -4160,8 +4160,9 @@ else
echo
"
$ac_t
""no"
1>&6
fi
# QNX:
echo
$ac_n
"checking for main in -lunix""...
$ac_c
"
1>&6
echo
"configure:416
5
: checking for main in -lunix"
>
&5
echo
"configure:416
6
: checking for main in -lunix"
>
&5
ac_lib_var
=
`
echo
unix
'_'
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
...
...
@@ -4169,14 +4170,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lunix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 417
3
"configure"
#line 417
4
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:418
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:418
1
:
\"
$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
...
...
@@ -4205,14 +4206,14 @@ fi
echo
$ac_n
"checking for library containing crypt""...
$ac_c
"
1>&6
echo
"configure:42
09
: checking for library containing crypt"
>
&5
echo
"configure:42
10
: 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 421
6
"configure"
#line 421
7
"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
...
...
@@ -4223,7 +4224,7 @@ int main() {
crypt()
; return 0; }
EOF
if
{
(
eval echo
configure:422
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:422
8
:
\"
$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
...
...
@@ -4234,7 +4235,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 423
8
"configure"
#line 423
9
"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 +4246,7 @@ int main() {
crypt()
; 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
50
:
\"
$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
...
...
@@ -4265,8 +4266,9 @@ if test "$ac_cv_search_crypt" != "no"; then
else
:
fi
# BeOS:
echo
$ac_n
"checking for __inet_ntoa in -lbind""...
$ac_c
"
1>&6
echo
"configure:427
0
: checking for __inet_ntoa in -lbind"
>
&5
echo
"configure:427
2
: 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
...
...
@@ -4274,7 +4276,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbind
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
78
"configure"
#line 42
80
"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
...
...
@@ -4285,7 +4287,7 @@ int main() {
__inet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:42
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
91
:
\"
$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
...
...
@@ -4312,8 +4314,12 @@ else
echo
"
$ac_t
""no"
1>&6
fi
# Only consider libz to be present if we find <zlib.h> as well;
# furthermore, check that <zlib.h> defines z_streamp (versions before
# about 1.0.4 did not). While we could work around the lack of z_streamp,
# it seems unwise to encourage people to use such old zlib versions...
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
17
"configure"
#line 43
23
"configure"
#include "confdefs.h"
#include <zlib.h>
EOF
...
...
@@ -4322,7 +4328,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
rm
-rf
conftest
*
echo
$ac_n
"checking for inflate in -lz""...
$ac_c
"
1>&6
echo
"configure:43
26
: checking for inflate in -lz"
>
&5
echo
"configure:43
32
: 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
...
...
@@ -4330,7 +4336,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
34
"configure"
#line 43
40
"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
...
...
@@ -4341,7 +4347,7 @@ int main() {
inflate()
; return 0; }
EOF
if
{
(
eval echo
configure:43
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
51
:
\"
$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
...
...
@@ -4372,11 +4378,73 @@ fi
fi
rm
-f
conftest
*
# Solaris:
echo
$ac_n
"checking for library containing fdatasync""...
$ac_c
"
1>&6
echo
"configure:4385: checking for library containing fdatasync"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_fdatasync
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_cv_search_fdatasync
=
"no"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4392 "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
builtin and then its argument prototype would still apply. */
char fdatasync();
int main() {
fdatasync()
; return 0; }
EOF
if
{
(
eval echo
configure:4403:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_fdatasync
=
"none required"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
fi
rm
-f
conftest
*
test
"
$ac_cv_search_fdatasync
"
=
"no"
&&
for
i
in
rt
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4414 "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
builtin and then its argument prototype would still apply. */
char fdatasync();
int main() {
fdatasync()
; return 0; }
EOF
if
{
(
eval echo
configure:4425:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_fdatasync
=
"-l
$i
"
break
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
fi
rm
-f
conftest
*
done
LIBS
=
"
$ac_func_search_save_LIBS
"
fi
echo
"
$ac_t
""
$ac_cv_search_fdatasync
"
1>&6
if
test
"
$ac_cv_search_fdatasync
"
!=
"no"
;
then
test
"
$ac_cv_search_fdatasync
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_fdatasync
$LIBS
"
else
:
fi
if
test
"
$with_krb4
"
=
yes
;
then
echo
$ac_n
"checking for des_encrypt in -ldes""...
$ac_c
"
1>&6
echo
"configure:4
380
: checking for des_encrypt in -ldes"
>
&5
echo
"configure:4
448
: 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
...
...
@@ -4384,7 +4452,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldes
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
388
"configure"
#line 4
456
"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
...
...
@@ -4395,7 +4463,7 @@ int main() {
des_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
399
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
467
:
\"
$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
...
...
@@ -4424,7 +4492,7 @@ else
fi
echo
$ac_n
"checking for krb_sendauth in -lkrb""...
$ac_c
"
1>&6
echo
"configure:44
28
: checking for krb_sendauth in -lkrb"
>
&5
echo
"configure:44
96
: 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
...
...
@@ -4432,7 +4500,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
436
"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
...
...
@@ -4443,7 +4511,7 @@ int main() {
krb_sendauth()
; return 0; }
EOF
if
{
(
eval echo
configure:4
447
:
\"
$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
...
...
@@ -4475,7 +4543,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
479
: checking for com_err in -lcom_err"
>
&5
echo
"configure:4
547
: 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
...
...
@@ -4483,7 +4551,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcom_err
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
487
"configure"
#line 4
555
"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
...
...
@@ -4494,7 +4562,7 @@ int main() {
com_err()
; return 0; }
EOF
if
{
(
eval echo
configure:4
498
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
566
:
\"
$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
...
...
@@ -4523,7 +4591,7 @@ else
fi
echo
$ac_n
"checking for krb5_encrypt in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:45
27
: checking for krb5_encrypt in -lcrypto"
>
&5
echo
"configure:45
95
: 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
...
...
@@ -4531,7 +4599,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
535
"configure"
#line 4
603
"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
...
...
@@ -4542,7 +4610,7 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
546
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
614
:
\"
$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
...
...
@@ -4568,7 +4636,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for krb5_encrypt in -lk5crypto""...
$ac_c
"
1>&6
echo
"configure:4
572
: checking for krb5_encrypt in -lk5crypto"
>
&5
echo
"configure:4
640
: 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
...
...
@@ -4576,7 +4644,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lk5crypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
580
"configure"
#line 4
648
"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
...
...
@@ -4587,7 +4655,7 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
591
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
659
:
\"
$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
...
...
@@ -4618,7 +4686,7 @@ fi
fi
echo
$ac_n
"checking for krb5_sendauth in -lkrb5""...
$ac_c
"
1>&6
echo
"configure:46
22
: checking for krb5_sendauth in -lkrb5"
>
&5
echo
"configure:46
90
: 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
...
...
@@ -4626,7 +4694,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb5
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
30
"configure"
#line 46
98
"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
...
...
@@ -4637,7 +4705,7 @@ int main() {
krb5_sendauth()
; return 0; }
EOF
if
{
(
eval echo
configure:4
641
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
709
:
\"
$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
...
...
@@ -4669,7 +4737,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:4
673
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
echo
"configure:4
741
: 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
...
...
@@ -4677,7 +4745,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
681
"configure"
#line 4
749
"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
...
...
@@ -4688,7 +4756,7 @@ int main() {
CRYPTO_new_ex_data()
; return 0; }
EOF
if
{
(
eval echo
configure:4
692
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
760
:
\"
$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
...
...
@@ -4717,7 +4785,7 @@ else
fi
echo
$ac_n
"checking for SSL_library_init in -lssl""...
$ac_c
"
1>&6
echo
"configure:47
21
: checking for SSL_library_init in -lssl"
>
&5
echo
"configure:47
89
: 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
...
...
@@ -4725,7 +4793,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lssl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
29
"configure"
#line 47
97
"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
...
...
@@ -4736,7 +4804,7 @@ int main() {
SSL_library_init()
; return 0; }
EOF
if
{
(
eval echo
configure:4
740
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
808
:
\"
$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
...
...
@@ -4768,7 +4836,7 @@ fi
if
test
"
$with_pam
"
=
yes
;
then
echo
$ac_n
"checking for pam_start in -lpam""...
$ac_c
"
1>&6
echo
"configure:4
772
: checking for pam_start in -lpam"
>
&5
echo
"configure:4
840
: checking for pam_start in -lpam"
>
&5
ac_lib_var
=
`
echo
pam
'_'
pam_start |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4776,7 +4844,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpam
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
780
"configure"
#line 4
848
"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
...
...
@@ -4787,7 +4855,7 @@ int main() {
pam_start()
; return 0; }
EOF
if
{
(
eval echo
configure:4
791
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
859
:
\"
$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
...
...
@@ -4821,14 +4889,14 @@ if test "$enable_nls" = yes ; then
echo
$ac_n
"checking for library containing gettext""...
$ac_c
"
1>&6
echo
"configure:48
25
: checking for library containing gettext"
>
&5
echo
"configure:48
93
: checking for library containing gettext"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_gettext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_cv_search_gettext
=
"no"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
832
"configure"
#line 4
900
"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
...
...
@@ -4839,7 +4907,7 @@ int main() {
gettext()
; return 0; }
EOF
if
{
(
eval echo
configure:4
843
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
911
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_gettext
=
"none required"
else
...
...
@@ -4850,7 +4918,7 @@ rm -f conftest*
test
"
$ac_cv_search_gettext
"
=
"no"
&&
for
i
in
intl
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
854
"configure"
#line 4
922
"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
...
...
@@ -4861,7 +4929,7 @@ int main() {
gettext()
; return 0; }
EOF
if
{
(
eval echo
configure:4
865
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
933
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_gettext
=
"-l
$i
"
break
...
...
@@ -4883,17 +4951,17 @@ else :
fi
ac_safe
=
`
echo
"libintl.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for libintl.h""...
$ac_c
"
1>&6
echo
"configure:4
887
: checking for libintl.h"
>
&5
echo
"configure:4
955
: checking for libintl.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
892
"configure"
#line 4
960
"configure"
#include "confdefs.h"
#include <libintl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
897
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
965
:
\"
$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
*
...
...
@@ -4920,7 +4988,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:49
24
: checking for
$ac_word
"
>
&5
echo
"configure:49
92
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_MSGFMT
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4957,7 +5025,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:
4961
: checking for
$ac_word
"
>
&5
echo
"configure:
5029
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_MSGMERGE
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4991,7 +5059,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:
4995
: checking for
$ac_word
"
>
&5
echo
"configure:
5063
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_XGETTEXT
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5044,17 +5112,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:5
048
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
116
: 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 5
053
"configure"
#line 5
121
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
058
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
126
:
\"
$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
*
...
...
@@ -5085,17 +5153,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:5
089
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
157
: 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 5
094
"configure"
#line 5
162
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
099
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
167
:
\"
$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
*
...
...
@@ -5122,9 +5190,9 @@ fi
done
echo
$ac_n
"checking for netinet/tcp.h""...
$ac_c
"
1>&6
echo
"configure:51
26
: checking for netinet/tcp.h"
>
&5
echo
"configure:51
94
: checking for netinet/tcp.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
28
"configure"
#line 51
96
"configure"
#include "confdefs.h"
#ifdef HAVE_NETINET_IN_H
...
...
@@ -5134,7 +5202,7 @@ cat > conftest.$ac_ext <<EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
138
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
206
:
\"
$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
*
...
...
@@ -5152,24 +5220,24 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether string.h and strings.h may both be included""...
$ac_c
"
1>&6
echo
"configure:5
156
: checking whether string.h and strings.h may both be included"
>
&5
echo
"configure:5
224
: checking whether string.h and strings.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_header_strings_both
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
161
"configure"
#line 5
229
"configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
168
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
236
:
\"
$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
>
conftest.
$ac_ext
<<
EOF
#line 5
173
"configure"
#line 5
241
"configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
...
...
@@ -5178,7 +5246,7 @@ int main() {
int n = strcasecmp("a", "b");
; return 0; }
EOF
if
{
(
eval echo
configure:5
182
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
250
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_header_strings_both
=
yes
else
...
...
@@ -5210,17 +5278,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:52
14
: checking for
$ac_hdr
"
>
&5
echo
"configure:52
82
: 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 52
19
"configure"
#line 52
87
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:52
24
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:52
92
:
\"
$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
*
...
...
@@ -5250,17 +5318,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:5
254
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
322
: 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 5
259
"configure"
#line 5
327
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
264
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
332
:
\"
$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
*
...
...
@@ -5290,17 +5358,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:5
294
: checking for krb.h"
>
&5
echo
"configure:5
362
: 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 5
299
"configure"
#line 5
367
"configure"
#include "confdefs.h"
#include <krb.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:53
04
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:53
72
:
\"
$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
*
...
...
@@ -5327,17 +5395,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:53
31
: checking for krb5.h"
>
&5
echo
"configure:53
99
: 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 5
336
"configure"
#line 5
404
"configure"
#include "confdefs.h"
#include <krb5.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
341
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
409
:
\"
$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
*
...
...
@@ -5361,17 +5429,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:5
365
: checking for com_err.h"
>
&5
echo
"configure:5
433
: 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 5
370
"configure"
#line 5
438
"configure"
#include "confdefs.h"
#include <com_err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
375
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
443
:
\"
$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
*
...
...
@@ -5398,17 +5466,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:54
02
: checking for openssl/ssl.h"
>
&5
echo
"configure:54
70
: 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 54
07
"configure"
#line 54
75
"configure"
#include "confdefs.h"
#include <openssl/ssl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:54
12
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:54
80
:
\"
$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
*
...
...
@@ -5432,17 +5500,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:5
436
: checking for openssl/err.h"
>
&5
echo
"configure:5
504
: 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 5
441
"configure"
#line 5
509
"configure"
#include "confdefs.h"
#include <openssl/err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
446
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
514
:
\"
$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
*
...
...
@@ -5469,17 +5537,17 @@ fi
if
test
"
$with_pam
"
=
yes
;
then
ac_safe
=
`
echo
"security/pam_appl.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for security/pam_appl.h""...
$ac_c
"
1>&6
echo
"configure:5
473
: checking for security/pam_appl.h"
>
&5
echo
"configure:5
541
: checking for security/pam_appl.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 5
478
"configure"
#line 5
546
"configure"
#include "confdefs.h"
#include <security/pam_appl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
483
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
551
:
\"
$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
*
...
...
@@ -5508,12 +5576,12 @@ fi
## Types, structures, compiler characteristics
##
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:55
12
: checking for working const"
>
&5
echo
"configure:55
80
: 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 55
17
"configure"
#line 55
85
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5562,7 +5630,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:5
566
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
634
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5583,21 +5651,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:5
587
: checking for inline"
>
&5
echo
"configure:5
655
: 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 5
594
"configure"
#line 5
662
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:56
01
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -5625,12 +5693,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:56
29
: checking for preprocessor stringizing operator"
>
&5
echo
"configure:56
97
: 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 5
634
"configure"
#line 5
702
"configure"
#include "confdefs.h"
#define x(y) #y
...
...
@@ -5660,19 +5728,19 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:5
664
: checking for signed types"
>
&5
echo
"configure:5
732
: 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 5
669
"configure"
#line 5
737
"configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:5
676
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
744
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
else
...
...
@@ -5692,19 +5760,19 @@ EOF
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:5
696
: checking for volatile"
>
&5
echo
"configure:5
764
: 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 57
01
"configure"
#line 57
69
"configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:57
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
76
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
else
...
...
@@ -5724,12 +5792,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:57
28
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:57
96
: 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
733
"configure"
#line 5
801
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5737,7 +5805,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:5
741
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
809
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5758,12 +5826,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:5
762
: checking for tm_zone in struct tm"
>
&5
echo
"configure:5
830
: 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 5
767
"configure"
#line 5
835
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5771,7 +5839,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:5
775
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
843
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5791,12 +5859,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:5
795
: checking for tzname"
>
&5
echo
"configure:5
863
: 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 58
00
"configure"
#line 58
68
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5806,7 +5874,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:58
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5828,12 +5896,12 @@ EOF
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:5
832
: checking for union semun"
>
&5
echo
"configure:5
900
: 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
837
"configure"
#line 5
905
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -5842,7 +5910,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:5
846
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
914
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
else
...
...
@@ -5862,12 +5930,12 @@ EOF
fi
echo
$ac_n
"checking for struct cmsgcred""...
$ac_c
"
1>&6
echo
"configure:5
866
: checking for struct cmsgcred"
>
&5
echo
"configure:5
934
: checking for struct cmsgcred"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_cmsgcred
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
871
"configure"
#line 5
939
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5876,7 +5944,7 @@ int main() {
struct cmsgcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:5
880
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
948
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_cmsgcred
=
yes
else
...
...
@@ -5896,12 +5964,12 @@ EOF
fi
echo
$ac_n
"checking for struct fcred""...
$ac_c
"
1>&6
echo
"configure:59
00
: checking for struct fcred"
>
&5
echo
"configure:59
68
: checking for struct fcred"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_fcred
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
05
"configure"
#line 59
73
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5910,7 +5978,7 @@ int main() {
struct fcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:59
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
82
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_fcred
=
yes
else
...
...
@@ -5930,12 +5998,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockcred""...
$ac_c
"
1>&6
echo
"configure:
5934
: checking for struct sockcred"
>
&5
echo
"configure:
6002
: checking for struct sockcred"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_sockcred
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
5939
"configure"
#line
6007
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5944,7 +6012,7 @@ int main() {
struct sockcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:
5948
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6016
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockcred
=
yes
else
...
...
@@ -5964,12 +6032,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:
5968
: checking for struct sockaddr_un"
>
&5
echo
"configure:
6036
: 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
5973
"configure"
#line
6041
"configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_SYS_UN_H
...
...
@@ -5979,7 +6047,7 @@ int main() {
struct sockaddr_un un;
; return 0; }
EOF
if
{
(
eval echo
configure:
5983
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6051
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockaddr_un
=
yes
else
...
...
@@ -6003,12 +6071,12 @@ fi
## Functions, global variables
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:60
07
: checking for int timezone"
>
&5
echo
"configure:60
75
: 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 60
12
"configure"
#line 60
80
"configure"
#include "confdefs.h"
#include <time.h>
int res;
...
...
@@ -6016,7 +6084,7 @@ int main() {
res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:60
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
88
:
\"
$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
...
...
@@ -6036,7 +6104,7 @@ EOF
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:6
040
: checking types of arguments for accept()"
>
&5
echo
"configure:6
108
: 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
...
...
@@ -6050,7 +6118,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'
'void'
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
054
"configure"
#line 6
122
"configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
...
...
@@ -6063,7 +6131,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
067
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
135
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
else
...
...
@@ -6103,12 +6171,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:61
07
: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:61
75
: 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 61
12
"configure"
#line 61
80
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
...
...
@@ -6117,7 +6185,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:61
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:61
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
else
...
...
@@ -6140,12 +6208,12 @@ fi
for
ac_func
in
fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid dlopen fdatasync
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:6
144
: checking for
$ac_func
"
>
&5
echo
"configure:6
212
: 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 6
149
"configure"
#line 6
217
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6168,7 +6236,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:6
172
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
240
:
\"
$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
...
...
@@ -6194,7 +6262,7 @@ done
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
198
"configure"
#line 6
266
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -6210,12 +6278,12 @@ rm -f conftest*
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:62
14
: checking for PS_STRINGS"
>
&5
echo
"configure:62
82
: 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 62
19
"configure"
#line 62
87
"configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>
...
...
@@ -6225,7 +6293,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
EOF
if
{
(
eval echo
configure:62
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
97
:
\"
$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
...
...
@@ -6247,12 +6315,12 @@ fi
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:6
251
: checking for snprintf"
>
&5
echo
"configure:6
319
: 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 6
256
"configure"
#line 6
324
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -6275,7 +6343,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:6
279
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
347
:
\"
$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
...
...
@@ -6299,12 +6367,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:63
03
: checking for vsnprintf"
>
&5
echo
"configure:63
71
: 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 63
08
"configure"
#line 63
76
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -6327,7 +6395,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:63
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
99
:
\"
$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
...
...
@@ -6352,7 +6420,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
356
"configure"
#line 6
424
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -6367,7 +6435,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
371
"configure"
#line 6
439
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -6384,12 +6452,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:6
388
: checking for isinf"
>
&5
echo
"configure:6
456
: 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 6
393
"configure"
#line 6
461
"configure"
#include "confdefs.h"
#include <math.h>
...
...
@@ -6397,7 +6465,7 @@ int main() {
double x = 0.0; int res = isinf(x);
; return 0; }
EOF
if
{
(
eval echo
configure:64
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
else
...
...
@@ -6423,12 +6491,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:64
27
: checking for
$ac_func
"
>
&5
echo
"configure:64
95
: 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 6
432
"configure"
#line 6
500
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6451,7 +6519,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:6
455
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
523
:
\"
$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
...
...
@@ -6479,12 +6547,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:6
483
: checking for getrusage"
>
&5
echo
"configure:6
551
: 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 6
488
"configure"
#line 6
556
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -6507,7 +6575,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:65
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
79
:
\"
$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
...
...
@@ -6532,12 +6600,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:6
536
: checking for srandom"
>
&5
echo
"configure:6
604
: 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 6
541
"configure"
#line 6
609
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -6560,7 +6628,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:6
564
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
632
:
\"
$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
...
...
@@ -6585,12 +6653,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:6
589
: checking for gethostname"
>
&5
echo
"configure:6
657
: 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 6
594
"configure"
#line 6
662
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -6613,7 +6681,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:66
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
85
:
\"
$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
...
...
@@ -6638,12 +6706,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:6
642
: checking for random"
>
&5
echo
"configure:6
710
: 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 6
647
"configure"
#line 6
715
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -6666,7 +6734,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:6
670
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
738
:
\"
$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
...
...
@@ -6691,12 +6759,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:6
695
: checking for inet_aton"
>
&5
echo
"configure:6
763
: 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 67
00
"configure"
#line 67
68
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -6719,7 +6787,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:67
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
91
:
\"
$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
...
...
@@ -6744,12 +6812,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:6
748
: checking for strerror"
>
&5
echo
"configure:6
816
: 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 6
753
"configure"
#line 6
821
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -6772,7 +6840,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:6
776
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
844
:
\"
$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
...
...
@@ -6797,12 +6865,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:68
01
: checking for strdup"
>
&5
echo
"configure:68
69
: 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 68
06
"configure"
#line 68
74
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -6825,7 +6893,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:68
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:68
97
:
\"
$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
...
...
@@ -6850,12 +6918,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:6
854
: checking for strtol"
>
&5
echo
"configure:6
922
: 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 6
859
"configure"
#line 6
927
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -6878,7 +6946,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:6
882
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
950
:
\"
$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
...
...
@@ -6903,12 +6971,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:69
07
: checking for strtoul"
>
&5
echo
"configure:69
75
: 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 69
12
"configure"
#line 69
80
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -6931,7 +6999,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:
6935
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7003
:
\"
$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
...
...
@@ -6956,12 +7024,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:
6960
: checking for strcasecmp"
>
&5
echo
"configure:
7028
: 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
6965
"configure"
#line
7033
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -6984,7 +7052,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:
6988
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7056
:
\"
$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
...
...
@@ -7009,12 +7077,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:70
13
: checking for cbrt"
>
&5
echo
"configure:70
81
: 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 70
18
"configure"
#line 70
86
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -7037,7 +7105,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:7
041
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
109
:
\"
$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
...
...
@@ -7058,7 +7126,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:7
062
: checking for cbrt in -lm"
>
&5
echo
"configure:7
130
: 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
...
...
@@ -7066,7 +7134,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
070
"configure"
#line 7
138
"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
...
...
@@ -7077,7 +7145,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:7
081
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
149
:
\"
$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
...
...
@@ -7115,12 +7183,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:71
19
: checking for rint"
>
&5
echo
"configure:71
87
: 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 71
24
"configure"
#line 71
92
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -7143,7 +7211,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:7
147
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
215
:
\"
$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
...
...
@@ -7164,7 +7232,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:7
168
: checking for rint in -lm"
>
&5
echo
"configure:7
236
: 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
...
...
@@ -7172,7 +7240,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
176
"configure"
#line 7
244
"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
...
...
@@ -7183,7 +7251,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:7
187
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
255
:
\"
$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
...
...
@@ -7212,9 +7280,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:72
16
: checking for rl_completion_append_character"
>
&5
echo
"configure:72
84
: checking for rl_completion_append_character"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
18
"configure"
#line 72
86
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_READLINE_H
...
...
@@ -7227,7 +7295,7 @@ int main() {
rl_completion_append_character = 'x';
; return 0; }
EOF
if
{
(
eval echo
configure:72
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
99
:
\"
$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
...
...
@@ -7245,12 +7313,12 @@ rm -f conftest*
for
ac_func
in
rl_completion_matches rl_filename_completion_function
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:7
249
: checking for
$ac_func
"
>
&5
echo
"configure:7
317
: 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 7
254
"configure"
#line 7
322
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7273,7 +7341,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:7
277
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
345
:
\"
$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
...
...
@@ -7300,16 +7368,16 @@ done
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:73
04
: checking for finite"
>
&5
echo
"configure:73
72
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
06
"configure"
#line 73
74
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:73
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
81
:
\"
$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
...
...
@@ -7324,16 +7392,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:73
28
: checking for sigsetjmp"
>
&5
echo
"configure:73
96
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
30
"configure"
#line 73
98
"configure"
#include "confdefs.h"
#include <setjmp.h>
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
EOF
if
{
(
eval echo
configure:7
337
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
405
:
\"
$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
...
...
@@ -7353,12 +7421,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:7
357
: checking for syslog"
>
&5
echo
"configure:7
425
: 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 7
362
"configure"
#line 7
430
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
...
...
@@ -7381,7 +7449,7 @@ syslog();
; return 0; }
EOF
if
{
(
eval echo
configure:7
385
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
453
:
\"
$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
...
...
@@ -7420,19 +7488,19 @@ fi
echo
$ac_n
"checking for optreset""...
$ac_c
"
1>&6
echo
"configure:74
24
: checking for optreset"
>
&5
echo
"configure:74
92
: checking for optreset"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_optreset
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
29
"configure"
#line 74
97
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
EOF
if
{
(
eval echo
configure:7
436
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
504
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_var_int_optreset
=
yes
else
...
...
@@ -7458,16 +7526,16 @@ fi
# This check should come after all modifications of compiler or linker
# variables, and before any other run tests.
echo
$ac_n
"checking test program""...
$ac_c
"
1>&6
echo
"configure:7
462
: checking test program"
>
&5
echo
"configure:7
530
: checking test program"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""cross-compiling"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
467
"configure"
#line 7
535
"configure"
#include "confdefs.h"
int main() { return 0; }
EOF
if
{
(
eval echo
configure:7
471
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
539
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""ok"
1>&6
else
...
...
@@ -7487,7 +7555,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:7
491
: checking whether long int is 64 bits"
>
&5
echo
"configure:7
559
: 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
...
...
@@ -7496,7 +7564,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
00
"configure"
#line 75
68
"configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -7525,7 +7593,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:75
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:75
97
:
\"
$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
...
...
@@ -7552,7 +7620,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:7
556
: checking whether long long int is 64 bits"
>
&5
echo
"configure:7
624
: 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
...
...
@@ -7561,7 +7629,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
565
"configure"
#line 7
633
"configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -7590,7 +7658,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:7
594
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
662
:
\"
$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
...
...
@@ -7620,7 +7688,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
24
"configure"
#line 76
92
"configure"
#include "confdefs.h"
#define INT64CONST(x) x##LL
...
...
@@ -7630,7 +7698,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:7
634
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
702
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LL_CONSTANTS 1
...
...
@@ -7648,7 +7716,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:7
652
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:7
720
: 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
...
...
@@ -7657,7 +7725,7 @@ echo "configure:7652: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
661
"configure"
#line 7
729
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -7684,7 +7752,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:7
688
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
756
:
\"
$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"'
...
...
@@ -7695,7 +7763,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:7
699
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:7
767
: 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
...
...
@@ -7704,7 +7772,7 @@ echo "configure:7699: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 77
08
"configure"
#line 77
76
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -7731,7 +7799,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:7
735
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
803
:
\"
$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"'
...
...
@@ -7771,12 +7839,12 @@ EOF
for
ac_func
in
strtoll strtoq
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:7
775
: checking for
$ac_func
"
>
&5
echo
"configure:7
843
: 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 7
780
"configure"
#line 7
848
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7799,7 +7867,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:78
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:78
71
:
\"
$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
...
...
@@ -7826,12 +7894,12 @@ done
for
ac_func
in
strtoull strtouq
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:78
30
: checking for
$ac_func
"
>
&5
echo
"configure:78
98
: 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 7
835
"configure"
#line 7
903
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7854,7 +7922,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:7
858
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
926
:
\"
$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
...
...
@@ -7880,12 +7948,12 @@ done
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:7
884
: checking for atexit"
>
&5
echo
"configure:7
952
: checking for atexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
889
"configure"
#line 7
957
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
...
...
@@ -7908,7 +7976,7 @@ atexit();
; return 0; }
EOF
if
{
(
eval echo
configure:79
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:79
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
else
...
...
@@ -7931,12 +7999,12 @@ else
for
ac_func
in
on_exit
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:
7935
: checking for
$ac_func
"
>
&5
echo
"configure:
8003
: 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
7940
"configure"
#line
8008
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7959,7 +8027,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
7963
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
8031
:
\"
$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
...
...
@@ -7992,7 +8060,7 @@ fi
echo
$ac_n
"checking size of unsigned long""...
$ac_c
"
1>&6
echo
"configure:
7996
: checking size of unsigned long"
>
&5
echo
"configure:
8064
: checking size of unsigned long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_unsigned_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8000,7 +8068,7 @@ else
ac_cv_sizeof_unsigned_long
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 80
04
"configure"
#line 80
72
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -8011,7 +8079,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:80
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:80
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_unsigned_long
=
`
cat
conftestval
`
else
...
...
@@ -8037,7 +8105,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:8
041
: checking alignment of short"
>
&5
echo
"configure:8
109
: 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
...
...
@@ -8045,7 +8113,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
049
"configure"
#line 8
117
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -8057,7 +8125,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
061
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
129
:
\"
$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
...
...
@@ -8077,7 +8145,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:8
081
: checking alignment of int"
>
&5
echo
"configure:8
149
: 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
...
...
@@ -8085,7 +8153,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
089
"configure"
#line 8
157
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -8097,7 +8165,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:81
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:81
69
:
\"
$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
...
...
@@ -8117,7 +8185,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:81
21
: checking alignment of long"
>
&5
echo
"configure:81
89
: 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
...
...
@@ -8125,7 +8193,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 81
29
"configure"
#line 81
97
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -8137,7 +8205,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
141
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
209
:
\"
$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
...
...
@@ -8158,7 +8226,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:8
162
: checking alignment of long long int"
>
&5
echo
"configure:8
230
: 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
...
...
@@ -8166,7 +8234,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
170
"configure"
#line 8
238
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -8178,7 +8246,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
182
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
250
:
\"
$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
...
...
@@ -8199,7 +8267,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:82
03
: checking alignment of double"
>
&5
echo
"configure:82
71
: 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
...
...
@@ -8207,7 +8275,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 82
11
"configure"
#line 82
79
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -8219,7 +8287,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:82
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:82
91
:
\"
$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
...
...
@@ -8257,12 +8325,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:8
261
: checking for POSIX signal interface"
>
&5
echo
"configure:8
329
: 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 8
266
"configure"
#line 8
334
"configure"
#include "confdefs.h"
#include <signal.h>
...
...
@@ -8273,7 +8341,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:8
277
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:8
345
:
\"
$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
...
...
@@ -8303,7 +8371,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:83
07
: checking for
$ac_word
"
>
&5
echo
"configure:83
75
: 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
...
...
@@ -8339,7 +8407,7 @@ test -n "$TCLSH" && break
done
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:8
343
: checking for tclConfig.sh"
>
&5
echo
"configure:8
411
: checking for tclConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tclconfig
"
...
...
@@ -8372,7 +8440,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:8
376
: checking for tkConfig.sh"
>
&5
echo
"configure:8
444
: checking for tkConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TK_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tkconfig
$with_tclconfig
"
...
...
@@ -8411,7 +8479,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:84
15
: checking for
$ac_word
"
>
&5
echo
"configure:84
83
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_NSGMLS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8447,7 +8515,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:8
451
: checking for
$ac_word
"
>
&5
echo
"configure:8
519
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_JADE
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8478,7 +8546,7 @@ done
echo
$ac_n
"checking for DocBook V3.1""...
$ac_c
"
1>&6
echo
"configure:8
482
: checking for DocBook V3.1"
>
&5
echo
"configure:8
550
: checking for DocBook V3.1"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_check_docbook
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8511,7 +8579,7 @@ have_docbook=$pgac_cv_check_docbook
echo
$ac_n
"checking for DocBook stylesheets""...
$ac_c
"
1>&6
echo
"configure:85
15
: checking for DocBook stylesheets"
>
&5
echo
"configure:85
83
: checking for DocBook stylesheets"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_path_stylesheets
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -8550,7 +8618,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:8
554
: checking for
$ac_word
"
>
&5
echo
"configure:8
622
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_SGMLSPL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
configure.in
View file @
a8d47419
...
...
@@ -738,17 +738,20 @@ AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
# QNX:
AC_CHECK_LIB([[unix]], main)
AC_SEARCH_LIBS(crypt, crypt)
# BeOS:
AC_CHECK_LIB(bind, __inet_ntoa)
dnl
Only consider libz to be present if we find <zlib.h> as well;
dnl
furthermore, check that <zlib.h> defines z_streamp (versions before
dnl
about 1.0.4 did not). While we could work around the lack of z_streamp,
dnl
it seems unwise to encourage people to use such old zlib versions...
#
Only consider libz to be present if we find <zlib.h> as well;
#
furthermore, check that <zlib.h> defines z_streamp (versions before
#
about 1.0.4 did not). While we could work around the lack of z_streamp,
#
it seems unwise to encourage people to use such old zlib versions...
AC_EGREP_HEADER(z_streamp, zlib.h, [
AC_CHECK_LIB(z, inflate)
])
# Solaris:
AC_SEARCH_LIBS(fdatasync, rt)
if test "$with_krb4" = yes ; then
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library 'des' is required for Kerberos 4])])
...
...
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