X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/8221906dee8ae94c7c81d320d00ef774765d0bc6..76984713a777478b1ec0da26327fb81138c103c1:/unix/configure.ac diff --git a/unix/configure.ac b/unix/configure.ac index ce000cd2..4b30fb09 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -32,8 +32,12 @@ AC_CHECK_HEADERS([utmpx.h sys/select.h],,,[ #include ]) # Look for both GTK 1 and GTK 2. +ifdef([AM_PATH_GTK],[ AM_PATH_GTK([1.2.0], [gtk=1], [gtk=none]) +],[AC_WARNING([generating configure script without GTK 1 autodetection])]) +ifdef([AM_PATH_GTK_2_0],[ AM_PATH_GTK_2_0([2.0.0], [gtk=2], []) +],[AC_WARNING([generating configure script without GTK 2 autodetection])]) if test "$gtk" = "none"; then all_targets="all-cli" else