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
42c3381f
Commit
42c3381f
authored
Feb 23, 2002
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Heimdal support (Kerberos V implementation from KTH)
parent
0055a393
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
606 additions
and
375 deletions
+606
-375
config/c-library.m4
config/c-library.m4
+32
-1
configure
configure
+518
-364
configure.in
configure.in
+21
-4
doc/src/sgml/release.sgml
doc/src/sgml/release.sgml
+2
-1
src/backend/libpq/auth.c
src/backend/libpq/auth.c
+9
-2
src/include/pg_config.h.in
src/include/pg_config.h.in
+13
-1
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.c
+11
-2
No files found.
config/c-library.m4
View file @
42c3381f
# Macros that test various C library quirks
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.1
0 2001/12/20 21:23:05 momjian
Exp $
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.1
1 2002/02/23 04:17:45 petere
Exp $
# PGAC_VAR_INT_TIMEZONE
...
...
@@ -196,3 +196,34 @@ if test x"$pgac_cv_header_strings_both" = x"yes"; then
AC_DEFINE([STRING_H_WITH_STRINGS_H], 1,
[Define if string.h and strings.h may both be included])
fi])
# PGAC_CHECK_MEMBER(AGGREGATE.MEMBER,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [INCLUDES])
# -----------------------------------------------------------
AC_DEFUN([PGAC_CHECK_MEMBER],
[changequote(<<, >>)dnl
dnl The name to #define.
define(<<pgac_define_name>>, translit(HAVE_$1, [a-z .*], [A-Z__P]))dnl
dnl The cache variable name.
define(<<pgac_cache_name>>, translit(pgac_cv_member_$1, [ .*], [__p]))dnl
changequote([, ])dnl
AC_CACHE_CHECK([for $1], [pgac_cache_name],
[AC_TRY_COMPILE([$4],
[static ]patsubst([$1], [\..*])[ pgac_var;
if (pgac_var.]patsubst([$1], [^[^.]*\.])[)
return 0;],
[pgac_cache_name=yes],
[pgac_cache_name=no])])
if test x"[$]pgac_cache_name" = x"yes"; then
AC_DEFINE_UNQUOTED(pgac_define_name)
$2
else
ifelse([$3], [], :, [$3])
fi
undefine([pgac_define_name])[]dnl
undefine([pgac_cache_name])[]dnl
])
configure
View file @
42c3381f
...
...
@@ -4486,14 +4486,14 @@ fi
fi
if
test
"
$with_krb5
"
=
yes
;
then
echo
$ac_n
"checking for com_err in -lcom_err""...
$ac_c
"
1>&6
echo
"configure:4491: 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_va
r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"checking for library containing com_err""...
$ac_c
"
1>&6
echo
"configure:4492: checking for library containing com_err"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_
search_com_er
r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcom_err
$LIBS
"
ac_
func_search_
save_LIBS
=
"
$LIBS
"
ac_cv_search_com_err
=
"no
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4499 "configure"
#include "confdefs.h"
...
...
@@ -4508,42 +4508,56 @@ com_err()
EOF
if
{
(
eval echo
configure:4510:
\"
$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
"
ac_cv_search_com_err
=
"none required
"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
test
"
$ac_cv_search_com_err
"
=
"no"
&&
for
i
in
krb5
'krb5 -ldes -lasn1 -lroken'
com_err
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4521 "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 com_err();
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
com_err |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
int main() {
com_err()
; return 0; }
EOF
if
{
(
eval echo
configure:4532:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_com_err
=
"-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
LIBS
=
"-lcom_err
$LIBS
"
echo
"
$ac_t
""
$ac_cv_search_com_err
"
1>&6
if
test
"
$ac_cv_search_com_err
"
!=
"no"
;
then
test
"
$ac_cv_search_com_err
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_com_err
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: library 'com_err' is required for Kerberos 5"
1>&2
;
exit
1
;
}
else
:
{
echo
"configure: error: could not find function 'com_err' required for Kerberos 5"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking for krb5_encrypt in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:4539: 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
"checking for library containing krb5_encrypt""...
$ac_c
"
1>&6
echo
"configure:4554: checking for library containing krb5_encrypt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_krb5_encrypt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
ac_
func_search_
save_LIBS
=
"
$LIBS
"
ac_cv_search_krb5_encrypt
=
"no
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
47
"configure"
#line 45
61
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4554,41 +4568,18 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:45
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes
"
ac_cv_search_krb5_encrypt
=
"none required
"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
crypto |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-lcrypto
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for krb5_encrypt in -lk5crypto""...
$ac_c
"
1>&6
echo
"configure:4584: 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
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lk5crypto
$LIBS
"
test
"
$ac_cv_search_krb5_encrypt
"
=
"no"
&&
for
i
in
krb5
'krb5 -ldes -lasn1 -lroken'
crypto k5crypto
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
92
"configure"
#line 45
83
"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
...
...
@@ -4599,46 +4590,36 @@ int main() {
krb5_encrypt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
603
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
594
:
\"
$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"
ac_cv_search_krb5_encrypt
=
"-l
$i
"
break
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
done
LIBS
=
"
$ac_func_search_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
k5crypto |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-lk5crypto
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: library 'crypto' or 'k5crypto' is required for Kerberos 5"
1>&2
;
exit
1
;
}
fi
echo
"
$ac_t
""
$ac_cv_search_krb5_encrypt
"
1>&6
if
test
"
$ac_cv_search_krb5_encrypt
"
!=
"no"
;
then
test
"
$ac_cv_search_krb5_encrypt
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_krb5_encrypt
$LIBS
"
else
:
{
echo
"configure: error: could not find function 'krb5_encrypt' required for Kerberos 5"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking for krb5_sendauth in -lkrb5""...
$ac_c
"
1>&6
echo
"configure:4634: 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
"checking for library containing krb5_sendauth""...
$ac_c
"
1>&6
echo
"configure:4616: checking for library containing krb5_sendauth"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_krb5_sendauth
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb5
$LIBS
"
ac_
func_search_
save_LIBS
=
"
$LIBS
"
ac_cv_search_krb5_sendauth
=
"no
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
42
"configure"
#line 46
23
"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
...
...
@@ -4649,39 +4630,53 @@ int main() {
krb5_sendauth()
; return 0; }
EOF
if
{
(
eval echo
configure:46
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
34
:
\"
$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
"
ac_cv_search_krb5_sendauth
=
"none required
"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
test
"
$ac_cv_search_krb5_sendauth
"
=
"no"
&&
for
i
in
krb5
'krb5 -ldes -lasn1 -lroken'
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4645 "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 krb5_sendauth();
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
krb5 |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
int main() {
krb5_sendauth()
; return 0; }
EOF
LIBS
=
"-lkrb5
$LIBS
"
if
{
(
eval echo
configure:4656:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_search_krb5_sendauth
=
"-l
$i
"
break
else
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: library 'krb5' is required for Kerberos 5"
1>&2
;
exit
1
;
}
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_krb5_sendauth
"
1>&6
if
test
"
$ac_cv_search_krb5_sendauth
"
!=
"no"
;
then
test
"
$ac_cv_search_krb5_sendauth
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_krb5_sendauth
$LIBS
"
else
:
{
echo
"configure: error: could not find function 'krb5_sendauth' required for Kerberos 5"
1>&2
;
exit
1
;
}
fi
fi
if
test
"
$with_openssl
"
=
yes
;
then
echo
$ac_n
"checking for CRYPTO_new_ex_data in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:468
5
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
echo
"configure:468
0
: 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
...
...
@@ -4689,7 +4684,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
93
"configure"
#line 46
88
"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
...
...
@@ -4700,7 +4695,7 @@ int main() {
CRYPTO_new_ex_data()
; return 0; }
EOF
if
{
(
eval echo
configure:4
704
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
699
:
\"
$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
...
...
@@ -4729,7 +4724,7 @@ else
fi
echo
$ac_n
"checking for SSL_library_init in -lssl""...
$ac_c
"
1>&6
echo
"configure:47
33
: checking for SSL_library_init in -lssl"
>
&5
echo
"configure:47
28
: 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
...
...
@@ -4737,7 +4732,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lssl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
41
"configure"
#line 47
36
"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
...
...
@@ -4748,7 +4743,7 @@ int main() {
SSL_library_init()
; return 0; }
EOF
if
{
(
eval echo
configure:47
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
47
:
\"
$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
...
...
@@ -4780,7 +4775,7 @@ fi
if
test
"
$with_pam
"
=
yes
;
then
echo
$ac_n
"checking for pam_start in -lpam""...
$ac_c
"
1>&6
echo
"configure:47
84
: checking for pam_start in -lpam"
>
&5
echo
"configure:47
79
: 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
...
...
@@ -4788,7 +4783,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpam
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
92
"configure"
#line 47
87
"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
...
...
@@ -4799,7 +4794,7 @@ int main() {
pam_start()
; return 0; }
EOF
if
{
(
eval echo
configure:4
803
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
798
:
\"
$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
...
...
@@ -4833,14 +4828,14 @@ if test "$enable_nls" = yes ; then
echo
$ac_n
"checking for library containing gettext""...
$ac_c
"
1>&6
echo
"configure:483
7
: checking for library containing gettext"
>
&5
echo
"configure:483
2
: 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 48
44
"configure"
#line 48
39
"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
...
...
@@ -4851,7 +4846,7 @@ int main() {
gettext()
; return 0; }
EOF
if
{
(
eval echo
configure:485
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:485
0
:
\"
$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
...
...
@@ -4862,7 +4857,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 486
6
"configure"
#line 486
1
"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
...
...
@@ -4873,7 +4868,7 @@ int main() {
gettext()
; return 0; }
EOF
if
{
(
eval echo
configure:487
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:487
2
:
\"
$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
...
...
@@ -4895,17 +4890,17 @@ else :
fi
ac_safe
=
`
echo
"libintl.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for libintl.h""...
$ac_c
"
1>&6
echo
"configure:489
9
: checking for libintl.h"
>
&5
echo
"configure:489
4
: 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
904
"configure"
#line 4
899
"configure"
#include "confdefs.h"
#include <libintl.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:490
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:490
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
*
...
...
@@ -4932,7 +4927,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:493
6
: checking for
$ac_word
"
>
&5
echo
"configure:493
1
: 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
...
...
@@ -4969,7 +4964,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
73
: checking for
$ac_word
"
>
&5
echo
"configure:49
68
: 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
...
...
@@ -5003,7 +4998,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:500
7
: checking for
$ac_word
"
>
&5
echo
"configure:500
2
: 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
...
...
@@ -5056,17 +5051,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:50
60
: checking for
$ac_hdr
"
>
&5
echo
"configure:50
55
: 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 506
5
"configure"
#line 506
0
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:50
70
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:50
65
:
\"
$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
*
...
...
@@ -5097,17 +5092,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
101
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
096
: 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 510
6
"configure"
#line 510
1
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:51
11
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:51
06
:
\"
$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
*
...
...
@@ -5134,9 +5129,9 @@ fi
done
echo
$ac_n
"checking for netinet/tcp.h""...
$ac_c
"
1>&6
echo
"configure:513
8
: checking for netinet/tcp.h"
>
&5
echo
"configure:513
3
: checking for netinet/tcp.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
40
"configure"
#line 51
35
"configure"
#include "confdefs.h"
#ifdef HAVE_NETINET_IN_H
...
...
@@ -5146,7 +5141,7 @@ cat > conftest.$ac_ext <<EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:51
50
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:51
45
:
\"
$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
*
...
...
@@ -5164,24 +5159,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:516
8
: checking whether string.h and strings.h may both be included"
>
&5
echo
"configure:516
3
: 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 51
73
"configure"
#line 51
68
"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:51
80
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:51
75
:
\"
$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 518
5
"configure"
#line 518
0
"configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
...
...
@@ -5190,7 +5185,7 @@ int main() {
int n = strcasecmp("a", "b");
; return 0; }
EOF
if
{
(
eval echo
configure:51
94
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_header_strings_both
=
yes
else
...
...
@@ -5222,17 +5217,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:522
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:522
1
: 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
31
"configure"
#line 52
26
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:523
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:523
1
:
\"
$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
*
...
...
@@ -5262,17 +5257,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:526
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:526
1
: 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
71
"configure"
#line 52
66
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:527
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:527
1
:
\"
$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
*
...
...
@@ -5302,17 +5297,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:530
6
: checking for krb.h"
>
&5
echo
"configure:530
1
: 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 53
11
"configure"
#line 53
06
"configure"
#include "confdefs.h"
#include <krb.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:531
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:531
1
:
\"
$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
*
...
...
@@ -5339,17 +5334,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
43
: checking for krb5.h"
>
&5
echo
"configure:53
38
: 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 534
8
"configure"
#line 534
3
"configure"
#include "confdefs.h"
#include <krb5.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:53
53
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:53
48
:
\"
$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
*
...
...
@@ -5373,17 +5368,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:537
7
: checking for com_err.h"
>
&5
echo
"configure:537
2
: 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 53
82
"configure"
#line 53
77
"configure"
#include "confdefs.h"
#include <com_err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:538
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:538
2
:
\"
$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
*
...
...
@@ -5410,17 +5405,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
14
: checking for openssl/ssl.h"
>
&5
echo
"configure:54
09
: 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 541
9
"configure"
#line 541
4
"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
24
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:54
19
:
\"
$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
*
...
...
@@ -5444,17 +5439,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:544
8
: checking for openssl/err.h"
>
&5
echo
"configure:544
3
: 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 54
53
"configure"
#line 54
48
"configure"
#include "confdefs.h"
#include <openssl/err.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:545
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:545
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
*
...
...
@@ -5481,17 +5476,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:548
5
: checking for security/pam_appl.h"
>
&5
echo
"configure:548
0
: 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 54
90
"configure"
#line 54
85
"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:549
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:549
0
:
\"
$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
*
...
...
@@ -5520,12 +5515,12 @@ fi
## Types, structures, compiler characteristics
##
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:55
24
: checking for working const"
>
&5
echo
"configure:55
19
: 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 552
9
"configure"
#line 552
4
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5574,7 +5569,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:557
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:557
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5595,21 +5590,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:559
9
: checking for inline"
>
&5
echo
"configure:559
4
: 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 560
6
"configure"
#line 560
1
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:56
13
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -5637,12 +5632,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:56
41
: checking for preprocessor stringizing operator"
>
&5
echo
"configure:56
36
: 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 564
6
"configure"
#line 564
1
"configure"
#include "confdefs.h"
#define x(y) #y
...
...
@@ -5672,19 +5667,19 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:567
6
: checking for signed types"
>
&5
echo
"configure:567
1
: 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 56
81
"configure"
#line 56
76
"configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:568
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:568
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
else
...
...
@@ -5704,19 +5699,19 @@ EOF
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:570
8
: checking for volatile"
>
&5
echo
"configure:570
3
: 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
13
"configure"
#line 57
08
"configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:57
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
else
...
...
@@ -5736,12 +5731,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
40
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:57
35
: 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 574
5
"configure"
#line 574
0
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5749,7 +5744,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:57
53
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5770,12 +5765,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:57
74
: checking for tm_zone in struct tm"
>
&5
echo
"configure:57
69
: 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 577
9
"configure"
#line 577
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5783,7 +5778,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:578
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:578
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5803,12 +5798,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:580
7
: checking for tzname"
>
&5
echo
"configure:580
2
: 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
12
"configure"
#line 58
07
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5818,7 +5813,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:58
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5840,12 +5835,12 @@ EOF
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:58
44
: checking for union semun"
>
&5
echo
"configure:58
39
: 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 584
9
"configure"
#line 584
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -5854,7 +5849,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:585
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:585
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
else
...
...
@@ -5874,12 +5869,12 @@ EOF
fi
echo
$ac_n
"checking for struct cmsgcred""...
$ac_c
"
1>&6
echo
"configure:587
8
: checking for struct cmsgcred"
>
&5
echo
"configure:587
3
: 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 58
83
"configure"
#line 58
78
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5888,7 +5883,7 @@ int main() {
struct cmsgcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:58
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_cmsgcred
=
yes
else
...
...
@@ -5908,12 +5903,12 @@ EOF
fi
echo
$ac_n
"checking for struct fcred""...
$ac_c
"
1>&6
echo
"configure:59
12
: checking for struct fcred"
>
&5
echo
"configure:59
07
: 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 591
7
"configure"
#line 591
2
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5922,7 +5917,7 @@ int main() {
struct fcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:592
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:592
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_fcred
=
yes
else
...
...
@@ -5942,12 +5937,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockcred""...
$ac_c
"
1>&6
echo
"configure:594
6
: checking for struct sockcred"
>
&5
echo
"configure:594
1
: 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 59
51
"configure"
#line 59
46
"configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
...
...
@@ -5956,7 +5951,7 @@ int main() {
struct sockcred sockcred;
; return 0; }
EOF
if
{
(
eval echo
configure:59
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockcred
=
yes
else
...
...
@@ -5976,12 +5971,12 @@ EOF
fi
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:59
80
: checking for struct sockaddr_un"
>
&5
echo
"configure:59
75
: 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 598
5
"configure"
#line 598
0
"configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_SYS_UN_H
...
...
@@ -5991,7 +5986,7 @@ int main() {
struct sockaddr_un un;
; return 0; }
EOF
if
{
(
eval echo
configure:599
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:599
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_struct_sockaddr_un
=
yes
else
...
...
@@ -6011,16 +6006,175 @@ EOF
fi
if
test
"
$with_krb5
"
=
yes
;
then
# Check for differences between MIT and Heimdal (KTH) releases
echo
$ac_n
"checking for krb5_ticket.enc_part2""...
$ac_c
"
1>&6
echo
"configure:6013: checking for krb5_ticket.enc_part2"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_member_krb5_ticket_enc_part2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6018 "configure"
#include "confdefs.h"
#include <krb5.h>
int main() {
static krb5_ticket pgac_var;
if (pgac_var.enc_part2)
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:6027:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_member_krb5_ticket_enc_part2
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_member_krb5_ticket_enc_part2
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_member_krb5_ticket_enc_part2
"
1>&6
if
test
x
"
$pgac_cv_member_krb5_ticket_enc_part2
"
=
x
"yes"
;
then
cat
>>
confdefs.h
<<
EOF
#define HAVE_KRB5_TICKET_ENC_PART2 1
EOF
else
echo
$ac_n
"checking for krb5_ticket.client""...
$ac_c
"
1>&6
echo
"configure:6049: checking for krb5_ticket.client"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_member_krb5_ticket_client
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6054 "configure"
#include "confdefs.h"
#include <krb5.h>
int main() {
static krb5_ticket pgac_var;
if (pgac_var.client)
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:6063:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_member_krb5_ticket_client
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_member_krb5_ticket_client
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_member_krb5_ticket_client
"
1>&6
if
test
x
"
$pgac_cv_member_krb5_ticket_client
"
=
x
"yes"
;
then
cat
>>
confdefs.h
<<
EOF
#define HAVE_KRB5_TICKET_CLIENT 1
EOF
else
{
echo
"configure: error: could not determine how to get client name from Kerberos 5 ticket"
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking for krb5_error.text.data""...
$ac_c
"
1>&6
echo
"configure:6090: checking for krb5_error.text.data"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_member_krb5_error_text_data
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6095 "configure"
#include "confdefs.h"
#include <krb5.h>
int main() {
static krb5_error pgac_var;
if (pgac_var.text.data)
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:6104:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_member_krb5_error_text_data
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_member_krb5_error_text_data
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_member_krb5_error_text_data
"
1>&6
if
test
x
"
$pgac_cv_member_krb5_error_text_data
"
=
x
"yes"
;
then
cat
>>
confdefs.h
<<
EOF
#define HAVE_KRB5_ERROR_TEXT_DATA 1
EOF
else
echo
$ac_n
"checking for krb5_error.e_data""...
$ac_c
"
1>&6
echo
"configure:6126: checking for krb5_error.e_data"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_member_krb5_error_e_data
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6131 "configure"
#include "confdefs.h"
#include <krb5.h>
int main() {
static krb5_error pgac_var;
if (pgac_var.e_data)
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:6140:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_member_krb5_error_e_data
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_member_krb5_error_e_data
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_member_krb5_error_e_data
"
1>&6
if
test
x
"
$pgac_cv_member_krb5_error_e_data
"
=
x
"yes"
;
then
cat
>>
confdefs.h
<<
EOF
#define HAVE_KRB5_ERROR_E_DATA 1
EOF
else
{
echo
"configure: error: could not determine how to extract Kerberos 5 error messages"
1>&2
;
exit
1
;
}
fi
fi
fi
##
## Functions, global variables
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:6
019
: checking for int timezone"
>
&5
echo
"configure:6
173
: 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 6
024
"configure"
#line 6
178
"configure"
#include "confdefs.h"
#include <time.h>
int res;
...
...
@@ -6028,7 +6182,7 @@ int main() {
res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:6
032
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
186
:
\"
$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
...
...
@@ -6048,7 +6202,7 @@ EOF
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:6
052
: checking types of arguments for accept()"
>
&5
echo
"configure:6
206
: 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
...
...
@@ -6062,7 +6216,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
066
"configure"
#line 6
220
"configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
...
...
@@ -6075,7 +6229,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
079
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
233
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
else
...
...
@@ -6115,12 +6269,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:6
119
: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:6
273
: 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 6
124
"configure"
#line 6
278
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
...
...
@@ -6129,7 +6283,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:6
133
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
287
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
else
...
...
@@ -6151,7 +6305,7 @@ fi
# SunOS doesn't handle negative byte comparisons properly with +/- return
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:6
155
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:6
309
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6159,7 +6313,7 @@ else
pgac_cv_func_memcmp_clean
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
163
"configure"
#line 6
317
"configure"
#include "confdefs.h"
main()
...
...
@@ -6169,7 +6323,7 @@ main()
}
EOF
if
{
(
eval echo
configure:6
173
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
327
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_func_memcmp_clean
=
yes
else
...
...
@@ -6194,12 +6348,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
198
: checking for
$ac_func
"
>
&5
echo
"configure:6
352
: 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
203
"configure"
#line 6
357
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6222,7 +6376,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:6
226
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
380
:
\"
$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
...
...
@@ -6248,7 +6402,7 @@ done
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
252
"configure"
#line 6
406
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -6264,12 +6418,12 @@ rm -f conftest*
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:6
268
: checking for PS_STRINGS"
>
&5
echo
"configure:6
422
: 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 6
273
"configure"
#line 6
427
"configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>
...
...
@@ -6279,7 +6433,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
EOF
if
{
(
eval echo
configure:6
283
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
437
:
\"
$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
...
...
@@ -6301,12 +6455,12 @@ fi
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:6
305
: checking for snprintf"
>
&5
echo
"configure:6
459
: 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
310
"configure"
#line 6
464
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -6329,7 +6483,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:6
333
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
487
:
\"
$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
...
...
@@ -6353,12 +6507,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:6
357
: checking for vsnprintf"
>
&5
echo
"configure:6
511
: 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 6
362
"configure"
#line 6
516
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -6381,7 +6535,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:6
385
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
539
:
\"
$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
...
...
@@ -6406,7 +6560,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
410
"configure"
#line 6
564
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -6421,7 +6575,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
425
"configure"
#line 6
579
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -6438,12 +6592,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
442
: checking for isinf"
>
&5
echo
"configure:6
596
: 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
447
"configure"
#line 6
601
"configure"
#include "confdefs.h"
#include <math.h>
...
...
@@ -6451,7 +6605,7 @@ int main() {
double x = 0.0; int res = isinf(x);
; 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
609
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
else
...
...
@@ -6477,12 +6631,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:6
481
: checking for
$ac_func
"
>
&5
echo
"configure:6
635
: 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
486
"configure"
#line 6
640
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6505,7 +6659,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:6
509
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
663
:
\"
$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
...
...
@@ -6533,12 +6687,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:6
537
: checking for getrusage"
>
&5
echo
"configure:6
691
: 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
542
"configure"
#line 6
696
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -6561,7 +6715,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:6
565
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
719
:
\"
$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
...
...
@@ -6586,12 +6740,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:6
590
: checking for srandom"
>
&5
echo
"configure:6
744
: 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
595
"configure"
#line 6
749
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -6614,7 +6768,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:6
618
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
772
:
\"
$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
...
...
@@ -6639,12 +6793,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:6
643
: checking for gethostname"
>
&5
echo
"configure:6
797
: 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
648
"configure"
#line 6
802
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -6667,7 +6821,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:6
671
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
825
:
\"
$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
...
...
@@ -6692,12 +6846,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:6
696
: checking for random"
>
&5
echo
"configure:6
850
: 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
701
"configure"
#line 6
855
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -6720,7 +6874,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:6
724
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
878
:
\"
$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
...
...
@@ -6745,12 +6899,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:6
749
: checking for inet_aton"
>
&5
echo
"configure:6
903
: 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 6
754
"configure"
#line 6
908
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -6773,7 +6927,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:6
777
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
931
:
\"
$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
...
...
@@ -6798,12 +6952,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:6
802
: checking for strerror"
>
&5
echo
"configure:6
956
: 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
807
"configure"
#line 6
961
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -6826,7 +6980,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:6
830
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
984
:
\"
$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
...
...
@@ -6851,12 +7005,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:
6855
: checking for strdup"
>
&5
echo
"configure:
7009
: 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
6860
"configure"
#line
7014
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -6879,7 +7033,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:
6883
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7037
:
\"
$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
...
...
@@ -6904,12 +7058,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:
6908
: checking for strtol"
>
&5
echo
"configure:
7062
: 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
6913
"configure"
#line
7067
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -6932,7 +7086,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:
6936
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7090
:
\"
$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
...
...
@@ -6957,12 +7111,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:
6961
: checking for strtoul"
>
&5
echo
"configure:
7115
: 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
6966
"configure"
#line
7120
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -6985,7 +7139,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:
6989
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7143
:
\"
$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
...
...
@@ -7010,12 +7164,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:7
014
: checking for strcasecmp"
>
&5
echo
"configure:7
168
: 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 7
019
"configure"
#line 7
173
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -7038,7 +7192,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:7
042
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
196
:
\"
$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
...
...
@@ -7063,12 +7217,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:7
067
: checking for cbrt"
>
&5
echo
"configure:7
221
: 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 7
072
"configure"
#line 7
226
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -7091,7 +7245,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:7
095
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
249
:
\"
$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
...
...
@@ -7112,7 +7266,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:7
116
: checking for cbrt in -lm"
>
&5
echo
"configure:7
270
: 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
...
...
@@ -7120,7 +7274,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
124
"configure"
#line 7
278
"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
...
...
@@ -7131,7 +7285,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:7
135
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
289
:
\"
$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
...
...
@@ -7169,12 +7323,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:7
173
: checking for rint"
>
&5
echo
"configure:7
327
: 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 7
178
"configure"
#line 7
332
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -7197,7 +7351,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:7
201
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
355
:
\"
$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
...
...
@@ -7218,7 +7372,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:7
222
: checking for rint in -lm"
>
&5
echo
"configure:7
376
: 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
...
...
@@ -7226,7 +7380,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
230
"configure"
#line 7
384
"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
...
...
@@ -7237,7 +7391,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:7
241
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
395
:
\"
$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
...
...
@@ -7266,9 +7420,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:7
270
: checking for rl_completion_append_character"
>
&5
echo
"configure:7
424
: checking for rl_completion_append_character"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
272
"configure"
#line 7
426
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_READLINE_H
...
...
@@ -7281,7 +7435,7 @@ int main() {
rl_completion_append_character = 'x';
; return 0; }
EOF
if
{
(
eval echo
configure:7
285
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
439
:
\"
$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
...
...
@@ -7299,12 +7453,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
303
: checking for
$ac_func
"
>
&5
echo
"configure:7
457
: 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
308
"configure"
#line 7
462
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7327,7 +7481,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:7
331
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
485
:
\"
$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
...
...
@@ -7354,16 +7508,16 @@ done
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:7
358
: checking for finite"
>
&5
echo
"configure:7
512
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
360
"configure"
#line 7
514
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:7
367
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
521
:
\"
$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
...
...
@@ -7378,16 +7532,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:7
382
: checking for sigsetjmp"
>
&5
echo
"configure:7
536
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
384
"configure"
#line 7
538
"configure"
#include "confdefs.h"
#include <setjmp.h>
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
EOF
if
{
(
eval echo
configure:7
391
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
545
:
\"
$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
...
...
@@ -7407,12 +7561,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
411
: checking for syslog"
>
&5
echo
"configure:7
565
: 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
416
"configure"
#line 7
570
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
...
...
@@ -7435,7 +7589,7 @@ syslog();
; return 0; }
EOF
if
{
(
eval echo
configure:7
439
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
593
:
\"
$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
...
...
@@ -7474,19 +7628,19 @@ fi
echo
$ac_n
"checking for optreset""...
$ac_c
"
1>&6
echo
"configure:7
478
: checking for optreset"
>
&5
echo
"configure:7
632
: 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 7
483
"configure"
#line 7
637
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
EOF
if
{
(
eval echo
configure:7
490
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
644
:
\"
$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
...
...
@@ -7512,16 +7666,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
516
: checking test program"
>
&5
echo
"configure:7
670
: 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
521
"configure"
#line 7
675
"configure"
#include "confdefs.h"
int main() { return 0; }
EOF
if
{
(
eval echo
configure:7
525
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
679
:
\"
$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
...
...
@@ -7541,7 +7695,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:7
545
: checking whether long int is 64 bits"
>
&5
echo
"configure:7
699
: 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
...
...
@@ -7550,7 +7704,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
554
"configure"
#line 7
708
"configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -7579,7 +7733,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:7
583
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
737
:
\"
$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
...
...
@@ -7606,7 +7760,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
610
: checking whether long long int is 64 bits"
>
&5
echo
"configure:7
764
: 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
...
...
@@ -7615,7 +7769,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
619
"configure"
#line 7
773
"configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -7644,7 +7798,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:7
648
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
802
:
\"
$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
...
...
@@ -7674,7 +7828,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
678
"configure"
#line 7
832
"configure"
#include "confdefs.h"
#define INT64CONST(x) x##LL
...
...
@@ -7684,7 +7838,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:7
688
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
842
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LL_CONSTANTS 1
...
...
@@ -7702,7 +7856,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
706
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:7
860
: 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
...
...
@@ -7711,7 +7865,7 @@ echo "configure:7706: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
715
"configure"
#line 7
869
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -7738,7 +7892,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:7
742
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
896
:
\"
$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"'
...
...
@@ -7749,7 +7903,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
753
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:7
907
: 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
...
...
@@ -7758,7 +7912,7 @@ echo "configure:7753: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
762
"configure"
#line 7
916
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -7785,7 +7939,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:7
789
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
943
:
\"
$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"'
...
...
@@ -7825,12 +7979,12 @@ EOF
for
ac_func
in
strtoll strtoq
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:7
829
: checking for
$ac_func
"
>
&5
echo
"configure:7
983
: 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
834
"configure"
#line 7
988
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7853,7 +8007,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
7857
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
8011
:
\"
$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 +8034,12 @@ done
for
ac_func
in
strtoull strtouq
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:
7884
: checking for
$ac_func
"
>
&5
echo
"configure:
8038
: 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
7889
"configure"
#line
8043
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -7908,7 +8062,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
7912
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
8066
:
\"
$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
...
...
@@ -7934,12 +8088,12 @@ done
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:
7938
: checking for atexit"
>
&5
echo
"configure:
8092
: 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
7943
"configure"
#line
8097
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
...
...
@@ -7962,7 +8116,7 @@ atexit();
; return 0; }
EOF
if
{
(
eval echo
configure:
7966
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
8120
:
\"
$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
...
...
@@ -7985,12 +8139,12 @@ else
for
ac_func
in
on_exit
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:
7989
: checking for
$ac_func
"
>
&5
echo
"configure:
8143
: 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
7994
"configure"
#line
8148
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -8013,7 +8167,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:8
017
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:8
171
:
\"
$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
...
...
@@ -8046,7 +8200,7 @@ fi
echo
$ac_n
"checking size of unsigned long""...
$ac_c
"
1>&6
echo
"configure:8
050
: checking size of unsigned long"
>
&5
echo
"configure:8
204
: 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
...
...
@@ -8054,7 +8208,7 @@ else
ac_cv_sizeof_unsigned_long
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
058
"configure"
#line 8
212
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -8065,7 +8219,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
069
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
223
:
\"
$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
...
...
@@ -8091,7 +8245,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:8
095
: checking alignment of short"
>
&5
echo
"configure:8
249
: 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
...
...
@@ -8099,7 +8253,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
103
"configure"
#line 8
257
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -8111,7 +8265,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
115
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
269
:
\"
$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
...
...
@@ -8131,7 +8285,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:8
135
: checking alignment of int"
>
&5
echo
"configure:8
289
: 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
...
...
@@ -8139,7 +8293,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
143
"configure"
#line 8
297
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -8151,7 +8305,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
155
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
309
:
\"
$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
...
...
@@ -8171,7 +8325,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:8
175
: checking alignment of long"
>
&5
echo
"configure:8
329
: 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
...
...
@@ -8179,7 +8333,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
183
"configure"
#line 8
337
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -8191,7 +8345,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
195
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
349
:
\"
$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
...
...
@@ -8212,7 +8366,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
216
: checking alignment of long long int"
>
&5
echo
"configure:8
370
: 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
...
...
@@ -8220,7 +8374,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
224
"configure"
#line 8
378
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -8232,7 +8386,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
236
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
390
:
\"
$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
...
...
@@ -8253,7 +8407,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:8
257
: checking alignment of double"
>
&5
echo
"configure:8
411
: 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
...
...
@@ -8261,7 +8415,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
265
"configure"
#line 8
419
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -8273,7 +8427,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:8
277
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:8
431
:
\"
$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
...
...
@@ -8323,12 +8477,12 @@ pgac_type_includes="\
#endif"
echo
$ac_n
"checking for int8""...
$ac_c
"
1>&6
echo
"configure:8
327
: checking for int8"
>
&5
echo
"configure:8
481
: checking for int8"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_have_int8
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
332
"configure"
#line 8
486
"configure"
#include "confdefs.h"
$pgac_type_includes
int main() {
...
...
@@ -8338,7 +8492,7 @@ if (sizeof (int8))
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:8
342
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:8
496
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_have_int8
=
yes
else
...
...
@@ -8359,12 +8513,12 @@ EOF
fi
echo
$ac_n
"checking for uint8""...
$ac_c
"
1>&6
echo
"configure:8
363
: checking for uint8"
>
&5
echo
"configure:8
517
: checking for uint8"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_have_uint8
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
368
"configure"
#line 8
522
"configure"
#include "confdefs.h"
$pgac_type_includes
int main() {
...
...
@@ -8374,7 +8528,7 @@ if (sizeof (uint8))
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:8
378
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:8
532
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_have_uint8
=
yes
else
...
...
@@ -8395,12 +8549,12 @@ EOF
fi
echo
$ac_n
"checking for int64""...
$ac_c
"
1>&6
echo
"configure:8
399
: checking for int64"
>
&5
echo
"configure:8
553
: checking for int64"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_have_int64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
404
"configure"
#line 8
558
"configure"
#include "confdefs.h"
$pgac_type_includes
int main() {
...
...
@@ -8410,7 +8564,7 @@ if (sizeof (int64))
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:8
414
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:8
568
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_have_int64
=
yes
else
...
...
@@ -8431,12 +8585,12 @@ EOF
fi
echo
$ac_n
"checking for uint64""...
$ac_c
"
1>&6
echo
"configure:8
435
: checking for uint64"
>
&5
echo
"configure:8
589
: checking for uint64"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_have_uint64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
440
"configure"
#line 8
594
"configure"
#include "confdefs.h"
$pgac_type_includes
int main() {
...
...
@@ -8446,7 +8600,7 @@ if (sizeof (uint64))
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:8
450
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:8
604
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_have_uint64
=
yes
else
...
...
@@ -8467,12 +8621,12 @@ EOF
fi
echo
$ac_n
"checking for sig_atomic_t""...
$ac_c
"
1>&6
echo
"configure:8
471
: checking for sig_atomic_t"
>
&5
echo
"configure:8
625
: checking for sig_atomic_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_have_sig_atomic_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
476
"configure"
#line 8
630
"configure"
#include "confdefs.h"
$pgac_type_includes
int main() {
...
...
@@ -8482,7 +8636,7 @@ if (sizeof (sig_atomic_t))
return 0;
; return 0; }
EOF
if
{
(
eval echo
configure:8
486
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:8
640
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_have_sig_atomic_t
=
yes
else
...
...
@@ -8505,12 +8659,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:8
509
: checking for POSIX signal interface"
>
&5
echo
"configure:8
663
: 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
514
"configure"
#line 8
668
"configure"
#include "confdefs.h"
#include <signal.h>
...
...
@@ -8521,7 +8675,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:8
525
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:8
679
:
\"
$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
...
...
@@ -8551,7 +8705,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
555
: checking for
$ac_word
"
>
&5
echo
"configure:8
709
: 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
...
...
@@ -8587,7 +8741,7 @@ test -n "$TCLSH" && break
done
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:8
591
: checking for tclConfig.sh"
>
&5
echo
"configure:8
745
: checking for tclConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tclconfig
"
...
...
@@ -8620,7 +8774,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
624
: checking for tkConfig.sh"
>
&5
echo
"configure:8
778
: checking for tkConfig.sh"
>
&5
# Let user override test
if
test
-z
"
$TK_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tkconfig
$with_tclconfig
"
...
...
@@ -8659,7 +8813,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
663
: checking for
$ac_word
"
>
&5
echo
"configure:8
817
: 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
...
...
@@ -8695,7 +8849,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
699
: checking for
$ac_word
"
>
&5
echo
"configure:8
853
: 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
...
...
@@ -8726,7 +8880,7 @@ done
echo
$ac_n
"checking for DocBook V3.1""...
$ac_c
"
1>&6
echo
"configure:8
730
: checking for DocBook V3.1"
>
&5
echo
"configure:8
884
: 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
...
...
@@ -8759,7 +8913,7 @@ have_docbook=$pgac_cv_check_docbook
echo
$ac_n
"checking for DocBook stylesheets""...
$ac_c
"
1>&6
echo
"configure:8
763
: checking for DocBook stylesheets"
>
&5
echo
"configure:8
917
: 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
...
...
@@ -8798,7 +8952,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
802
: checking for
$ac_word
"
>
&5
echo
"configure:8
956
: 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 @
42c3381f
...
...
@@ -725,10 +725,12 @@ if test "$with_krb4" = yes ; then
fi
if test "$with_krb5" = yes ; then
AC_CHECK_LIB(com_err, [com_err], [], [AC_MSG_ERROR([library 'com_err' is required for Kerberos 5])])
AC_CHECK_LIB(crypto, [krb5_encrypt], [],
[AC_CHECK_LIB(k5crypto, [krb5_encrypt], [], [AC_MSG_ERROR([library 'crypto' or 'k5crypto' is required for Kerberos 5])])])
AC_CHECK_LIB(krb5, [krb5_sendauth], [], [AC_MSG_ERROR([library 'krb5' is required for Kerberos 5])])
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -ldes -lasn1 -lroken' com_err], [],
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
AC_SEARCH_LIBS(krb5_encrypt, [krb5 'krb5 -ldes -lasn1 -lroken' crypto k5crypto], [],
[AC_MSG_ERROR([could not find function 'krb5_encrypt' required for Kerberos 5])])
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -ldes -lasn1 -lroken'], [],
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
fi
if test "$with_openssl" = yes ; then
...
...
@@ -802,6 +804,21 @@ PGAC_STRUCT_FCRED
PGAC_STRUCT_SOCKCRED
PGAC_STRUCT_SOCKADDR_UN
if test "$with_krb5" = yes; then
# Check for differences between MIT and Heimdal (KTH) releases
PGAC_CHECK_MEMBER([krb5_ticket.enc_part2], [],
[PGAC_CHECK_MEMBER([krb5_ticket.client], [],
[AC_MSG_ERROR([could not determine how to get client name from Kerberos 5 ticket])],
[#include <krb5.h>])],
[#include <krb5.h>])
PGAC_CHECK_MEMBER([krb5_error.text.data], [],
[PGAC_CHECK_MEMBER([krb5_error.e_data], [],
[AC_MSG_ERROR([could not determine how to extract Kerberos 5 error messages])],
[#include <krb5.h>])],
[#include <krb5.h>])
fi
##
## Functions, global variables
##
...
...
doc/src/sgml/release.sgml
View file @
42c3381f
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.11
6 2002/02/18 23:11:00
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.11
7 2002/02/23 04:17:45
petere Exp $
-->
<appendix id="release">
...
...
@@ -26,6 +26,7 @@ worries about funny characters.
<literallayout><![CDATA[
Access privileges on functions
Access privileges on procedural languages
Kerberos 5 support now works with Heimdal
]]></literallayout>
</sect1>
...
...
src/backend/libpq/auth.c
View file @
42c3381f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.7
3 2002/02/19 19:49:09 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.7
4 2002/02/23 04:17:46 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -229,7 +229,7 @@ pg_krb5_init(void)
" Kerberos error %d
\n
"
,
retval
);
com_err
(
"postgres"
,
retval
,
"while getting server principal for service %s"
,
pg_krb_server_keyfile
);
PG_KRB_SRVNAM
);
krb5_kt_close
(
pg_krb5_context
,
pg_krb5_keytab
);
krb5_free_context
(
pg_krb5_context
);
return
STATUS_ERROR
;
...
...
@@ -283,8 +283,15 @@ pg_krb5_recvauth(Port *port)
*
* I have no idea why this is considered necessary.
*/
#if defined(HAVE_KRB5_TICKET_ENC_PART2)
retval
=
krb5_unparse_name
(
pg_krb5_context
,
ticket
->
enc_part2
->
client
,
&
kusername
);
#elif defined(HAVE_KRB5_TICKET_CLIENT)
retval
=
krb5_unparse_name
(
pg_krb5_context
,
ticket
->
client
,
&
kusername
);
#else
#error "bogus configuration"
#endif
if
(
retval
)
{
snprintf
(
PQerrormsg
,
PQERRORMSG_LENGTH
,
...
...
src/include/pg_config.h.in
View file @
42c3381f
...
...
@@ -8,7 +8,7 @@
* or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your
* changes will be overwritten the next time you run configure.
*
* $Id: pg_config.h.in,v 1.1
6 2002/01/22 19:02:40 tgl
Exp $
* $Id: pg_config.h.in,v 1.1
7 2002/02/23 04:17:46 petere
Exp $
*/
#ifndef PG_CONFIG_H
...
...
@@ -622,6 +622,18 @@ extern int fdatasync(int fildes);
/* Set to 1 if you have struct sockaddr_un */
#undef HAVE_STRUCT_SOCKADDR_UN
/* Set to 1 if you have krb5_ticket.enc_part2 */
#undef HAVE_KRB5_TICKET_ENC_PART2
/* Set to 1 if you have krb5_ticket.client */
#undef HAVE_KRB5_TICKET_CLIENT
/* Set to 1 if you have krb5_error.text.data */
#undef HAVE_KRB5_ERROR_TEXT_DATA
/* Set to 1 if you have krb5_ticket.e_data */
#undef HAVE_KRB5_ERROR_E_DATA
/* Set to 1 if type "long int" works and is 64 bits */
#undef HAVE_LONG_INT_64
...
...
src/interfaces/libpq/fe-auth.c
View file @
42c3381f
...
...
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.6
3 2001/11/05 17:46:37 momjian
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.6
4 2002/02/23 04:17:47 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -403,9 +403,18 @@ pg_krb5_sendauth(char *PQerrormsg, int sock,
{
if
(
retval
==
KRB5_SENDAUTH_REJECTED
&&
err_ret
)
{
#if defined(HAVE_KRB5_ERROR_TEXT_DATA)
snprintf
(
PQerrormsg
,
PQERRORMSG_LENGTH
,
libpq_gettext
(
"Kerberos 5 authentication rejected: %*s
\n
"
),
err_ret
->
text
.
length
,
err_ret
->
text
.
data
);
#elif defined(HAVE_KRB5_ERROR_E_DATA)
snprintf
(
PQerrormsg
,
PQERRORMSG_LENGTH
,
libpq_gettext
(
"Kerberos 5 authentication rejected: %*s
\n
"
),
err_ret
->
e_data
->
length
,
(
const
char
*
)
err_ret
->
e_data
->
data
);
#else
#error "bogus configuration"
#endif
}
else
{
...
...
@@ -683,7 +692,7 @@ fe_getauthsvc(char *PQerrormsg)
char
*
fe_getauthname
(
char
*
PQerrormsg
)
{
c
har
*
name
=
(
char
*
)
NULL
;
c
onst
char
*
name
=
(
char
*
)
NULL
;
char
*
authn
=
(
char
*
)
NULL
;
MsgType
authsvc
;
...
...
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