From 8edf14bda90978cef12f061f979f85eb836647dc Mon Sep 17 00:00:00 2001 From: stig Date: Fri, 29 Jul 2011 19:35:16 +0000 Subject: Print a more correct error message when missing gtk3. This fixes bug 6181. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38262 f5534014-38df-0310-8fa8-9805f1628bb7 --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 11f33a5998..bc921bc565 100644 --- a/configure.in +++ b/configure.in @@ -851,7 +851,11 @@ if test "$GTK_OK" = "no" ; then # Wireshark unless they fix the GTK+ problem). # if test "x$enable_wireshark" = "xyes"; then - AC_MSG_ERROR([GTK+ 2.12 or later isn't available, so Wireshark can't be compiled]) + if test "x$with_gtk3" = "xyes"; then + AC_MSG_ERROR([GTK+ 3.0 or later isn't available, so Wireshark can't be compiled]) + else + AC_MSG_ERROR([GTK+ 2.12 or later isn't available, so Wireshark can't be compiled]) + fi fi wireshark_bin="" wireshark_man="" -- cgit v1.2.3