From 826c52144a2257ac52ee7ed21021c48bd24bd006 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 18 Feb 2017 16:50:48 +0000 Subject: [PATCH] Fix the '--without-gtk' mode in configure. I had accidentally included the experimental "XT" app class (the GtkApplication-based packaging of Unix PuTTY/pterm for OS X) among the things that should still be built even when GTK is absent. That's definitely wrong. --- mkfiles.pl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mkfiles.pl b/mkfiles.pl index 5b7ebc1d..ae15ac48 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -1660,11 +1660,20 @@ if (defined $makefiles{'am'}) { print "endif\n\n"; @noinstcliprogs = ("noinst_PROGRAMS", "="); - foreach $p (&prognames("XT:UT")) { + foreach $p (&prognames("UT")) { ($prog, $type) = split ",", $p; push @noinstcliprogs, $prog; } + @noinstallprogs = @noinstcliprogs; + foreach $p (&prognames("XT")) { + ($prog, $type) = split ",", $p; + push @noinstallprogs, $prog; + } + print "if HAVE_GTK\n"; + print &splitline(join " ", @noinstallprogs), "\n"; + print "else\n"; print &splitline(join " ", @noinstcliprogs), "\n"; + print "endif\n\n"; %objtosrc = (); foreach $d (&deps("X", undef, "", "/", "am")) { -- 2.45.1