diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 118 |
1 files changed, 118 insertions, 0 deletions
@@ -7372,6 +7372,117 @@ _ACEOF | |||
7372 | 7372 | ||
7373 | fi | 7373 | fi |
7374 | 7374 | ||
7375 | { echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5 | ||
7376 | echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6; } | ||
7377 | cat >conftest.$ac_ext <<_ACEOF | ||
7378 | /* confdefs.h. */ | ||
7379 | _ACEOF | ||
7380 | cat confdefs.h >>conftest.$ac_ext | ||
7381 | cat >>conftest.$ac_ext <<_ACEOF | ||
7382 | /* end confdefs.h. */ | ||
7383 | #include <Security/AuthSession.h> | ||
7384 | int | ||
7385 | main () | ||
7386 | { | ||
7387 | SessionCreate(0, 0); | ||
7388 | ; | ||
7389 | return 0; | ||
7390 | } | ||
7391 | _ACEOF | ||
7392 | rm -f conftest.$ac_objext | ||
7393 | if { (ac_try="$ac_compile" | ||
7394 | case "(($ac_try" in | ||
7395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7396 | *) ac_try_echo=$ac_try;; | ||
7397 | esac | ||
7398 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7399 | (eval "$ac_compile") 2>conftest.er1 | ||
7400 | ac_status=$? | ||
7401 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7402 | rm -f conftest.er1 | ||
7403 | cat conftest.err >&5 | ||
7404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7405 | (exit $ac_status); } && { | ||
7406 | test -z "$ac_c_werror_flag" || | ||
7407 | test ! -s conftest.err | ||
7408 | } && test -s conftest.$ac_objext; then | ||
7409 | ac_cv_use_security_session_api="yes" | ||
7410 | |||
7411 | cat >>confdefs.h <<\_ACEOF | ||
7412 | #define USE_SECURITY_SESSION_API 1 | ||
7413 | _ACEOF | ||
7414 | |||
7415 | LIBS="$LIBS -framework Security" | ||
7416 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7417 | echo "${ECHO_T}yes" >&6; } | ||
7418 | else | ||
7419 | echo "$as_me: failed program was:" >&5 | ||
7420 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7421 | |||
7422 | ac_cv_use_security_session_api="no" | ||
7423 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7424 | echo "${ECHO_T}no" >&6; } | ||
7425 | fi | ||
7426 | |||
7427 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7428 | { echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5 | ||
7429 | echo $ECHO_N "checking if we have an in-memory credentials cache... $ECHO_C" >&6; } | ||
7430 | cat >conftest.$ac_ext <<_ACEOF | ||
7431 | /* confdefs.h. */ | ||
7432 | _ACEOF | ||
7433 | cat confdefs.h >>conftest.$ac_ext | ||
7434 | cat >>conftest.$ac_ext <<_ACEOF | ||
7435 | /* end confdefs.h. */ | ||
7436 | #include <Kerberos/Kerberos.h> | ||
7437 | int | ||
7438 | main () | ||
7439 | { | ||
7440 | cc_context_t c; | ||
7441 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
7442 | ; | ||
7443 | return 0; | ||
7444 | } | ||
7445 | _ACEOF | ||
7446 | rm -f conftest.$ac_objext | ||
7447 | if { (ac_try="$ac_compile" | ||
7448 | case "(($ac_try" in | ||
7449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7450 | *) ac_try_echo=$ac_try;; | ||
7451 | esac | ||
7452 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7453 | (eval "$ac_compile") 2>conftest.er1 | ||
7454 | ac_status=$? | ||
7455 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7456 | rm -f conftest.er1 | ||
7457 | cat conftest.err >&5 | ||
7458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7459 | (exit $ac_status); } && { | ||
7460 | test -z "$ac_c_werror_flag" || | ||
7461 | test ! -s conftest.err | ||
7462 | } && test -s conftest.$ac_objext; then | ||
7463 | |||
7464 | cat >>confdefs.h <<\_ACEOF | ||
7465 | #define USE_CCAPI 1 | ||
7466 | _ACEOF | ||
7467 | |||
7468 | LIBS="$LIBS -framework Security" | ||
7469 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7470 | echo "${ECHO_T}yes" >&6; } | ||
7471 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
7472 | { { echo "$as_me:$LINENO: error: *** Need a security framework to use the credentials cache API ***" >&5 | ||
7473 | echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;} | ||
7474 | { (exit 1); exit 1; }; } | ||
7475 | fi | ||
7476 | else | ||
7477 | echo "$as_me: failed program was:" >&5 | ||
7478 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7479 | |||
7480 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7481 | echo "${ECHO_T}no" >&6; } | ||
7482 | |||
7483 | fi | ||
7484 | |||
7485 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7375 | ;; | 7486 | ;; |
7376 | *-*-dragonfly*) | 7487 | *-*-dragonfly*) |
7377 | SSHDLIBS="$SSHDLIBS -lcrypt" | 7488 | SSHDLIBS="$SSHDLIBS -lcrypt" |
@@ -7916,6 +8027,11 @@ cat >>confdefs.h <<\_ACEOF | |||
7916 | _ACEOF | 8027 | _ACEOF |
7917 | 8028 | ||
7918 | fi | 8029 | fi |
8030 | |||
8031 | cat >>confdefs.h <<\_ACEOF | ||
8032 | #define OOM_ADJUST 1 | ||
8033 | _ACEOF | ||
8034 | |||
7919 | ;; | 8035 | ;; |
7920 | mips-sony-bsd|mips-sony-newsos4) | 8036 | mips-sony-bsd|mips-sony-newsos4) |
7921 | 8037 | ||
@@ -26463,6 +26579,8 @@ fi | |||
26463 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } | 26579 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } |
26464 | if test $ac_cv_lib_selinux_setexeccon = yes; then | 26580 | if test $ac_cv_lib_selinux_setexeccon = yes; then |
26465 | LIBSELINUX="-lselinux" | 26581 | LIBSELINUX="-lselinux" |
26582 | LIBS="$LIBS -lselinux" | ||
26583 | |||
26466 | else | 26584 | else |
26467 | { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 | 26585 | { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 |
26468 | echo "$as_me: error: SELinux support requires libselinux library" >&2;} | 26586 | echo "$as_me: error: SELinux support requires libselinux library" >&2;} |