Jeremy Kerr | f403c42 | 2018-07-26 12:14:56 +0800 | [diff] [blame] | 1 | AC_PREREQ([2.69]) |
| 2 | AC_INIT([nbd-proxy], 1.0, [jk@ozlabs.org]) |
Jeremy Kerr | 0668cd4 | 2018-07-26 13:01:32 +0800 | [diff] [blame] | 3 | AC_CONFIG_MACRO_DIR([m4]) |
Jeremy Kerr | f403c42 | 2018-07-26 12:14:56 +0800 | [diff] [blame] | 4 | AC_CONFIG_HEADERS([config.h]) |
| 5 | AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz]) |
| 6 | AM_SILENT_RULES([yes]) |
| 7 | |
| 8 | AC_PROG_CC |
| 9 | AM_PROG_AR |
| 10 | AC_PROG_INSTALL |
| 11 | AC_PROG_MAKE_SET |
| 12 | |
| 13 | AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS]) |
| 14 | |
| 15 | AC_CHECK_FUNCS(splice) |
| 16 | |
Jeremy Kerr | 1952735 | 2018-08-03 15:04:38 +0800 | [diff] [blame] | 17 | PKG_CHECK_MODULES(JSON, [json-c]) |
Jeremy Kerr | 4ac9246 | 2018-08-10 11:16:29 +0800 | [diff] [blame] | 18 | PKG_CHECK_MODULES(UDEV, [libudev]) |
Jeremy Kerr | 1952735 | 2018-08-03 15:04:38 +0800 | [diff] [blame] | 19 | |
Jeremy Kerr | f403c42 | 2018-07-26 12:14:56 +0800 | [diff] [blame] | 20 | AC_CONFIG_FILES([Makefile]) |
| 21 | AC_OUTPUT |