--- m4-0.4/ax_check_wx_gtk.m4 Wed Oct 13 06:05:40 2004 +++ m4/ax_check_wx_gtk.m4 Thu Nov 4 20:55:37 2004 @@ -8,13 +8,13 @@ [ GTK_USEDVERSION='' AC_MSG_CHECKING(if wxWindows was linked with GTK2) - if $WX_CONFIG_NAME --static --libs | grep '_gtk2-' > /dev/null ; then + if $WX_CONFIG_NAME --libs | grep -E '_gtk2u?d?[[-_]]' > /dev/null ; then GTK_USEDVERSION=2 AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) AC_MSG_CHECKING(if wxWindows was linked with GTK) - if $WX_CONFIG_NAME --static --libs | grep '_gtk-' > /dev/null ; then + if $WX_CONFIG_NAME --libs | grep -E '_gtku?d?[[-_]]' > /dev/null ; then GTK_USEDVERSION=1 AC_MSG_RESULT(yes) else