summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/configure.ac
blob: 7895cffcce4a8086f66f3155dd8c2227c88cedc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AC_INIT(libmemif, 2.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])