mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-01 05:11:13 +02:00
evmctl - IMA/EVM control tool
evmctl provides signing support for IMA/EVM. Functionality includes signing of file content (IMA), file metadata (EVM), importing public keys into kernel keyring. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
This commit is contained in:
60
configure.ac
Normal file
60
configure.ac
Normal file
@ -0,0 +1,60 @@
|
||||
# autoconf script
|
||||
|
||||
AC_PREREQ([2.65])
|
||||
AC_INIT(evm-utils, 0.1, dmitry.kasatkin@intel.com)
|
||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
#AC_PROG_CXX
|
||||
#AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LIBTOOL
|
||||
#AC_PROG_LN_S
|
||||
LT_INIT
|
||||
|
||||
# FIXME: Replace `main' with a function in `-lpthread':
|
||||
#AC_CHECK_LIB([pthread], [main])
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
PKG_CHECK_MODULES(OPENSSL, [ openssl >= 0.9.8 ])
|
||||
AC_SUBST(OPENSSL_CFLAGS)
|
||||
AC_SUBST(OPENSSL_LIBS)
|
||||
AC_CHECK_HEADER(unistd.h)
|
||||
AC_CHECK_HEADERS(openssl/conf.h)
|
||||
|
||||
#debug support - yes for a while
|
||||
PKG_ARG_ENABLE(debug, "yes", DEBUG, [Enable Debug support])
|
||||
if test $pkg_cv_enable_debug = yes; then
|
||||
CFLAGS="-g -O1 -Wall -Wstrict-prototypes -pipe"
|
||||
else
|
||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer"
|
||||
fi
|
||||
|
||||
# for gcov
|
||||
#CFLAGS="$CFLAGS -Wall -fprofile-arcs -ftest-coverage"
|
||||
#CXXFLAGS="$CXXFLAGS -Wall -fprofile-arcs -ftest-coverage"
|
||||
#LDFLAGS="$LDFLAGS -fprofile-arcs"
|
||||
#DISTCLEANFILES="*.gcno *.gcda"
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
src/Makefile
|
||||
tests/Makefile
|
||||
evm-utils.spec
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
||||
# Give some feedback
|
||||
echo
|
||||
echo
|
||||
echo "Configuration:"
|
||||
echo " debug: $pkg_cv_enable_debug"
|
||||
echo
|
||||
|
Reference in New Issue
Block a user