From fdb88204a4974545feea51c04a6a7958c135ca77 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Wed, 21 Dec 2022 10:34:47 -0700 Subject: [PATCH] Per #2138, only compile tc_diag when --enable-python is set. --- src/tools/tc_utils/Makefile.in | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/tools/tc_utils/Makefile.in b/src/tools/tc_utils/Makefile.in index 26d93516c4..2be616c786 100644 --- a/src/tools/tc_utils/Makefile.in +++ b/src/tools/tc_utils/Makefile.in @@ -87,6 +87,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ +@ENABLE_PYTHON_TRUE@am__append_1 = tc_diag subdir = src/tools/tc_utils ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac @@ -151,7 +152,8 @@ am__define_uniq_tagged_files = \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) +DIST_SUBDIRS = tc_dland tc_pairs tc_stat tc_gen tc_rmw rmw_analysis \ + tc_diag am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ @@ -323,15 +325,8 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = tc_dland \ - tc_pairs \ - tc_stat \ - tc_gen \ - tc_rmw \ - rmw_analysis \ - tc_diag \ - tc_stat - +SUBDIRS = tc_dland tc_pairs tc_stat tc_gen tc_rmw rmw_analysis tc_stat \ + $(am__append_1) MAINTAINERCLEANFILES = Makefile.in all: all-recursive