X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/44747c53040ece195f0fe816f19cf493ffd6f465..e1cef38a3fe94b0379f2f6e5dc4006584b728966:/unix/configure.ac diff --git a/unix/configure.ac b/unix/configure.ac index 2115dff5..e7558120 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -50,14 +50,17 @@ WITH_GSSAPI= AS_IF([test "x$with_gssapi" != xno], [AC_DEFINE([WITH_GSSAPI], [1], [Define if building with GSSAPI support.])]) -AC_ARG_WITH([gtk-version], - [AS_HELP_STRING([--with-gtk-version], - [specify GTK version to use (1 or 2) (optional)])], +AC_ARG_WITH([gtk], + [AS_HELP_STRING([--with-gtk=VER], + [specify GTK version to use (`1' or `2')]) +AS_HELP_STRING([--without-gtk], + [do not use GTK (build command-line tools only)])], [gtk_version_desired="$withval"], [gtk_version_desired="any"]) case "$gtk_version_desired" in - 1 | 2 | any) ;; + 1 | 2 | any | no) ;; + yes) gtk_version_desired="any" ;; *) AC_ERROR([Invalid GTK version specified]) esac @@ -119,7 +122,15 @@ AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx]) AC_OUTPUT -if test "$gtk" = "none"; then cat <