summaryrefslogtreecommitdiff
path: root/m4/jm-macros.m4
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-11-11 10:44:59 -0700
committerEric Blake <ebb9@byu.net>2008-11-11 10:44:59 -0700
commitb43255473fe001c0c8d0f6cef493eb9823ca9622 (patch)
tree53b3e0c4192aa912c0400f1ed70dd8ca95d4fa21 /m4/jm-macros.m4
parent90a83264b976ed24c2aae1c028138d23809490e9 (diff)
downloadcoreutils-b43255473fe001c0c8d0f6cef493eb9823ca9622.tar.gz
coreutils-b43255473fe001c0c8d0f6cef493eb9823ca9622.tar.bz2
coreutils-b43255473fe001c0c8d0f6cef493eb9823ca9622.zip
jm-macros.m4: avoid syntax issue with newer autoconf
* jm-macros.m4 (coreutils_MACROS): Make LIB_CAP assignment persistent. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'm4/jm-macros.m4')
-rw-r--r--m4/jm-macros.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index a691d9507..8fa17405e 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])])
])