diff options
author | Jeremy Allison <jra@samba.org> | 2003-01-21 06:23:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-01-21 06:23:49 +0000 |
commit | b0aadff2020886cbc2a35bf115e6c359ff28d870 (patch) | |
tree | 55563d520ad2dd34f01140c656bf1abc01368f28 /source3/configure | |
parent | 2d12fa42941d708f851283833ee35d9c507ea4d8 (diff) | |
download | samba-b0aadff2020886cbc2a35bf115e6c359ff28d870.tar.gz samba-b0aadff2020886cbc2a35bf115e6c359ff28d870.tar.bz2 samba-b0aadff2020886cbc2a35bf115e6c359ff28d870.zip |
More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit a7ee6ed64500a0d949849da6996b7dc837518f00)
Diffstat (limited to 'source3/configure')
-rwxr-xr-x | source3/configure | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/source3/configure b/source3/configure index b950ed6fd3..7ec6b6ec22 100755 --- a/source3/configure +++ b/source3/configure @@ -21193,6 +21193,113 @@ _ACEOF fi +echo "$as_me:$LINENO: checking for addrtype in krb5_address" >&5 +echo $ECHO_N "checking for addrtype in krb5_address... $ECHO_C" >&6 +if test "${samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +#include "confdefs.h" +#include <krb5.h> +#ifdef F77_DUMMY_MAIN +# ifdef __cplusplus + extern "C" +# endif + int F77_DUMMY_MAIN() { return 1; } +#endif +int +main () +{ +krb5_address kaddr; kaddr.addrtype = ADDRTYPE_INET; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" >&5 +echo "${ECHO_T}$samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" >&6 +if test x"$samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" = x"yes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ADDRTYPE_IN_KRB5_ADDRESS 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for addr_type in krb5_address" >&5 +echo $ECHO_N "checking for addr_type in krb5_address... $ECHO_C" >&6 +if test "${samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +#include "confdefs.h" +#include <krb5.h> +#ifdef F77_DUMMY_MAIN +# ifdef __cplusplus + extern "C" +# endif + int F77_DUMMY_MAIN() { return 1; } +#endif +int +main () +{ +krb5_address kaddr; kaddr.addr_type = KRB5_ADDRESS_INET; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" >&5 +echo "${ECHO_T}$samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" >&6 +if test x"$samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" = x"yes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1 +_ACEOF + +fi ######################################################## # now see if we can find the krb5 libs in standard paths |