From 801a4dd42449fb5f09fb9cb99714ed137278ca24 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 d5c6bd0..d90048e 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-xz
-	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.25.1

