diff --git a/m4/boinc_wxwidgets.m4 b/m4/boinc_wxwidgets.m4 index 38ecb7ff21..86d66fdd07 100644 --- a/m4/boinc_wxwidgets.m4 +++ b/m4/boinc_wxwidgets.m4 @@ -76,11 +76,11 @@ WARNING: No ${uprf} libraries for wxWidgets are installed. AM_CONDITIONAL([GUI_GTK], echo $wx_default_config | grep -i ^gtk 2>&1 >/dev/null) if echo $wx_default_config | grep -i gtk 2>&1 >/dev/null ; then case ${wx_default_config} in - gtk3-*) gtkver=gtk+-3.0 + gtk3-*|*-gtk3-*) gtkver=gtk+-3.0 ;; - gtk2-*) gtkver=gtk+-2.0 + gtk2-*|*-gtk2-*) gtkver=gtk+-2.0 ;; - gtk-*) gtkver=gtk+ + gtk-*|*-gtk-*) gtkver=gtk+ ;; esac GTK_CFLAGS="`pkg-config --cflags $gtkver`"