blob: 7895cffcce4a8086f66f3155dd8c2227c88cedc4 [file] [log] [blame]
Jakub Grajciarecfa2aa2018-03-26 11:26:34 +02001AC_INIT(libmemif, 2.0)
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +02002LT_INIT
3AM_INIT_AUTOMAKE
4AM_SILENT_RULES([yes])
5AC_PREFIX_DEFAULT([/usr])
6
Jakub Grajciarc62a63d2017-11-20 13:11:50 +01007PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0])
8AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1])
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +02009
Jakub Grajciar19418712018-03-13 13:57:50 +010010AC_CHECK_FUNC([memfd_create], [AC_DEFINE([HAVE_MEMFD_CREATE], [1], [Define if memfd exists])])
11
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +020012AC_PROG_CC
13
14AC_OUTPUT([Makefile])
15
16AC_CONFIG_MACRO_DIR([m4])