From: Eric Blake Date: Tue, 11 Nov 2008 17:44:59 +0000 (-0700) Subject: jm-macros.m4: avoid syntax issue with newer autoconf X-Git-Tag: v7.1~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b43255473fe001c0c8d0f6cef493eb9823ca9622;p=thirdparty%2Fcoreutils.git jm-macros.m4: avoid syntax issue with newer autoconf * jm-macros.m4 (coreutils_MACROS): Make LIB_CAP assignment persistent. Signed-off-by: Eric Blake --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index a691d9507f..8fa17405ec 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -88,8 +88,9 @@ AC_DEFUN([coreutils_MACROS], AC_MSG_WARN([libcap support disabled by user]), [AC_CHECK_LIB([cap], [cap_get_file], [AC_CHECK_HEADER([sys/capability.h], - [LIB_CAP=-lcap AC_DEFINE([HAVE_CAP], 1, [libcap usability])], - [AC_MSG_WARN([header sys/capability.h was not found, support for libcap will not be built])] + [LIB_CAP=-lcap + AC_DEFINE([HAVE_CAP], 1, [libcap usability])], + [AC_MSG_WARN([header sys/capability.h was not found, support for libcap will not be built])] )], [AC_MSG_WARN([libcap library was not found or not usable, support for libcap will not be built])]) ])