From 87a17be81bd7f110dff2ad65265a87405bd51fce Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 21 Apr 2023 08:03:15 +0200 Subject: [PATCH] Makefile.am: Fix disabling testppdfile Part of Makefile.am which compiles testppdfile wasn't guarded by the conditional, which causes building the binary even if it is explicitly turned off by `configure`. --- Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4bb9472b..aa91455b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,10 +33,6 @@ EXTRA_DIST += \ pkgutilsdir = $(bindir) pkgutils_PROGRAMS = -if ENABLE_TESTPPDFILE -pkgutils_PROGRAMS += testppdfile -endif - # ========================== # PPD legacy support library # ========================== @@ -147,6 +143,7 @@ EXTRA_DIST += \ # PPD test utility # ================ +if ENABLE_TESTPPDFILE pkgutils_PROGRAMS += \ testppdfile @@ -159,6 +156,7 @@ testppdfile_CFLAGS = \ -I$(srcdir)/ppd/ \ $(CUPS_CFLAGS) \ $(LIBCUPSFILTERS_CFLAGS) +endif # =========================== # ppdc PPD compiler utilities