blob: 4ff987481c624d904bfb104eb34adf328a4b506d [file] [log] [blame]
Jeremy Kerrf403c422018-07-26 12:14:56 +08001AC_PREREQ([2.69])
2AC_INIT([nbd-proxy], 1.0, [jk@ozlabs.org])
Jeremy Kerr0668cd42018-07-26 13:01:32 +08003AC_CONFIG_MACRO_DIR([m4])
Jeremy Kerrf403c422018-07-26 12:14:56 +08004AC_CONFIG_HEADERS([config.h])
5AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
6AM_SILENT_RULES([yes])
7
8AC_PROG_CC
9AM_PROG_AR
10AC_PROG_INSTALL
11AC_PROG_MAKE_SET
12
13AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS])
14
15AC_CHECK_FUNCS(splice)
16
Jeremy Kerr19527352018-08-03 15:04:38 +080017PKG_CHECK_MODULES(JSON, [json-c])
Jeremy Kerr4ac92462018-08-10 11:16:29 +080018PKG_CHECK_MODULES(UDEV, [libudev])
Jeremy Kerr19527352018-08-03 15:04:38 +080019
Jeremy Kerrf403c422018-07-26 12:14:56 +080020AC_CONFIG_FILES([Makefile])
21AC_OUTPUT