diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 123 |
1 files changed, 121 insertions, 2 deletions
@@ -5285,6 +5285,125 @@ cat >>confdefs.h <<_ACEOF | |||
5285 | #define BIND_8_COMPAT 1 | 5285 | #define BIND_8_COMPAT 1 |
5286 | _ACEOF | 5286 | _ACEOF |
5287 | 5287 | ||
5288 | echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5 | ||
5289 | echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6 | ||
5290 | cat >conftest.$ac_ext <<_ACEOF | ||
5291 | /* confdefs.h. */ | ||
5292 | _ACEOF | ||
5293 | cat confdefs.h >>conftest.$ac_ext | ||
5294 | cat >>conftest.$ac_ext <<_ACEOF | ||
5295 | /* end confdefs.h. */ | ||
5296 | #include <Security/AuthSession.h> | ||
5297 | int | ||
5298 | main () | ||
5299 | { | ||
5300 | SessionCreate(0, 0); | ||
5301 | ; | ||
5302 | return 0; | ||
5303 | } | ||
5304 | _ACEOF | ||
5305 | rm -f conftest.$ac_objext | ||
5306 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5307 | (eval $ac_compile) 2>conftest.er1 | ||
5308 | ac_status=$? | ||
5309 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5310 | rm -f conftest.er1 | ||
5311 | cat conftest.err >&5 | ||
5312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5313 | (exit $ac_status); } && | ||
5314 | { ac_try='test -z "$ac_c_werror_flag" | ||
5315 | || test ! -s conftest.err' | ||
5316 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5317 | (eval $ac_try) 2>&5 | ||
5318 | ac_status=$? | ||
5319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5320 | (exit $ac_status); }; } && | ||
5321 | { ac_try='test -s conftest.$ac_objext' | ||
5322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5323 | (eval $ac_try) 2>&5 | ||
5324 | ac_status=$? | ||
5325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5326 | (exit $ac_status); }; }; then | ||
5327 | ac_cv_use_security_session_api="yes" | ||
5328 | |||
5329 | cat >>confdefs.h <<\_ACEOF | ||
5330 | #define USE_SECURITY_SESSION_API 1 | ||
5331 | _ACEOF | ||
5332 | |||
5333 | LIBS="$LIBS -framework Security" | ||
5334 | echo "$as_me:$LINENO: result: yes" >&5 | ||
5335 | echo "${ECHO_T}yes" >&6 | ||
5336 | else | ||
5337 | echo "$as_me: failed program was:" >&5 | ||
5338 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5339 | |||
5340 | ac_cv_use_security_session_api="no" | ||
5341 | echo "$as_me:$LINENO: result: no" >&5 | ||
5342 | echo "${ECHO_T}no" >&6 | ||
5343 | fi | ||
5344 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5345 | echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5 | ||
5346 | echo $ECHO_N "checking if we have an in-memory credentials cache... $ECHO_C" >&6 | ||
5347 | cat >conftest.$ac_ext <<_ACEOF | ||
5348 | /* confdefs.h. */ | ||
5349 | _ACEOF | ||
5350 | cat confdefs.h >>conftest.$ac_ext | ||
5351 | cat >>conftest.$ac_ext <<_ACEOF | ||
5352 | /* end confdefs.h. */ | ||
5353 | #include <Kerberos/Kerberos.h> | ||
5354 | int | ||
5355 | main () | ||
5356 | { | ||
5357 | cc_context_t c; | ||
5358 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
5359 | ; | ||
5360 | return 0; | ||
5361 | } | ||
5362 | _ACEOF | ||
5363 | rm -f conftest.$ac_objext | ||
5364 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5365 | (eval $ac_compile) 2>conftest.er1 | ||
5366 | ac_status=$? | ||
5367 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5368 | rm -f conftest.er1 | ||
5369 | cat conftest.err >&5 | ||
5370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5371 | (exit $ac_status); } && | ||
5372 | { ac_try='test -z "$ac_c_werror_flag" | ||
5373 | || test ! -s conftest.err' | ||
5374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5375 | (eval $ac_try) 2>&5 | ||
5376 | ac_status=$? | ||
5377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5378 | (exit $ac_status); }; } && | ||
5379 | { ac_try='test -s conftest.$ac_objext' | ||
5380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5381 | (eval $ac_try) 2>&5 | ||
5382 | ac_status=$? | ||
5383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5384 | (exit $ac_status); }; }; then | ||
5385 | |||
5386 | cat >>confdefs.h <<\_ACEOF | ||
5387 | #define USE_CCAPI 1 | ||
5388 | _ACEOF | ||
5389 | |||
5390 | LIBS="$LIBS -framework Security" | ||
5391 | echo "$as_me:$LINENO: result: yes" >&5 | ||
5392 | echo "${ECHO_T}yes" >&6 | ||
5393 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
5394 | { { echo "$as_me:$LINENO: error: *** Need a security framework to use the credentials cache API ***" >&5 | ||
5395 | echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;} | ||
5396 | { (exit 1); exit 1; }; } | ||
5397 | fi | ||
5398 | else | ||
5399 | echo "$as_me: failed program was:" >&5 | ||
5400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5401 | |||
5402 | echo "$as_me:$LINENO: result: no" >&5 | ||
5403 | echo "${ECHO_T}no" >&6 | ||
5404 | |||
5405 | fi | ||
5406 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5288 | ;; | 5407 | ;; |
5289 | *-*-hpux*) | 5408 | *-*-hpux*) |
5290 | # first we define all of the options common to all HP-UX releases | 5409 | # first we define all of the options common to all HP-UX releases |
@@ -27224,9 +27343,9 @@ exec 6>&1 | |||
27224 | exec 5>>config.log | 27343 | exec 5>>config.log |
27225 | { | 27344 | { |
27226 | echo | 27345 | echo |
27227 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<BOXI_EOF | 27346 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
27228 | ## Running $as_me. ## | 27347 | ## Running $as_me. ## |
27229 | BOXI_EOF | 27348 | _ASBOX |
27230 | } >&5 | 27349 | } >&5 |
27231 | cat >&5 <<_CSEOF | 27350 | cat >&5 <<_CSEOF |
27232 | 27351 | ||