mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
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.
This commit is contained in:
parent
946b26742a
commit
826c52144a
11
mkfiles.pl
11
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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user