summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/configure.ac
blob: dfe33cf4f349e6919e3ae70de6b8d993ef906f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AC_INIT(libmemif, 1.0)
LT_INIT
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_PREFIX_DEFAULT([/usr])

PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0])
AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1])

AC_CHECK_FUNC([memfd_create], [AC_DEFINE([HAVE_MEMFD_CREATE], [1], [Define if memfd exists])])

AC_PROG_CC

AC_OUTPUT([Makefile])

AC_CONFIG_MACRO_DIR([m4])