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])])
])