Mercurial > vim
comparison src/configure.in @ 5824:5595506b985a v7.4.255
updated for version 7.4.255
Problem: Configure check for smack doesn't work with all shells. (David
Larson)
Solution: Remove spaces in set command.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 10 Apr 2014 20:00:15 +0200 |
parents | 251acc686ca4 |
children | e8ffd1e6c8dc |
comparison
equal
deleted
inserted
replaced
5823:c876b0d76b7c | 5824:5595506b985a |
---|---|
403 fi | 403 fi |
404 if test "$enable_smack" = "yes"; then | 404 if test "$enable_smack" = "yes"; then |
405 AC_MSG_CHECKING(for XATTR_NAME_SMACKEXEC in linux/xattr.h) | 405 AC_MSG_CHECKING(for XATTR_NAME_SMACKEXEC in linux/xattr.h) |
406 AC_EGREP_CPP(XATTR_NAME_SMACKEXEC, [#include <linux/xattr.h>], | 406 AC_EGREP_CPP(XATTR_NAME_SMACKEXEC, [#include <linux/xattr.h>], |
407 AC_MSG_RESULT(yes), | 407 AC_MSG_RESULT(yes), |
408 AC_MSG_RESULT(no); enable_smack = "no") | 408 AC_MSG_RESULT(no); enable_smack="no") |
409 fi | 409 fi |
410 if test "$enable_smack" = "yes"; then | 410 if test "$enable_smack" = "yes"; then |
411 AC_CHECK_LIB(attr, setxattr, | 411 AC_CHECK_LIB(attr, setxattr, |
412 [LIBS="$LIBS -lattr" | 412 [LIBS="$LIBS -lattr" |
413 found_smack="yes" | 413 found_smack="yes" |
2641 dnl automatically disable XIM when XIMtext isn't in X11/Xlib.h | 2641 dnl automatically disable XIM when XIMtext isn't in X11/Xlib.h |
2642 if test ! "$enable_xim" = "no"; then | 2642 if test ! "$enable_xim" = "no"; then |
2643 AC_MSG_CHECKING(for XIMText in X11/Xlib.h) | 2643 AC_MSG_CHECKING(for XIMText in X11/Xlib.h) |
2644 AC_EGREP_CPP(XIMText, [#include <X11/Xlib.h>], | 2644 AC_EGREP_CPP(XIMText, [#include <X11/Xlib.h>], |
2645 AC_MSG_RESULT(yes), | 2645 AC_MSG_RESULT(yes), |
2646 AC_MSG_RESULT(no; xim has been disabled); enable_xim = "no") | 2646 AC_MSG_RESULT(no; xim has been disabled); enable_xim="no") |
2647 fi | 2647 fi |
2648 CPPFLAGS=$cppflags_save | 2648 CPPFLAGS=$cppflags_save |
2649 | 2649 |
2650 dnl automatically enable XIM when hangul input isn't enabled | 2650 dnl automatically enable XIM when hangul input isn't enabled |
2651 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \ | 2651 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \ |