From 1cb59c1fed33607e4fb2bee9144ce45276e9cc96 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <trevor.gamblin@windriver.com>
Date: Tue, 14 Dec 2021 12:31:12 -0500
Subject: [PATCH] configure.ac: Add serial-tests

ptest needs buildtest-TESTS and runtest-TESTS targets.
serial-tests is required to generate those targets.

Upstream-Status: Inappropriate (default automake behavior incompatible with ptest)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 8e68035..2704214 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,9 @@ AC_CONFIG_HEADERS([config.h])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 
 AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2
-	1.6 subdir-objects])
+	1.6 subdir-objects serial-tests])
+
+AM_EXTRA_RECURSIVE_TARGETS([buildtest-TESTS])
 
 dnl kernel style compile messages
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-- 
2.33.1

