blob: ace06b4e38435b30bec8902813963cc77d47c4de [file] [log] [blame]
AC_PREREQ([2.69])
AC_INIT([nbd-proxy], 1.0, [jk@ozlabs.org])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
AM_SILENT_RULES([yes])
AC_PROG_CC
AM_PROG_AR
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS])
AC_CHECK_FUNCS(splice)
PKG_CHECK_MODULES(JSON, [json-c])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT