File 0010-fix-some-build-warnings.patch of Package dvdauthor

From f93eb78171b6c893b48a945c8ead22c25deb234c Mon Sep 17 00:00:00 2001
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
Date: Mon, 1 Feb 2021 21:09:13 +0000
Subject: [PATCH 10/12] fix some build warnings

---
 Makefile.am  | 2 ++
 bootstrap    | 2 +-
 configure.ac | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index de76fc5..7c11310 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,6 @@
 SUBDIRS = doc src
+ACLOCAL_AMFLAGS = -I m4
+# as per recommendation at <https://www.gnu.org/software/libtool/manual/html_node/Invoking-libtoolize.html>
 
 noinst_DATA = dvdauthor.spec
 
diff --git a/bootstrap b/bootstrap
index 88b61ae..ecf35f0 100755
--- a/bootstrap
+++ b/bootstrap
@@ -14,7 +14,7 @@
 #
 # Created by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
 #-
-mkdir autotools
+mkdir autotools m4
 cp /usr/share/gettext/config.rpath autotools/
 autoreconf -i
 
diff --git a/configure.ac b/configure.ac
index 1194059..63daa71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
 AC_INIT(DVDAuthor,0.7.2+,dvdauthor-users@lists.sourceforge.net)
 
 AC_CONFIG_HEADERS(src/config.h)
+AC_CONFIG_MACRO_DIRS([m4])
 AC_CONFIG_AUX_DIR(autotools)
 
 AM_INIT_AUTOMAKE
-- 
2.51.0

openSUSE Build Service is sponsored by