~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to src/auto/configure

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846
846
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847
847
  --disable-darwin        Disable Darwin (Mac OS X) support.
 
848
  --disable-selinux       Don't check for SELinux support.
848
849
  --disable-xsmp          Disable XSMP session management
849
850
  --disable-xsmp-interact Disable XSMP interaction
850
851
  --enable-mzschemeinterp   Include MzScheme interpreter.
3611
3612
esac
3612
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
3705
echo "$as_me:$LINENO: checking --with-features argument" >&5