putty/putty-02-remove-gtk1.diff

21 lines
588 B
Diff

Remove GTK1 lines from configure.ac to be able to run autoreconf.
---
unix/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: putty-0.62/unix/configure.ac
===================================================================
--- putty-0.62.orig/unix/configure.ac
+++ putty-0.62/unix/configure.ac
@@ -32,7 +32,7 @@ AC_CHECK_HEADERS([utmpx.h sys/select.h],
#include <utmp.h>])
# Look for both GTK 1 and GTK 2.
-AM_PATH_GTK([1.2.0], [gtk=1], [gtk=none])
+gtk=none
AM_PATH_GTK_2_0([2.0.0], [gtk=2], [])
if test "$gtk" = "none"; then
all_targets="all-cli"