AC_INIT("DESCRIPTION")

AC_CHECK_LIB(Crun, _fini, [use_libcrun=yes], [use_libcrun=no])

AC_MSG_CHECKING([if we need to explicitly link libCrun])
if test "x$use_libcrun" = "xyes"
then
    LIBS="$LIBS -lCrun"
fi
AC_MSG_RESULT($use_libcrun)

AC_CONFIG_FILES([src/Makevars])
AC_OUTPUT
