]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Make Makefile.gtk default to GTK 3.
authorSimon Tatham <anakin@pobox.com>
Fri, 25 Mar 2016 09:11:01 +0000 (09:11 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 25 Mar 2016 09:11:01 +0000 (09:11 +0000)
mkfiles.pl

index 97c39284c7e9a3283aeaad3831c7df29e3cdb362..46ae3189985639de744429c174763db9a6203e88 100755 (executable)
@@ -1357,7 +1357,7 @@ if (defined $makefiles{'gtk'}) {
     "# building with GTK 1.2, or you can set it to `pkg-config gtk+-2.0 x11'\n".
     "# if you want to enforce 2.0. The default is to try 2.0 and fall back\n".
     "# to 1.2 if it isn't found.\n".
-    "GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 x11 \$\$0 2>/dev/null || gtk-config \$\$0'\n".
+    "GTK_CONFIG = sh -c 'pkg-config gtk+-3.0 x11 \$\$0 2>/dev/null || pkg-config gtk+-2.0 x11 \$\$0 2>/dev/null || gtk-config \$\$0'\n".
     "\n".
     "-include Makefile.local\n".
     "\n".