jm-macros.m4: avoid syntax issue with newer autoconf
authorEric Blake <ebb9@byu.net>
Tue, 11 Nov 2008 17:44:59 +0000 (10:44 -0700)
committerEric Blake <ebb9@byu.net>
Tue, 11 Nov 2008 17:44:59 +0000 (10:44 -0700)
* jm-macros.m4 (coreutils_MACROS): Make LIB_CAP assignment persistent.

Signed-off-by: Eric Blake <ebb9@byu.net>
m4/jm-macros.m4

index a691d95..8fa1740 100644 (file)
@@ -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])])
     ])