From 1df46bc7fb1312fd56f575f72e09cf7a171f4e7f Mon Sep 17 00:00:00 2001 From: xambroz <723625+xambroz@users.noreply.github.com> Date: Sun, 4 Apr 2021 00:46:09 +0200 Subject: [PATCH] fix the automake initialization to get rid of autoreconf warnings More info on https://github.com/DinoTools/libemu/issues/10 --- Makefile.am | 2 ++ configure.ac | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e02628b..c4e7c10 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ # $Id$ +ACLOCAL_AMFLAGS= -I m4 + AUTOMAKE_OPTIONS = foreign SUBDIRS = src include testsuite doc bindings tools diff --git a/configure.ac b/configure.ac index 8771c14..6184789 100644 --- a/configure.ac +++ b/configure.ac @@ -5,10 +5,11 @@ AC_PREREQ(2.59) AC_INIT([libemu], [0.2.0], [nepenthesdev@gmail.com]) -AM_INIT_AUTOMAKE([libemu], [0.2.0]) +AM_INIT_AUTOMAKE([subdir-objects]) AC_REVISION([$Id$]) # AC_PREFIX_DEFAULT(/opt/libemu) +AC_CONFIG_MACRO_DIRS([m4]) AC_CONFIG_SRCDIR([include/emu/emu.h]) AM_CONFIG_HEADER([config.h]) # AM_MAINTAINER_MODE