comparison src/auto/configure @ 1583:ebe059f69b9e v7.1.296

updated for version 7.1-296
author vimboss
date Wed, 07 May 2008 17:09:24 +0000
parents 12f9cd68b9c3
children 82b5078be2dd
comparison
equal deleted inserted replaced
1582:73c5752b957d 1583:ebe059f69b9e
843 843
844 Optional Features: 844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --disable-darwin Disable Darwin (Mac OS X) support. 847 --disable-darwin Disable Darwin (Mac OS X) support.
848 --disable-selinux Don't check for SELinux support.
848 --disable-xsmp Disable XSMP session management 849 --disable-xsmp Disable XSMP session management
849 --disable-xsmp-interact Disable XSMP interaction 850 --disable-xsmp-interact Disable XSMP interaction
850 --enable-mzschemeinterp Include MzScheme interpreter. 851 --enable-mzschemeinterp Include MzScheme interpreter.
851 --enable-perlinterp Include Perl interpreter. 852 --enable-perlinterp Include Perl interpreter.
852 --enable-pythoninterp Include Python interpreter. 853 --enable-pythoninterp Include Python interpreter.
3609 echo "${ECHO_T}no" >&6 3610 echo "${ECHO_T}no" >&6
3610 ;; 3611 ;;
3611 esac 3612 esac
3612 fi 3613 fi
3613 3614
3615 echo "$as_me:$LINENO: checking --disable-selinux argument" >&5
3616 echo $ECHO_N "checking --disable-selinux argument... $ECHO_C" >&6
3617 # Check whether --enable-selinux or --disable-selinux was given.
3618 if test "${enable_selinux+set}" = set; then
3619 enableval="$enable_selinux"
3620
3621 else
3622 enable_selinux="yes"
3623 fi;
3624 if test "$enable_selinux" = "yes"; then
3625 echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6
3627 echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
3628 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6
3629 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 else
3632 ac_check_lib_save_LIBS=$LIBS
3633 LIBS="-lselinux $LIBS"
3634 cat >conftest.$ac_ext <<_ACEOF
3635 /* confdefs.h. */
3636 _ACEOF
3637 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3640
3641 /* Override any gcc2 internal prototype to avoid an error. */
3642 #ifdef __cplusplus
3643 extern "C"
3644 #endif
3645 /* We use char because int might match the return type of a gcc2
3646 builtin and then its argument prototype would still apply. */
3647 char is_selinux_enabled ();
3648 int
3649 main ()
3650 {
3651 is_selinux_enabled ();
3652 ;
3653 return 0;
3654 }
3655 _ACEOF
3656 rm -f conftest.$ac_objext conftest$ac_exeext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3658 (eval $ac_link) 2>conftest.er1
3659 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try='test -z "$ac_c_werror_flag"
3666 || test ! -s conftest.err'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 (eval $ac_try) 2>&5
3669 ac_status=$?
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; } &&
3672 { ac_try='test -s conftest$ac_exeext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 (eval $ac_try) 2>&5
3675 ac_status=$?
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 ac_cv_lib_selinux_is_selinux_enabled=yes
3679 else
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3682
3683 ac_cv_lib_selinux_is_selinux_enabled=no
3684 fi
3685 rm -f conftest.err conftest.$ac_objext \
3686 conftest$ac_exeext conftest.$ac_ext
3687 LIBS=$ac_check_lib_save_LIBS
3688 fi
3689 echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
3690 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6
3691 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
3692 LIBS="$LIBS -lselinux"
3693 cat >>confdefs.h <<\_ACEOF
3694 #define HAVE_SELINUX 1
3695 _ACEOF
3696
3697 fi
3698
3699 else
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 fi
3614 3703
3615 3704
3616 echo "$as_me:$LINENO: checking --with-features argument" >&5 3705 echo "$as_me:$LINENO: checking --with-features argument" >&5
3617 echo $ECHO_N "checking --with-features argument... $ECHO_C" >&6 3706 echo $ECHO_N "checking --with-features argument... $ECHO_C" >&6
3618 3707