# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-AC_INIT([qemu-sanity-check],[1.1.3])
+AC_INIT([qemu-sanity-check],[1.1.6])
AM_INIT_AUTOMAKE([foreign])
dnl Check for basic C environment.
AM_PROG_CC_C_O
+AC_CHECK_HEADERS([sys/reboot.h])
+
dnl Allow the package to override the default list of qemu binary
dnl names which are tried, since this heavily depends on how qemu
dnl has been packaged in the downstream distro.
dnl Produce output files.
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([qemu-sanity-check],[chmod 0555 qemu-sanity-check])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([src/qemu-sanity-check],[chmod 0555 src/qemu-sanity-check])
+AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
AC_OUTPUT