summaryrefslogtreecommitdiffstats
path: root/framework/src/audit/m4/cap-ng.m4
diff options
context:
space:
mode:
authorAshlee Young <ashlee@wildernessvoice.com>2016-01-20 01:10:01 +0000
committerAshlee Young <ashlee@wildernessvoice.com>2016-01-20 01:10:11 +0000
commit19d701ddf07d855128ded0cf2b573ce468e3bdd6 (patch)
tree0edcd3461ca903c76e431bb7c6348c42a0f12488 /framework/src/audit/m4/cap-ng.m4
parentfac6fbefbfad1cf837ddd88bc0d330559c8eb6f9 (diff)
Removing Suricata and Audit from source repo, and updated build.sh to avoid building suricata. Will re-address this in C release via tar balls.
Change-Id: I3710076f8b7f3313cb3cb5260c4eb0a6834d4f6e Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/audit/m4/cap-ng.m4')
-rw-r--r--framework/src/audit/m4/cap-ng.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/framework/src/audit/m4/cap-ng.m4 b/framework/src/audit/m4/cap-ng.m4
deleted file mode 100644
index 0024edc6..00000000
--- a/framework/src/audit/m4/cap-ng.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# libcap-ng.m4 - Checks for the libcap-ng support
-# Copyright (c) 2009 Steve Grubb sgrubb@redhat.com
-#
-AC_DEFUN([LIBCAP_NG_PATH],
-[
- AC_ARG_WITH(libcap-ng,
- [ --with-libcap-ng=[auto/yes/no] Add Libcap-ng support [default=auto]],,
- with_libcap_ng=auto)
-
- # Check for Libcap-ng API
- #
- # libcap-ng detection
-
- if test x$with_libcap_ng = xno ; then
- have_libcap_ng=no;
- else
- # Start by checking for header file
- AC_CHECK_HEADER(cap-ng.h, capng_headers=yes, capng_headers=no)
-
- # See if we have libcap-ng library
- AC_CHECK_LIB(cap-ng, capng_clear,
- CAPNG_LDADD=-lcap-ng,)
-
- # Check results are usable
- if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
- AC_MSG_ERROR(libcap-ng support was requested and the library was not found)
- fi
- if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
- AC_MSG_ERROR(libcap-ng libraries found but headers are missing)
- fi
- fi
- AC_SUBST(CAPNG_LDADD)
- AC_MSG_CHECKING(whether to use libcap-ng)
- if test x$CAPNG_LDADD != x ; then
- AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- fi
-])