comparison src/auto/configure @ 13006:035f78f42953 v8.0.1379

patch 8.0.1379: configure check for selinux does not check for header file commit https://github.com/vim/vim/commit/e4b78e2a42e9030348770764c478b73caa925539 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 7 22:29:11 2017 +0100 patch 8.0.1379: configure check for selinux does not check for header file Problem: Configure check for selinux does not check for header file. Solution: Add an AC_CHECK_HEADER(). (Benny Siegert)
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Dec 2017 22:30:07 +0100
parents 14f287552218
children 0a738ac6189b
comparison
equal deleted inserted replaced
13005:0bbb5611d14e 13006:035f78f42953
4779 LIBS=$ac_check_lib_save_LIBS 4779 LIBS=$ac_check_lib_save_LIBS
4780 fi 4780 fi
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5 4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
4782 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; } 4782 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
4783 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then : 4783 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then :
4784 ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
4785 if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
4784 LIBS="$LIBS -lselinux" 4786 LIBS="$LIBS -lselinux"
4785 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h 4787 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
4788
4789 fi
4790
4786 4791
4787 fi 4792 fi
4788 4793
4789 else 4794 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5