2018-03-26 11:26:34 +02:00
|
|
|
AC_INIT(libmemif, 2.0)
|
2017-08-30 10:13:25 +02:00
|
|
|
LT_INIT
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
AC_PREFIX_DEFAULT([/usr])
|
|
|
|
|
2017-11-20 13:11:50 +01:00
|
|
|
PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0])
|
|
|
|
AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1])
|
2017-08-30 10:13:25 +02:00
|
|
|
|
2018-03-13 13:57:50 +01:00
|
|
|
AC_CHECK_FUNC([memfd_create], [AC_DEFINE([HAVE_MEMFD_CREATE], [1], [Define if memfd exists])])
|
|
|
|
|
2017-08-30 10:13:25 +02:00
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
AC_OUTPUT([Makefile])
|
|
|
|
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|